/* Lull product site. System fonts (SF Pro on a Mac), one accent taken from the app's
   battery ring, light and dark from the OS. Shared by every page; no build step. */
:root {
  --bg: #fbfbfd;
  --bg-2: #f2f3f5;
  --card: #ffffff;
  --nav-bg: rgba(251, 251, 253, 0.78);
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --rule: rgba(0, 0, 0, 0.08);
  --rule-2: rgba(0, 0, 0, 0.14);
  --accent: #157a43;
  --accent-fill: #1c8c4e;
  --accent-fill-hover: #18a058;
  --accent-ink: #ffffff;
  --accent-soft: rgba(28, 140, 78, 0.09);
  --glow: rgba(52, 199, 89, 0.18);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06), 0 30px 80px -20px rgba(0, 0, 0, 0.28);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1080px;
  --text: 680px;
  --section: clamp(72px, 10vw, 136px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-2: #0e0f10;
    --card: #161618;
    --nav-bg: rgba(0, 0, 0, 0.74);
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --ink-3: #98989d;
    --rule: rgba(255, 255, 255, 0.1);
    --rule-2: rgba(255, 255, 255, 0.18);
    --accent: #4cd98a;
    --accent-fill: #1f9d57;
    --accent-fill-hover: #26b365;
    --accent-soft: rgba(76, 217, 138, 0.1);
    --glow: rgba(52, 199, 89, 0.16);
    --shadow-md: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
code { font: 0.9em var(--mono); background: var(--bg-2); padding: 0.1em 0.35em; border-radius: 5px; }
kbd { font: 0.85em var(--sans); border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 5px; padding: 0 0.35em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a:not(.button) { color: var(--ink-2); }
.nav-links a:not(.button):hover { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .nav-links a:not(.button) { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 980px; font-size: 16px; font-weight: 500; border: 1px solid transparent; transition: background-color 0.2s, border-color 0.2s; }
.button:hover { text-decoration: none; }
.button.primary { background: var(--accent-fill); color: var(--accent-ink); }
.button.primary:hover { background: var(--accent-fill-hover); }
.button.secondary { color: var(--accent); border-color: var(--rule-2); }
.button.secondary:hover { border-color: var(--accent); }
.button.small { min-height: 34px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 9vw, 112px) var(--section); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; background: radial-gradient(50% 50% at 70% 40%, var(--glow), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 980px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; margin-top: 20px; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.shot { justify-self: center; width: min(360px, 100%); filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22)); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .shot { width: min(300px, 80%); }
}

/* Sections */
.section { padding-block: var(--section); border-top: 1px solid var(--rule); }
.section.alt { background: var(--bg-2); }
.section-head { max-width: var(--text); margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; }
.section-head p { font-size: 19px; color: var(--ink-2); margin-top: 14px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--card); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-md); }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 16px; }
.feature .icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.compat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.compat div { border: 1px solid var(--rule-2); border-radius: 16px; padding: 22px; }
.compat strong { display: block; font-size: 18px; margin-bottom: 6px; }
.compat span { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 980px; margin-bottom: 10px; }
.compat .yes { background: var(--accent-soft); color: var(--accent); }
.compat .maybe, .compat .no { background: var(--bg-2); color: var(--ink-3); }
.compat p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .compat { grid-template-columns: 1fr; } }

.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; background: var(--card); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.price .amount { font-family: var(--display); font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
.price p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 700px) { .price { grid-template-columns: 1fr; } }

.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guides a { display: block; background: var(--card); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-md); color: var(--ink); }
.guides a:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.guides strong { display: block; font-size: 18px; }
.guides span { display: block; color: var(--ink-3); font-size: 15px; margin-top: 4px; }
@media (max-width: 700px) { .guides { grid-template-columns: 1fr; } }

.faq { max-width: var(--text); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 20px; }

/* Guide and legal pages */
.article { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.article .wrap { max-width: var(--text); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3); }
.article h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 700; }
.article .lede { margin-top: 18px; }
.article h2 { font-size: 26px; margin-top: 48px; margin-bottom: 12px; }
.article p, .article ul, .article ol { margin-top: 14px; color: var(--ink-2); }
.article li { margin-top: 6px; }
.article strong { color: var(--ink); }
.answer { margin-top: 28px; padding: 20px 24px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); }
.answer p { color: var(--ink); margin: 0; }
.inline-shot { margin: 28px auto 0; width: min(320px, 100%); filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.2)); }
.callout { margin-top: 40px; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-md); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.callout img { width: 56px; height: 56px; }
.callout p { margin: 0; color: var(--ink-2); }
.callout .button { margin-top: 12px; }
.sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; }
.sources p, .sources li { color: var(--ink-3); }

/* Footer */
.footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding-block: 48px 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { color: var(--ink-3); margin-top: 10px; max-width: 26em; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer nav a { color: var(--ink-2); }
.f-title { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 8px; color: var(--ink-3); font-size: 12.5px; }
.footer-base a { color: var(--ink-2); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
