/* Us — us.deeapps.in
   Dusk palette from the app's Lamp tokens (App/Us/Design/Theme.swift).
   System fonts only. No scripts, no external requests. The evening room (.dusk) stays dark in both schemes,
   the way Lamplight always shows the evening room in the app; the rest of the page follows the reader's scheme. */

:root {
  color-scheme: light dark;
  /* light: warm paper */
  --canvas: #FBF6EF; --surface: #FFFCF7; --sunken: #F3ECE2;
  --text: #2B2220; --secondary: #6E625B; --tertiary: #76695F;
  --divider: #E8DED2; --stroke: #8F8175;
  --rose: #A93E58; --on-rose: #FFFFFF; --sage: #426B52; --amber: #87581A;
  --rose-wash: rgba(169, 62, 88, .08); --sage-wash: rgba(66, 107, 82, .09); --amber-wash: rgba(135, 88, 26, .09);
  --shadow: 0 1px 0 rgba(43, 34, 32, .04), 0 18px 40px -24px rgba(43, 34, 32, .28);

  /* the evening room, same in both schemes */
  --night: #1B1630; --night-deep: #140F26; --night-surface: #282140; --night-line: #3D3457;
  --night-text: #F7EDE6; --night-secondary: #CDBDC8; --night-tertiary: #B3A3B6;
  --lamp: #F2C57E; --night-rose: #F29BB0; --night-sage: #9BD3B0;

  --serif: ui-serif, "New York", "Iowan Old Style", "Charter", "Georgia", serif;
  --sans: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --wide: 72rem;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #1B1630; --surface: #241D3B; --sunken: #211A37;
    --text: #F7EDE6; --secondary: #CDBDC8; --tertiary: #B3A3B6;
    --divider: #3D3457; --stroke: #8A7A9E;
    --rose: #F29BB0; --on-rose: #1B1630; --sage: #9BD3B0; --amber: #F2C57E;
    --rose-wash: rgba(242, 155, 176, .09); --sage-wash: rgba(155, 211, 176, .08); --amber-wash: rgba(242, 197, 126, .08);
    --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 24px 48px -28px rgba(0, 0, 0, .6);
  }
}

/* Anything inside .dusk uses the evening values, whatever the scheme. */
.dusk {
  --text: var(--night-text); --secondary: var(--night-secondary); --tertiary: var(--night-tertiary);
  --divider: var(--night-line); --surface: var(--night-surface);
  --rose: var(--night-rose); --on-rose: var(--night); --sage: var(--night-sage); --amber: var(--lamp);
  color-scheme: dark;
  color: var(--text);
  background-color: var(--night);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--canvas); color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; display: block; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--text); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.022em; }
h2 { font-size: clamp(1.95rem, 1.3rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -.018em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.005em; font-weight: 600; }
a { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--night-rose); color: var(--night); }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--lamp); color: var(--night); font-weight: 600; text-decoration: none;
  padding: .7rem 1.1rem; border-radius: .75rem;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- masthead ---------- */
.masthead { position: relative; z-index: 2; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text);
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; min-height: 2.75rem;
}
.mark { width: 2.25rem; height: 1.5rem; flex: none; }
.mark .a { fill: var(--night-rose); opacity: .92; }
.mark .b { fill: var(--night-sage); opacity: .88; }
.mark .m { fill: var(--lamp); }
.masthead nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.5rem, 2.4vw, 1.75rem); }
.masthead nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .25rem;
  color: var(--secondary); text-decoration: none; font-size: .95rem;
}
.masthead nav a:hover { color: var(--text); }
.masthead nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--lamp); }

/* ---------- the evening sky ---------- */
.sky { position: relative; isolation: isolate; overflow: hidden; }
.sky::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(48rem 34rem at 78% 58%, rgba(242, 197, 126, .17), transparent 62%),
    radial-gradient(40rem 30rem at 8% 0%, rgba(242, 155, 176, .12), transparent 65%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 55%, #221A3A 100%);
}
.stars, .stars::after {
  position: absolute; inset: -420px 0 0 -420px; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 40px 60px, rgba(247, 237, 230, .85), transparent),
    radial-gradient(1px 1px at 130px 210px, rgba(247, 237, 230, .6), transparent),
    radial-gradient(1.6px 1.6px at 260px 90px, rgba(242, 197, 126, .8), transparent),
    radial-gradient(1px 1px at 330px 300px, rgba(247, 237, 230, .55), transparent),
    radial-gradient(1.2px 1.2px at 210px 370px, rgba(247, 237, 230, .7), transparent),
    radial-gradient(1px 1px at 390px 160px, rgba(242, 155, 176, .7), transparent),
    radial-gradient(1.3px 1.3px at 90px 330px, rgba(247, 237, 230, .5), transparent);
  background-size: 420px 420px;
}
.stars::after {
  content: ""; inset: 0;
  background-size: 210px 210px; background-position: 70px 30px; opacity: .55;
}

/* ---------- hero ---------- */
.hero { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(4rem, 9vw, 7rem); }
@media (min-width: 56rem) { .hero { min-height: min(calc(100svh - 5.5rem), 54rem); display: flex; align-items: center; } }
.hero .wrap { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-copy { max-width: 38rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.5; color: var(--secondary); max-width: 30rem; margin-bottom: 2.25rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.store {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .7rem 1.25rem .7rem .85rem; border-radius: 1rem;
  background: rgba(247, 237, 230, .06); border: 1px solid rgba(242, 197, 126, .38);
  box-shadow: 0 0 0 4px rgba(242, 197, 126, .05), 0 20px 40px -24px rgba(242, 197, 126, .55);
  line-height: 1.2; margin: 0;
}
.store .bulb { width: 2.1rem; height: 2.1rem; flex: none; }
.store .bulb .shade { fill: var(--lamp); }
.store .bulb .light { fill: var(--lamp); opacity: .35; }
.store .bulb .cord { stroke: var(--lamp); stroke-width: 1.5; }
.store small { display: block; font-size: .8rem; color: var(--secondary); letter-spacing: .01em; }
.store strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text); }
.text-link { color: var(--text); font-weight: 500; text-decoration-color: rgba(242, 197, 126, .6); min-height: 2.75rem; display: inline-flex; align-items: center; }

.window { position: relative; justify-self: center; width: min(100%, 28rem); margin: 0; }
.window::before {
  /* lamplight spilling out of the window */
  content: ""; position: absolute; inset: -22% -30% -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 197, 126, .42), rgba(242, 155, 176, .14) 55%, transparent 100%);
  filter: blur(8px);
}
.arch {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4;
  border-radius: 50% 50% 1.25rem 1.25rem / 37.5% 37.5% 1.25rem 1.25rem;
  box-shadow: 0 0 0 1px rgba(242, 197, 126, .55), 0 0 0 10px rgba(27, 22, 48, .55), 0 0 0 11px rgba(242, 197, 126, .22), 0 40px 80px -30px rgba(0, 0, 0, .7);
  background: #8f9fb0;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.sill {
  display: block; height: .7rem; margin: 1.1rem -1.5rem 0; border-radius: .4rem;
  background: linear-gradient(180deg, rgba(242, 197, 126, .35), rgba(242, 197, 126, .08));
}
.window figcaption { margin-top: 1rem; text-align: center; font-size: .9rem; color: var(--tertiary); font-family: var(--serif); font-style: italic; }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section:last-child { padding-bottom: clamp(4rem, 8vw, 6rem); }
.section + .section { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--secondary); font-size: 1.15rem; margin: 0; max-width: 34rem; }

/* how you pair: three ways, one featured */
.ways { display: grid; gap: 1.25rem; }
.way {
  background: var(--surface); border: 1px solid var(--divider); border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.way h3 { margin: 1.25rem 0 .5rem; }
.way p { color: var(--secondary); margin: 0; }
.way .glyph { width: 3rem; height: 3rem; }
.glyph .line { fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.glyph .line.alt { stroke: var(--sage); }
.glyph .dot { fill: var(--rose); }
.way-feature { position: relative; overflow: hidden; }
.way-feature::after {
  content: ""; position: absolute; width: 22rem; height: 22rem; right: -8rem; top: -10rem; border-radius: 50%;
  background: radial-gradient(closest-side, var(--amber-wash), transparent); pointer-events: none;
}
.safety { margin-top: auto; padding-top: 1.75rem; }
.safety-code { display: flex; gap: .6rem; margin: 0 0 .7rem; padding: 0; list-style: none; }
.safety-code li {
  width: 3.1rem; height: 3.1rem; display: grid; place-items: center; font-size: 1.55rem;
  background: var(--sunken); border: 1px solid var(--divider); border-radius: .9rem;
}
.safety p { font-size: .95rem; color: var(--tertiary); }
.fineprint { font-size: .95rem; color: var(--tertiary); margin-top: 1.75rem; max-width: 40rem; }

/* what's inside */
.inside { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.phone {
  justify-self: center; width: min(78vw, 18rem); margin: 0 0 2.5rem; padding: .6rem; border-radius: 3rem;
  background: linear-gradient(160deg, #3a3150, #17122a); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 50px 90px -40px rgba(27, 22, 48, .75);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; inset: 8% -25% 15%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--amber-wash), transparent);
  transform: scale(1.4);
}
.phone img { border-radius: 2.45rem; width: 100%; height: auto; aspect-ratio: 552 / 1200; object-fit: cover; }
.phone figcaption { position: absolute; left: 0; right: 0; bottom: -2.5rem; text-align: center; font-size: .9rem; color: var(--tertiary); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.features li { padding-left: 1.5rem; border-left: 2px solid var(--divider); }
.features li:nth-child(1) { border-left-color: var(--amber); }
.features li:nth-child(2) { border-left-color: var(--rose); }
.features li:nth-child(3) { border-left-color: var(--sage); }
.features li:nth-child(4) { border-left-color: var(--stroke); }
.features h3 { margin-bottom: .4rem; }
.features p { color: var(--secondary); margin: 0; }
.gestures { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.gestures li {
  border: 1px solid var(--divider); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; color: var(--text);
  background: var(--rose-wash);
}

/* the promise: an evening band */
.promise { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.promise .wrap { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.promise h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); max-width: 16ch; }
.promise .intro { color: var(--secondary); font-size: 1.15rem; max-width: 32rem; margin-top: 1.25rem; }
.vows { margin: 0; display: grid; gap: 1.75rem 2.5rem; }
.vows div { border-top: 1px solid var(--divider); padding-top: 1.25rem; }
.vows dt { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: .35rem; }
.vows dd { margin: 0; color: var(--secondary); }
.promise .more { margin-top: 2rem; }
.lock { width: 2.75rem; height: 2.75rem; margin-bottom: 1.5rem; }
.lock .body { fill: rgba(242, 197, 126, .14); stroke: var(--lamp); stroke-width: 1.6; }
.lock .shackle { fill: none; stroke: var(--lamp); stroke-width: 1.6; stroke-linecap: round; }
.lock .hole { fill: var(--lamp); }

/* coming soon */
.soon { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.soon li {
  position: relative; padding: 1.75rem 1.75rem 1.6rem; border-radius: 1.5rem;
  border: 1px dashed var(--stroke); background: transparent;
}
.soon h3 { margin: .9rem 0 .4rem; }
.soon p { margin: 0; color: var(--secondary); }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  color: var(--amber); background: var(--amber-wash); border-radius: 999px; padding: .2rem .7rem;
}

/* questions */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--divider); }
.faq details:first-of-type { border-top: 1px solid var(--divider); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); font-weight: 500; color: var(--text);
  min-height: 2.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .7rem; height: .7rem; margin-right: .3rem;
  border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose);
  transform: translateY(-25%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.faq summary:hover { color: var(--rose); }
.faq .answer { padding: 0 2.5rem 1.5rem 0; color: var(--secondary); max-width: var(--measure); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-foot { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; }
.site-foot .wrap { display: grid; gap: 2.5rem; }
.foot-sign p { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.2; margin: .9rem 0 0; max-width: 18ch; }
.site-foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.site-foot nav a { color: var(--secondary); text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-foot nav a:hover { color: var(--text); text-decoration: underline; }
.legal-line { border-top: 1px solid var(--divider); padding-top: 1.5rem; font-size: .9rem; color: var(--tertiary); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.legal-line p { margin: 0; }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem); max-width: 18ch; }
.page-head .lead { color: var(--secondary); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 34rem; margin: 1.1rem 0 0; }
.page-head .updated { color: var(--tertiary); font-size: .95rem; margin: 1rem 0 0; }

.draft {
  display: flex; gap: .9rem; align-items: flex-start;
  border: 1px solid var(--amber); background: var(--amber-wash); color: var(--text);
  border-radius: 1rem; padding: 1rem 1.25rem; margin: 0 0 2.5rem; max-width: var(--measure);
}
.draft::before { content: ""; flex: none; width: .65rem; height: .65rem; margin-top: .5rem; border-radius: 50%; background: var(--amber); }
.draft p { margin: 0; }
.draft strong { color: var(--amber); }

.doc { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.doc .wrap { display: grid; gap: 2.5rem; }
.toc { font-size: .95rem; }
.toc h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: .75rem; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--divider); }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--secondary); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--text); border-left-color: var(--rose); }
.prose { max-width: var(--measure); font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); line-height: 1.2; margin: 3rem 0 .85rem; scroll-margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.prose li { margin: 0 0 .8rem; padding-left: .25rem; }
.prose li::marker { color: var(--rose); }
.prose strong { font-weight: 600; color: var(--text); }
.prose > p:first-child { font-size: 1.2rem; line-height: 1.6; color: var(--text); }

/* support */
.help { display: grid; gap: 2.5rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--divider); border-radius: 1.5rem; box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem); align-self: start;
}
.contact-card h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.contact-card .email { font-family: var(--serif); font-size: 1.15rem; color: var(--text); }
.contact-card .note { color: var(--tertiary); font-size: .95rem; margin: 1rem 0 0; }
.help .faq h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 1.25rem; }

/* join */
.join { flex: 1; padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(4rem, 9vw, 6rem); }
.join .wrap { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.join h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.7rem); max-width: 16ch; margin-bottom: 1.25rem; }
.join .lead { color: var(--secondary); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 32rem; }
.join .window { width: min(70%, 17rem); }
.install {
  margin-top: 2.25rem; padding: 1.5rem; border-radius: 1.5rem; max-width: 32rem;
  background: rgba(40, 33, 64, .7); border: 1px solid var(--divider);
}
.install h2 { font-size: 1.45rem; margin-bottom: .5rem; }
.install p { color: var(--secondary); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem;
  border-radius: 999px; background: var(--rose); color: var(--on-rose); font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 30px -14px var(--rose);
}
.btn:hover { filter: brightness(1.06); }
.quiet { color: var(--tertiary); font-size: .92rem; margin: 1rem 0 0; }
.join .assurance { color: var(--tertiary); font-size: .95rem; max-width: 32rem; margin-top: 1.75rem; padding-left: 1rem; border-left: 2px solid var(--sage); }

/* ---------- wider screens ---------- */
@media (min-width: 40rem) {
  body { font-size: 1.125rem; }
  .vows { grid-template-columns: 1fr 1fr; }
  .soon { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 48rem) {
  .ways { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; }
  .way-feature { grid-row: span 2; }
  .site-foot .wrap { grid-template-columns: 1fr auto; align-items: end; }
  .legal-line { grid-column: 1 / -1; }
}
@media (min-width: 56rem) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
  .faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 1.5rem; }
  .window { justify-self: end; }
  .inside { grid-template-columns: .8fr 1.2fr; }
  .promise .wrap { grid-template-columns: 1fr 1fr; align-items: start; }
  .doc .wrap { grid-template-columns: 14rem minmax(0, 1fr); gap: 4rem; align-items: start; }
  .toc { position: sticky; top: 1.5rem; }
  .doc .wrap.help { grid-template-columns: 20rem minmax(0, 1fr); gap: 4rem; }
  .join .wrap { grid-template-columns: 1.2fr .8fr; }
  .join .window { width: min(100%, 20rem); }
}

/* ---------- motion: one calm ambient moment, nothing at all if the reader prefers less ---------- */
@media (prefers-reduced-motion: no-preference) {
  .stars { animation: drift 240s linear infinite; }
  .stars::after { animation: twinkle 7s ease-in-out infinite alternate; }
  .window::before { animation: breathe 7s ease-in-out infinite; }
  .hero .window, .join .window { animation: arrive 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes drift { to { transform: translate3d(420px, 420px, 0); } }
  @keyframes twinkle { from { opacity: .25; } to { opacity: .75; } }
  @keyframes breathe { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.03); } }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (forced-colors: active) {
  .arch, .way, .soon li, .contact-card, .install { border: 1px solid CanvasText; }
}

/* pairing illustration: two iPhones, tops together */
.together { width: 100%; max-width: 26rem; margin: 2rem auto 0; overflow: visible; }
.together .ph { fill: var(--sunken); stroke: var(--stroke); stroke-width: 1.5; }
.together .scr { fill: var(--surface); }
.dusk .together .scr, .together .scr { stroke: var(--divider); stroke-width: 1; }
.together .isl { fill: var(--stroke); }
.together .being.a { fill: var(--night-rose); opacity: .9; }
.together .being.b { fill: var(--night-sage); opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .together .spark { transform-origin: 160px 60px; animation: breathe 5s ease-in-out infinite; }
}
.join-page { flex: 1; display: flex; flex-direction: column; }
