/* Anna Bloom website. One stylesheet for every public page, in English (left to right)
   and Arabic (right to left). Spacing uses logical properties so one rule serves both. */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Variable.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
    --plum: #3a1233;
    --plum-2: #4d1844;
    --deep: #2a0d27;
    --pink: #ff8fb8;
    --pink-soft: #ffd3e3;
    --peach: #ffd9a8;
    --mint: #c9eee0;
    --cream: #fff6f1;
    --blush: #ffe9e2;
    --white: #ffffff;
    --ink: #3a1233;
    --ink-2: #6b4c64;
    --muted: #94788d;
    --on-dark: #e9d3e3;
    --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(20px, 4vw, 40px);
    --r: 24px;
    --shadow: 0 1px 0 rgba(58, 18, 51, .04), 0 12px 32px rgba(58, 18, 51, .07);
}
[lang="ar"] { --font: "IBM Plex Sans Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[lang="ar"] body { line-height: 1.85; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.6vw, 84px); line-height: 1; }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
[lang="ar"] :is(h1, h2, h3, h4) { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
[lang="ar"] h1 { font-size: clamp(38px, 5.4vw, 68px); }
[lang="ar"] h2 { font-size: clamp(28px, 3.6vw, 44px); }
[lang="ar"] h3 { font-size: 20px; line-height: 1.5; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--pink); color: var(--plum); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 1.5px solid rgba(58, 18, 51, .28); border-radius: 14px; background: transparent; color: var(--plum); font: 600 16.5px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); border-color: var(--plum); }
.btn-primary, .btn-solid { background: var(--pink); border-color: var(--pink); color: var(--plum); }
.btn-primary:hover, .btn-solid:hover { background: #ffa5c6; border-color: #ffa5c6; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15.5px; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row .more { margin-inline-start: 10px; font-weight: 500; }
:is(.hero, .page-hero, .close) .btn:not(.btn-primary):not(.btn-solid) { border-color: rgba(255, 255, 255, .35); color: #fff; }
:is(.hero, .page-hero, .close) .btn:not(.btn-primary):not(.btn-solid):hover { border-color: #fff; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--plum); color: #fff; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; font: 600 21px/1 "Outfit", system-ui, sans-serif; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.site-nav a { color: var(--on-dark); font: 400 16px/1.2 var(--font); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.site-nav a.lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; font-size: 16.5px; }
.site-nav a.lang[lang="en"] { font-family: "Outfit", system-ui, sans-serif; }
.site-nav .nav-cta { display: none; }
.head-cta { flex: none; }
.menu-btn { display: none; margin-inline-start: auto; width: 46px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
@media (max-width: 980px) {
    .menu-btn { display: inline-flex; }
    .head-cta { display: none; }
    .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 4px var(--gutter) 24px; background: var(--plum); border-radius: 0 0 24px 24px; box-shadow: 0 24px 40px rgba(0, 0, 0, .3); }
    .site-nav a { padding: 16px 0; font-size: 19px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .site-nav .nav-cta { display: flex; margin-top: 20px; border: 0; color: var(--plum); font-weight: 600; }
    .site-head.open .site-nav { display: flex; }
    .site-head.open .menu-btn .x { display: block; }
    .site-head.open .menu-btn .bars { display: none; }
}

/* Hero */
.hero { background: linear-gradient(160deg, var(--plum-2) 0%, var(--plum) 55%, var(--deep) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(36px, 5vw, 64px); }
.hero .copy { padding-bottom: clamp(48px, 6vw, 88px); }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--pink); display: block; }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; font-size: 14.5px; }
.status div { display: flex; gap: 7px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.status dt { font-weight: 600; color: #fff; }
.status dd { margin: 0; color: var(--on-dark); }
.lead { max-width: 33em; margin: 26px 0 34px; font-size: clamp(18.5px, 1.75vw, 22px); line-height: 1.5; color: var(--on-dark); }
[lang="ar"] .lead { line-height: 1.85; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--on-dark); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.facts { margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; margin: 0; padding: 0; list-style: none; }
.facts b { display: block; font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
[lang="ar"] .facts b { font-weight: 700; font-size: 18px; line-height: 1.5; letter-spacing: 0; }
.facts span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.35; color: #cdb0c6; }
[lang="ar"] .facts span { line-height: 1.6; }
.duo { position: relative; align-self: end; height: clamp(520px, 52vw, 680px); }
.duo img { position: absolute; width: clamp(230px, 23vw, 300px); border-radius: 34px; box-shadow: 0 34px 80px rgba(0, 0, 0, .5); }
.duo img:first-child { inset-inline-start: -6%; top: 16%; transform: rotate(-6deg); }
.duo img:last-child { inset-inline-end: 0; top: 4%; transform: rotate(4deg); }
[dir="rtl"] .duo img:first-child { transform: rotate(6deg); }
[dir="rtl"] .duo img:last-child { transform: rotate(-4deg); }
@media (max-width: 900px) {
    .hero .wrap { grid-template-columns: minmax(0, 1fr); }
    .hero .copy { padding-bottom: 0; }
    .duo { height: 430px; max-width: 460px; width: 100%; margin: 0 auto; }
    .duo img { width: 210px; }
    .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.page-hero { background: linear-gradient(160deg, var(--plum-2) 0%, var(--plum) 60%, var(--deep) 100%); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(52px, 7vw, 100px); }
.page-hero h1 { max-width: 17ch; font-size: clamp(40px, 5.6vw, 72px); }
[lang="ar"] .page-hero h1 { max-width: 22ch; font-size: clamp(34px, 4.6vw, 58px); }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 34px; }
.kicker, .sec-label { display: inline-block; margin: 0 0 20px; padding: 7px 14px; border-radius: 999px; font: 600 13px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; }
[lang="ar"] :is(.kicker, .sec-label) { letter-spacing: 0; font-size: 14.5px; line-height: 1.5; }
.kicker { background: rgba(255, 143, 184, .16); color: var(--pink); }
.sec-label { background: var(--pink-soft); color: var(--plum); }
.sec-label:empty { display: none; }

/* Sections */
.sec { padding: clamp(64px, 9vw, 116px) 0; }
.sec.tint { background: var(--blush); }
.sec-body, .plate > div, .spec > div { min-width: 0; }
.sec-body > h2 { max-width: 20ch; }
[lang="ar"] .sec-body > h2 { max-width: 26ch; }
.sec-body > .intro { max-width: 40em; margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 20.5px); color: var(--ink-2); }
.sec-body > h2 + *:not(.intro), .sec-body > .intro + * { margin-top: clamp(34px, 4.5vw, 52px); }

/* A phone screen on a colour block */
.fig { margin: 0; padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) 22px; border-radius: 36px; background: var(--pink); text-align: center; }
.fig img { width: min(100%, 280px); margin: 0 auto; border-radius: 30px; box-shadow: 0 26px 56px rgba(58, 18, 51, .35); transform: rotate(-2.5deg); }
.flip .fig img { transform: rotate(2.5deg); }
.fig figcaption { margin-top: 26px; font-size: 14.5px; line-height: 1.4; font-weight: 500; color: var(--plum); opacity: .8; }
[lang="ar"] .fig figcaption { line-height: 1.6; }
.sec:nth-of-type(3n) .fig { background: var(--peach); }
.sec:nth-of-type(3n+1) .fig { background: var(--plum); }
.sec:nth-of-type(3n+1) .fig figcaption { color: #fff; }

/* Tables as cards */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); font-size: 16.5px; }
.table th, .table td { padding: 16px 22px; text-align: start; vertical-align: top; border-bottom: 1px solid #f3e4ea; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table thead th { background: var(--plum); color: #fff; border: 0; font-weight: 500; font-size: 14.5px; }
.table tbody th { font-weight: 600; }
.table td { color: var(--ink-2); }
.table-foot { margin: 16px 4px 0; font-size: 14.5px; color: var(--muted); max-width: 70ch; }
.ledger td:first-child { width: 96px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.ledger td:nth-child(2) { color: var(--ink); }
.ledger td:last-child { width: 160px; white-space: nowrap; }
.ledger tr.sys td { background: var(--pink-soft); }
.ledger tr.sys td:last-child { font-weight: 600; color: var(--plum); }
.who tbody th { width: 30%; font-size: 19px; }
.matrix-wrap { position: relative; overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.matrix { min-width: 660px; box-shadow: none; }
.matrix thead th:not(:first-child), .matrix td { width: 17%; }
.matrix td { color: var(--ink); font-size: 15.5px; }
.matrix .y::before { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%233a1233' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5'/%3E%3C/svg%3E") center/22px; vertical-align: middle; }
.matrix .n::before { content: "—"; color: #cbb3c2; }
@media (max-width: 640px) {
    .table { font-size: 15.5px; }
    .table th, .table td { padding: 13px 14px; }
    .ledger td:first-child { width: 66px; }
    .ledger td:last-child { width: auto; }
    .who tbody th { font-size: 17px; }
}

/* Cards: a term and what it means */
.defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.defs > div { padding: 26px 26px 28px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.defs dt { margin-bottom: 8px; font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
[lang="ar"] .defs dt { font-weight: 700; font-size: 18.5px; line-height: 1.55; letter-spacing: 0; }
.defs dd { margin: 0; font-size: 16.5px; color: var(--ink-2); }
.defs.cols2, .spec .defs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.defs.big > div { padding: 30px 30px 34px; box-shadow: none; min-height: 190px; }
.defs.big dt { font-size: 24px; }
[lang="ar"] .defs.big dt { font-size: 21px; }
.defs.big > div:nth-child(4n+1) { background: var(--pink); }
.defs.big > div:nth-child(4n+2) { background: var(--plum); color: #fff; }
.defs.big > div:nth-child(4n+3) { background: var(--peach); }
.defs.big > div:nth-child(4n+4) { background: var(--mint); }
.defs.big dd { color: inherit; opacity: .86; }
.defs.count { counter-reset: def; }
.defs.count dt::before { content: counter(def, decimal-leading-zero); counter-increment: def; display: block; margin-bottom: 26px; font-size: 15px; font-weight: 500; letter-spacing: 0; opacity: .7; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .defs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .defs, .defs.cols2, .spec .defs { grid-template-columns: minmax(0, 1fr); } .defs.big > div { min-height: 0; } }

/* A part of the product beside its screen */
.plate, .spec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.spec { align-items: start; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.spec .fig { position: sticky; top: 100px; }
.flip > .fig { order: -1; }
.plate h2 { max-width: 17ch; }
.plate .body, .spec .intro { max-width: 34em; margin: 20px 0 0; font-size: 19px; color: var(--ink-2); }
.spec .intro { margin-bottom: 32px; }
.points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 34em; }
.points li { position: relative; padding-inline-start: 36px; font-size: 17px; }
.points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .12em; width: 24px; height: 24px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%233a1233' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5'/%3E%3C/svg%3E") center/22px; }
[lang="ar"] .points li::before { top: .3em; }
.plate .go { display: inline-block; margin-top: 28px; font-weight: 600; }
@media (max-width: 820px) {
    .plate, .spec { grid-template-columns: minmax(0, 1fr); }
    .flip > .fig { order: 0; }
    .spec .fig { position: static; }
    .fig img { width: min(100%, 230px); }
}

/* The quote */
.quote { margin: 0; padding: clamp(32px, 5vw, 64px); border-radius: 36px; background: var(--plum); color: #fff; font-weight: 600; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
[lang="ar"] .quote { font-weight: 700; letter-spacing: 0; line-height: 1.55; font-size: clamp(24px, 3vw, 40px); }
.quote + .defs { margin-top: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 32px 30px 34px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.plan:nth-child(2) { background: var(--plum); color: #fff; box-shadow: 0 24px 48px rgba(58, 18, 51, .3); }
.plan .tag { display: inline-block; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; background: var(--pink-soft); color: var(--plum); font-size: 13.5px; font-weight: 600; }
.plan:nth-child(2) .tag { background: var(--pink); }
.plan h3 { font-size: 34px; letter-spacing: -.03em; }
[lang="ar"] .plan h3 { font-size: 27px; }
.plan .for { margin: 10px 0 24px; font-size: 16.5px; min-height: 3.1em; opacity: .8; }
[lang="ar"] .plan .for { min-height: 3.7em; }
.plan ul { margin: 0; padding: 22px 0 0; list-style: none; display: grid; gap: 12px; border-top: 1px solid rgba(58, 18, 51, .1); }
.plan:nth-child(2) ul { border-top-color: rgba(255, 255, 255, .18); }
.plan li { position: relative; padding-inline-start: 28px; font-size: 16.5px; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .5em; width: 14px; height: 8px; border-inline-start: 2.2px solid var(--pink); border-bottom: 2.2px solid var(--pink); transform: rotate(-45deg) translateY(-3px); }
[dir="rtl"] .plan li::before { transform: rotate(45deg) translateY(-3px); }
.note { margin: 22px 4px 0; font-size: 15px; color: var(--muted); max-width: 70ch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan .for, [lang="ar"] .plan .for { min-height: 0; } }

/* Questions */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 18.5px; line-height: 1.3; letter-spacing: -.01em; }
[lang="ar"] .faq summary { line-height: 1.7; letter-spacing: 0; font-weight: 700; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink-soft); font: 400 22px/1 "Outfit", system-ui, sans-serif; }
.faq details[open] summary::after { content: "–"; background: var(--pink); }
.faq details p { margin: 0; padding: 0 24px 22px; max-width: 64ch; color: var(--ink-2); }

/* The notice, and running prose */
.notice { margin: 16px 0 0; padding: 22px 26px; border-radius: var(--r); background: var(--peach); max-width: 100%; }
.prose { max-width: 36em; font-size: 20px; color: var(--ink-2); }
.prose p:first-child { color: var(--ink); font-size: 23px; line-height: 1.45; }

/* The product page's contents */
.page-hero .toc { margin-top: 36px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: 15.5px; font-weight: 500; }
.toc a:hover { background: var(--pink); color: var(--plum); }

/* The closing band and the iPhone list */
.close { background: linear-gradient(200deg, var(--plum-2), var(--plum) 60%); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.close h2 { max-width: 13ch; font-size: clamp(36px, 5vw, 64px); }
[lang="ar"] .close h2 { max-width: 18ch; font-size: clamp(30px, 4vw, 50px); }
.close .pitch { max-width: 30em; margin: 22px 0 32px; font-size: 19.5px; color: var(--on-dark); }
.close .list { padding: clamp(24px, 3.4vw, 40px); border-radius: 32px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.close .list h3 { font-size: 26px; margin-bottom: 8px; }
.close .list p { color: var(--ink-2); font-size: 16.5px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 22px; }
.form .full { grid-column: 1 / -1; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin: 0 0 7px; padding: 0; font-weight: 500; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
[lang="ar"] .field label, [lang="ar"] .field legend { font-size: 15px; line-height: 1.6; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="email"], .field input[type="text"], .field select { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid #ecd6e0; border-radius: 14px; background: #fff; color: var(--ink); font: 400 16px/1.2 var(--font); }
.field input::placeholder { color: #bfa5b6; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--plum); }
.choices { display: flex; gap: 8px; }
.choices label { flex: 1; margin: 0; position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1.5px solid #ecd6e0; border-radius: 14px; background: #fff; font: 500 15.5px/1 "Outfit", system-ui, sans-serif; cursor: pointer; }
.choices input:checked + span { background: var(--plum); color: #fff; border-color: var(--plum); }
.choices input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.close .form .btn { color: var(--plum); }
.form-note { margin: 0; font-size: 14px !important; color: var(--muted) !important; }
.errors { padding: 12px 16px; border-radius: 12px; background: #ffe1e1; color: #8a1f1f; font-size: 15px; }
.hp { position: absolute; inset-inline-start: -9999px; }
@media (max-width: 900px) { .close .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { padding: clamp(48px, 6vw, 76px) 0 34px; background: var(--deep); font-size: 16px; color: #cdb0c6; }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px 32px; }
.site-foot .brand { margin-bottom: 16px; color: #fff; }
.site-foot .blurb { max-width: 34ch; }
.site-foot h4 { margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: #fff; }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; color: #a98aa2; }
.site-foot .legal p { margin: 0; }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child { grid-column: 1 / -1; } }

/* Policies and help */
.doc-page { padding: clamp(28px, 5vw, 60px) 0 clamp(64px, 8vw, 110px); }
.doc-page .wrap { display: grid; grid-template-columns: 220px minmax(0, 800px); column-gap: clamp(24px, 4vw, 48px); align-items: start; }
.doc-page.solo .wrap { grid-template-columns: minmax(0, 800px); justify-content: center; }
.doc-tabs { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.doc-tabs a { padding: 11px 16px; border-radius: 12px; color: var(--ink-2); font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; }
[lang="ar"] .doc-tabs a { line-height: 1.6; }
.doc-tabs a:hover { background: var(--blush); color: var(--ink); }
.doc-tabs a[aria-current="page"] { background: var(--plum); color: #fff; }
.doc { padding: clamp(24px, 4.5vw, 56px); border-radius: 32px; background: var(--white); box-shadow: var(--shadow); min-width: 0; }
.doc h1 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 14px; }
[lang="ar"] .doc h1 { font-size: clamp(29px, 3.8vw, 42px); }
.doc .en { font-family: "Outfit", system-ui, sans-serif; line-height: 1.55; }
.doc .en :is(h1, h2, h3) { font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.doc .en h1 { font-size: clamp(34px, 4.6vw, 52px); }
.doc .updated { margin: 0 0 30px; padding-bottom: 22px; border-bottom: 1px solid #f0e0e7; font-size: 16px; color: var(--muted); }
.doc h2 { margin: 44px 0 12px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; }
[lang="ar"] .doc h2 { font-size: clamp(22px, 2.3vw, 26px); }
.doc h3 { margin: 30px 0 8px; font-size: 19px; }
.doc p, .doc li { color: var(--ink-2); }
.doc a { color: var(--plum); font-weight: 500; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { margin: 0 0 1em; padding-inline-start: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--pink); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; }
.doc th, .doc td { padding-block: 11px; padding-inline: 0 14px; text-align: start; vertical-align: top; border-bottom: 1px solid #f0e0e7; }
.doc th { border-bottom-color: var(--plum); color: var(--ink); font-weight: 600; }
.doc .small { font-size: 15px; color: var(--muted); }
.draft, .lang-note { margin: 0 0 28px; padding: 16px 20px; border-radius: 16px; background: var(--peach); font-size: 16px; color: var(--ink); }
.step { margin: 0 0 14px; padding: 26px 28px; border-radius: var(--r); background: var(--cream); }
.step h2 { margin: 0 0 10px; display: flex; align-items: center; gap: 14px; }
.step h2 .n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink); font: 600 18px/1 "Outfit", system-ui, sans-serif; letter-spacing: 0; }
.step .btn { margin-top: 6px; }
.doc .btn { color: var(--plum); font-weight: 600; }
@media (max-width: 860px) {
    .doc-page .wrap { grid-template-columns: minmax(0, 1fr); }
    .doc-tabs { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; }
    .doc-tabs a { padding: 9px 14px; background: var(--white); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print {
    .site-head, .site-foot, .close, .doc-tabs, .menu-btn { display: none !important; }
    body { background: #fff; }
    .doc { box-shadow: none; padding: 0; }
}
@media (min-width: 821px) {
    .plate.flip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .spec.flip { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
}
.doc .btn, .step .btn { max-width: 100%; white-space: normal; text-align: center; padding-block: 14px; line-height: 1.3; }

/* Depth: soft clay. Every raised surface has a top highlight, a solid lower lip (as the app's
   own cards do) and a soft drop shadow; fields are pressed in. */
:root {
    --lip-white: #f1d6e2; --lip-pink: #e56c9c; --lip-plum: #22081e; --lip-peach: #efbb7a; --lip-mint: #9ed5c0; --lip-cream: #f0d3c6;
    --hi: inset 0 2px 0 rgba(255, 255, 255, .7);
    --hi-dark: inset 0 2px 0 rgba(255, 255, 255, .14);
    --drop: 0 28px 44px -18px rgba(58, 18, 51, .3);
}
.btn { border-radius: 18px; border-width: 0; background: var(--white); box-shadow: var(--hi), inset 0 -8px 14px -8px rgba(58, 18, 51, .14), 0 5px 0 var(--lip-white), 0 16px 24px -10px rgba(58, 18, 51, .28); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: var(--hi), 0 1px 0 var(--lip-white); }
.btn-primary, .btn-solid { background: linear-gradient(180deg, #ffa3c6, var(--pink)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -8px 14px -8px rgba(160, 30, 90, .35), 0 5px 0 var(--lip-pink), 0 18px 26px -10px rgba(255, 110, 165, .55); }
.btn-primary:hover, .btn-solid:hover { background: linear-gradient(180deg, #ffb1cf, #ff9bc0); }
.btn-primary:active, .btn-solid:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 1px 0 var(--lip-pink); }
.btn-sm { border-radius: 14px; }
:is(.hero, .page-hero, .close) .btn:not(.btn-primary):not(.btn-solid) { background: rgba(255, 255, 255, .1); box-shadow: var(--hi-dark), inset 0 -8px 14px -8px rgba(0, 0, 0, .35), 0 5px 0 rgba(0, 0, 0, .35), 0 16px 24px -10px rgba(0, 0, 0, .5); }
.close .form .btn { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -8px 14px -8px rgba(160, 30, 90, .35), 0 5px 0 var(--lip-pink), 0 18px 26px -10px rgba(255, 110, 165, .55); }

.status div, .toc a { box-shadow: var(--hi-dark), 0 3px 0 rgba(0, 0, 0, .25); }
.sec-label { box-shadow: var(--hi), 0 3px 0 #f3b3cb; }
.kicker { box-shadow: var(--hi-dark), 0 3px 0 rgba(0, 0, 0, .25); }

.defs > div, .plan, .faq details, .table, .matrix-wrap, .doc, .close .list { box-shadow: var(--hi), inset 0 -12px 20px -12px rgba(58, 18, 51, .08), 0 7px 0 var(--lip-white), var(--drop); }
.defs > div, .plan { border-radius: 30px; }
.faq details { border-radius: 22px; box-shadow: var(--hi), 0 5px 0 var(--lip-white), 0 18px 28px -16px rgba(58, 18, 51, .22); }
.faq { gap: 16px; }
.defs { gap: 22px 18px; }
.plans { gap: 20px; }
.matrix { box-shadow: none; }
.close .list { box-shadow: var(--hi), 0 8px 0 var(--lip-cream), 0 40px 60px -20px rgba(0, 0, 0, .55); }
.defs.big > div { box-shadow: var(--hi), inset 0 -14px 22px -12px rgba(58, 18, 51, .16), 0 8px 0 var(--lip), 0 30px 44px -18px rgba(58, 18, 51, .35); }
.defs.big > div:nth-child(4n+1) { --lip: var(--lip-pink); background: linear-gradient(180deg, #ffa3c6, var(--pink)); }
.defs.big > div:nth-child(4n+2) { --lip: var(--lip-plum); background: linear-gradient(180deg, #55204c, var(--plum)); box-shadow: var(--hi-dark), 0 8px 0 var(--lip), 0 30px 44px -18px rgba(58, 18, 51, .5); }
.defs.big > div:nth-child(4n+3) { --lip: var(--lip-peach); background: linear-gradient(180deg, #ffe3bd, var(--peach)); }
.defs.big > div:nth-child(4n+4) { --lip: var(--lip-mint); background: linear-gradient(180deg, #d9f4ea, var(--mint)); }
.plan:nth-child(2) { background: linear-gradient(180deg, #55204c, var(--plum)); box-shadow: var(--hi-dark), 0 8px 0 var(--lip-plum), 0 34px 50px -18px rgba(58, 18, 51, .55); }
.quote { background: linear-gradient(180deg, #55204c, var(--plum)); box-shadow: var(--hi-dark), 0 9px 0 var(--lip-plum), 0 36px 54px -20px rgba(58, 18, 51, .5); }
.notice, .draft, .lang-note { box-shadow: var(--hi), 0 5px 0 var(--lip-peach); }
.step { box-shadow: inset 0 3px 8px rgba(58, 18, 51, .07); }
.step h2 .n, .points li::before, .matrix .y::before, .faq summary::after { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6), 0 2.5px 0 var(--lip-pink); }
.faq summary::after { box-shadow: var(--hi), 0 2.5px 0 #f3b3cb; }

/* The screen panels: a puffy block with the phone standing on it */
.fig { --lip: var(--lip-pink); border-radius: 44px; background-image: radial-gradient(120% 70% at 15% 0%, rgba(255, 255, 255, .38), transparent 62%); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), inset 0 -18px 28px -14px rgba(58, 18, 51, .22), 0 10px 0 var(--lip), 0 40px 56px -22px rgba(58, 18, 51, .4); }
.sec:nth-of-type(3n) .fig { --lip: var(--lip-peach); }
.sec:nth-of-type(3n+1) .fig { --lip: var(--lip-plum); background-image: radial-gradient(120% 70% at 15% 0%, rgba(255, 255, 255, .14), transparent 62%); box-shadow: var(--hi-dark), 0 10px 0 var(--lip), 0 40px 56px -22px rgba(58, 18, 51, .55); }
.fig img { border: 7px solid #fff; border-radius: 38px; box-shadow: 0 0 0 1.5px rgba(58, 18, 51, .1), 0 9px 0 rgba(58, 18, 51, .16), 0 36px 44px -14px rgba(58, 18, 51, .5); }
.duo img { border: 7px solid #fff; border-radius: 40px; box-shadow: 0 10px 0 rgba(0, 0, 0, .28), 0 44px 80px -10px rgba(0, 0, 0, .6); }
.duo img:first-child { border-color: #1d0a1b; }
.brand img { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), 0 3px 0 rgba(0, 0, 0, .3); }

/* Fields are pressed in */
.field input[type="email"], .field input[type="text"], .field select, .choices span { border-radius: 16px; border-color: #ecd6e0; box-shadow: inset 0 3px 7px rgba(58, 18, 51, .09); }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 46px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233a1233' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; text-overflow: ellipsis; }
[dir="rtl"] .field select { background-position: left 16px center; }
.choices input:checked + span { box-shadow: var(--hi-dark), 0 4px 0 var(--lip-plum); }
.site-head { box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(0, 0, 0, .45); }

/* The experience layer (public/js/site.js and hero3d.js). None of this applies without them. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.field select { font-size: 15.5px; padding-inline: 14px 40px; }
.table.sr { width: 1px; box-shadow: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .16em; margin-block: -.16em; }
.w > span { display: inline-block; will-change: transform; }
[lang="ar"] .w { padding-block: .34em; margin-block: -.34em; }
.hero h1 em .w, .page-hero h1 em .w { vertical-align: top; }
.js .hero .copy, .js .page-hero .wrap { visibility: hidden; }
.read-bar { position: absolute; inset-inline: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--pink), var(--peach)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .read-bar { transform-origin: 100% 50%; }
.site-head { transition: background .3s; }
.site-head.scrolled { background: rgba(58, 18, 51, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* The hero in 3D */
.hero { position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.hero.gl-on .hero-gl { opacity: 1; }
.hero.gl-wait .duo { opacity: 0; }
.js .hero.gl-off .duo img { animation: bob 7s ease-in-out infinite; }
.js .hero.gl-off .duo img:last-child { animation-duration: 8.5s; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* Clay spheres in the dark bands */
.page-hero, .close { position: relative; overflow: hidden; }
.page-hero .wrap, .close .wrap { position: relative; z-index: 1; }
.blob { position: absolute; z-index: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 44%), var(--c); box-shadow: inset -12px -16px 26px rgba(58, 18, 51, .3), 0 34px 44px -16px rgba(0, 0, 0, .5); }
.blob.b1 { --c: var(--pink); width: clamp(70px, 9vw, 130px); inset-inline-end: 7%; top: 16%; }
.blob.b2 { --c: var(--peach); width: clamp(40px, 5vw, 72px); inset-inline-end: 24%; top: 58%; }
.blob.b3 { --c: var(--mint); width: clamp(30px, 3.6vw, 54px); inset-inline-end: 15%; bottom: 12%; }
.blob.b4 { --c: #6b2a60; width: clamp(110px, 15vw, 220px); inset-inline-start: -9%; bottom: -34%; }
.close .blob.b1 { inset-inline-end: 46%; top: 6%; width: clamp(40px, 5vw, 70px); }
.close .blob.b2 { inset-inline-end: 3%; top: 8%; }
.close .blob.b3 { inset-inline-end: 50%; bottom: 10%; }
@media (max-width: 820px) { .page-hero .blob.b1 { top: 4%; inset-inline-end: -4%; } .page-hero .blob.b2, .page-hero .blob.b3 { display: none; } }

/* Screens: driven by scroll and pointer */
.fig img { transform: perspective(900px) translateY(var(--py, 0px)) rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--spin, 0deg))) rotate(var(--tilt, -2.5deg)); }
.flip .fig img { --tilt: 2.5deg; }
.plan, .defs.big > div { position: relative; }
.plan::after, .defs.big > div::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .3), transparent 46%); opacity: 0; transition: opacity .3s; pointer-events: none; }
@media (hover: hover) { .plan:hover::after, .defs.big > div:hover::after { opacity: 1; } }

/* One night: the pinned scene */
.night { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); height: min(640px, calc(100svh - 130px)); padding: clamp(22px, 4vw, 52px); border-radius: 44px; overflow: hidden; color: #fff; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14), 0 10px 0 var(--lip-plum), 0 44px 60px -24px rgba(58, 18, 51, .6); }
.sky-night, .sky-dawn { position: absolute; inset: 0; z-index: -3; }
.sky-night { background: radial-gradient(120% 90% at 20% 0%, #4a2a7a 0, #2a1150 38%, #170a2b 100%); }
.sky-dawn { opacity: 0; background: linear-gradient(180deg, #ffb08a 0%, #ffc7ad 30%, #ffd9e6 64%, #fff0e6 100%); }
.stars { position: absolute; inset: 0; z-index: -2; }
.stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; animation: twinkle 3.4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.6); } }
.orb { position: absolute; z-index: -2; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; }
.moon { left: 10%; top: 10%; width: clamp(54px, 7vw, 92px); background: radial-gradient(circle at 34% 30%, #fff 0, #ffeccf 45%, #f3c98f 100%); box-shadow: 0 0 60px 14px rgba(255, 226, 170, .35), inset -8px -10px 16px rgba(160, 100, 40, .25); }
.sun { left: 30%; top: 112%; width: clamp(120px, 16vw, 210px); background: radial-gradient(circle at 40% 35%, #fff6c9, #ffc45c 55%, #ff9a4d); box-shadow: 0 0 120px 50px rgba(255, 170, 90, .55); }
[dir="rtl"] .sun { left: 70%; }
.hills { position: absolute; z-index: -1; inset-inline: -12%; bottom: -34%; height: 56%; border-radius: 50% 50% 0 0; background: color-mix(in srgb, #8a3f6f calc(var(--dawn, 0) * 100%), #12051f); }
.hills::before { content: ""; position: absolute; inset-inline: 38% -20%; bottom: 18%; height: 100%; border-radius: 50% 50% 0 0; background: color-mix(in srgb, #a85682 calc(var(--dawn, 0) * 100%), #1c0a2e); z-index: -1; }
.night-side { align-self: center; min-width: 0; color: color-mix(in srgb, var(--plum) calc(var(--dawn, 0) * 100%), #fff); }
.night-duty { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .25), 0 3px 0 rgba(0, 0, 0, .18); font-size: 15.5px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.night-duty span { opacity: .75; }
.night-duty b { display: inline-block; font-weight: 600; }
.night-clock { margin: 0; font: 600 clamp(64px, 10.5vw, 148px)/.92 "Outfit", system-ui, sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; text-shadow: 0 6px 0 rgba(0, 0, 0, .14); }
[dir="rtl"] .night-clock { text-align: right; }
.night-track { margin-top: 24px; height: 8px; max-width: 320px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25); }
.night-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--peach)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .night-track i { transform-origin: 100% 50%; }
.night-feed { position: relative; height: 100%; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%); mask-image: linear-gradient(180deg, transparent 0, #000 7%); }
.night-feed ol { margin: 0; padding: 40px 6px 16px; list-style: none; display: grid; gap: 12px; }
.night-feed li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 15px 18px; border-radius: 20px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.35; box-shadow: var(--hi), 0 5px 0 var(--lip-white), 0 18px 26px -14px rgba(0, 0, 0, .55); }
.night-feed time { font-weight: 600; font-variant-numeric: tabular-nums; }
.night-feed p { margin: 0; }
.night-feed .by { padding: 3px 10px; border-radius: 99px; background: var(--blush); color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.night-feed li.sys { background: linear-gradient(180deg, #ffa3c6, var(--pink)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 5px 0 var(--lip-pink), 0 18px 26px -12px rgba(255, 110, 165, .6); font-weight: 500; }
.night-feed li.sys .by { background: var(--plum); color: #fff; }
.rings { position: absolute; inset-inline-end: 16px; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 2px 0 rgba(58, 18, 51, .2); pointer-events: none; }
.ringing .rings::before, .ringing .rings::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ringout 1.2s ease-out infinite; }
.ringing .rings::after { animation-delay: .6s; }
@keyframes ringout { from { transform: scale(1); opacity: .9; } to { transform: scale(7); opacity: 0; } }
.ringing li.sys { animation: shake .45s ease-in-out infinite; }
@keyframes shake { 25% { rotate: -.9deg; } 75% { rotate: .9deg; } }
@media (max-width: 820px) {
    .night { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: calc(100svh - 104px); border-radius: 32px; gap: 14px; }
    .night-clock { font-size: 62px; }
    .night-duty { margin-bottom: 8px; font-size: 14px; }
    .night-track { margin-top: 12px; }
    .night-feed li { grid-template-columns: auto minmax(0, 1fr); padding: 12px 14px; font-size: 15px; }
    .night-feed .by { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .stars i, .hero .duo img { animation: none !important; } }
.js .btn { transition: background .15s, border-color .15s, box-shadow .15s; }
@media (max-width: 900px) { .hero .duo { margin-top: 56px; } }

/* The install page: words on one side, the QR code on a clay card on the other. */
.get .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.get-on-phone { margin: 30px 0 0; font-weight: 600; color: var(--pink-soft); }
.get .btn-row { margin-top: 14px; }
.get-note { max-width: 34em; margin: 22px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--on-dark); }
.get-card { justify-self: center; width: min(100%, 400px); margin: 0; padding: clamp(18px, 2.6vw, 28px); border-radius: 40px; background: var(--cream); color: var(--ink); text-align: center; box-shadow: var(--hi), 0 10px 0 var(--lip-cream), 0 40px 70px -20px rgba(0, 0, 0, .6); transform: rotate(-2deg); }
[dir="rtl"] .get-card { transform: rotate(2deg); }
.get-card img { display: block; width: 100%; height: auto; border-radius: 24px; background: #fff; box-shadow: inset 0 3px 8px rgba(58, 18, 51, .12); }
.get-card figcaption { display: grid; gap: 4px; margin-top: 18px; font-size: 14.5px; color: var(--muted, #6d5568); }
.get-card strong { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.01em; color: var(--plum); }
.get-share { max-width: 30em; margin: 0 auto; text-align: center; font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; }
@media (max-width: 820px) {
    .get .wrap { grid-template-columns: minmax(0, 1fr); }
    .get-card { width: min(100%, 320px); }
}
