/* Atriode — Aurora design. Shared by the home page, app pages and support page.
   Each page sets its own accent with --c (main) and --c2 (second glow) on <body>. */

:root {
  --bg: #0b0a1f; --text: #f5f3ff; --text-2: rgba(235,230,255,.7);
  --glass: rgba(255,255,255,.08); --glass-2: rgba(255,255,255,.14); --edge: rgba(255,255,255,.18);
  --dad: #8b7bff; --mom: #ff7eb6; --baby: #ffd166;
  --c: #8b7bff; --c2: #ff7eb6; --c3: #ffd166;
  --glow: .5;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef0ff; --text: #1a1638; --text-2: rgba(26,22,56,.68);
    --glass: rgba(255,255,255,.55); --glass-2: rgba(255,255,255,.78); --edge: rgba(255,255,255,.9);
    --glow: .36;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; position: relative; }
.u { text-decoration: underline; text-underline-offset: 3px; }

/* Aurora background. The soft glows are radial gradients, not blur filters: a large blur() is very slow
   to paint, and these only ever move with transform, which the browser can do without repainting. */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; opacity: var(--glow); will-change: transform; animation: roam 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 860px; height: 860px; background: radial-gradient(closest-side, var(--c), transparent); top: -290px; left: -250px; }
.aurora i:nth-child(2) { width: 780px; height: 780px; background: radial-gradient(closest-side, var(--c2), transparent); top: calc(26% - 160px); right: -290px; animation-delay: -7s; }
.aurora i:nth-child(3) { width: 700px; height: 700px; background: radial-gradient(closest-side, var(--c3), transparent); bottom: -270px; left: calc(30% - 160px); opacity: calc(var(--glow) * .6); animation-delay: -13s; }
@keyframes roam { to { transform: translate(70px, 60px) scale(1.15); } }
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.stars b { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; animation: tw 3s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .15; transform: scale(.6); } }
@media (prefers-color-scheme: light) { .stars { display: none; } }

/* Glass. Panels sit on an already-soft background, so they need no backdrop blur (it is costly on every
   panel); only the sticky nav, which page content scrolls under, blurs what is behind it. */
.glass {
  background: var(--glass); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 20px 50px rgba(0,0,0,.18);
}
nav .bar { backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }

/* Nav */
nav { position: sticky; top: 14px; z-index: 10; margin: 14px auto 0; max-width: 700px; padding: 0 14px; }
nav .bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 8px 0 20px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand .sep { opacity: .4; font-weight: 400; }
.trio { display: inline-flex; align-items: flex-end; gap: 3px; }
.trio i { width: 12px; height: 12px; border-radius: 50%; }
.trio i:nth-child(1) { background: var(--dad); box-shadow: 0 0 12px var(--dad); }
.trio i:nth-child(2) { background: var(--mom); box-shadow: 0 0 12px var(--mom); }
.trio i:nth-child(3) { width: 7px; height: 7px; background: var(--baby); box-shadow: 0 0 12px var(--baby); }
nav ul { display: flex; list-style: none; gap: 4px; font-size: 14px; font-weight: 600; align-items: center; }
nav ul a { padding: 8px 14px; border-radius: 999px; display: block; }
nav ul a:hover { background: var(--glass-2); }
nav ul a.get { background: var(--text); color: var(--bg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; border: 0; color: var(--text); transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.btn:hover { transform: scale(1.05); }
.btn.solid { background: var(--text); color: var(--bg); }
.btn.glass { border: 1px solid var(--edge); }
/* Not released yet: looks like a label, not something to press */
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 17px; background: var(--glass-2); border: 1px dashed var(--edge); color: var(--text); }
nav ul .soon { padding: 7px 14px; font-size: 14px; }
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Type */
h1 { font-size: clamp(44px, 8vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
h1.app-name { font-size: clamp(52px, 10vw, 108px); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -.03em; line-height: 1.08; font-weight: 800; text-align: center; }
.sub { text-align: center; color: var(--text-2); font-size: 19px; margin: 12px auto 48px; max-width: 560px; }
.lead { font-size: clamp(18px, 2.3vw, 21px); color: var(--text-2); max-width: 580px; margin: 20px auto 32px; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.tag { font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.02em; margin-top: 12px; color: var(--c); }
@supports (color: color-mix(in srgb, red, blue)) {
  .tag { color: color-mix(in srgb, var(--c) 62%, var(--text)); }
}
section { padding: 84px 0; }

@keyframes bob { 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* App icon (real artwork) */
.app-icon { border-radius: 22.5%; box-shadow: 0 18px 44px color-mix(in srgb, var(--c) 45%, transparent), 0 0 0 1px rgba(255,255,255,.14); }
.app-icon.xl { width: 128px; height: 128px; margin: 0 auto 28px; animation: bob 5s ease-in-out infinite; }
.app-icon.md { width: 84px; height: 84px; }

/* Hero */
.hero { text-align: center; padding-top: 84px; }
.meta { display: inline-flex; margin-top: 30px; border-radius: 22px; padding: 14px 6px; font-size: 12px; color: var(--text-2); }
.meta div { padding: 0 24px; border-right: 1px solid var(--edge); }
.meta div:last-child { border: 0; }
.meta b { display: block; font-size: 19px; color: var(--text); }

/* Device showcase */
.show { position: relative; margin-top: 60px; display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.phone { width: 270px; height: 560px; border-radius: 50px; padding: 10px; background: #15132b; flex: none; position: relative; z-index: 2;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.25), 0 50px 100px rgba(0,0,0,.45), 0 0 120px color-mix(in srgb, var(--c) 40%, transparent); }
.screen { height: 100%; border-radius: 40px; overflow: hidden; position: relative; padding: 54px 16px 0; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 25px; background: #000; border-radius: 20px; z-index: 2; }
.shot { border-radius: 30px; position: relative; z-index: 2; }
.float { position: absolute; border-radius: 24px; padding: 16px 18px; font-size: 14px; font-weight: 600; z-index: 3; animation: bob 6s ease-in-out infinite; text-align: left; }
.float small { display: block; color: var(--text-2); font-weight: 500; font-size: 12px; }
.float .big { font-size: 26px; display: block; }
.float.a { left: calc(50% - 350px); top: 60px; }
.float.b { right: calc(50% - 360px); top: 200px; animation-delay: -2s; }
.float.c { left: calc(50% - 340px); bottom: 70px; animation-delay: -4s; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { border-radius: 34px; padding: 30px; position: relative; overflow: hidden; }
.tile.w2 { grid-column: span 2; } .tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile .s { font-size: 34px; margin-bottom: 14px; }
.tile h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.tile p { color: var(--text-2); font-size: 15px; }
.tile .num { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -.05em; margin-bottom: 8px; background: linear-gradient(180deg, var(--c2), var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile.glow::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .45; right: -170px; bottom: -190px; }
.tile > * { position: relative; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--edge); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps.five { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { border-radius: 30px; padding: 26px; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; background: var(--c); color: #fff; box-shadow: 0 0 24px color-mix(in srgb, var(--c) 60%, transparent); }
.step h3 { font-size: 19px; margin-bottom: 4px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* Split (text + picture) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; border-radius: 44px; padding: 50px 44px; }
.split h2 { text-align: left; }
.split p { color: var(--text-2); font-size: 18px; margin-top: 16px; }

/* FAQ */
details { max-width: 720px; margin: 0 auto 12px; border-radius: 24px; padding: 18px 24px; }
summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; transition: transform .25s; opacity: .7; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); margin-top: 10px; }

/* CTA + footer */
.cta { border-radius: 44px; padding: 66px 30px; text-align: center; }
.note { max-width: 720px; margin: 28px auto 0; font-size: 13.5px; color: var(--text-2); text-align: center; }
footer { padding: 30px 0 60px; text-align: center; font-size: 13px; color: var(--text-2); }
footer .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; font-weight: 600; }

/* Legal documents */
.doc-hero { padding-bottom: 36px; }
.doc-hero h1 { font-size: clamp(38px, 6.5vw, 64px); }
.doc { max-width: 800px; padding-bottom: 50px; }
.doc .summary { border-radius: 30px; padding: 26px 32px; margin-bottom: 20px; }
.doc article { border-radius: 36px; padding: 40px; }
.doc section { padding: 0; }
.doc h2 { text-align: left; font-size: 21px; letter-spacing: -.01em; line-height: 1.25; margin: 30px 0 8px; }
.doc .summary h2, .doc article > section:first-child h2 { margin-top: 0; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; line-height: 1.6; margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc .summary p:last-child { margin: 14px 0 0; font-size: 14px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.doc .notice { border-left: 3px solid var(--c); padding-left: 16px; margin-bottom: 12px; }
.doc .notice p { color: var(--text); }
@media (max-width: 860px) { .doc article { padding: 26px 22px; } .doc .summary { padding: 22px; } }

/* Form */
.form { max-width: 640px; margin: 0 auto; border-radius: 40px; padding: 38px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--text); width: 100%;
  background: var(--glass-2); border: 1px solid var(--edge); border-radius: 16px; padding: 13px 15px; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.form select option { color: #1a1638; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.form ::placeholder { color: var(--text-2); opacity: .7; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-content: center; }
.form .status { font-size: 14.5px; font-weight: 600; border-radius: 16px; padding: 12px 16px; background: var(--glass-2); border: 1px solid var(--edge); }
.form .status[hidden] { display: none; }

@media (max-width: 860px) {
  .bento, .steps, .steps.five, .split { grid-template-columns: 1fr; }
  .tile.w2, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; }
  .split { padding: 36px 24px; text-align: center; } .split h2 { text-align: center; }
  .float { display: none; }
  .meta div { padding: 0 15px; }
  nav ul li.opt { display: none; }
  .form .row { grid-template-columns: 1fr; } .form { padding: 26px; }
  .show { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
