/* AudLog site. Day palette for the page, night palette for the one contrasting band (hero).
   No external fonts: the system stack matches the app (SF Pro on Apple devices) and keeps the site free of third-party requests. */

:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --hairline: #E1E4EA;
  --ink: #1B2233;
  --ink2: #535C6E;
  --ink3: #7D8597;
  --accent: #227A6E;
  --accent-ink: #1C665C;
  --amber: #B7791F;
  --red: #C7402F;

  --night: #070A12;
  --night-line: #1C2130;
  --night-tx: #D8C6A3;
  --night-tx2: #8C7E66;
  --night-tx3: #5E5546;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --wrap: 1080px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100% }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px }
a:hover { text-decoration-thickness: 2px }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px }
.night :focus-visible { outline-color: var(--night-tx) }
p { margin: 0 0 1em }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.015em; line-height: 1.15 }
h2 { font-size: clamp(28px, 4vw, 38px); max-width: 22ch }
h3 { font-size: 18px; letter-spacing: -0.005em; line-height: 1.3 }
.num { font-variant-numeric: tabular-nums }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 10 }
.skip:focus { left: 8px }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--hairline); background: var(--bg) }
.site-header.on-night { background: var(--night); border-bottom-color: var(--night-line) }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em }
.brand img { width: 32px; height: 32px; border-radius: 8px }
.on-night .brand { color: var(--night-tx) }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; font-size: 15px }
.site-nav a { color: var(--ink2); text-decoration: none }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline }
.on-night .site-nav a { color: var(--night-tx2) }
.on-night .site-nav a:hover { color: var(--night-tx) }
@media (max-width: 720px) { .site-nav .wide { display: none } .site-nav ul { gap: 16px } }

/* ---------- Hero (night band) ---------- */
.night { background: var(--night); color: var(--night-tx) }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.06; max-width: 15ch }

.hero .lede { font-size: 19px; color: var(--night-tx2); max-width: 46ch; margin: 28px 0 32px }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px }
.soon { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #3A3328; border-radius: 999px; padding: 11px 20px; font-size: 15px; color: var(--night-tx) }
.soon svg { flex: none }
.availability small { font-size: 14px; color: var(--night-tx2) }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 56px }
  .hero .phone { justify-self: center }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--hairline) }
.section:first-of-type { border-top: 0 }
.section-intro { color: var(--ink2); max-width: var(--measure); margin-top: 14px; font-size: 18px }
@media (max-width: 600px) { .section { padding: 60px 0 } }

/* How it works: a real sequence, marked by time of night instead of numbers */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 }
.steps li { padding: 0 28px 0 0; border-top: 2px solid var(--ink); padding-top: 20px; margin-right: 24px }
.steps li:last-child { margin-right: 0 }
.steps .when { display: block; font-size: 15px; color: var(--ink2); margin-bottom: 10px }
.steps h3 { margin-bottom: 8px }
.steps p { color: var(--ink2); font-size: 16px; margin: 0 }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px }
  .steps li { margin-right: 0; padding-right: 0 }
}

/* The report */
.report-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 48px }
.contents { margin: 0; display: grid; gap: 0 }
.contents div { padding: 18px 0; border-top: 1px solid var(--hairline) }
.contents div:first-child { border-top: 0; padding-top: 0 }
.contents dt { font-weight: 600; margin-bottom: 4px }
.contents dd { margin: 0; color: var(--ink2); font-size: 16px; max-width: var(--measure) }
.contents dd b { color: var(--ink); font-weight: 600 }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: 0; margin-right: 6px }
.key.red { background: var(--red) } .key.amber { background: var(--amber) }
@media (max-width: 900px) {
  .report-grid { grid-template-columns: minmax(0, 1fr); gap: 48px }
  .report-grid .phone { justify-self: center }
}

/* Report sheet: an excerpt of the PDF, set like a document */
.sheet { margin-top: 64px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 6px; padding: 36px 40px; max-width: 760px; box-shadow: 0 1px 2px rgba(27,34,51,.04), 0 12px 32px -18px rgba(27,34,51,.18) }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--ink) }
.sheet-head h3 { font-size: 20px }
.sheet-head p { margin: 0; font-size: 14px; color: var(--ink2) }
.sheet .chart { width: 100%; height: auto; margin: 20px 0 6px }
.sheet .chart text { font-family: var(--font) }
.sheet-example { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin: 0 0 8px }
.sheet-caption { font-size: 13px; color: var(--ink2); margin: 0 0 24px }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-bottom: 28px }
.metrics div { padding: 14px 16px 14px 0 }
.metrics div + div { border-left: 1px solid var(--hairline); padding-left: 16px }
.metrics b { display: block; font-size: 22px; font-weight: 600 }
.metrics span { display: block; font-size: 14px; color: var(--ink2); line-height: 1.4 }
.metrics em { font-style: normal; color: var(--ink) }
.sheet h4 { margin: 0 0 8px; font-size: 15px; font-weight: 600 }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 28px }
.sheet th { text-align: left; font-weight: 500; color: var(--ink2); padding: 6px 12px 6px 0; border-bottom: 1px solid var(--hairline) }
.sheet td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--hairline) }
.sheet td.r, .sheet th.r { text-align: right; padding-right: 0 }
.sheet tr.quiet td.peak { color: var(--red); font-weight: 600 }
.sheet tr.day td.peak { font-weight: 600 }
.sheet .flag { font-size: 12px; color: var(--red); white-space: nowrap }
.sheet .flag.day { color: #8A5A12 }
.coverage { font-size: 14px; color: var(--ink2); margin-bottom: 24px }
.coverage p { margin: 0 0 4px }
.hash { font-size: 13px; color: var(--ink2); border-top: 1px solid var(--hairline); padding-top: 14px }
.hash code { display: block; margin-top: 4px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--ink); overflow-wrap: anywhere }
@media (max-width: 600px) {
  .sheet { padding: 24px 18px; border-radius: 4px }
  .metrics { grid-template-columns: minmax(0, 1fr) }
  .metrics div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline) }
  .sheet .hide-sm { display: none }
}

/* Reliability */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--hairline) }
.facts div { padding: 24px 24px 0 0 }
.facts div + div { border-left: 1px solid var(--hairline); padding-left: 24px }
.facts dt { font-size: 34px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; color: var(--ink) }
.facts dd { margin: 0; color: var(--ink2); font-size: 16px }
.footnote { font-size: 14px; color: var(--ink2); margin-top: 32px; max-width: var(--measure) }
@media (max-width: 760px) {
  .facts { grid-template-columns: minmax(0, 1fr) }
  .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline); margin-top: 24px }
}

/* Privacy list */
.plain-list { list-style: none; padding: 0; margin: 40px 0 0; max-width: 720px }
.plain-list li { padding: 16px 0 16px 32px; border-top: 1px solid var(--hairline); position: relative }
.plain-list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) }
.plain-list b { font-weight: 600 }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 48px; max-width: 860px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface) }
.plan { padding: 32px }
.plan + .plan { border-left: 1px solid var(--hairline) }
.plan h3 { font-size: 20px }
.price { font-size: 34px; font-weight: 300; letter-spacing: -0.02em; margin: 10px 0 2px }
.price-note { font-size: 14px; color: var(--ink2); margin: 0 0 20px }
.plan ul { list-style: none; padding: 0; margin: 0 }
.plan li { padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 16px }
@media (max-width: 680px) {
  .plans { grid-template-columns: minmax(0, 1fr) }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--hairline) }
  .plan { padding: 24px 20px }
}

/* FAQ */
.faq { margin-top: 40px; max-width: 760px; border-bottom: 1px solid var(--hairline) }
.faq details { border-top: 1px solid var(--hairline) }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; position: relative }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg); transition: transform .15s ease }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px }
.faq details > div { padding: 0 0 20px; color: var(--ink2); max-width: var(--measure) }
.faq details > div p:last-child { margin: 0 }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none } }

/* ---------- Text pages (privacy, support) ---------- */
.doc { max-width: 720px; padding: 64px 0 88px }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em }
.doc .meta { color: var(--ink2); margin: 12px 0 40px; font-size: 16px }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 12px; max-width: none }
.doc p, .doc li { max-width: var(--measure) }
.doc ul { padding-left: 1.2em; margin: 0 0 1em }
.doc li { margin-bottom: 8px }
.doc .summary { background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; padding: 20px 24px; margin-bottom: 8px }
.doc .summary p:last-child, .doc .summary ul:last-child { margin-bottom: 0 }
.contact { font-size: 20px; margin: 4px 0 8px }
.contact .addr { font-weight: 600; user-select: all; -webkit-user-select: all }
.note { border-left: 2px solid var(--hairline); padding-left: 16px; color: var(--ink2) }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 36px 0 48px; font-size: 15px; color: var(--ink2) }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px }
.site-footer a { color: var(--ink2) }
.site-footer a:hover { color: var(--ink) }
.site-footer p { margin: 0 }

/* ---------- Phone mockups (fixed looks) ---------- */
.phone { width: 292px; height: 610px; border-radius: 44px; padding: 10px; background: #000; flex: none; max-width: 100%;
  box-shadow: 0 0 0 1px #2A2F3A, 0 30px 60px -30px rgba(0,0,0,.5) }
.night .phone { box-shadow: 0 0 0 1px #1E2330, 0 40px 80px -20px rgba(0,0,0,.8) }
.screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative; display: flex; flex-direction: column;
  font-family: var(--font); font-variant-numeric: tabular-nums; line-height: 1.3 }
.status { height: 44px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 28px; font-size: 13px; font-weight: 600 }
.island { position: absolute; top: 10px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 14px; background: #000 }
.scr-body { flex: 1; display: flex; flex-direction: column; padding: 4px 18px 10px; gap: 10px; min-height: 0 }
.tabs { flex: none; display: flex; justify-content: space-around; padding: 8px 0 20px; font-size: 10px; border-top: 1px solid }
.tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px }
.tabs i { display: block; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid currentColor }
.tabs .t-moon i { border-radius: 50%; border-color: transparent; box-shadow: inset -5px -3px 0 0 currentColor; transform: rotate(-25deg) }

.scr-night { background: var(--night); color: var(--night-tx) }
.scr-night .status { color: #8C7E66 }
.scr-night .small { font-size: 12px; color: #8C7E66; text-align: center }
.scr-night .moon { align-self: center; margin-top: 40px }
.scr-night .time { font-size: 58px; font-weight: 200; text-align: center; letter-spacing: -0.02em; line-height: 1; margin-top: 6px }
.scr-night .live { display: flex; justify-content: center; gap: 22px; margin-top: 14px }
.scr-night .live div { text-align: center }
.scr-night .live b { display: block; font-size: 20px; font-weight: 400 }
.scr-night .live span { font-size: 11px; color: #8C7E66 }
.scr-night .spark { width: 200px; height: 34px; margin: 12px auto 0 }
.scr-night .btn { margin-top: auto; border-radius: 999px; padding: 12px; text-align: center; font-size: 15px; border: 1px solid #3A3328; color: #8C7E66 }
.scr-night .foot { font-size: 11px; color: #6E6452; text-align: center }
.scr-night .tabs { border-color: var(--night-line); color: #5E5546 }
.scr-night .tabs .on { color: #8C7E66 }

.scr-day { background: var(--bg); color: var(--ink) }
.scr-day .title { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px }
.scr-day .date { font-size: 12px; color: var(--ink2); margin-top: -4px }
.scr-day .hl { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em }
.scr-day .hl em { font-style: normal; color: var(--red) }
.scr-day .sub { font-size: 12.5px; color: var(--ink2) }
.scr-day .chart { width: 100%; height: auto; background: var(--surface); border-radius: 8px }
.scr-day .chart text { font-family: var(--font) }
.scr-day .stats { display: flex; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 7px 0 }
.scr-day .stats div { flex: 1; padding: 0 6px; border-left: 1px solid var(--hairline) }
.scr-day .stats div:first-child { border-left: 0; padding-left: 0 }
.scr-day .stats b { display: block; font-size: 14px; white-space: nowrap }
.scr-day .stats span { font-size: 10px; color: var(--ink2) }
.scr-day .btn { border-radius: 12px; padding: 11px; text-align: center; font-weight: 600; font-size: 15px; background: var(--accent); color: #fff }
.scr-day .lst div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--hairline); font-size: 13px }
.scr-day .lst small { color: var(--ink2); font-size: 11px; margin-left: 6px }
.scr-day .lst b { font-weight: 600; color: var(--red) }
.scr-day .tabs { border-color: var(--hairline); color: var(--ink3); background: var(--surface) }
.scr-day .tabs .on { color: var(--accent) }
.doc h3 { font-size: 17px; margin: 24px 0 6px }
.sheet .chart-sm { display: none }
@media (max-width: 600px) { .sheet .chart-lg { display: none } .sheet .chart-sm { display: block } }
