:root {
  --bg: #10132A;
  --bg-deep: #0B0E22;
  --surface: #171B38;
  --surface-2: #1B1F3F;
  --border: #262A4A;
  --border-2: #333863;
  --text: #EEF0FA;
  --muted: #A9AECB;
  --gold: #F2D58A;
  --on-gold: #1A1606;
  --star: #FFF6DC;
  --halo: #FFE9A8;
  --dust: #5A6090;
  --danger: #FF9B8F;
  --radius: 20px;
  --wrap: 1080px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: radial-gradient(120% 55% at 50% 0%, rgba(23, 27, 56, 0.9) 0%, transparent 100%) fixed;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Night sky behind every page: still dust, and two fields of stars that breathe out of step. */

html { background: var(--bg-deep); }
html::before, body::before, body::after {
  content: ""; position: fixed; top: 0; left: 0; z-index: -1;
  width: 1px; height: 1px; border-radius: 50%; pointer-events: none;
}
html::before {
  box-shadow:
    92.5vw 94.9vh 0 0 rgba(120, 128, 180, .35),
    59.2vw 42.4vh 0 .3px rgba(120, 128, 180, .5),
    13.0vw 19.2vh 0 0 rgba(120, 128, 180, .35),
    22.1vw 45.5vh 0 0 rgba(120, 128, 180, .35),
    8.6vw 71.0vh 0 0 rgba(120, 128, 180, .35),
    51.3vw 73.4vh 0 0 rgba(120, 128, 180, .35),
    20.6vw 3.5vh 0 0 rgba(120, 128, 180, .7),
    17.2vw 21.6vh 0 .3px rgba(120, 128, 180, .5),
    56.6vw 86.0vh 0 .3px rgba(120, 128, 180, .5),
    66.1vw 31.4vh 0 0 rgba(120, 128, 180, .5),
    17.8vw 48.3vh 0 0 rgba(120, 128, 180, .7),
    64.2vw 18.2vh 0 0 rgba(120, 128, 180, .7),
    32.3vw 81.6vh 0 0 rgba(120, 128, 180, .7),
    11.4vw 9.9vh 0 0 rgba(120, 128, 180, .7),
    27.6vw 57.3vh 0 .3px rgba(120, 128, 180, .5),
    10.9vw 90.0vh 0 .3px rgba(120, 128, 180, .5),
    89.5vw 45.5vh 0 0 rgba(120, 128, 180, .5),
    15.0vw 62.0vh 0 0 rgba(120, 128, 180, .7),
    79.5vw 49.3vh 0 0 rgba(120, 128, 180, .7),
    14.2vw 74.5vh 0 0 rgba(120, 128, 180, .5),
    16.7vw 97.5vh 0 0 rgba(120, 128, 180, .7),
    41.6vw 2.3vh 0 0 rgba(120, 128, 180, .7),
    1.3vw 22.2vh 0 .3px rgba(120, 128, 180, .35),
    53.9vw 98.8vh 0 .3px rgba(120, 128, 180, .35),
    34.6vw 97.4vh 0 0 rgba(120, 128, 180, .5),
    19.3vw 7.6vh 0 0 rgba(120, 128, 180, .7),
    19.7vw 93.4vh 0 0 rgba(120, 128, 180, .35),
    9.2vw 55.6vh 0 .3px rgba(120, 128, 180, .35),
    69.1vw 55.8vh 0 0 rgba(120, 128, 180, .5),
    10.0vw 16.5vh 0 0 rgba(120, 128, 180, .5),
    76.2vw 65.7vh 0 0 rgba(120, 128, 180, .35),
    89.5vw 68.8vh 0 0 rgba(120, 128, 180, .35),
    69.3vw 83.0vh 0 .3px rgba(120, 128, 180, .7),
    23.8vw 29.5vh 0 0 rgba(120, 128, 180, .5),
    77.2vw 55.7vh 0 .3px rgba(120, 128, 180, .35),
    82.7vw 10.8vh 0 .3px rgba(120, 128, 180, .35),
    33.3vw 55.9vh 0 0 rgba(120, 128, 180, .35),
    16.5vw 66.1vh 0 0 rgba(120, 128, 180, .7),
    68.9vw 11.4vh 0 .3px rgba(120, 128, 180, .5),
    80.0vw 98.8vh 0 0 rgba(120, 128, 180, .35),
    33.8vw 2.4vh 0 0 rgba(120, 128, 180, .7),
    86.7vw 20.4vh 0 .3px rgba(120, 128, 180, .35),
    17.3vw 44.9vh 0 0 rgba(120, 128, 180, .35),
    42.0vw 27.7vh 0 .3px rgba(120, 128, 180, .7),
    99.2vw 72.0vh 0 0 rgba(120, 128, 180, .7),
    53.2vw 26.5vh 0 0 rgba(120, 128, 180, .35),
    87.7vw 86.3vh 0 0 rgba(120, 128, 180, .5),
    77.7vw 67.3vh 0 .3px rgba(120, 128, 180, .5),
    29.2vw 32.0vh 0 0 rgba(120, 128, 180, .5),
    27.4vw 93.0vh 0 0 rgba(120, 128, 180, .5),
    4.3vw 88.7vh 0 .3px rgba(120, 128, 180, .5),
    75.6vw 88.3vh 0 .3px rgba(120, 128, 180, .5),
    69.1vw 38.4vh 0 0 rgba(120, 128, 180, .35),
    50.2vw 11.0vh 0 0 rgba(120, 128, 180, .35),
    27.8vw 77.0vh 0 0 rgba(120, 128, 180, .35),
    25.9vw 85.1vh 0 0 rgba(120, 128, 180, .7),
    63.4vw 4.3vh 0 0 rgba(120, 128, 180, .5),
    20.0vw 56.5vh 0 .3px rgba(120, 128, 180, .35),
    18.0vw 50.9vh 0 .3px rgba(120, 128, 180, .7),
    36.1vw 98.6vh 0 .3px rgba(120, 128, 180, .7),
    65.5vw 17.0vh 0 0 rgba(120, 128, 180, .7),
    18.3vw 1.9vh 0 .3px rgba(120, 128, 180, .7),
    13.9vw 73.2vh 0 0 rgba(120, 128, 180, .7),
    29.5vw 79.5vh 0 0 rgba(120, 128, 180, .35),
    60.3vw 59.1vh 0 0 rgba(120, 128, 180, .35),
    13.4vw 9.2vh 0 0 rgba(120, 128, 180, .35),
    96.7vw 99.2vh 0 .3px rgba(120, 128, 180, .35),
    53.3vw 85.9vh 0 0 rgba(120, 128, 180, .7),
    36.2vw 65.1vh 0 .3px rgba(120, 128, 180, .7),
    92.5vw 31.2vh 0 .3px rgba(120, 128, 180, .7),
    12.9vw 38.0vh 0 0 rgba(120, 128, 180, .35),
    49.2vw 35.0vh 0 0 rgba(120, 128, 180, .7),
    53.5vw 21.1vh 0 0 rgba(120, 128, 180, .5),
    5.9vw 31.6vh 0 0 rgba(120, 128, 180, .5),
    82.3vw 58.9vh 0 0 rgba(120, 128, 180, .5),
    24.6vw 31.5vh 0 .3px rgba(120, 128, 180, .5),
    44.5vw 17.3vh 0 0 rgba(120, 128, 180, .7),
    49.8vw 1.6vh 0 .3px rgba(120, 128, 180, .7),
    42.8vw 60.8vh 0 0 rgba(120, 128, 180, .35),
    66.1vw 43.0vh 0 0 rgba(120, 128, 180, .5),
    84.0vw 39.1vh 0 0 rgba(120, 128, 180, .5),
    5.7vw 3.4vh 0 0 rgba(120, 128, 180, .5),
    97.5vw 74.1vh 0 .3px rgba(120, 128, 180, .7),
    87.4vw 71.9vh 0 0 rgba(120, 128, 180, .7),
    98.4vw 75.1vh 0 .3px rgba(120, 128, 180, .5),
    54.2vw 12.1vh 0 0 rgba(120, 128, 180, .5),
    47.3vw 14.6vh 0 .3px rgba(120, 128, 180, .5),
    11.7vw 1.8vh 0 .3px rgba(120, 128, 180, .7),
    20.9vw 64.6vh 0 0 rgba(120, 128, 180, .5),
    26.9vw 28.4vh 0 0 rgba(120, 128, 180, .7),
    93.8vw 54.2vh 0 0 rgba(120, 128, 180, .7),
    2.2vw 79.0vh 0 .3px rgba(120, 128, 180, .7),
    15.3vw 68.9vh 0 0 rgba(120, 128, 180, .7),
    92.7vw 69.7vh 0 0 rgba(120, 128, 180, .5),
    11.1vw 82.7vh 0 0 rgba(120, 128, 180, .35),
    96.2vw 3.4vh 0 0 rgba(120, 128, 180, .7),
    3.5vw 26.4vh 0 .3px rgba(120, 128, 180, .7),
    42.2vw 63.5vh 0 0 rgba(120, 128, 180, .35),
    92.1vw 66.0vh 0 .3px rgba(120, 128, 180, .35),
    65.7vw 13.2vh 0 0 rgba(120, 128, 180, .5),
    6.1vw 66.3vh 0 0 rgba(120, 128, 180, .5),
    97.6vw 0.0vh 0 0 rgba(120, 128, 180, .35),
    56.9vw 57.2vh 0 0 rgba(120, 128, 180, .7),
    1.8vw 14.6vh 0 0 rgba(120, 128, 180, .5),
    64.6vw 94.1vh 0 .3px rgba(120, 128, 180, .5),
    0.8vw 49.7vh 0 0 rgba(120, 128, 180, .5),
    28.6vw 71.8vh 0 0 rgba(120, 128, 180, .35),
    20.8vw 80.4vh 0 0 rgba(120, 128, 180, .35),
    15.7vw 82.0vh 0 .3px rgba(120, 128, 180, .35),
    61.4vw 42.8vh 0 .3px rgba(120, 128, 180, .35),
    81.0vw 52.2vh 0 .3px rgba(120, 128, 180, .7),
    59.3vw 93.2vh 0 0 rgba(120, 128, 180, .35),
    26.6vw 60.0vh 0 .3px rgba(120, 128, 180, .7),
    80.8vw 83.7vh 0 0 rgba(120, 128, 180, .35),
    50.8vw 35.8vh 0 0 rgba(120, 128, 180, .7),
    50.1vw 98.4vh 0 0 rgba(120, 128, 180, .7),
    24.8vw 37.0vh 0 0 rgba(120, 128, 180, .5),
    21.7vw 55.9vh 0 0 rgba(120, 128, 180, .5),
    3.8vw 59.3vh 0 0 rgba(120, 128, 180, .35),
    73.6vw 15.3vh 0 .3px rgba(120, 128, 180, .5),
    63.7vw 75.9vh 0 0 rgba(120, 128, 180, .35),
    16.3vw 89.0vh 0 0 rgba(120, 128, 180, .7),
    20.6vw 70.6vh 0 .3px rgba(120, 128, 180, .5),
    30.1vw 80.2vh 0 0 rgba(120, 128, 180, .35),
    40.4vw 66.6vh 0 0 rgba(120, 128, 180, .7),
    73.3vw 17.4vh 0 .3px rgba(120, 128, 180, .35),
    2.4vw 85.8vh 0 0 rgba(120, 128, 180, .7),
    14.7vw 85.1vh 0 .3px rgba(120, 128, 180, .7),
    62.6vw 96.4vh 0 0 rgba(120, 128, 180, .7),
    94.8vw 70.0vh 0 0 rgba(120, 128, 180, .5);
}
body::before {
  animation: breathe 6s ease-in-out infinite;
  box-shadow:
    12.8vw 27.5vh 3px .6px rgba(255, 246, 220, .9),
    81.2vw 57.0vh 3px .6px rgba(255, 246, 220, .75),
    67.5vw 17.8vh 2px .3px rgba(255, 246, 220, .9),
    33.9vw 15.4vh 1px .3px rgba(255, 246, 220, .75),
    54.9vw 87.9vh 2px .3px rgba(255, 246, 220, .9),
    92.6vw 78.1vh 3px 0 rgba(255, 246, 220, .75),
    17.7vw 1.9vh 3px 0 rgba(255, 246, 220, .75),
    42.5vw 88.6vh 1px .6px rgba(255, 246, 220, .55),
    81.4vw 52.4vh 2px .3px rgba(255, 246, 220, .55),
    97.3vw 68.7vh 3px 0 rgba(255, 246, 220, .75),
    73.0vw 74.6vh 3px .3px rgba(255, 246, 220, .75),
    37.0vw 22.1vh 2px .6px rgba(255, 246, 220, .55),
    74.7vw 89.8vh 3px .6px rgba(255, 246, 220, .55),
    6.5vw 12.7vh 1px 0 rgba(255, 246, 220, .75),
    28.4vw 12.6vh 1px 0 rgba(255, 246, 220, .9),
    36.3vw 29.5vh 3px .3px rgba(255, 246, 220, .9),
    99.9vw 20.6vh 3px .3px rgba(255, 246, 220, .9),
    74.6vw 28.2vh 3px 0 rgba(255, 246, 220, .9),
    78.5vw 73.0vh 1px .3px rgba(255, 246, 220, .9),
    39.6vw 65.2vh 1px .3px rgba(255, 246, 220, .55),
    72.7vw 91.4vh 3px .3px rgba(255, 246, 220, .55),
    54.3vw 14.1vh 3px 0 rgba(255, 246, 220, .9),
    3.8vw 87.8vh 3px 0 rgba(255, 246, 220, .55),
    30.8vw 48.6vh 1px .3px rgba(255, 246, 220, .75),
    48.5vw 48.1vh 3px .3px rgba(255, 246, 220, .75),
    79.0vw 11.6vh 1px .3px rgba(255, 246, 220, .55),
    86.9vw 12.1vh 3px .3px rgba(255, 246, 220, .55),
    26.6vw 81.6vh 1px 0 rgba(255, 246, 220, .55),
    63.8vw 29.4vh 1px .3px rgba(255, 246, 220, .55),
    96.4vw 41.2vh 1px 0 rgba(255, 246, 220, .9),
    90.0vw 7.1vh 1px 0 rgba(255, 246, 220, .55),
    37.1vw 73.8vh 1px .6px rgba(255, 246, 220, .75),
    70.0vw 57.6vh 3px 0 rgba(255, 246, 220, .55),
    27.0vw 77.2vh 1px 0 rgba(255, 246, 220, .55),
    6.0vw 10.8vh 1px 0 rgba(255, 246, 220, .55),
    69.5vw 44.0vh 2px .3px rgba(255, 246, 220, .75),
    50.8vw 81.1vh 1px 0 rgba(255, 246, 220, .9),
    66.6vw 0.7vh 3px .6px rgba(255, 246, 220, .75),
    85.0vw 0.1vh 2px 0 rgba(255, 246, 220, .75),
    60.8vw 66.3vh 2px .6px rgba(255, 246, 220, .9),
    84.7vw 92.5vh 3px 0 rgba(255, 246, 220, .75),
    36.5vw 20.4vh 2px .6px rgba(255, 246, 220, .75),
    63.7vw 66.4vh 3px .3px rgba(255, 246, 220, .75),
    78.6vw 22.4vh 1px .6px rgba(255, 246, 220, .55),
    5.5vw 87.0vh 2px .6px rgba(255, 246, 220, .9),
    37.6vw 40.7vh 1px .6px rgba(255, 246, 220, .55);
}
body::after {
  animation: breathe 9s ease-in-out -4s infinite;
  box-shadow:
    89.8vw 15.9vh 3px .8px rgba(255, 233, 168, .6),
    54.2vw 44.9vh 7px .4px rgba(255, 233, 168, .8),
    26.7vw 38.8vh 3px 1px rgba(255, 233, 168, .6),
    3.2vw 80.7vh 3px 1px rgba(255, 233, 168, .8),
    6.1vw 74.5vh 7px .8px rgba(255, 233, 168, .6),
    20.4vw 15.5vh 3px 1px rgba(255, 233, 168, .6),
    81.7vw 37.3vh 7px .8px rgba(255, 233, 168, .6),
    78.1vw 39.1vh 3px .4px rgba(255, 233, 168, .8),
    23.3vw 21.8vh 5px .4px rgba(255, 233, 168, .8),
    92.8vw 3.0vh 7px 1px rgba(255, 233, 168, .8),
    18.8vw 80.3vh 7px .8px rgba(255, 233, 168, .8),
    7.5vw 45.8vh 7px 1px rgba(255, 233, 168, .8),
    33.9vw 75.6vh 5px .4px rgba(255, 233, 168, .8),
    33.0vw 87.4vh 3px .8px rgba(255, 233, 168, .8),
    29.2vw 87.1vh 3px .4px rgba(255, 233, 168, .6),
    16.6vw 3.6vh 3px .8px rgba(255, 233, 168, .6),
    22.4vw 55.8vh 3px .8px rgba(255, 233, 168, .6),
    34.4vw 31.9vh 7px .4px rgba(255, 233, 168, .6),
    36.6vw 12.9vh 3px .8px rgba(255, 233, 168, .6),
    70.1vw 75.3vh 3px .8px rgba(255, 233, 168, .8),
    90.9vw 23.7vh 7px 1px rgba(255, 233, 168, .8),
    53.5vw 26.8vh 3px 1px rgba(255, 233, 168, .6),
    67.5vw 71.4vh 7px .8px rgba(255, 233, 168, .8),
    30.8vw 86.7vh 5px .4px rgba(255, 233, 168, .8),
    12.3vw 69.0vh 3px 1px rgba(255, 233, 168, .6),
    0.2vw 86.0vh 3px .4px rgba(255, 233, 168, .8);
}
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

img, svg { max-width: 100%; }

a { color: var(--gold); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0 0 14px; }
p { text-wrap: pretty; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 650; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 34, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 650; letter-spacing: -0.01em;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; transition: transform 0.3s var(--ease); }
.brand:hover img { transform: scale(1.06); }

.site-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.site-nav a {
  color: var(--muted); padding: 8px 12px; border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }

@media (max-width: 560px) {
  .site-nav a.optional { display: none; }
}

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 650; font-size: 16px; line-height: 1.2;
  transition: transform 0.15s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #F7DF9F; }
.btn-ghost { border: 1px solid var(--border-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--dust); }

.soon {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold);
  font-weight: 650; font-size: 16px;
}
.soon svg { width: 18px; height: 18px; }

/* Shared section pieces */

.label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06); color: var(--muted);
  border-radius: 8px; padding: 5px 12px; margin-bottom: 18px;
  font-size: 14px; line-height: 1.4;
}

.section { position: relative; padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; }
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 18px; }

/* Hero */

.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
}
.hero .glow {
  position: absolute; left: 50%; top: 34%; width: 720px; height: 460px;
  transform: translate(-50%, -50%); pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(242, 213, 138, 0.10) 0%, rgba(242, 213, 138, 0.03) 40%, transparent 70%);
}
.hero-grid {
  position: relative; display: grid; gap: 56px; align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 66px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--muted); font-size: clamp(18px, 2.1vw, 20px); margin: 22px 0 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.trust {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  color: var(--muted); font-size: 15px;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.trust svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

@media (max-width: 880px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust { justify-content: center; }
}

/* Phone */

.phone {
  position: relative; width: min(300px, 78vw); margin: 0 auto;
  aspect-ratio: 300 / 612; border-radius: 52px; padding: 3px;
  background: linear-gradient(145deg, #F4F4F6 0%, #A9AAB0 12%, #6F7076 28%, #D4D5DA 48%, #77787E 66%, #E2E3E7 84%, #8B8C92 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 0 2px 1px rgba(0, 0, 0, 0.35),
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 0 90px -20px rgba(242, 213, 138, 0.18);
}
/* The phone drifts slowly once it has risen into place. */
.phone.rise { animation: rise 0.9s var(--ease) 0.16s both, drift 8s ease-in-out 1.1s infinite; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-0.6deg); }
}
/* Side buttons: action and volume on the left, power on the right. */
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; background-repeat: no-repeat;
}
.phone::before {
  left: -3px; top: 17%; height: 27%; border-radius: 2px 0 0 2px;
  background-image:
    linear-gradient(90deg, #5E5F65, #C9CAD0 60%, #8B8C92),
    linear-gradient(90deg, #5E5F65, #C9CAD0 60%, #8B8C92),
    linear-gradient(90deg, #5E5F65, #C9CAD0 60%, #8B8C92);
  background-size: 100% 15%, 100% 30%, 100% 30%;
  background-position: 0 0, 0 48%, 0 100%;
}
.phone::after {
  right: -3px; top: 29%; height: 13%; border-radius: 0 2px 2px 0;
  background-image: linear-gradient(270deg, #5E5F65, #C9CAD0 60%, #8B8C92);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 49px; overflow: hidden;
  border: 9px solid #04050B;
  box-shadow: 0 0 0 1px #2A2B33;
  background: radial-gradient(120% 60% at 50% 0%, var(--bg) 0%, var(--bg-deep) 100%);
  display: flex; flex-direction: column; padding: 48px 18px 16px; text-align: left;
}
.phone-screen::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 999px; background: #000;
}
.phone .count { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.phone .count b { font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.phone .count span { color: var(--muted); font-size: 15px; }
.phone .sky { flex: 1; width: 100%; min-height: 0; margin: 6px 0; }
.phone .note { color: var(--muted); font-size: 12.5px; line-height: 1.45; margin: 0 0 12px; }
.phone .sos {
  background: var(--gold); color: var(--on-gold); border-radius: 18px;
  padding: 11px 16px; font-weight: 650; font-size: 14.5px; line-height: 1.3;
}
.phone .sos small { display: block; font-weight: 500; font-size: 12px; color: #4A3D16; }

.twinkle { animation: twinkle 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.twinkle.b { animation-delay: -1.2s; animation-duration: 4.4s; }
.twinkle.c { animation-delay: -2.3s; animation-duration: 5.2s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* Entrance */

.rise { animation: rise 0.9s var(--ease) both; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.16s; }
.rise.d3 { animation-delay: 0.24s; }
.rise.d4 { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

/* How it works: text on one side, pieces of the app on the other */

.split { display: grid; gap: 56px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split h2 { font-size: clamp(32px, 4.8vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.split .sub { color: var(--muted); font-size: 18px; margin: 16px 0 28px; max-width: 30em; }
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.rows li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.rows strong { display: block; font-size: 16.5px; }
.rows span { color: var(--muted); font-size: 15px; }
.tile {
  flex: none; width: 38px; height: 38px; border-radius: 10px; margin-top: 2px;
  display: grid; place-items: center; color: var(--gold); background: rgba(242, 213, 138, 0.1);
}
.tile svg { width: 19px; height: 19px; }

/* The stage: thirty evenings in 16 seconds. Without motion it rests on the revealed constellation. */

@property --day { syntax: "<integer>"; initial-value: 30; inherits: false; }
.stage {
  position: relative; border-radius: 28px; padding: 26px 26px 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(34, 39, 84, 0.75) 0%, rgba(11, 14, 34, 0.9) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.stage p { margin: 0; }
.stage-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.stage .day { font-size: 15px; color: var(--muted); }
.stage .day b { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; color: var(--text); margin-left: 6px; font-variant-numeric: tabular-nums; }
.daynum { counter-reset: d 30; counter-reset: d var(--day, 30); animation: count 16s linear infinite; }
.daynum::after { content: counter(d); }
@keyframes count { 0%, 6% { --day: 1; } 67%, 100% { --day: 30; } }
.stage .since { font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.journey { display: block; width: 100%; height: auto; margin: 6px 0 10px; }
.journey .st { transform-box: fill-box; transform-origin: center; animation: 16s linear infinite; }
.journey .links path { stroke-dasharray: 1; animation: draw 16s linear infinite; }
@keyframes draw { 0%, 70% { stroke-dashoffset: 1; } 80%, 95% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes s0 { 0%, 6.0% { opacity: 0; transform: scale(0.2); } 7.6% { opacity: 1; transform: scale(1.6); } 9.6%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s0 { animation-name: s0; }
@keyframes s1 { 0%, 8.1% { opacity: 0; transform: scale(0.2); } 9.7% { opacity: 1; transform: scale(1.6); } 11.7%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s1 { animation-name: s1; }
@keyframes s2 { 0%, 10.2% { opacity: 0; transform: scale(0.2); } 11.8% { opacity: 1; transform: scale(1.6); } 13.8%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s2 { animation-name: s2; }
@keyframes s3 { 0%, 12.3% { opacity: 0; transform: scale(0.2); } 13.9% { opacity: 1; transform: scale(1.6); } 15.9%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s3 { animation-name: s3; }
@keyframes s4 { 0%, 14.4% { opacity: 0; transform: scale(0.2); } 16.0% { opacity: 1; transform: scale(1.6); } 18.0%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s4 { animation-name: s4; }
@keyframes s5 { 0%, 16.5% { opacity: 0; transform: scale(0.2); } 18.1% { opacity: 1; transform: scale(1.6); } 20.1%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s5 { animation-name: s5; }
@keyframes s6 { 0%, 18.6% { opacity: 0; transform: scale(0.2); } 20.2% { opacity: 1; transform: scale(1.6); } 22.2%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s6 { animation-name: s6; }
@keyframes s7 { 0%, 20.7% { opacity: 0; transform: scale(0.2); } 22.3% { opacity: 1; transform: scale(1.6); } 24.3%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s7 { animation-name: s7; }
@keyframes s8 { 0%, 22.8% { opacity: 0; transform: scale(0.2); } 24.4% { opacity: 1; transform: scale(1.6); } 26.4%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s8 { animation-name: s8; }
@keyframes s9 { 0%, 24.9% { opacity: 0; transform: scale(0.2); } 26.5% { opacity: 1; transform: scale(1.6); } 28.5%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s9 { animation-name: s9; }
@keyframes s10 { 0%, 27.0% { opacity: 0; transform: scale(0.2); } 28.6% { opacity: 1; transform: scale(1.6); } 30.6%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s10 { animation-name: s10; }
@keyframes s11 { 0%, 29.1% { opacity: 0; transform: scale(0.2); } 30.7% { opacity: 1; transform: scale(1.6); } 32.7%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s11 { animation-name: s11; }
@keyframes s12 { 0%, 31.2% { opacity: 0; transform: scale(0.2); } 32.8% { opacity: 1; transform: scale(1.6); } 34.8%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s12 { animation-name: s12; }
@keyframes s13 { 0%, 33.3% { opacity: 0; transform: scale(0.2); } 34.9% { opacity: 1; transform: scale(1.6); } 36.9%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s13 { animation-name: s13; }
@keyframes s14 { 0%, 35.4% { opacity: 0; transform: scale(0.2); } 37.0% { opacity: 1; transform: scale(1.6); } 39.0%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s14 { animation-name: s14; }
@keyframes s15 { 0%, 37.5% { opacity: 0; transform: scale(0.2); } 39.1% { opacity: 1; transform: scale(1.6); } 41.1%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s15 { animation-name: s15; }
@keyframes s16 { 0%, 39.6% { opacity: 0; transform: scale(0.2); } 41.2% { opacity: 1; transform: scale(1.6); } 43.2%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s16 { animation-name: s16; }
@keyframes s17 { 0%, 41.7% { opacity: 0; transform: scale(0.2); } 43.3% { opacity: 1; transform: scale(1.6); } 45.3%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s17 { animation-name: s17; }
@keyframes s18 { 0%, 43.8% { opacity: 0; transform: scale(0.2); } 45.4% { opacity: 1; transform: scale(1.6); } 47.4%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s18 { animation-name: s18; }
@keyframes s19 { 0%, 45.9% { opacity: 0; transform: scale(0.2); } 47.5% { opacity: 1; transform: scale(1.6); } 49.5%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s19 { animation-name: s19; }
@keyframes s20 { 0%, 48.0% { opacity: 0; transform: scale(0.2); } 49.6% { opacity: 1; transform: scale(1.6); } 51.6%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s20 { animation-name: s20; }
@keyframes s21 { 0%, 50.1% { opacity: 0; transform: scale(0.2); } 51.7% { opacity: 1; transform: scale(1.6); } 53.7%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s21 { animation-name: s21; }
@keyframes s22 { 0%, 52.2% { opacity: 0; transform: scale(0.2); } 53.8% { opacity: 1; transform: scale(1.6); } 55.8%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s22 { animation-name: s22; }
@keyframes s23 { 0%, 54.3% { opacity: 0; transform: scale(0.2); } 55.9% { opacity: 1; transform: scale(1.6); } 57.9%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s23 { animation-name: s23; }
@keyframes s24 { 0%, 56.4% { opacity: 0; transform: scale(0.2); } 58.0% { opacity: 1; transform: scale(1.6); } 60.0%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s24 { animation-name: s24; }
@keyframes s25 { 0%, 58.5% { opacity: 0; transform: scale(0.2); } 60.1% { opacity: 1; transform: scale(1.6); } 62.1%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s25 { animation-name: s25; }
@keyframes s26 { 0%, 60.6% { opacity: 0; transform: scale(0.2); } 62.2% { opacity: 1; transform: scale(1.6); } 64.2%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s26 { animation-name: s26; }
@keyframes s27 { 0%, 62.7% { opacity: 0; transform: scale(0.2); } 64.3% { opacity: 1; transform: scale(1.6); } 66.3%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s27 { animation-name: s27; }
@keyframes s28 { 0%, 64.8% { opacity: 0; transform: scale(0.2); } 66.4% { opacity: 1; transform: scale(1.6); } 68.4%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s28 { animation-name: s28; }
@keyframes s29 { 0%, 66.9% { opacity: 0; transform: scale(0.2); } 68.5% { opacity: 1; transform: scale(1.6); } 70.5%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.journey .s29 { animation-name: s29; }

.slot { position: relative; height: 66px; margin: 0 0 18px; }
.tonight {
  position: absolute; left: 0; top: 14px; opacity: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27, 31, 63, 0.9); border: 1px solid var(--border-2); border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 600;
  animation: tonight 16s linear infinite;
}
.tonight svg { width: 14px; height: 14px; color: var(--gold); }
@keyframes tonight { 0%, 12% { opacity: 0; transform: translateY(8px); } 16%, 60% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(-6px); } }

.revealed {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(27, 31, 63, 0.9); border: 1px solid var(--border-2); border-radius: 18px; padding: 10px 12px 10px 18px;
  box-shadow: 0 0 60px -18px rgba(242, 213, 138, 0.45);
  animation: revealed 16s var(--ease) infinite;
}
.revealed .k { color: var(--muted); font-size: 12.5px; }
.revealed .t { font-size: 15.5px; font-weight: 650; line-height: 1.25; }
.revealed .mini { flex: none; background: var(--gold); color: var(--on-gold); border-radius: 999px; padding: 9px 16px; font-weight: 650; font-size: 14px; white-space: nowrap; }
@keyframes revealed { 0%, 80% { opacity: 0; transform: translateY(16px) scale(0.97); } 85%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

.track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F2D58A, #FFF6DC); transform-origin: left; animation: fill 16s linear infinite; }
@keyframes fill { 0%, 6% { transform: scaleX(0.03); } 67%, 95% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.track-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; margin-top: 8px; }

/* The step on the left lights up while the stage plays it. */
.rows .tile { animation: 16s linear infinite; }
.rows li:nth-child(1) .tile { animation-name: step1; }
.rows li:nth-child(2) .tile { animation-name: step2; }
.rows li:nth-child(3) .tile { animation-name: step3; }
@keyframes step1 { 0%, 5% { background: var(--gold); color: var(--on-gold); } 8%, 100% { background: rgba(242, 213, 138, 0.1); color: var(--gold); } }
@keyframes step2 { 0%, 5% { background: rgba(242, 213, 138, 0.1); color: var(--gold); } 8%, 68% { background: var(--gold); color: var(--on-gold); } 72%, 100% { background: rgba(242, 213, 138, 0.1); color: var(--gold); } }
@keyframes step3 { 0%, 68% { background: rgba(242, 213, 138, 0.1); color: var(--gold); } 72%, 95% { background: var(--gold); color: var(--on-gold); } 100% { background: rgba(242, 213, 138, 0.1); color: var(--gold); } }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stage { padding: 20px 18px 18px; }
  .revealed .mini { padding: 8px 12px; font-size: 13px; }
  .revealed { padding: 10px 10px 10px 14px; }
  .revealed .k { display: none; }
  .revealed .t { font-size: 14.5px; }
  .tonight { font-size: 12.5px; padding: 8px 12px; }
}

/* Bento: each cell shows a piece of the app, then says what it is for */

.features { background: rgba(16, 19, 42, 0.72); border-block: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; }
.bento { display: grid; gap: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bento .cell {
  grid-column: span 2; display: flex; flex-direction: column; padding: 10px 10px 26px;
  border-radius: 26px; background: rgba(11, 14, 34, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.bento .cell.wide { grid-column: span 3; }
.bento h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; margin: 22px 18px 8px; }
.bento .cell > p { color: var(--muted); margin: 0 18px; font-size: 16px; max-width: 36em; }
.bento .v {
  position: relative; height: 210px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(110% 100% at 50% 0%, rgba(34, 39, 84, 0.8), rgba(11, 14, 34, 0.5) 75%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: center; gap: 22px; padding: 18px;
}
.bento .v p { margin: 0; }
.bento .v .k { color: var(--muted); font-size: 12.5px; }

.v-sos .breath { position: relative; flex: none; width: 132px; height: 132px; display: grid; place-items: center; }
.v-sos .breath i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 213, 138, 0.35); animation: inhale 8s ease-in-out infinite; }
.v-sos .breath i:nth-child(2) { inset: 18px; border-color: rgba(242, 213, 138, 0.5); animation-delay: -0.25s; }
.v-sos .breath i:nth-child(3) { inset: 36px; border: 0; background: radial-gradient(circle, rgba(255, 233, 168, 0.5), rgba(242, 213, 138, 0.12) 70%); animation-delay: -0.5s; }
.v-sos .breath span { position: relative; font-size: 14px; font-weight: 600; }
@keyframes inhale { 0%, 100% { transform: scale(0.72); opacity: 0.6; } 50% { transform: scale(1); opacity: 1; } }
.v-sos .draft { flex: 1; min-width: 0; max-width: 300px; }
.v-sos .bubble { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 16px 16px 16px 4px; padding: 12px 14px; margin: 8px 0 10px; font-size: 15px; line-height: 1.45; }
.v-sos .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--gold); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.v-sos .tag { display: inline-block; font-size: 12.5px; color: var(--gold); background: rgba(242, 213, 138, 0.1); border-radius: 999px; padding: 4px 10px; }

.v-share .sharecard {
  position: relative; width: 112px; height: 176px; border-radius: 14px; padding: 14px 10px 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, #1D2146, #0B0E22); border: 1px solid var(--border-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); transform: rotate(4deg); transition: transform 0.4s var(--ease);
}
.v-share .sharecard.back { position: absolute; transform: rotate(-8deg) translateX(-34px); opacity: 0.55; }
.cell:hover .sharecard:not(.back) { transform: rotate(0deg) translateY(-4px); }
.v-share svg { width: 100%; margin: 14px 0 10px; }
.v-share b { font-size: 12px; }
.v-share span { font-size: 9px; color: var(--muted); margin-top: 3px; }
.v-share em { font-style: normal; font-size: 8.5px; color: var(--gold); margin-top: auto; letter-spacing: 0.04em; }

.bento .v-journal { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 22px; }
.v-journal .moods { display: flex; gap: 8px; }
.v-journal .moods span { flex: 1; text-align: center; font-size: 13.5px; padding: 8px 0; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.v-journal .moods .on { background: rgba(242, 213, 138, 0.14); border-color: rgba(242, 213, 138, 0.55); color: var(--gold); font-weight: 650; }
.v-journal .entry { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; }

.bento .v-flags { flex-direction: column; align-items: stretch; gap: 10px; padding: 18px 26px; }
.v-flags p { max-width: 380px; }
.v-flags p { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 11px 14px; font-size: 15px; }
.v-flags p:nth-child(2) { margin-left: 22px; }
.v-flags p:nth-child(3) { margin-left: 44px; }
.v-flags svg { flex: none; width: 18px; height: 18px; color: var(--danger); }

.v-widgets .widget { border-radius: 22px; background: linear-gradient(180deg, #171B38, #0B0E22); border: 1px solid var(--border-2); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); padding: 14px; display: flex; flex-direction: column; }
.v-widgets .small { width: 130px; height: 130px; justify-content: flex-end; }
.v-widgets .small b { font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.v-widgets .widget span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.v-widgets .medium { width: 250px; height: 130px; justify-content: space-between; }
.v-widgets .medium svg { height: 74px; width: auto; align-self: flex-start; }

.bento .v-relapse { flex-direction: column; gap: 14px; }
.v-relapse .zero { color: var(--muted); font-size: 15px; }
.v-relapse .zero b { font-size: 46px; color: var(--text); letter-spacing: -0.04em; margin-right: 6px; }
.v-relapse .kept { display: grid; grid-template-columns: repeat(6, 14px); gap: 12px 16px; }
.v-relapse .kept i { width: 8px; height: 8px; margin: 3px; border-radius: 50%; background: var(--star); box-shadow: 0 0 12px 4px rgba(255, 233, 168, 0.45); animation: breathe 4s ease-in-out calc(var(--d) * -0.37s) infinite; }

@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .bento .cell, .bento .cell.wide { grid-column: auto; }
  .v-sos .breath { width: 96px; height: 96px; }
  .v-sos .breath i:nth-child(2) { inset: 13px; } .v-sos .breath i:nth-child(3) { inset: 26px; }
  .bento .v { gap: 14px; padding: 14px; height: auto; min-height: 210px; }
  .bento .v-flags, .bento .v-journal { padding: 16px 14px; }
  .v-widgets .medium { width: auto; flex: 1; min-width: 0; }
  .v-widgets .small { width: 112px; height: 130px; }
  .v-flags p:nth-child(2) { margin-left: 10px; } .v-flags p:nth-child(3) { margin-left: 20px; }
}

/* Privacy band */

.privacy-band { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.privacy-band h2 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.privacy-band p { color: var(--muted); font-size: 18px; margin: 16px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li {
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.checks svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
@media (max-width: 820px) { .privacy-band { grid-template-columns: 1fr; } }

/* FAQ */

.faq-split { display: grid; gap: 48px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.faq-split .section-head { margin: 0; position: sticky; top: 96px; }
.faq > details:first-child { margin-top: 0; }
.page-body .faq, .prose details { max-width: none; }
@media (max-width: 820px) { .faq-split { grid-template-columns: 1fr; gap: 28px; } .faq-split .section-head { position: static; } }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  margin: 10px 0; transition: border-color 0.2s, background-color 0.2s;
}
details:hover { border-color: var(--border-2); }
details[open] { background: var(--surface-2); border-color: var(--border-2); }
details summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--ease);
}
details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
details > :not(summary) { padding: 0 20px; color: var(--muted); }
details > :last-child { padding-bottom: 18px; margin-bottom: 0; }

/* Final call */

.final { text-align: center; overflow: hidden; }
.final .panel {
  position: relative; overflow: hidden; padding: 64px 24px;
  border: 1px solid var(--border); border-radius: 28px;
  background: radial-gradient(90% 120% at 50% 0%, #1D2146 0%, var(--bg-deep) 70%);
}
.final h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.final p { color: var(--muted); font-size: 18px; margin: 14px auto 28px; max-width: 30em; }

/* Help card */

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; margin: 22px 0;
}
.card > :last-child { margin-bottom: 0; }
.card.help { border-color: rgba(255, 155, 143, 0.45); background: linear-gradient(180deg, rgba(255, 155, 143, 0.06), transparent), var(--surface); }
.card.help strong, .card.help strong a { color: var(--danger); }

.todo {
  background: rgba(255, 155, 143, 0.15); color: var(--danger);
  border-radius: 6px; padding: 0 6px; font-weight: 600;
}

/* Text pages */

.page-head {
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 44px 0 40px;
}
.page-head .wrap { position: relative; }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li { margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--dust); }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(32px, 5.2vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.page-head .updated { color: var(--muted); font-size: 15px; margin: 12px 0 0; max-width: 40em; }
.page-head .intro { color: var(--muted); font-size: 18px; margin: 14px 0 0; max-width: 36em; }

.page-body { display: grid; gap: 56px; grid-template-columns: 220px minmax(0, 700px); padding-top: 44px; padding-bottom: 88px; }
.page-body.single { grid-template-columns: minmax(0, 700px); justify-content: center; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14.5px; max-height: calc(100vh - 120px); overflow: auto; }
.toc p { color: var(--muted); font-size: 12.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc li { margin: 0; }
.toc a { display: block; color: var(--muted); padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--text); border-left-color: var(--gold); text-decoration: none; }
@media (max-width: 920px) {
  .page-body { grid-template-columns: minmax(0, 700px); justify-content: center; gap: 0; padding-top: 28px; }
  .toc { display: none; }
}

.prose h2 { font-size: 23px; line-height: 1.25; letter-spacing: -0.015em; margin: 44px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 26px 0 6px; }
.prose p, .prose li { color: #D5D9EE; }
.prose .card p, .prose .card li { color: var(--text); }
.prose a { text-decoration: underline; text-decoration-color: rgba(242, 213, 138, 0.4); }
.prose a:hover { text-decoration-color: var(--gold); }

.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; margin: 0 0 28px;
}
.contact-card p { margin: 0; }
.contact-card .muted { font-size: 15px; }
.prose .contact-card .btn { text-decoration: none; }

/* Footer */

.site-footer { border-top: 1px solid var(--border); background: rgba(11, 14, 34, 0.82); padding: 48px 0 40px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
.site-footer .brand { margin-bottom: 12px; }
.site-footer p { margin: 0 0 10px; max-width: 30em; }
.site-footer h2 { color: var(--text); font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .urgent a { color: var(--danger); font-weight: 650; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* 404 */

.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0; position: relative; overflow: hidden; }
.lost h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -0.03em; line-height: 1.1; }
.lost p { color: var(--muted); font-size: 18px; margin: 14px 0 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .toc { display: none; }
  html::before, body::before, body::after { display: none; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}
