/* makingmachines.net — the Imaginary Friends site (Figma MM-IF-WEB 0u79epRCEuUZwiD6kQOnXU, page WEB FINAL FINAL 257:90346).
   One stylesheet for every page: the dot grid, the header, the lilac footer, the shared type. Desktop is the
   1440 frame, phones the 390 frame (breakpoint 900). Page-specific rules sit at the end, under their page. */

@font-face { font-family: "Climate Crisis"; src: url("/assets/fonts/climate-crisis.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Tinos"; src: url("/assets/fonts/tinos-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("/assets/fonts/tinos-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("/assets/fonts/tinos-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-site-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-site-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-site-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "HK Nova"; src: url("/assets/fonts/hk-nova-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "HK Nova"; src: url("/assets/fonts/hk-nova-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* HK Nova has no arrows: → ↓ ↑ come from Hanken Grotesk, fetched only where an arrow appears */
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-500.woff2") format("woff2"); font-weight: 400 700; unicode-range: U+2190-2193; font-display: swap; }
@font-face { font-family: "Lilex"; src: url("/assets/fonts/lilex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --page: #f0f0f0;
  --ink: #111;
  --lilac: #d1beee;
  --violet: #7a55c9;
  --blue: #3164ff;
  --sky: #c7d5e7;            /* the quote strip: #a5c0e0 at 55% on the page */
  --foot-ink: #33343b;
  --grey: #6b6b70;
  --pill: #e2e2e6;
  --underline: #a3a3a3;

  --body: "HK Nova", "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* the words, the nav, buttons and lists */
  --times: "Times New Roman", "Tinos", Times, serif;   /* quotes and small italic notes; Tinos only where there is no Times (Android) */
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;           /* headings, labels, the footer */
  --mono: "Lilex", ui-monospace, Menlo, monospace;                            /* the violet subtitles */
  --display: "Climate Crisis", "Arial Black", sans-serif;
  --tap: #002bff;            /* the phrases that play a demo */

  --gutter: 160px;           /* the reading column's left edge on the 1440 frame */
  --wide: 1130px;            /* reading column 600 + 120 + sidebar 410 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--ink);
  font: 500 19px/29px var(--body);
  -webkit-font-smoothing: antialiased;
  /* the dot grid: 2 px dots every 24 px, ink at 9%, behind everything above the footer; columns at 12 + 24n, rows at 23 + 24n */
  background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='12' y='12' width='2' height='2' fill='%23111' fill-opacity='.09'/%3E%3C/svg%3E") 0 11px / 24px 24px;
}
/* selected text in the footer's lilac; inside the footer itself, the other way round so it still shows */
::selection { background: var(--lilac); color: var(--ink); }
.footer ::selection { background: var(--foot-ink); color: var(--lilac); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, blockquote { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 12px; }

/* body links: grey underline, no glow (Figma: underline #a3a3a3 1 px, offset .14em) */
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 1px; text-underline-offset: 0.14em; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: currentColor; }
.more { display: inline-flex; gap: 6px; text-decoration: none; }
.more .link { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.more:hover .link { text-decoration-color: currentColor; }

.wrap { width: min(var(--wide), 100% - 2 * 24px); margin-left: max(24px, calc(50% - 560px)); }

/* ---------- header (88 tall; L6 80 × 44 at 40, 22; nav Hanken 14, 48 between the words, ending 40 in) ---------- */
.header { position: relative; z-index: 20; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.header-logo { display: block; width: 80px; }
.header-logo img { width: 80px; height: 44px; }
.nav { display: flex; gap: 48px; font: 500 14px/18px var(--body); }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.menu-button { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.menu-button span { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s, top 0.2s; }
.menu-button span:nth-child(1) { top: 17px; }
.menu-button span:nth-child(2) { top: 25px; }
.menu-button[aria-expanded="true"] span { top: 21px; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
.menu { position: fixed; inset: 64px 0 0; z-index: 19; background: var(--page); padding: 24px 24px calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu-list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.12); font: 500 28px/38px var(--body); text-decoration: none; }
.menu-mail { font: 400 13px/18px var(--sans); color: var(--foot-ink); }
body.menu-open { overflow: hidden; }

/* ---------- footer (lilac; L6 600 wide at 50, 52; three columns at 990 / 1150 / 1270; golem on the rule) ---------- */
.footer { background: var(--lilac); color: var(--foot-ink); font: 400 13px/18px var(--sans); padding: 52px 50px 59px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: rgba(51, 52, 59, 0.5); text-underline-offset: 0.2em; }
.footer-top { display: flex; justify-content: space-between; }
.footer-l6 { width: 600px; flex: none; }
.footer-l6 img { width: 600px; height: auto; }
.footer-side { width: 400px; min-height: 393.7px; padding-top: 20px; display: flex; flex-direction: column; }
.footer-cols { display: grid; grid-template-columns: 160px 120px 1fr; }
.footer-col h2 { font-weight: 600; color: rgba(51, 52, 59, 0.55); margin-bottom: 12px; font-size: 13px; line-height: 18px; }
.footer-col li + li { margin-top: 8px; }
.signup { margin-top: 64px; }
.signup-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(51, 52, 59, 0.6); padding-bottom: 11px; }
.signup input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--foot-ink); padding: 0; outline: none; }
.signup input::placeholder { color: rgba(51, 52, 59, 0.55); opacity: 1; }
.signup button { color: var(--foot-ink); }
.signup button:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.signup-note { margin-top: 15px; font-weight: 600; color: rgba(51, 52, 59, 0.6); }
.golem { align-self: flex-end; margin-top: auto; width: 84px; height: 96px; }
.footer-bottom { margin-top: 30px; border-top: 1px solid rgba(51, 52, 59, 0.3); padding-top: 15px; display: grid; grid-template-columns: 1fr auto 1fr; }
.footer-bottom .copy { color: rgba(51, 52, 59, 0.7); }
.footer-bottom .to-top { justify-self: end; }
.footer-golem-phone { display: none; }

.only-phone { display: none; }

/* ---------- the product page (/): HOMEPAGE - Final 336:99764, phones 356:36 ---------- */
.home { width: 1116px; max-width: calc(100% - 48px); margin-left: max(24px, calc(50% - 556px)); padding-top: 62px; }
.home-title { margin-left: -8px; font: 400 74px/102px var(--display); font-variation-settings: "YEAR" 1979; white-space: nowrap; }
.home-sub { margin: -4px 0 0 -2px; font: 400 25px/28px var(--mono); letter-spacing: -0.05em; color: var(--violet); }
.home-grid { display: grid; grid-template-columns: 738px 338px; grid-template-areas: "window buy" "text buy"; column-gap: 40px; margin-top: 62px; }
.home-grid > .window { grid-area: window; }
.home-grid > .sidebar { grid-area: buy; margin-top: -20px; }
.home-text { grid-area: text; padding-top: 72px; }
.home-text .copy-block, .ai-note { max-width: 600px; }
/* the screenshot in a Mac window (the title bar is an SVG, so it scales with the picture); the shadow is
   Goodhertz's macOS window shadow, matched from their page, plus a hairline inside the top and bottom edges */
.window { position: relative; overflow: hidden; border-radius: 8.8px; box-shadow: 0 0.88px 6.16px 0.88px rgba(0, 0, 0, 0.15), 0 -0.44px 12.77px -1.76px rgba(0, 0, 0, 0.28), 0 4.4px 23.78px -4.4px rgba(0, 0, 0, 0.25); }
.window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0.88px 0 rgba(0, 0, 0, 0.07), inset 0 -1.76px 3.52px rgba(0, 0, 0, 0.16); }
.titlebar { display: block; width: 100%; height: auto; }
.window img { display: block; width: 100%; height: auto; }

.copy-block p + p { margin-top: 18px; }
/* the phrases that will play a demo: a ▶ and the words, blue and underlined */
.hear { color: var(--tap); cursor: pointer; }
.hear span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.hear .tri { display: inline-block; width: 0.474em; height: 0.553em; margin: 0 0.22em 0 0.06em; vertical-align: 0.066em; fill: var(--ink); }
.hear:hover span { text-decoration-thickness: 2px; }
.hear:focus-visible { outline: 2px solid var(--tap); outline-offset: 2px; border-radius: 2px; }
.home-quote { width: 500px; max-width: 100%; margin: 30px 0 30px 32px; }
.home-quote blockquote { font: italic 400 24px/31px var(--times); }
.home-quote figcaption { margin-top: 10px; font: 400 17px/24px var(--times); color: var(--grey); }
.ai-note { margin-top: 36px; }
.ai-note .more { gap: 7px; }

.sidebar { align-self: start; width: 338px; }
.buy-card { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.button { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 24px; font: 500 15px/20px var(--body); text-decoration: none; transition: background 0.2s, color 0.2s; }
.button-solid { background: #111; color: #fff; }
.button-solid:hover { background: #333; }
.button-line { border: 1px solid #111; color: #111; }
.button-line:hover { background: #111; color: #fff; }
.small-print { font: italic 400 14px/18px var(--times); color: #6b6b6b; text-align: center; }
.pill { display: flex; align-items: center; justify-content: center; height: 40px; margin: 16px 16px 0; border-radius: 20px; background: #e5e5e5; font: 500 14px/20px var(--body); color: #111; text-decoration: none; transition: background 0.2s; }
.pill:hover { background: #d8d8dc; }

.demo { padding: 120px 0 168px; }
.video { position: relative; width: 960px; max-width: 100%; margin: 0 auto; aspect-ratio: 960 / 595.714; border-radius: 45px; overflow: hidden; background: #dcdde8; }
.video img, .video video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: #000; display: grid; place-items: center; transition: transform 0.2s; }
.play:hover { transform: scale(1.06); }
.play svg { width: 24px; height: 24px; margin-left: 3px; }

.specs { display: grid; grid-template-columns: 727px 400px; padding-bottom: 111px; }
.section-title { font: 600 24px/30px var(--sans); }
.features { margin-top: 20px; font: 500 18px/27px var(--body); }
.features > li { position: relative; padding-left: 23px; }
.features li + li { margin-top: 12px; }
.features li:has(ul) + li { margin-top: 6px; }
.features li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.features ul { margin: 12px 0 0 7px; }
.features ul li { position: relative; padding-left: 19px; }
.features ul li + li { margin-top: 6px; }
.features ul li::before { left: 0; }
.requirements { padding-top: 450px; }
.label-quiet { font: 600 13px/18px var(--sans); letter-spacing: 0.26px; text-transform: uppercase; color: var(--grey); }
.requirements ul { margin-top: 12px; font: 500 16px/24px var(--body); }
.requirements li + li { margin-top: 9px; }

/* ---------- phones (the 390 frames: margins 24, header 64) ---------- */
@media (max-width: 899px) {
  body { font-size: 17px; line-height: 26px; background-position: 3px -8px; }   /* columns at 15 + 24n, rows in step with the 64 header */
  .only-desktop { display: none !important; }
  .only-phone { display: revert; }
  .wrap { width: auto; margin: 0 24px; }

  .header { height: 64px; padding: 0 24px; }
  .header-logo, .header-logo img { width: 58px; height: 32px; }
  .nav { display: none; }
  .menu-button { display: block; }

  .footer { padding: 48px 24px 18px; }
  .footer-top { display: block; }
  .footer-l6, .footer-l6 img { width: 240px; }
  .footer-side { width: auto; min-height: 0; padding-top: 40px; }
  .footer-cols { grid-template-columns: 136px 100px 1fr; }
  .signup { margin-top: 36px; }
  .signup-note { margin-top: 13px; }
  .golem { display: none; }
  .footer-bottom { margin-top: 37px; grid-template-columns: 1fr auto; row-gap: 6px; padding-top: 15px; position: relative; }
  .footer-bottom .mail { grid-row: 2; grid-column: 1; }
  .footer-bottom .to-top { grid-row: 1; grid-column: 2; }
  .footer-golem-phone { display: block; grid-row: 2; grid-column: 2; justify-self: end; width: 42px; height: 48px; margin-top: 12px; }

  .home { width: auto; max-width: none; margin: 0 24px; padding-top: 36px; }
  .home-title { margin-left: -1px; font-size: min(40.6px, 10.41vw); line-height: 1.084; white-space: normal; }
  .home-sub { margin: 6px 0 0; font-size: 18px; line-height: 24px; letter-spacing: 0; }
  .home-grid { display: block; margin-top: 28px; }
  .home-grid > .sidebar { width: auto; margin-top: 24px; }
  .home-text { padding-top: 44px; }
  .window { border-radius: 4.08px; box-shadow: 0 0.41px 2.86px 0.41px rgba(0, 0, 0, 0.15), 0 -0.2px 5.92px -0.82px rgba(0, 0, 0, 0.28), 0 2.04px 11.02px -2.04px rgba(0, 0, 0, 0.25); }   /* the same, scaled with the picture */
  .window::after { box-shadow: inset 0 0.41px 0 rgba(0, 0, 0, 0.07), inset 0 -0.82px 1.63px rgba(0, 0, 0, 0.16); }
  .pill { margin: 12px 20px 0; }

  .copy-block p + p { margin-top: 16px; }
  .home-quote { width: 300px; margin: 26px 0 26px 20px; }
  .home-quote blockquote { font-size: 21px; line-height: 27px; }
  .home-quote figcaption { margin-top: 8px; font-size: 15px; line-height: 22px; }
  .ai-note { margin-top: 30px; }
  .ai-note .more { gap: 6px; }

  .demo { padding: 64px 24px 48px; }
  .video { border-radius: 16px; }
  .play { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
  .play svg { width: 9px; height: 9px; margin-left: 1px; }

  .specs { display: block; padding-bottom: 64px; }
  .section-title { font-size: 22px; }
  .features { margin-top: 14px; font-size: 16px; line-height: 24px; }
  .features > li { padding-left: 16px; }
  .features li + li { margin-top: 10px; }
  .features li:has(ul) + li { margin-top: 6px; }
  .features li::before { left: 3px; top: 10px; }
  .features ul { margin: 10px 0 0 5px; }
  .features ul li { padding-left: 13px; }
  .features ul li::before { left: 0; }
  .requirements { padding-top: 40px; }
  .requirements ul { margin-top: 10px; font-size: 15px; line-height: 22px; }
  .requirements li + li { margin-top: 8px; }
}

/* ---------- the Support title: a Climate Crisis title over a violet Lilex line, on the dots ---------- */
.title-band { padding-top: 64px; }
.title-band h1 { font: 400 54px/72px var(--display); font-variation-settings: "YEAR" 1979; letter-spacing: 0.54px; }
.title-band p { margin-top: 14px; font: 400 20px/28px var(--mono); color: var(--violet); }

/* ---------- Support ---------- */
.support { display: grid; grid-template-columns: 600px 410px; column-gap: 120px; padding: 96px 0 176px; }
.faq-title { font: 600 24px/30px var(--sans); }
.faq-group h3 { margin: 36px 0 14px; }
.faq-group + .faq-group h3 { margin-top: 56px; }
.faq-list { border-top: 1px solid #d6d6dc; }
.faq { border-bottom: 1px solid #d6d6dc; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 32px; padding: 15px 0 16px; font: 600 18px/26px var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 16px; text-align: center; font: 400 24px/26px var(--sans); }
.faq[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.faq .answer { width: 552px; max-width: 100%; margin-top: -6px; padding-bottom: 16px; font-size: 18px; line-height: 27px; }
.contact { padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 25px; }
.contact .label-quiet { margin-bottom: 0; }
.contact .mail-link { align-self: flex-start; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 13px/18px var(--sans); color: var(--grey); }
.field input, .field textarea { width: 100%; height: 44px; border: 1px solid #d6d6dc; border-radius: 10px; background: #fff; padding: 10px 14px; font: 400 16px/22px var(--sans); color: var(--ink); }
.field textarea { height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #111; }
.contact .button { margin-top: 0; width: 100%; }

@media (max-width: 899px) {
  .title-band { padding-top: 40px; }
  .title-band h1 { font-size: 40px; line-height: 53px; letter-spacing: 0.4px; }
  .title-band p { margin-top: 10px; font-size: 15px; line-height: 22px; }
  .support { display: block; padding: 56px 0 90px; }
  .faq-title { font-size: 22px; line-height: 28px; }
  .faq-group h3 { margin: 28px 0 12px; }
  .faq-group + .faq-group h3 { margin-top: 40px; }
  .faq summary { gap: 20px; padding: 13px 0 14px; font-size: 17px; line-height: 24px; }
  .faq summary::after { width: 15px; font-size: 22px; line-height: 24px; }
  .faq .answer { width: auto; margin-top: -6px; padding-bottom: 14px; font-size: 16px; line-height: 24px; }
  .contact { margin-top: 48px; padding: 24px 0; }
  .support .pill { margin: 41px 0 0; }
}

/* ---------- text pages: About, How it was made (plain: a Climate Crisis title, a lead, the body) ---------- */
.page-title { font: 400 30px/35px var(--display); font-variation-settings: "YEAR" 1979; }
.lead { font-size: 28px; line-height: 38px; }
.about { display: grid; grid-template-columns: 648px 360px; column-gap: 82px; padding: 72px 0 160px; }
.about .lead { margin-top: 41px; }
.about .copy-block { width: 600px; max-width: 100%; margin-top: 28px; }
.about .copy-block .link { display: inline-block; }
.photo { margin: 0; }
.photo-slot { width: 360px; height: 440px; border-radius: 6px; background: var(--pill); transform: rotate(1.5deg); display: grid; place-items: center; font: 500 13px/18px var(--sans); color: #8f8f8f; }
.photo figcaption { margin-top: 22px; font: italic 400 15px/20px var(--times); color: var(--grey); }

@media (max-width: 899px) {
  .page-title { font-size: 26px; line-height: 31px; }
  .lead { font-size: 22px; line-height: 31px; }
  .about { display: flex; flex-direction: column; padding: 40px 0 96px; }
  .about .text { display: contents; }
  .about .page-title { order: 1; }
  .about .photo { order: 2; margin-top: 28px; }
  .about .lead { order: 3; margin-top: 36px; }
  .about .copy-block { order: 4; width: auto; margin-top: 24px; }
  .photo-slot { width: 326px; height: 380px; margin: 0 auto; }
  .photo figcaption { margin-top: 18px; font-size: 14px; }
  .about .copy-block .link { line-height: 29px; }
}

/* ---------- How Imaginary Friends was made ---------- */
.statement { padding: 62px 0 190px; }
.statement .copy-block { width: 600px; max-width: 100%; margin-top: 48px; }
.statement .sign { margin-top: 22px; font: italic 400 19px/29px var(--times); }
.statement .more { margin-top: 32px; }

@media (max-width: 899px) {
  .statement { padding: 40px 0 96px; }
  .statement .copy-block { margin-top: 32px; }
  .statement .sign { margin-top: 24px; font-size: 17px; line-height: 26px; }
  .statement .more { margin-top: 28px; }
}

/* ---------- Downloads ---------- */
.downloads { padding: 80px 0 200px; }
.downloads .page-title { line-height: 36px; }
.downloads .sub { margin-top: 10px; font: 400 20px/28px var(--mono); color: var(--violet); }
.dl-list { width: 1120px; max-width: 100%; margin-top: 64px; border-top: 1px solid #d6d6db; }
.dl { display: grid; grid-template-columns: 48px 272px 1fr auto; align-items: center; height: 83px; border-bottom: 1px solid #d6d6db; }
.dl-index { font: 400 13px/18px var(--sans); color: #8f8f96; }
.dl-name { font: 600 16px/22px var(--sans); }
.dl-meta { font-size: 16px; line-height: 22px; color: var(--grey); }
.dl .button { height: 40px; border-radius: 20px; padding: 0 22px; white-space: nowrap; }

@media (max-width: 899px) {
  .downloads { padding: 48px 0 120px; }
  .downloads .page-title { font-size: 26px; line-height: 36px; }
  .downloads .sub { margin-top: 8px; font-size: 15px; line-height: 22px; }
  .dl-list { margin-top: 40px; }
  .dl { grid-template-columns: 36px 1fr; grid-template-rows: auto; align-items: start; height: auto; padding: 20px 0 21px; }
  .dl-index { grid-row: 1; line-height: 22px; }
  .dl-name, .dl-meta, .dl .button { grid-column: 2; }
  .dl-name { font-size: 15px; }
  .dl-meta { margin-top: 6px; font-size: 15px; }
  .dl .button { justify-self: start; margin-top: 14px; }
}

/* ---------- Account (a mock of the account pages; the real ones are served by makingmachines-api) ---------- */
.account { --body-ink: #3a3a40; padding: 80px 0 200px; }
.centred { margin: 0 24px; }
.signin { width: 420px; max-width: 100%; margin: 0 auto; }
.signin .page-title, .sent .page-title { line-height: 36px; text-align: center; white-space: nowrap; }
.signin .intro-text { width: 480px; margin: 16px -30px 0; text-align: center; font-size: 18px; line-height: 27px; color: var(--body-ink); }
.signin form { margin-top: 48px; }
.signin .label-quiet, .signed-in .label-quiet { letter-spacing: 0.78px; }
.signin label { display: block; padding-left: 22px; margin-bottom: 10px; }
.signin input { display: block; width: 100%; height: 52px; border: 1px solid #dcdce0; border-radius: 26px; background: #fff; padding: 0 22px; font: 400 16px/22px var(--sans); color: var(--ink); }
.signin input:focus { outline: none; border-color: #111; }
.signin .button { width: 100%; height: 52px; border-radius: 26px; margin-top: 12px; }
.signin .help { margin-top: 72px; border-top: 1px solid #d6d6db; padding-top: 31px; }
.subhead { font: 600 16px/22px var(--sans); }
.help .subhead + p { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--body-ink); }
.help p + .subhead { margin-top: 28px; }
.help .link { text-decoration-skip-ink: none; }

.tpl { display: inline-block; vertical-align: middle; border: 1px dashed #9a9aa2; border-radius: 3px; padding: 2px 7px; font: italic 400 15px/22px var(--times); color: #8a8a92; white-space: nowrap; }
.signed-in { padding-top: 57px; }
.signed-in > * { max-width: 1120px; }
.signed-bar { display: flex; justify-content: space-between; align-items: center; }
.signed-bar > div { display: flex; align-items: center; gap: 21px; }
.signed-bar a { font: 500 15px/20px var(--sans); }
.signed-in .page-title { margin-top: 36px; line-height: 36px; }
.signed-in .count { margin-top: 6px; font: 400 20px/28px var(--mono); color: var(--violet); }
.card { margin-top: 40px; background: #fff; border: 1px solid #dcdce0; border-radius: 12px; padding: 27px 32px 16px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.card-head h2 { font: 600 20px/26px var(--sans); }
.card-head p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--grey); }
.status { margin-top: 2px; padding: 4px 12px; border-radius: 999px; background: var(--lilac); font: 600 12px/15px var(--sans); }
.card-row { border-top: 1px solid #d6d6db; margin-top: 23px; padding-top: 23px; }
.card-row .tpl { margin-top: 10px; font-size: 17px; }
.card-line { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--body-ink); }
.card-line .button { height: 44px; border-radius: 22px; padding: 0 20px; white-space: nowrap; }
.devices-head { display: flex; align-items: center; gap: 19px; }
.devices-head .tpl { margin: 0; font-size: 14px; line-height: 20px; }
.device { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.device .tpl { display: block; width: max-content; margin-top: 0; font-size: 16px; }
.device .tpl + .tpl { margin-top: 4px; font-size: 13px; line-height: 20px; }
.button-small { height: 34px; border-radius: 17px; padding: 0 21px; border: 1px solid #111; background: #fff; font: 500 14px/20px var(--body); color: #111; }
.resources { margin-top: 48px; }
.resources ul { margin-top: 12px; font-size: 18px; line-height: 26px; }
.resources li + li { margin-top: 4px; }
.sent { padding: 112px 0 260px; text-align: center; }
.sent p { margin-top: 18px; font-size: 18px; line-height: 27px; color: var(--body-ink); }
.sent .tpl { font-size: 16px; margin: -3px 0 0; }
.sent .back { display: inline-block; margin-top: 40px; font-size: 18px; line-height: 27px; }

@media (max-width: 899px) {
  .account { padding: 48px 0 120px; }
  .signin .page-title { font-size: 22px; text-align: left; white-space: normal; }
  .signin .intro-text { width: auto; margin: 12px 0 0; text-align: left; font-size: 17px; line-height: 26px; }
  .signin form { margin-top: 32px; }
  .signin label { padding-left: 20px; }
  .signin .help { margin-top: 56px; padding-top: 27px; }
  .signed-in { padding-top: 40px; }
  .signed-bar { align-items: flex-start; }
  .signed-bar > div { flex-wrap: wrap; gap: 8px 16px; }
  .card { padding: 24px 20px 16px; }
  .card-line, .device { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sent { padding: 48px 0 120px; }
  .sent .page-title { font-size: 26px; }
}

/* ---------- legal pages: Terms, Privacy, EULA (the title on the dots, numbered sections, the contents pinned on the right) ---------- */
.legal-band { padding-top: 72px; }
.legal-band h1 { font: 400 56px/60px var(--display); font-variation-settings: "YEAR" 1979; white-space: nowrap; }
.legal-band .lead-in { margin-top: 14px; width: 720px; max-width: 100%; font: 400 20px/28px var(--mono); color: var(--violet); }
.legal-band .updated { margin-top: 16px; }
.legal-band .updated, .toc h2, .legal-nav h2 { font: 600 12px/16px var(--sans); letter-spacing: 0.48px; text-transform: uppercase; color: var(--grey); }
.legal { display: grid; grid-template-columns: 640px 1fr; column-gap: 80px; padding: 96px 0 128px; }
.legal-text { grid-column: 1; grid-row: 1; }
.legal-side { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 24px; }
.legal-text section + section { margin-top: 48px; }
.legal-text h2 { display: flex; gap: 0; font: 600 22px/28px var(--sans); scroll-margin-top: 24px; }
.legal-text h2 .n { flex: none; width: 36px; position: relative; top: 2px; font: 500 14px/28px var(--sans); color: #9a9aa2; }
.legal-text h2 + p { margin-top: 14px; }
.legal-text p { font-size: 17px; line-height: 27px; }
.legal-text p + p { margin-top: 14px; }
.legal-text .link { text-decoration-skip-ink: none; }
.toc ol { margin: 14px 0 0; padding: 0; list-style: none; }
.toc li { font: 400 14px/28px var(--sans); }
.toc a { white-space: pre; }
.legal-nav { margin-top: 36px; }
.legal-nav p { margin-top: 14px; display: flex; gap: 20px; font: 400 14px/20px var(--sans); }
.legal-nav [aria-current] { font-weight: 600; text-decoration: none; }

@media (max-width: 899px) {
  .legal-band { padding-top: 40px; }
  .legal-band h1 { font-size: 30px; line-height: 36px; white-space: normal; }
  .legal-band .lead-in { margin-top: 10px; font-size: 15px; line-height: 22px; }
  .legal { display: block; padding: 56px 0 76px; }
  .legal-side { position: static; padding-bottom: 20px; border-bottom: 1px solid rgba(17, 17, 17, 0.15); margin-bottom: 36px; }
  .toc ol { margin-top: 12px; }
  .toc li { font-size: 15px; line-height: 26px; }
  .legal-nav { display: none; }
  .legal-text section + section { margin-top: 36px; }
  .legal-text h2 { font-size: 18px; line-height: 24px; }
  .legal-text h2 .n { width: 30px; top: 1px; font-size: 13px; line-height: 24px; }
  .legal-text h2 + p { margin-top: 10px; }
  .legal-text p { font-size: 16px; line-height: 25px; }
  .legal-text p + p { margin-top: 12px; }
}
.legal-text ul { margin: 6px 0 0 14px; font-size: 17px; line-height: 27px; }
.legal-text ul li { position: relative; padding-left: 14px; }
.legal-text ul li::before { content: "–"; position: absolute; left: 0; }
.legal-text ul + p { margin-top: 14px; }
@media (max-width: 899px) { .legal-text ul { font-size: 16px; line-height: 25px; } .legal-text ul + p { margin-top: 12px; } }

/* ---------- the narrowest phones (under the 390 design) ---------- */
@media (max-width: 380px) {
  .name { font-size: min(26px, 6.9vw); }
  .photo-slot { width: 100%; height: auto; aspect-ratio: 326 / 380; }
  .sent .page-title { white-space: normal; }
}
