:root {
  color-scheme: dark;
  /* Same palette as the privacy page: white headings, soft lavender-gray text, blue links. */
  --text: #ffffff;
  --body: #c8c8d4;
  --muted: #9a9aac;
  --faint: #77778a;
  --link: #6aa8ff;
  --line: rgba(255,255,255,.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; background: #050505; }
/* Dax's Midnight background: Color(white: 0.07) at the top to Color(white: 0.02) at the bottom */
body {
  margin: 0; color: #e8e8f0; min-height: 100vh;
  background: linear-gradient(180deg, #121212 0%, #050505 100%) fixed;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, Roboto, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: rgba(255,255,255,.8); }
:focus-visible { outline: 2px solid #8fe9f9; outline-offset: 3px; }

/* Texture over the Midnight gradient: fine grain, plus soft Dax-colored glows at the top corners and bottom. */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60vw 50vh at 12% 0%, rgba(155,107,255,.16), transparent 70%),
              radial-gradient(55vw 45vh at 92% 8%, rgba(47,139,255,.12), transparent 70%),
              radial-gradient(70vw 50vh at 50% 110%, rgba(155,107,255,.07), transparent 70%); }
.col { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
#highlights { padding-bottom: 0; }
#testflight { padding: 36px 0 0; text-align: center; }
#testflight .accent { margin: 0 auto 28px; }
#testflight .note { margin: 14px 0 0; font-size: 15px; color: var(--body); }
h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 18px; }
p { margin: 0 0 16px; }


.hero { padding: 96px 0 8px; text-align: center; }
.icon { width: 112px; height: 112px; margin: 0 auto 28px; }
.icon svg { width: 100%; height: 100%; display: block; }
.hero h1 { font-size: 64px; line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; font-weight: 800;
  background: linear-gradient(90deg, #9b6bff, #2f8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { font-size: 22px; line-height: 1.4; color: var(--body); margin: 0 auto; max-width: 560px; }
.accent { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #9b6bff, #2f8bff); }
.hero .accent { margin: 20px auto 0; }
.hero .motto { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--text); margin: 16px 0 0; }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 inherit; font-family: inherit; background: var(--text); color: #0a0a0a; text-decoration: none;
  border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { background: var(--text); }
.btn .soon { font-size: 12px; font-weight: 700; color: #555; }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn.small .soon { font-size: 11px; }

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); }
ul.plain li:last-child { border-bottom: 1px solid var(--line); }

footer { padding: 48px 0 64px; font-size: 14px; color: var(--faint); }
footer a { color: var(--link); text-decoration: none; }

/* Icon: the D draws in, the play button pops, a glint sweeps across */
#dmark .stroke { stroke-dasharray: 1; animation: draw .9s cubic-bezier(.65,0,.35,1) both .1s; }
#dmark .tile { animation: fade .5s ease both; }
#dmark .play { transform-origin: 240px 256px; animation: pop .45s cubic-bezier(.34,1.56,.64,1) both .78s; }
#dmark .sheen { animation: sheen .8s ease-in-out both 1.05s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes sheen { from { transform: translateX(-420px) skewX(-18deg); } to { transform: translateX(620px) skewX(-18deg); } }
.reveal { opacity: 0; transform: translateY(8px); animation: up .6s ease both; }
.d1 { animation-delay: 1.1s; } .d2 { animation-delay: 1.2s; } .d3 { animation-delay: 1.3s; }
@keyframes up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .col { padding: 0 16px; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0 16px; }
  .hero h1 { font-size: 52px; }
  .hero .tag { font-size: 20px; }
  .row { grid-template-columns: 1fr; gap: 0; }
}

/* Wide screens: a wider column, highlights in two columns of 8 with a dot in the Dax gradient, a larger top.
   Phones, iPads and smaller windows keep the single column. */
@media (min-width: 1180px) {
  .col { max-width: 1100px; }
  .hero { padding-top: 88px; }
  .icon { width: 132px; height: 132px; }
  .hero h1 { font-size: 84px; }
  .hero .tag { font-size: 24px; max-width: none; }
  .hero .motto { font-size: 34px; }
  ul.plain { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); grid-auto-flow: column; column-gap: 56px; }
  ul.plain li { display: flex; align-items: center; gap: 12px; }
  ul.plain li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #9b6bff, #2f8bff); }
  ul.plain li:nth-child(8) { border-bottom: 1px solid var(--line); }
}
