/* ==========================================================================
   Auren — "Warm Precision"
   Three layers, two materials. Every element belongs to exactly one layer.
     LAYER 3  GLASS  navigation chrome only
     LAYER 2  CLAY   buttons, cards
     LAYER 1  FLAT   background, text, rules
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --bone:      #FAFAF8;
  --bone-2:    #F2F0EA;
  --bone-3:    #E8E5DC;
  --ink:       #1C1C1E;
  --ink-2:     #52525B;
  --ink-3:     #8A8A93;
  --line:      rgba(28, 28, 30, .10);
  --line-2:    rgba(28, 28, 30, .06);

  --indigo:    #4C4FA8;
  --amber:     #E8934A;
  --sage:      #3FA971;
  --signal:    #0E9FC4;
  --violet:    #6C4FD8;

  /* accent, re-bound per page via [data-app] */
  --accent:      var(--indigo);
  --accent-deep: #383A80;
  --accent-wash: rgba(76, 79, 168, .09);
  --accent-ink:  #FAFAF8;

  --surface:   #FFFFFF;
  --surface-2: var(--bone-2);
  --clay-shade: var(--bone-3);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --gut: clamp(20px, 5vw, 40px);
  --wrap: 1140px;

  --t-fast: .16s cubic-bezier(.2, .8, .3, 1);
  --t:      .30s cubic-bezier(.2, .8, .3, 1);
  --t-slow: .60s cubic-bezier(.16, 1, .3, 1);

  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto,
          'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces', 'Iowan Old Style', Charter, Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

[data-app="interview"] {
  --accent: var(--signal); --accent-deep: #0A7B99;
  --accent-wash: rgba(14, 159, 196, .10);
}
[data-app="alarm"] {
  --accent: #D97E2E; --accent-deep: #A75C18;
  --accent-wash: rgba(232, 147, 74, .13);
}
[data-app="puzzle"] {
  --accent: #1F7A5A; --accent-deep: #145440;
  --accent-wash: rgba(31, 122, 90, .10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bone: #141416; --bone-2: #1D1D20; --bone-3: #0C0C0E;
    --ink: #F4F2EE; --ink-2: #A8A8B2; --ink-3: #74747E;
    --line: rgba(244, 242, 238, .13); --line-2: rgba(244, 242, 238, .07);
    --surface: #1D1D20; --surface-2: #232327; --clay-shade: #0A0A0C;
    --indigo: #8C8FE0;
    --accent: #8F92E8; --accent-deep: #6D70CC; --accent-wash: rgba(143, 146, 232, .14);
  }
  :root:not([data-theme="light"])[data-app="interview"] {
    --accent: #3FC9EC; --accent-deep: #1E9FC0; --accent-wash: rgba(63, 201, 236, .13);
  }
  :root:not([data-theme="light"])[data-app="alarm"] {
    --accent: #F0A768; --accent-deep: #C97E3C; --accent-wash: rgba(240, 167, 104, .14);
  }
  :root:not([data-theme="light"])[data-app="puzzle"] {
    --accent: #4FC79A; --accent-deep: #2F9A73; --accent-wash: rgba(79, 199, 154, .13);
  }
  .shot img { box-shadow: 0 2px 0 0 var(--clay-shade), 0 20px 50px -24px rgba(0,0,0,.8); }
}

/* ------------------------------------------------------------------ reset */
*, *::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;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone);
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

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

/* -------------------------------------------------------------- structure */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 760px; }
section { position: relative; }
.band { padding-block: clamp(64px, 11vw, 130px); }
.band-tight { padding-block: clamp(48px, 8vw, 88px); }
.band-tint { background: var(--surface-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------- typography */
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.04;
}

h1, .h1 { font-size: clamp(2.2rem, 4.9vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); letter-spacing: -.012em; }

.lede {
  font-size: clamp(1.09rem, 2.1vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .745rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--accent); flex: none;
}
.eyebrow-c { justify-content: center; }

.muted { color: var(--ink-2); }
.small { font-size: .93rem; }
.xs { font-size: .83rem; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.answer {
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 22px;
  color: var(--ink);
  max-width: 68ch;
}

/* ------------------------------------------------------------ clay + glass */
.clay {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: 0 var(--depth, 5px) 0 0 var(--clay-shade);
}

.lift {
  transition: transform var(--t), box-shadow var(--t);
  will-change: transform;
}
@media (hover: hover) {
  .lift:hover { transform: translateY(-4px); box-shadow: 0 calc(var(--depth, 5px) + 4px) 0 0 var(--clay-shade); }
}
.lift:active { transform: translateY(2px); box-shadow: 0 max(0px, calc(var(--depth, 5px) - 2px)) 0 0 var(--clay-shade); }

/* -------------------------------------------------------------- buttons */
.btn {
  --depth: 5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 650; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 var(--depth) 0 0 var(--accent-deep);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .btn:hover { filter: brightness(1.06); } }
.btn:active { transform: translateY(var(--depth)); box-shadow: 0 0 0 0 var(--accent-deep); }

.btn-ink { background: var(--ink); box-shadow: 0 var(--depth) 0 0 color-mix(in srgb, var(--ink) 55%, #000); color: var(--bone); }
.btn-ink:active { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 55%, #000); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
  font-weight: 600;
}
.btn-ghost:active { transform: translateY(2px); }
@media (hover: hover) { .btn-ghost:hover { background: var(--accent-wash); border-color: var(--accent); filter: none; } }

.btn-sm { padding: 11px 19px; font-size: .92rem; --depth: 4px; }
.btn-arrow { transition: transform var(--t); }
@media (hover: hover) { .btn:hover .btn-arrow { transform: translateX(3px); } }

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.cta-row.center { justify-content: center; }

/* App Store button — replace with Apple's official badge before launch */
.store {
  --depth: 5px;
  display: inline-flex; align-items: center; gap: 13px;
  padding: 12px 24px 12px 20px;
  border-radius: 16px; text-decoration: none;
  background: var(--ink); color: var(--bone);
  box-shadow: 0 var(--depth) 0 0 color-mix(in srgb, var(--ink) 50%, #000);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.store:active { transform: translateY(var(--depth)); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 50%, #000); }
.store svg { flex: none; }
.store-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-txt b { font-size: 1.12rem; font-weight: 650; letter-spacing: -.02em; }
.store-txt span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .68; }

/* ----------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bone) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.hdr.stuck { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; height: 66px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 650; letter-spacing: -.02em;
  font-size: 1.16rem; margin-right: auto;
}
.brand svg { flex: none; border-radius: 7px; }
.brand b { font-family: var(--serif); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px; border-radius: 999px; text-decoration: none;
  font-size: .94rem; font-weight: 550; color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-fast);
}
@media (hover: hover) { .nav a:hover { color: var(--ink); background: var(--accent-wash); } }
.nav a[aria-current="page"] { color: var(--ink); background: var(--accent-wash); }

@media (max-width: 820px) {
  .nav { display: none; }
  .nav-m { display: flex; }
}
@media (min-width: 821px) { .nav-m { display: none; } }

/* mobile nav: a details/summary disclosure, works without JS */
.nav-m { margin-left: auto; }
.nav-m > summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
}
.nav-m > summary::-webkit-details-marker { display: none; }
.nav-m[open] > summary { background: var(--accent-wash); border-color: var(--accent); }
.nav-m .sheet {
  position: absolute; left: var(--gut); right: var(--gut); top: 62px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 10px;
  box-shadow: 0 6px 0 0 var(--clay-shade), 0 30px 60px -30px rgba(0,0,0,.35);
  animation: grow var(--t) both;
}
.nav-m .sheet a {
  display: block; padding: 13px 15px; border-radius: 13px;
  text-decoration: none; font-weight: 550;
}
.nav-m .sheet a:hover { background: var(--accent-wash); }

/* ------------------------------------------------------------------- hero */
.hero { padding-block: clamp(34px, 5.5vw, 66px) clamp(40px, 7vw, 82px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; gap: clamp(36px, 5vw, 60px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

.dawn {
  position: absolute; inset: -30% -20% auto -20%; height: 150%;
  background:
    radial-gradient(60% 45% at 22% 8%, var(--accent-wash) 0%, transparent 62%),
    radial-gradient(45% 40% at 84% 22%, rgba(232, 147, 74, .13) 0%, transparent 64%);
  pointer-events: none; z-index: -1;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(2%, 2.5%, 0) scale(1.07); }
}

.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }

.trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px;
  font-size: .87rem; color: var(--ink-3);
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { flex: none; color: var(--accent); }

/* --------------------------------------------------------- phone mockups */
.stage { display: grid; place-items: center; position: relative; }

.phone {
  --pw: clamp(238px, 30vw, 300px);
  width: var(--pw);
  aspect-ratio: 1284 / 2778;
  background: #101014;
  border-radius: calc(var(--pw) * .14);
  padding: calc(var(--pw) * .031);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 34px 70px -34px rgba(28, 28, 30, .6),
    0 8px 0 0 rgba(28, 28, 30, .14);
  position: relative;
  flex: none;
}
.phone::after {
  content: ''; position: absolute; top: calc(var(--pw) * .052); left: 50%;
  transform: translateX(-50%);
  width: 30%; height: calc(var(--pw) * .088);
  background: #101014; border-radius: 999px; z-index: 6;
}
.screen {
  width: 100%; height: 100%; overflow: hidden; position: relative;
  border-radius: calc(var(--pw) * .112);
  display: flex; flex-direction: column;
  font-size: calc(var(--pw) * .046);
  background: var(--bone);
}

.float { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* ------------------------------------------------------------- app cards */
.apps { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .apps { grid-template-columns: repeat(3, 1fr); } }

.app-card {
  --depth: 6px;
  display: flex; flex-direction: column; gap: 15px;
  padding: 26px; text-decoration: none;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.app-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 74% at 50% -12%, var(--accent-wash), transparent 68%);
  opacity: 0; transition: opacity var(--t);
}
@media (hover: hover) { .app-card:hover::before { opacity: 1; } }

.app-ico {
  width: 62px; height: 62px; border-radius: 15px; flex: none;
  box-shadow: 0 2px 0 0 var(--clay-shade), 0 6px 18px -8px rgba(0,0,0,.28);
}
.app-card h3 { margin: 0; }
.app-kick { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.app-card p { color: var(--ink-2); font-size: .97rem; margin: 0; flex: 1; }
.app-go {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650; font-size: .95rem; color: var(--accent);
}
.app-go svg { transition: transform var(--t); }
@media (hover: hover) { .app-card:hover .app-go svg { transform: translateX(4px); } }

.tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .76rem; font-weight: 600; padding: 4px 10px;
  border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line-2); color: var(--ink-2);
}

/* ------------------------------------------------------------ feature grid */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 680px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.feat { --depth: 5px; padding: 26px; }
.feat h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.feat-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent); margin-bottom: 16px;
}
.feat-ico svg { width: 22px; height: 22px; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.step { --depth: 5px; padding: 24px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--serif); font-size: 2.1rem; font-weight: 600;
  color: var(--accent); opacity: .32; line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* stat strip */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 22px 14px; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.stat span { display: block; margin-top: 9px; font-size: .88rem; color: var(--ink-2); }

/* ------------------------------------------------------ screenshot rail */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--gut) 30px; margin-inline: calc(var(--gut) * -1);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 7px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.shot { flex: none; scroll-snap-align: center; width: clamp(198px, 43vw, 250px); }
.shot img {
  border-radius: 20px; width: 100%;
  border: 1px solid var(--line-2);
  box-shadow: 0 4px 0 0 var(--clay-shade), 0 22px 44px -26px rgba(28,28,30,.45);
  background: var(--surface-2);
}
.shot figcaption { margin-top: 13px; font-size: .87rem; color: var(--ink-3); text-align: center; }

/* --------------------------------------------------------------- compare */
.tablewrap { overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
table.cmp th, table.cmp td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); font-weight: 700; border-bottom-width: 2px; }
table.cmp tbody th { font-weight: 600; width: 32%; }
table.cmp td.on { color: var(--ink); font-weight: 550; }
table.cmp td.off { color: var(--ink-3); }
table.cmp .mark { color: var(--accent); font-weight: 700; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-col-us { background: var(--accent-wash); }

/* ------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.qa {
  --depth: 4px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 var(--depth) 0 0 var(--clay-shade);
  transition: box-shadow var(--t);
}
.qa > summary {
  list-style: none; cursor: pointer; padding: 19px 54px 19px 22px;
  font-weight: 600; font-size: 1.03rem; position: relative;
  letter-spacing: -.01em;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after {
  content: ''; position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent);
  transform: rotate(45deg); transition: transform var(--t);
}
.qa[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa[open] > summary { color: var(--accent); }
.qa .a { padding: 0 22px 21px; color: var(--ink-2); animation: grow var(--t) both; }
.qa .a p { font-size: .98rem; }

/* ------------------------------------------------------------------- CTA */
.cta-band {
  background: var(--ink); color: var(--bone);
  border-radius: var(--r-xl); padding: clamp(36px, 6vw, 62px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 0%, var(--accent), transparent 68%);
  opacity: .30;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--bone); }
.cta-band p { color: color-mix(in srgb, var(--bone) 74%, transparent); }
.cta-band .lede { color: color-mix(in srgb, var(--bone) 78%, transparent); margin-inline: auto; }
.cta-band .store { background: var(--bone); color: var(--ink); box-shadow: 0 5px 0 0 #B9B6AC; }
.cta-band .store:active { box-shadow: 0 0 0 0 #B9B6AC; }

/* ---------------------------------------------------------------- footer */
.ftr { border-top: 1px solid var(--line); padding-block: 56px 40px; background: var(--surface-2); }
.ftr-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ftr .ftr-h { font-size: .78rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-3); margin-bottom: 14px; font-weight: 700; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: var(--ink-2); font-size: .95rem; transition: color var(--t-fast); }
.ftr a:hover { color: var(--accent); }
.ftr-bot {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: .87rem; color: var(--ink-3);
}

/* ---------------------------------------------------------------- prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.14rem; margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose code {
  font-family: var(--mono); font-size: .88em; background: var(--surface-2);
  padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2);
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------- reveal */
.js .rv { opacity: 0; transform: translateY(14px) scale(.985); }
.js .rv.in {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow), transform var(--t-slow);
  transition-delay: var(--d, 0ms);
}
@keyframes grow {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv.in { opacity: 1; transform: none; transition: none; }
  .float, .dawn { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------- homepage device: an app shelf */
.home-screen {
  background: linear-gradient(168deg, #EFEDE6 0%, #E3DFD2 62%, #D9D4C4 100%);
  padding: 14% 9% 10%;
  gap: 9%;
  align-items: stretch;
}
.hs-time {
  font-family: var(--mono); font-weight: 600; font-size: 1em;
  color: #3A372E; opacity: .62; letter-spacing: -.02em;
}
.hs-apps { display: flex; flex-direction: column; gap: 10%; margin-top: 4%; }
.hs-apps span { display: flex; flex-direction: column; align-items: center; gap: .62em; }
.hs-apps img {
  border-radius: 21%; width: 46%; height: auto;
  box-shadow: 0 .18em 0 0 rgba(0,0,0,.10), 0 .5em 1.1em -.4em rgba(0,0,0,.34);
}
.hs-apps b {
  font-size: .82em; font-weight: 600; color: #3A372E; letter-spacing: -.01em;
}
