/* EU Docs home: registry colours and fonts on the taste kit. Fonts are self-hosted. */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --p-bg: #f7f1e8; --p-surface: #ffffff; --p-ink: #0e1a25; --p-muted: #3b4249;
  --p-accent: #3447b5; --p-accent-ink: #f7f1e8; --p-action: #3447b5; --p-action-ink: #f7f1e8;
  --p-inv-bg: #0e1a25; --p-inv-surface: #1b2631; --p-inv-ink: #f7f1e8; --p-inv-muted: #a3a8ad;
  --p-inv-accent: #f7f1e8; --p-inv-accent-ink: #0e1a25; --p-inv-action: #f7f1e8; --p-inv-action-ink: #0e1a25;
  --font-display: "Literata", Georgia, serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --display-tracking-xl: -0.026em;
}

.nav__logo .mark-img { width: 28px; height: 28px; border-radius: 6px; display: block; }

.check-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.check-rail li { font: 500 13px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; padding-left: 20px; position: relative; color: var(--p-ink); }
.check-rail li::before { content: ""; position: absolute; left: 0; top: .32em; width: 10px; height: 6px; border-left: 2px solid var(--p-accent); border-bottom: 2px solid var(--p-accent); transform: rotate(-45deg); }

.format-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.format-list li { font: 500 13px/1 var(--font-mono); border: 1px solid color-mix(in srgb, var(--p-ink) 22%, transparent); border-radius: 4px; padding: 8px 10px; }
.guide-card .t-label { margin: 0 0 8px; }

.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { border-top: 1px solid color-mix(in srgb, var(--p-ink) 16%, transparent); }
.guide-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--p-ink) 16%, transparent); }
.guide-list a { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; color: inherit; text-decoration: none; }
.guide-list strong { font-weight: 500; font-size: 18px; line-height: 1.3; }
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--p-inv-bg); }
.nav__bar { min-width: 0; }

@media (max-width: 380px) {
  .nav__logo > span { display: none; }
  .btn--xl { font-size: 17px; padding-inline: 16px; white-space: normal; text-align: center; }
}

@media (max-width: 380px) {
  .nav__logo > span { display: none; }
  .btn--xl { font-size: 17px; padding-inline: 16px; white-space: normal; text-align: center; }
  footer.closing > .wrap { grid-template-columns: minmax(0, 1fr); }
  footer.closing .btn { max-width: 100%; white-space: normal; }
  footer.closing h2 { overflow-wrap: anywhere; hyphens: auto; }
  .closing__links .grid, .closing__cta { min-width: 0; }
  .closing__links .grid > * { min-width: 0; grid-column: 1 / -1; }
  .closing__links a, .closing__links li { overflow-wrap: anywhere; }
}

/* ---- natural-height sections (owner decision 16 Nov: no screen-fitting) ---- */
html main > section.hm.hm, html footer.closing.hm.hm { height: auto; min-height: 0; display: block; padding: 112px 0 0; }
html main > section.hm.hm > .wrap, html footer.closing.hm.hm > .wrap { height: auto; display: block; }
html main > section.hm.hm:last-child { padding-bottom: 112px; }
html main > section.hm.hm > .wrap.hm-hero { display: grid; }
html main > section.hm.hm > .wrap.hm-split { display: grid; }
html footer.closing.hm.hm > .wrap { padding-bottom: 32px; }
html footer.closing.hm.hm .closing__cta { margin-bottom: 72px; }
html main > section.hm.hero { padding: calc(var(--nav, 64px) + 56px) 0 0; }
.hm .section-head { margin-bottom: 40px; max-width: 34ch; }
@media (max-width: 639px) {
  html main > section.hm.hm, html footer.closing.hm.hm { padding-top: 72px; }
  html main > section.hm.hm:last-child { padding-bottom: 72px; }
  html main > section.hm.hero { padding-top: calc(var(--nav, 56px) + 32px); }
  html footer.closing.hm.hm .closing__cta { margin-bottom: 48px; }
  .hm .section-head { margin-bottom: 28px; }
}

/* hero */
.hm-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hm-hero__copy h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; max-width: 12ch; margin: 12px 0 20px; text-wrap: balance; }
.hm-hero__copy .t-lead { max-width: 38ch; margin: 0 0 28px; }
.hm-hero__copy .btn-row { margin-top: 0; }
.hm-hero__visual { position: relative; padding-bottom: 48px; }
.hm-mac { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--p-ink) 18%, transparent); box-shadow: 0 30px 70px -30px rgb(14 26 37 / .45); }
.hm-hero__visual .phone { position: absolute; left: -40px; bottom: 0; --pw: 230px; z-index: 2; }
@media (max-width: 1023px) {
  .hm-hero { grid-template-columns: 1fr; gap: 40px; }
  .hm-hero__copy h1 { max-width: 16ch; }
}
@media (max-width: 639px) {
  .hm-mac { display: none; }
  .hm-hero__visual { padding: 0; display: flex; justify-content: center; }
  .hm-hero__visual .phone { position: relative; left: auto; --pw: 250px; }
}

/* the one phone frame: rounded bezel, thin dark border, Dynamic Island, whole unedited capture inside */
.phone { --pw: 300px; margin: 0; width: var(--pw); flex: none; }
.phone__body { position: relative; padding: 9px; background: #0b0f14; border: 1px solid #2c343d; border-radius: calc(var(--pw) * .16); box-shadow: 0 26px 60px -26px rgb(14 26 37 / .55); }
.phone__body img { display: block; width: 100%; height: auto; border-radius: calc(var(--pw) * .125); }
.phone__island { position: absolute; z-index: 1; top: calc(9px + var(--pw) * .028); left: 50%; width: 27%; height: calc(var(--pw) * .08); transform: translateX(-50%); background: #05070a; border-radius: 99px; }

/* features */
.hm-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.hm-feature { border-top: 2px solid var(--p-ink); padding-top: 20px; }
.hm-feature h3 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
.hm-feature p { margin: 0; color: var(--p-muted); line-height: 1.55; }
@media (max-width: 859px) { .hm-cols3 { grid-template-columns: 1fr; gap: 28px; } }

/* formats + two phones */
.hm-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.hm-formats { display: grid; gap: 0; }
.hm-format { border-top: 1px solid color-mix(in srgb, var(--p-ink) 18%, transparent); padding: 18px 0; }
.hm-format h3 { font-size: 20px; margin: 0 0 6px; }
.hm-format p { margin: 0; color: var(--p-muted); line-height: 1.5; font-size: 15.5px; }
.hm-phones { display: flex; gap: 24px; justify-content: center; position: sticky; top: 96px; }
.hm-phones .phone { --pw: 280px; }
.hm-phones .phone:nth-child(2) { margin-top: 56px; }
@media (max-width: 1100px) { .hm-phones .phone { --pw: 240px; } }
@media (max-width: 859px) {
  .hm-split { grid-template-columns: 1fr; gap: 40px; }
  .hm-phones { position: static; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; padding: 0 0 12px; margin-inline: -16px; padding-inline: 16px; }
  .hm-phones .phone { --pw: 240px; scroll-snap-align: center; }
  .hm-phones .phone:nth-child(2) { margin-top: 0; }
}

/* faq: all answers stay in the page; closed rows keep it short */
.hm-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-items: start; }
.hm-faq__item { border-top: 1px solid color-mix(in srgb, var(--p-ink) 18%, transparent); padding: 18px 0; }
.hm-faq__item summary { cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.35; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hm-faq__item summary::-webkit-details-marker { display: none; }
.hm-faq__item summary::after { content: "+"; font: 400 22px/1 var(--font-mono); flex: none; }
.hm-faq__item[open] summary::after { content: "\2212"; }
.hm-faq__item p { margin: 12px 0 0; color: var(--p-muted); line-height: 1.55; font-size: 15.5px; max-width: 62ch; }
.hm-faq__item summary:focus-visible, .guide-list a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 4px; }
@media (max-width: 859px) { .hm-faq { grid-template-columns: 1fr; } }

/* closing: comfortable measure */
html footer.closing.hm.hm .closing__cta .section-head { max-width: none; }
html footer.closing.hm.hm .closing__cta h2 { max-width: 22ch; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; }
html footer.closing.hm.hm .closing__cta .btn--wide { width: auto; min-width: min(100%, 360px); display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .hm *, .hm *::before { scroll-behavior: auto; } }
html main > section.hm.hm .section-head, html main > section.hm.hm .section-head h2 { max-width: none; width: auto; }
html main > section.hm.hm .section-head h2, html main > section.hm.hm .hm-split__text > h2 { max-width: 26ch; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; margin: 0 0 32px; }
html main > section.hm.hm .section-head h2 { margin: 0; }
html footer.closing.hm.hm .closing__cta a.btn.btn--wide { width: auto; display: inline-flex; padding-inline: 40px; justify-self: start; }
html footer.closing.hm.hm .closing__cta .section-head p { margin: 16px 0 0; }
html footer.closing.hm.hm .closing__cta .section-head { margin-bottom: 32px; }
html main > section.hm.hero + section.hm.hm { padding-top: 72px; }
@media (max-width: 1279px) { .hm-hero__visual .phone { left: 0; } .hm-mac { width: 94%; margin-left: auto; } }
html main { overflow-x: clip; }

/* ---- pass 3: bands, bigger hero, proof strip, job-being-done ---- */
.band-blue, .band-dark { --p-ink: #f7f1e8; --p-muted: rgba(247,241,232,.82); color: #f7f1e8; }
.band-blue { background: #3447b5; --p-action: #f7f1e8; --p-action-ink: #2a3a99; --p-accent: #f7f1e8; }
.band-dark { background: #0e1a25; --p-accent: #aab6ff; }
.band-blue h1, .band-blue h2, .band-blue p, .band-dark h2, .band-dark h3, .band-dark p, .band-blue .t-lead { color: #f7f1e8; }
.band-blue .btn--primary { background: #f7f1e8; color: #2a3a99; border-color: #f7f1e8; }
.band-blue .btn--secondary { color: #f7f1e8; border-color: rgba(247,241,232,.6); background: transparent; }
.band-blue .hero-notice { color: rgba(247,241,232,.8); }
.band-blue a:focus-visible, .band-blue .btn:focus-visible, .band-dark a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html main > section.hm.hm.band-blue.hero { padding: calc(var(--nav, 64px) + 64px) 0 96px; }
html main > section.hm.hero + section.hm.hm.band-dark { padding-top: 0; }
.hm-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hm-hero__copy h1 { font-size: clamp(44px, 5.2vw, 80px); line-height: 1.02; font-weight: 500; max-width: 11ch; letter-spacing: -.03em; }
.hm-hero__copy .t-lead { font-size: clamp(18px, 1.5vw, 22px); max-width: 34ch; }
.hm-hero__visual { margin-right: -64px; }
.hm-mac { border-color: rgba(247,241,232,.28); box-shadow: 0 40px 90px -30px rgb(5 10 40 / .7); }
.hm-hero__visual .phone { --pw: 260px; left: -56px; }
@media (max-width: 1279px) { .hm-hero__visual { margin-right: 0; } }
@media (max-width: 639px) {
  html main > section.hm.hm.band-blue.hero { padding: calc(var(--nav, 56px) + 32px) 0 64px; }
  .hm-hero__copy h1 { font-size: clamp(40px, 11.5vw, 48px); }
}

.proof { padding: 0 !important; }
html main > section.hm.hm.proof { padding: 0; }
.proof__list { list-style: none; margin: 0; padding: 36px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.proof__list li { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid rgba(247,241,232,.3); padding-left: 16px; }
.proof__list strong { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--font-display); color: #f7f1e8; }
.proof__list span { font-size: 15px; line-height: 1.35; color: rgba(247,241,232,.78); }
@media (max-width: 759px) { .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 0; } }

.job__title { max-width: 18ch; font-size: clamp(36px, 4.6vw, 64px) !important; line-height: 1.04 !important; font-weight: 500; margin: 0 0 56px !important; text-wrap: balance; }
.job__grid { display: grid; grid-template-columns: minmax(0, 6fr) 56px minmax(0, 5fr); gap: 24px; align-items: center; }
.job__grid figure { margin: 0; min-width: 0; }
.job__grid figcaption { margin: 0 0 14px; }
.xml { margin: 0; padding: 28px 28px 24px; background: #0e1a25; color: #d9dde1; border-radius: 12px; font: 500 14px/1.65 var(--font-mono); overflow-x: auto; box-shadow: 0 30px 60px -34px rgb(14 26 37 / .6); }
.xml code { font: inherit; white-space: pre; }
.xml:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.job__arrow { width: 56px; height: 28px; fill: none; stroke: var(--p-accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.job__after img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--p-ink) 18%, transparent); box-shadow: 0 30px 60px -30px rgb(14 26 37 / .5); background: #fff; }
.job + .hm .section-head, .job ~ #features { padding-top: 96px; }
@media (max-width: 859px) {
  .job__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .job__arrow { transform: rotate(90deg); margin: 0 auto; }
  .xml { font-size: 12.5px; padding: 20px 18px; }
  .job__after img { max-width: 320px; margin: 0 auto; }
  .job__title { margin-bottom: 36px !important; }
}

#formats.band-dark .hm-format { border-top-color: rgba(247,241,232,.22); }
#formats.band-dark .hm-format p { color: rgba(247,241,232,.78); }
#formats.band-dark .phone__body { box-shadow: 0 26px 60px -26px rgb(0 0 0 / .8); border-color: #3a444f; }
html main > section.hm.hm.band-dark#formats { padding: 112px 0; margin-top: 112px; }
@media (max-width: 639px) { html main > section.hm.hm.band-dark#formats { padding: 72px 0; margin-top: 72px; } }

html footer.closing.hm.hm.band-blue { margin-top: 0; padding-top: 104px; }
html footer.closing.band-blue .footer__col h3, html footer.closing.band-blue .footer__lede, html footer.closing.band-blue .footer__legal, html footer.closing.band-blue li, html footer.closing.band-blue .muted { color: #f7f1e8; }
html footer.closing.band-blue .closing__links a { color: #f7f1e8; }
html footer.closing.band-blue .closing__links { border-top: 1px solid rgba(247,241,232,.28); padding-top: 40px; }
@media (prefers-reduced-motion: no-preference) { .job__after img, .xml { transition: transform .5s cubic-bezier(.2,.7,.2,1); } .job__grid:hover .job__after img { transform: translateY(-4px); } }
@media (max-width: 639px) {
  .hm-hero__visual .phone { position: relative; left: auto; bottom: auto; --pw: 260px; }
  .xml { font-size: 11.5px; }
}
.job__grid { grid-template-columns: minmax(0, 5fr) 56px minmax(0, 5fr); }
.job__after img { max-width: 520px; }
@media (max-width: 1023px) { .hm-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hm-hero__copy h1 { max-width: 14ch; } .hm-hero__visual { margin-right: 0; } }
@media (max-width: 859px) { .job__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* pass 3b: full keyword H1 and the language switcher in the header */
.hm-hero__copy h1 { font-size: clamp(38px, 4.1vw, 62px); max-width: 15ch; }
@media (max-width: 1023px) { .hm-hero__copy h1 { max-width: 17ch; } }
@media (max-width: 639px) { .hm-hero__copy h1 { font-size: clamp(32px, 9vw, 40px); max-width: none; } }
.nav__langs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__langs a { display: block; padding: 6px 7px; font: 500 12px/1 var(--font-mono); letter-spacing: .04em; color: inherit; text-decoration: none; border-radius: 4px; opacity: .72; }
.nav__langs a:hover { opacity: 1; }
.nav__langs a[aria-current="page"] { opacity: 1; background: var(--p-ink); color: var(--p-bg); }
.nav__langs a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; opacity: 1; }
@media (max-width: 1099px) { .nav__langs a { padding: 10px 9px; font-size: 13px; } }

/* ---- pass 3b (21 Nov): official App Store badge, calmer hero overlap, facts as a check rail ---- */
.store-badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .16s cubic-bezier(.16,1,.3,1); }
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge--xl img { height: 64px; }
.store-badge:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .store-badge:hover { transform: translateY(-2px); } }
.hm-hero__copy .btn-row { align-items: center; gap: 14px 18px; }
.hm-hero__copy .btn-row .btn--secondary { min-height: 56px; }
html footer.closing.hm.hm .closing__cta .store-badge { justify-self: start; }

/* the phone sits beside the Mac window instead of covering its sidebar */
@media (min-width: 1024px) {
  .hm-hero__visual { padding: 0 0 56px 150px; }
  .hm-hero__visual .phone { --pw: 216px; left: 0; bottom: 0; }
  .hm-mac { width: 100%; margin-left: 0; }
  html main > section.hm.hm.band-blue.hero { padding-bottom: 72px; }
}

/* facts: one ruled line of checks, not four big numbers */
.proof__list { padding: 26px 0; gap: 14px 40px; align-items: start; }
.proof__list li { position: relative; display: block; border-left: 0; padding-left: 30px; }
.proof__list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 7px; border-left: 2px solid #aab6ff; border-bottom: 2px solid #aab6ff; transform: rotate(-45deg); }
.proof__list strong { display: inline; font: 600 17px/1.45 var(--font-text); color: #f7f1e8; }
.proof__list strong::after { content: " "; }
.proof__list span { display: inline; font-size: 16px; line-height: 1.45; color: rgba(247,241,232,.82); }
@media (max-width: 759px) { .proof__list { padding: 24px 0; gap: 12px 20px; } }
@media (max-width: 479px) { .proof__list { grid-template-columns: minmax(0, 1fr); } }
::selection { background: #3447b5; color: #f7f1e8; }
.band-blue ::selection { background: #f7f1e8; color: #2a3a99; }
@media (max-width: 639px) {
  .hm-hero__copy .btn-row { align-items: flex-start; }
  .hm-hero__copy .btn-row .btn--secondary { align-self: stretch; }
}
@media (min-width: 1024px) { html main > section.hm.hm.band-blue.hero { padding-bottom: 48px; } }
