/* LifeAdmin AI — website styles. One visual world: the app's Midnight theme.
   Layout: a single centered column (max 1080px) with full-bleed midnight background. */
:root {
  --base: #0B1228;         /* midnight navy, the app's background */
  --panel: #131B36;        /* cards */
  --line: rgba(255, 255, 255, 0.10);
  --text: #F2F5FB;
  --mist: #9AA6C2;         /* secondary text */
  --mint: #7FE0D5;         /* accent, links */
  --teal: #1C968C;         /* brand gradient start */
  --indigo: #24346E;       /* brand gradient end */
  --orange: #F5A63C;       /* the dot */
  --display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  background-image:
    radial-gradient(900px 520px at 85% -10%, rgba(28, 150, 140, 0.28), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(36, 52, 110, 0.55), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 var(--body);
}
img, svg { max-width: 100%; }
a { color: var(--mint); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.prose { max-width: 68ch; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.wordmark { font: 800 22px/1 var(--display); letter-spacing: -0.01em; }
.wordmark .life { color: var(--text); }
.wordmark .admin { color: var(--orange); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--mist); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Type */
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--mist); max-width: 56ch; }
.muted { color: var(--mist); }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.tagline { font: 800 clamp(18px, 2vw, 22px)/1.2 var(--display); color: var(--orange); }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  background: var(--text); color: var(--base); font-weight: 700; text-decoration: none;
}
.badge small { display: block; font-weight: 500; font-size: 11px; line-height: 1; opacity: 0.7; }
.badge span { display: block; line-height: 1.15; }
.ghost-link { color: var(--mist); font-weight: 600; text-decoration: none; }
.ghost-link:hover { color: var(--text); }

/* Phone illustration (pure CSS, no screenshot needed) */
.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 19;
  border-radius: 44px; padding: 14px;
  background: linear-gradient(160deg, #1d2547, #0d1430);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.screen {
  height: 100%; border-radius: 32px; padding: 26px 16px 16px;
  background: radial-gradient(260px 200px at 80% 0%, rgba(28,150,140,0.35), transparent 70%), var(--base);
  display: grid; align-content: start; gap: 12px; overflow: hidden;
}
.screen .hello { font: 800 21px/1.15 var(--display); }
.screen .hello em { font-style: normal; color: var(--mint); }
.mini-card { background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: grid; gap: 4px; }
.mini-card .row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mini-card strong { font-size: 14px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(245,166,60,0.18); color: var(--orange); white-space: nowrap; }
.pill.ok { background: rgba(127,224,213,0.16); color: var(--mint); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-stats div { background: rgba(255,255,255,0.05); border-radius: 14px; padding: 10px; font-size: 11px; color: var(--mist); }
.mini-stats b { display: block; color: var(--text); font: 800 18px/1.1 var(--display); font-variant-numeric: tabular-nums; }

/* Sections */
section { padding: 64px 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  display: grid; gap: 10px; align-content: start;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
}
.card .icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--mist); font-size: 15.5px; }

/* Privacy band */
.band {
  background: linear-gradient(135deg, rgba(28,150,140,0.22), rgba(36,52,110,0.5));
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text); }
.checks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B1228' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.monogram {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  font: 900 44px/1 var(--display); color: #fff; border: 3px solid rgba(255,255,255,0.12);
}

/* Long-form pages (privacy, support, founder) */
.page { padding: 32px 0 72px; }
.page header.page-head { display: grid; gap: 12px; margin-bottom: 36px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page h3 { font-size: 18px; margin: 24px 0 8px; }
.page p + p, .page p + ul, .page ul + p { margin-top: 12px; }
.page ul { padding-left: 1.2em; margin: 8px 0 0; }
.page li + li { margin-top: 6px; }
.page .prose { color: #DCE2EF; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--mist); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--mist); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--mist); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero .wrap, .band { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .phone { width: min(280px, 100%); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
