/* =========================================================
   AuroKey — site styles (Light-first, app-inspired)
   ========================================================= */

/* Basic reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.45;
}

/* ---------------------------------------------------------
   Theme tokens (Light default, Dark optional)
   --------------------------------------------------------- */
:root{
  /* App-inspired palette */
  --bg: #f3efe7;                 /* warm sand */
  --bg-2: #efe8dc;               /* slightly deeper */
  --surface: rgba(255,255,255,.72);
  --surface-2: rgba(255,255,255,.88);
  --stroke: rgba(20, 24, 33, .10);
  --stroke-2: rgba(20, 24, 33, .14);

  --text: #111827;               /* near-black */
  --muted: rgba(17,24,39,.72);
  --muted-2: rgba(17,24,39,.55);

  --navy: #101a2b;               /* deep navy */
  --navy-2: #0c1422;

  --gold: #b08b57;               /* warm accent */
  --gold-2: #9a7749;

  --shadow: 0 18px 45px rgba(17,24,39,.10);
  --shadow-soft: 0 10px 30px rgba(17,24,39,.08);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container: 1120px;
  --gutter: 22px;
}

:root[data-theme="dark"]{
  --bg: #0b1220;
  --bg-2: #0e1729;
  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --stroke-2: rgba(255,255,255,.14);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted-2: rgba(255,255,255,.58);

  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
}

/* ---------------------------------------------------------
   Background treatment (light, elegant, not heavy)
   --------------------------------------------------------- */
.page{
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(176,139,87,.18), transparent 55%),
    radial-gradient(900px 600px at 80% 10%, rgba(16,26,43,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section{
  padding: 62px 0;
}

.section-tight{
  padding: 44px 0;
}

.grid{
  display: grid;
  gap: 26px;
}

.grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Top nav
   --------------------------------------------------------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--stroke);
}

:root[data-theme="dark"] .nav{
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand img{
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand span{
  font-weight: 650;
  letter-spacing: .2px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a{
  color: var(--muted);
  text-decoration: none;
  font-weight: 560;
  font-size: 14px;
}

.nav-links a:hover{ color: var(--text); }

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------------------------------------------------
   Buttons, pills
   --------------------------------------------------------- */
.btn{
  appearance: none;
  border: 1px solid var(--stroke);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}

.btn-primary:hover{
  filter: brightness(1.05);
}

.pill{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
  border: 1px solid var(--stroke);
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero{
  padding: 58px 0 36px;
}

.hero h1{
  margin: 12px 0 12px;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.5px;
}

.hero p{
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-note{
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 13px;
}

/* ---------------------------------------------------------
   Cards / panels
   --------------------------------------------------------- */
.card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card-inner{
  padding: 22px;
}

.card h3{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .2px;
}

.card p{
  margin: 0;
  color: var(--muted);
}

.bubble{
  border-radius: 999px;
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.bubble strong{
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.bubble span{
  color: var(--muted);
  font-size: 14px;
}

/* ---------------------------------------------------------
   “Decision Summary” split block (fixes blank space)
   --------------------------------------------------------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start; /* important: prevents awkward vertical centering */
}

@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
}

.split .card{
  height: auto;         /* critical fix: no forced tall cards */
}

.split .card-inner{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------------------------------------------------------
   Screenshots / phone frames
   --------------------------------------------------------- */
.media-frame{
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface-2) 72%, transparent);
  box-shadow: var(--shadow);
  padding: 18px;
}

.media-frame img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* Make images look “producty” without being huge */
.screenshot{
  max-width: 420px;            /* prevents giant phone on desktop */
  width: 100%;
  margin: 0 auto;
}

.caption{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-2);
  text-align: center;
}

/* ---------------------------------------------------------
   Waitlist form
   --------------------------------------------------------- */
.form-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.input{
  flex: 1 1 220px;
  min-width: 220px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface-2);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.input::placeholder{ color: var(--muted-2); }

.small{
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 10px;
}

/* ---------------------------------------------------------
   Lists
   --------------------------------------------------------- */
ul.clean{
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

ul.clean li{
  margin: 6px 0;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer{
  padding: 28px 0 42px;
  border-top: 1px solid var(--stroke);
  color: var(--muted-2);
  font-size: 13px;
}
.footer a{ color: var(--muted); text-decoration: none; }
.footer a:hover{ color: var(--text); }

/* ---------------------------------------------------------
   Utility
   --------------------------------------------------------- */
.m0{ margin: 0; }
.mt8{ margin-top: 8px; }
.mt12{ margin-top: 12px; }
.mt16{ margin-top: 16px; }
.mt24{ margin-top: 24px; }
