/* The Gathered — landing site. Warm editorial: cream ground, ink serif display,
   bronze + gold accents, scroll-revealed sections. Shares the palette of the
   legal pages (_legal.css) so the whole site reads as one place. */

:root {
  --bg: #f6f3ed;
  --bg-2: #efe9dd;
  --card: #fffdf8;
  --ink: #1a1712;
  --ink2: #4a443b;
  --ink3: #7a7266;
  --line: #e7e1d6;
  --bronze: #b2966a;
  --bronze-2: #8f7550;
  --gold: #c9993f;
  --gold-soft: #e9d3a0;
  --night: #14100d;
  --night-card: #201b16;
  --night-ink: #f2ece1;
  --night-ink2: #cfc6b6;
  --radius: 22px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Reading-progress ribbon — the app's topbar ribbon, repurposed. */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #23201a, #b2966a, #c9993f);
  z-index: 60; transition: width .12s linear;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink2);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--bronze-2); text-decoration: none; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(246, 243, 237, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-head .bar { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.brand-lockup { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-lockup .mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(140deg, #2a251f, #17130f);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(26, 23, 18, 0.45);
}
.brand-lockup .n { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.2px; }
.brand-lockup .by { font-size: 11.5px; color: var(--ink3); letter-spacing: .2px; margin-top: 1px; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-head nav a { font-size: 14px; font-weight: 600; color: var(--ink2); }
.site-head nav a:hover { color: var(--ink); }
.site-head nav .navlink { display: none; }
@media (min-width: 780px) { .site-head nav .navlink { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 650; font-size: 15px; letter-spacing: .1px;
  border: 1px solid var(--ink);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.3), box-shadow .25s ease, background .25s ease;
  box-shadow: 0 14px 30px -14px rgba(26, 23, 18, 0.5);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(26, 23, 18, 0.55); }
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(26, 23, 18, 0.28); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--ink); background: rgba(26, 23, 18, 0.04); }
.btn.small { padding: 10px 18px; font-size: 13.5px; }
.btn.light { background: var(--night-ink); border-color: var(--night-ink); color: var(--night); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 40px; overflow: hidden; }
.hero .orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(70px); opacity: .5; will-change: transform;
}
.hero .orb.a { width: 560px; height: 560px; background: radial-gradient(circle, rgba(201,153,63,.34), transparent 65%); top: -160px; right: -120px; }
.hero .orb.b { width: 480px; height: 480px; background: radial-gradient(circle, rgba(178,150,106,.30), transparent 65%); bottom: -220px; left: -140px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; position: relative; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--bronze-2); margin-bottom: 22px;
}
.kicker::before { content: ''; width: 26px; height: 1.5px; background: var(--bronze); transition: width .9s cubic-bezier(.2,.65,.3,1) .2s; }
.kicker.reveal:not(.in)::before { width: 0; }

h1.display {
  font-family: var(--serif); font-weight: 560; font-variation-settings: 'opsz' 90;
  font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -1.5px;
  color: var(--ink); margin: 0 0 26px; text-wrap: balance;
}
h1.display em { font-style: italic; color: var(--bronze-2); }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.7; color: var(--ink2); max-width: 560px; margin: 0 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.chip {
  font-size: 12.5px; font-weight: 650; color: var(--ink2);
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}
.chip b { color: var(--bronze-2); font-weight: 750; }

/* ---------- phone mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; }
/* iPhone proportions (~19.5:9), Dynamic Island, home indicator. */
.phone {
  width: 276px; border-radius: 54px; padding: 10px;
  background: linear-gradient(160deg, #3a3632, #16120e);
  box-shadow: 0 40px 90px -30px rgba(26, 23, 18, 0.55), 0 0 0 1.5px rgba(255,255,255,.09) inset;
  transform: rotate(2.5deg);
}
.phone .screen {
  position: relative; border-radius: 44px; overflow: hidden; background: #f6f3ed;
  border: 1px solid rgba(0,0,0,.1); height: 556px;
}
.phone .island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; border-radius: 999px; background: #0b0908; z-index: 2;
}
.phone .app { padding: 44px 14px 0; font-size: 12px; height: 100%; display: flex; flex-direction: column; }
.phone .app-top { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.phone .app-top .m { width: 30px; height: 30px; border-radius: 9px; background: #1e1a15; display: flex; align-items: center; justify-content: center; }
.phone .app-top .t { font-family: var(--serif); font-weight: 600; color: #1a1712; font-size: 14.5px; }
.phone .app-top .s { font-size: 9.5px; color: #7a7266; }
.phone .app-top .bell { margin-left: auto; position: relative; font-size: 13px; }
.phone .app-top .bell i {
  position: absolute; top: -2px; right: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: #e5484d; border: 1.5px solid #f6f3ed;
  animation: bellpulse 2.6s ease-in-out infinite;
}
@keyframes bellpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.phone .grid .q.give { background: #1e1a15; border-color: #1e1a15; color: #f2ece1; }
.phone .celebrate .wish { position: relative; overflow: hidden; }
.phone .celebrate .wish::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg); animation: wishshine 3.4s ease-in-out infinite;
}
@keyframes wishshine { 0%, 55% { left: -70%; } 85%, 100% { left: 130%; } }
.phone .card {
  background: #fffdf8; border: 1px solid #e7e1d6; border-radius: 15px;
  padding: 12px 13px; margin-bottom: 10px;
}
.phone .card .lbl { font-size: 8.5px; font-weight: 800; letter-spacing: 1.4px; color: #b2966a; margin-bottom: 5px; }
.phone .card .verse { font-family: var(--serif); font-style: italic; color: #2c261e; font-size: 12.5px; line-height: 1.55; }
.phone .card .ref { font-size: 9.5px; color: #7a7266; margin-top: 5px; }
.phone .svc { display: flex; align-items: center; gap: 10px; }
.phone .svc .d { width: 36px; height: 36px; border-radius: 10px; background: #f0e7d5; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8f7550; font-weight: 800; font-size: 11px; line-height: 1.1; }
.phone .svc .d span { font-size: 7.5px; font-weight: 700; letter-spacing: .6px; }
.phone .svc .n { color: #1a1712; font-weight: 700; font-size: 12px; }
.phone .svc .w { color: #7a7266; font-size: 9.5px; margin-top: 2px; }
.phone .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 10px; }
.phone .grid .q {
  background: #fffdf8; border: 1px solid #e7e1d6; border-radius: 12px;
  padding: 9px 4px 7px; text-align: center; color: #4a443b; font-size: 8.5px; font-weight: 650;
}
.phone .grid .q i { display: block; font-size: 14px; font-style: normal; margin-bottom: 3px; }
.phone .celebrate { display: flex; align-items: center; gap: 9px; }
.phone .tabbar {
  margin-top: auto; display: flex; justify-content: space-between;
  border-top: 1px solid #e7e1d6; padding: 8px 4px 4px; background: #fbf8f2;
  margin-left: -14px; margin-right: -14px; padding-left: 16px; padding-right: 16px;
}
.phone .tabbar .tb { text-align: center; font-size: 7.5px; font-weight: 700; color: #a49b8c; }
.phone .tabbar .tb i { display: block; font-style: normal; font-size: 13px; line-height: 1.25; }
.phone .tabbar .tb.on { color: #1a1712; }
.phone .homebar { height: 4px; width: 96px; border-radius: 99px; background: #1a1712; opacity: .85; margin: 6px auto 7px; }
.phone .celebrate .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #c9ad80, #8f7550); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.phone .celebrate .who { color: #1a1712; font-weight: 700; font-size: 11.5px; }
.phone .celebrate .what { color: #7a7266; font-size: 9.5px; }
.phone .celebrate .wish { margin-left: auto; background: #1a1712; color: #fff; font-size: 9px; font-weight: 750; padding: 6px 11px; border-radius: 999px; }
.phone-badge {
  position: absolute; right: 4px; top: 40px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 9px 14px; font-size: 12px; font-weight: 650; color: var(--ink2);
  box-shadow: 0 16px 34px -18px rgba(26,23,18,.4);
  animation: floaty 5.5s ease-in-out infinite;
}
.phone-badge.two { top: auto; bottom: 56px; left: 0; right: auto; animation-delay: 2.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
h2.title {
  font-family: var(--serif); font-weight: 560; font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12; letter-spacing: -0.8px; color: var(--ink); margin: 0 0 16px;
  text-wrap: balance;
}
.sub { font-size: 17px; color: var(--ink2); margin: 0; }

/* feature cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.f-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.f-card:hover { transform: translateY(-5px); box-shadow: 0 26px 48px -26px rgba(26, 23, 18, .35); border-color: #d9cfba; }
.f-card .ico {
  width: 46px; height: 46px; border-radius: 14px; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #f0e7d5, #e5d7ba); margin-bottom: 18px;
  color: var(--bronze-2);
}
/* stroke-icon tiles share the bronze-on-parchment look */
.t-card .ico, .b-tile .b-ico { color: var(--bronze-2); }
.phone .grid .q i { display: flex; justify-content: center; margin-bottom: 3px; }
.phone .grid .q.give { color: #f2ece1; }
.phone .app-top .bell { color: #4a443b; display: flex; align-items: center; }
.phone .tabbar .tb i { display: flex; justify-content: center; margin-bottom: 2px; }
.f-card h3 { font-family: var(--serif); font-weight: 600; font-size: 20.5px; letter-spacing: -0.3px; color: var(--ink); margin: 0 0 8px; }
.f-card p { font-size: 14.5px; line-height: 1.65; margin: 0; color: var(--ink2); }

/* ---------- night band (diaspora) ---------- */
.night { background: var(--night); color: var(--night-ink2); border-radius: 0; position: relative; overflow: hidden; }
.night .glow { position: absolute; width: 720px; height: 720px; border-radius: 50%; filter: blur(90px); opacity: .38; pointer-events: none; }
.night .glow.g1 { background: radial-gradient(circle, rgba(201,153,63,.5), transparent 60%); top: -320px; right: -180px; }
.night .glow.g2 { background: radial-gradient(circle, rgba(122,90,248,.16), transparent 60%); bottom: -380px; left: -200px; }
.night h2.title { color: var(--night-ink); }
.night .sub { color: var(--night-ink2); }
.night-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; position: relative; }
@media (min-width: 940px) { .night-grid { grid-template-columns: 1fr 1fr; } }
.tz {
  background: var(--night-card); border: 1px solid rgba(242, 236, 225, .1);
  border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 15px;
  margin-bottom: 13px;
}
.tz .clock { font-variant-numeric: tabular-nums; font-family: var(--serif); font-size: 24px; color: var(--gold-soft); min-width: 92px; }
.tz .city { color: var(--night-ink); font-weight: 650; font-size: 15px; }
.tz .note { font-size: 12.5px; color: var(--night-ink2); margin-top: 2px; }
.night .pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.night .chip { background: rgba(242,236,225,.07); border-color: rgba(242,236,225,.14); color: var(--night-ink2); }
.night .chip b { color: var(--gold-soft); }

/* ---------- what's inside (bento) ---------- */
.inside { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .bento { grid-template-columns: repeat(4, 1fr); } .b-tile.wide { grid-column: span 2; } }
.b-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.b-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(26,23,18,.35); border-color: #d9cfba; }
.b-tile .b-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #f0e7d5, #e5d7ba);
}
.b-tile h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 600; color: var(--ink); margin: 1px 0 5px; letter-spacing: -0.2px; }
.b-tile p { font-size: 13.5px; margin: 0; color: var(--ink2); line-height: 1.6; }

/* ---------- console section ---------- */
.console-band .split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 960px) { .console-band .split { grid-template-columns: .9fr 1.1fr; } }
.browser {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 34px 70px -30px rgba(26,23,18,.4); background: var(--card);
}
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9cfba; }
.browser .bar .url { margin-left: 10px; flex: 1; background: var(--card); border: 1px solid var(--line); font-size: 11px; color: var(--ink3); border-radius: 7px; padding: 4px 11px; }
.browser .body { display: grid; grid-template-columns: 132px 1fr; min-height: 250px; }
.browser .side { background: #f2ede2; border-right: 1px solid var(--line); padding: 13px 11px; font-size: 10.5px; color: var(--ink3); }
.browser .side .it { padding: 6px 9px; border-radius: 8px; margin-bottom: 2px; }
.browser .side .it.on { background: #1a1712; color: #f2ece1; font-weight: 650; }
.browser .main { padding: 16px; }
.browser .main .hd { font-family: var(--serif); font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.browser .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 12px; }
.browser .stat { background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 10px 11px; }
.browser .stat .v { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.browser .stat .k { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink3); font-weight: 700; margin-top: 2px; }
.browser .rowline { height: 11px; border-radius: 6px; background: var(--bg-2); margin-bottom: 8px; }
.browser .rowline.w70 { width: 70%; } .browser .rowline.w85 { width: 85%; } .browser .rowline.w55 { width: 55%; }
.checklist { list-style: none; margin: 26px 0 0; padding: 0; }
.checklist li { display: flex; gap: 13px; margin-bottom: 15px; font-size: 15.5px; color: var(--ink2); }
.checklist li b { color: var(--ink); font-weight: 680; }
.checklist .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: linear-gradient(140deg, #cfb283, #8f7550); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}

/* ---------- reverence / trust ---------- */
.trust { background: var(--bg-2); }
.t-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 860px) { .t-grid { grid-template-columns: 1fr 1fr; } }
.t-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; }
.t-card .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(140deg,#f0e7d5,#e5d7ba); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.t-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); margin: 2px 0 6px; }
.t-card p { font-size: 14px; margin: 0; line-height: 1.65; }

/* ---------- final CTA ---------- */
.finale { padding: 120px 0 110px; text-align: center; position: relative; overflow: hidden; }
.finale .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; pointer-events: none; }
.finale .orb.a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(201,153,63,.3), transparent 65%); top: -200px; left: 50%; transform: translateX(-50%); }
.finale h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -1px; color: var(--ink); margin: 0 0 18px; line-height: 1.08; }
.finale p { font-size: 17.5px; max-width: 520px; margin: 0 auto 36px; }
.finale .row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.finale .mini { margin-top: 26px; font-size: 13px; color: var(--ink3); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 54px; font-size: 13.5px; color: var(--ink3); }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; align-items: flex-start; }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--ink2); font-weight: 550; }
.site-foot a:hover { color: var(--ink); }
.site-foot .fine { margin-top: 26px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.65,.3,1), transform .8s cubic-bezier(.2,.65,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }

/* pointer-tilt targets (JS drives the transform; this only smooths it) */
.tilt { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-badge, .phone .app-top .bell i, .phone .celebrate .wish::after { animation: none; }
  .btn, .f-card, .b-tile, .t-card { transition: none; }
  .btn::after { display: none; }
  .kicker.reveal:not(.in)::before { width: 26px; }
  .progress { display: none; }
}
