/* Sitlight website. The app's look: soft paper by day, deep night blue by night, a sage accent and warm sand.
   No web fonts: Apple devices show New York and SF, like the app; others fall back to Georgia and their system sans. */

:root {
  --bg: #f5f3ec;
  --bg-2: #efebe1;
  --card: #ffffff;
  --card-2: #fbfaf6;
  --line: #e2ddd1;
  --text: #1d2420;
  --muted: #59605b;
  --faint: #737a75;
  --accent: #3e7c74;
  --accent-ink: #2b625b;
  --accent-soft: #e3eeea;
  --sand: #86622f;
  --sand-soft: #f3e9d6;
  --phone: linear-gradient(160deg, #3a4048, #12161b);
  --glow: rgba(62, 124, 116, 0.16);
  --shadow: 0 1px 2px rgba(29, 36, 32, 0.05), 0 12px 32px -12px rgba(29, 36, 32, 0.14);
  --shadow-lg: 0 40px 80px -36px rgba(23, 38, 34, 0.45), 0 18px 36px -20px rgba(23, 38, 34, 0.3);
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161d;
    --bg-2: #161b23;
    --card: #1b212a;
    --card-2: #181e26;
    --line: #2a313c;
    --text: #edeae3;
    --muted: #a7ada9;
    --faint: #8d948f;
    --accent: #7fc4b8;
    --accent-ink: #9ad3c9;
    --accent-soft: rgba(127, 196, 184, 0.12);
    --sand: #d8b77e;
    --sand-soft: rgba(216, 183, 126, 0.12);
    --glow: rgba(127, 196, 184, 0.13);
    --shadow: none;
    --shadow-lg: 0 40px 80px -36px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 760px); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 22px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.top__soon {
  margin-left: auto;
  padding: 7px 14px;
  border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 999px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Shared section pieces */
.sec { position: relative; padding: 104px 0; }
.sec + .sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 32px, 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}
.sec--tint { background: var(--bg-2); }
.sec--tint + .sec::before, .sec + .sec--tint::before { display: none; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--sand);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sec__head { max-width: 660px; margin-bottom: 44px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head h2 { font-size: clamp(34px, 4.6vw, 52px); }
.sec__lead { margin-top: 18px; color: var(--muted); font-size: 19px; }
.note { color: var(--faint); font-size: 15px; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split--flip > :first-child { order: 2; }
.visual { position: relative; display: grid; place-items: center; }
.visual::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  background: radial-gradient(closest-side, var(--glow), transparent 75%);
  pointer-events: none;
}

/* Device frames */
.phone {
  --w: 280px;
  position: relative;
  width: var(--w);
  margin: 0;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.165);
  background: var(--phone);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), var(--shadow-lg);
}
.phone img { display: block; width: 100%; border-radius: calc(var(--w) * 0.135); }
.phone--lg { --w: 304px; }
.phone--sm { --w: 236px; }
.phones { position: relative; display: flex; align-items: flex-start; justify-content: center; }
.phones .phone + .phone { margin-left: -64px; margin-top: 64px; }

.watch {
  position: relative;
  width: 176px;
  margin: 0;
  padding: 13px;
  border-radius: 54px;
  background: var(--phone);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-lg);
}
.watch img { display: block; width: 100%; border-radius: 42px; }
.watch::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -7px;
  width: 9px;
  height: 40px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4a5059, #1d2126);
}
.watch--lg { width: 236px; border-radius: 70px; padding: 16px; }
.watch--lg img { border-radius: 56px; }
.watch--lg::after { height: 52px; width: 11px; right: -9px; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.2vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 em { display: block; color: var(--accent); font-style: italic; }
.hero__lead { max-width: 33em; margin-top: 26px; color: var(--muted); font-size: 20px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border: 1px dashed color-mix(in srgb, var(--accent) 65%, transparent);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
}
.store img { width: 34px; height: 34px; border-radius: 9px; }
.store small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.store strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.2; }
.more { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.hero .note { margin-top: 18px; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 660px; }
.ripples { position: absolute; top: 50%; left: 50%; width: 660px; height: 660px; transform: translate(-50%, -50%); pointer-events: none; }
.ripples circle { fill: none; stroke: var(--accent); }
.ripples .r1 { stroke-opacity: 0.32; }
.ripples .r2 { stroke-opacity: 0.2; }
.ripples .r3 { stroke-opacity: 0.12; }
.ripples .glow { fill: var(--glow); stroke: none; }
.devices { position: relative; transform: translateX(56px); }
.devices .watch { position: absolute; left: -158px; bottom: 44px; transform: rotate(-5deg); }

/* Steps */
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--sand) 55%, transparent);
  border-radius: 50%;
  color: var(--sand);
  font-family: var(--serif);
  font-size: 18px;
}
.steps h3 { font-size: 24px; margin: 4px 0 6px; }
.steps p { color: var(--muted); }

.callout {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.callout svg { margin-top: 3px; color: var(--accent); }

/* Feature lists with icon chips */
.feats { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.feats li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.chip {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.feats h3 { font-size: 21px; margin: 2px 0 4px; }
.feats p { color: var(--muted); }
.pro { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--sand-soft); color: var(--sand); font: 650 11px/1.7 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 3px; }
.free { background: var(--accent-soft); color: var(--accent-ink); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin: 14px 0 6px; }
.card p { color: var(--muted); font-size: 16px; }
.card--wide { grid-column: span 2; }
.card__meta { margin-top: 12px; color: var(--faint); font-size: 14px; }
.course { display: grid; grid-template-columns: 1fr; }

/* Pricing */
.price { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; align-items: start; }
.price__card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.price__card--pro { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.price__plan { font-size: 28px; }
.price__amount { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.price__num { font-family: var(--serif); font-size: 46px; line-height: 1; }
.price__per { color: var(--muted); }
.price h4 { margin: 26px 0 10px; color: var(--faint); font: 650 12.5px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.ticks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.ticks svg { margin-top: 5px; color: var(--accent); }
.plans { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-2); }
.plan--best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h3 { font-family: var(--sans); font-size: 17px; font-weight: 650; letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 14.5px; }
.plan .plan__price { color: var(--text); font-family: var(--serif); font-size: 25px; white-space: nowrap; text-align: right; }
.plan .plan__price span { color: var(--muted); font-family: var(--sans); font-size: 14px; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; vertical-align: 2px; }
.price__small { margin-top: 22px; color: var(--faint); font-size: 14px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 22px; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateX(-2px); }
.faq__a { padding: 0 4px 24px; color: var(--muted); }
.faq__a p + p { margin-top: 10px; }

/* Final call and footer */
.final { text-align: center; }
.final h2 { font-size: clamp(34px, 4.6vw, 52px); }
.final .sec__lead { max-width: 34em; margin-inline: auto; }
.final .cta { justify-content: center; }

.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.foot .brand { font-size: 20px; }
.foot__tag { margin-top: 10px; max-width: 26em; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; align-content: start; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--text); }
.foot__care { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* Text pages (privacy, support) */
.page { padding: 56px 0 24px; }
.page h1 { font-size: clamp(38px, 5.6vw, 56px); }
.page .meta { margin-top: 10px; color: var(--faint); font-size: 15px; }
.prose h2 { font-size: 26px; margin: 40px 0 10px; }
.prose p { max-width: 40em; color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose .intro { margin-top: 28px; font-size: 19px; color: var(--muted); }
.contact { margin: 30px 0 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.contact a { font-size: 19px; font-weight: 600; }
.page .faq { margin: 0; max-width: none; }
.page .faq summary h3 { font-size: 20px; }

/* Smaller screens */
@media (max-width: 900px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip > :first-child { order: 0; }
  .hero { padding-top: 48px; }
  .hero__visual { min-height: 560px; }
  .ripples { width: 540px; height: 540px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__links { justify-content: flex-start; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .top__row { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 8px 16px; }
  .nav { order: 3; width: 100%; gap: 15px; overflow-x: auto; padding-bottom: 2px; }
  .nav a { font-size: 14px; }
  .sec { padding: 72px 0; }
  .hero__lead, .sec__lead { font-size: 18px; }
  .hero__visual { min-height: 500px; }
  .phone--lg { --w: 256px; }
  .phone { --w: 240px; }
  .phone--sm { --w: 200px; }
  .phones .phone + .phone { margin-left: -96px; }
  .devices { transform: translateX(40px); }
  .devices .watch { width: 110px; left: -96px; bottom: 18px; border-radius: 36px; padding: 9px; }
  .devices .watch img { border-radius: 28px; }
  .devices .watch::after { width: 7px; height: 28px; right: -5px; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .price__card { padding: 22px; }
  .plan { grid-template-columns: 1fr; }
  .plan .plan__price { text-align: left; }
  .faq summary h3 { font-size: 19px; }
}

/* Small extras */
.app-icon { width: 96px; height: 96px; margin-bottom: 26px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.sec > .wrap > .note, .faq__more { margin-top: 26px; }
.faq__group { margin: 48px 0 8px; font-size: 26px; }
.faq__group + details { border-top: 1px solid var(--line); }
.split + .cards { margin-top: 72px; }
