/* Layout: one left-aligned column; the hero pairs the promise with a "viewfinder" that turns one screenshot into three saved items. */
:root {
  --paper: #f4f7ff;      /* cool page ground */
  --surface: #ffffff;    /* the screenshot card */
  --ink: #0b1a4a;        /* text, brand night */
  --muted: #4a5a86;      /* secondary text */
  --royal: #2f6cf0;      /* action blue, from the app */
  --deep: #1740b2;       /* button pressed, links */
  --sky: #c9defd;        /* viewfinder brackets, rules */
  --event: #e5372c;      /* Calendar */
  --reminder: #d97e00;   /* Reminders */
  --contact: #6b7280;    /* Contacts */
  --on-royal: #ffffff;
  --display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --wrap: 1120px;
  /* One spacing scale for every gap, padding and margin */
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px;
  --section: clamp(36px, 4.5vw, 56px);  /* half the gap between two sections */
  --gutter: 20px;
  --r-lg: 22px; --r-md: 16px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #071131; --surface: #0f1d4d; --ink: #eef3ff; --muted: #a9b8e0; --royal: #5b8dff; --deep: #9ab9ff;
  --sky: #2a3f86; --event: #ff6a60; --reminder: #ffb340; --contact: #b4bccc; --on-royal: #071131; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #071131; --surface: #0f1d4d; --ink: #eef3ff; --muted: #a9b8e0; --royal: #5b8dff; --deep: #9ab9ff;
  --sky: #2a3f86; --event: #ff6a60; --reminder: #ffb340; --contact: #b4bccc; --on-royal: #071131; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
a { color: var(--deep); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: var(--s1); background: var(--surface); color: var(--ink); padding: var(--s1) var(--s3); border-radius: var(--s1); z-index: 20; }
.skip:focus { left: max(var(--s3), env(safe-area-inset-left, 0px)); }
img { max-width: 100%; height: auto; display: block; }
.mail { user-select: all; }

/* Header */
.top { padding-block: var(--s3); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.brand { display: flex; align-items: center; gap: var(--s2); font: 900 1.35rem var(--display); color: var(--ink); text-decoration: none; min-height: 44px; }
.brand img { width: 36px; height: 36px; }
.top nav { display: flex; align-items: center; gap: var(--s4); }
.top nav a { font: 800 0.95rem var(--display); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.top nav a.get { color: var(--royal); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--s2); background: var(--royal); color: var(--on-royal); text-decoration: none;
  font: 800 1.05rem var(--display); padding: var(--s3) var(--s4); min-height: 52px; border-radius: 999px; }
.btn:hover { background: var(--deep); }
.btn:active { background: #5c574f; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.cta { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.price-note { color: var(--muted); font-size: 0.95rem; }

/* Sections: every section gets the same padding, so every gap between sections is equal */
section { padding-block: var(--section); }
main > section:first-child { padding-top: var(--s5); }
main > section:last-child { padding-bottom: calc(var(--section) * 2); }
.head { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.head p, .lede, .page-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.45; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s6); align-items: center; }
.hero h1 { font-size: var(--step-4); }
.hero h1 span { display: block; }
@media (min-width: 821px) { .hero h1 span { white-space: nowrap; } }
.lede { margin-top: var(--s4); max-width: 36ch; }

/* The viewfinder: the one bold element */
.finder { position: relative; padding: var(--s5); }
.finder::before, .finder::after, .finder .c3, .finder .c4 { content: ""; position: absolute; width: 56px; height: 56px; border: 7px solid var(--sky); }
.finder::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: var(--r-lg); }
.finder::after { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: var(--r-lg); }
.finder .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: var(--r-lg); }
.finder .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: var(--r-lg); }
.shot { background: var(--surface); border-radius: var(--r-lg); padding: var(--s4); box-shadow: 0 18px 50px -24px rgba(23, 64, 178, 0.45); }
.from { display: flex; align-items: center; gap: var(--s2); font-weight: 600; font-size: 0.95rem; }
.from img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.bubble { margin-top: var(--s2); background: var(--paper); border-radius: 18px 18px 18px 6px; padding: var(--s2) var(--s3); width: fit-content; max-width: 100%; }
.out { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.out li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: var(--s2); background: var(--surface); border-radius: var(--r-md); padding: var(--s2) var(--s3); border-left: 5px solid var(--kind); }
.out li b { display: block; font-weight: 650; }
.out li small { color: var(--muted); font-size: 0.85rem; }
.out .tick { width: 22px; height: 22px; }
.kind { width: 34px; height: 34px; border-radius: 10px; background: var(--kind); display: grid; place-items: center; }
.kind svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ev { --kind: var(--event); } .ct { --kind: var(--contact); } .rm { --kind: var(--reminder); }
@media (prefers-reduced-motion: no-preference) {
  .hero .out li { animation: land 600ms cubic-bezier(.2,.8,.2,1) both; }
  .hero .out li:nth-child(2) { animation-delay: 120ms; } .hero .out li:nth-child(3) { animation-delay: 240ms; }
  @keyframes land { from { transform: translateY(-14px) scale(0.98); } to { transform: none; } }
}

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: var(--s1); align-content: start; }
.steps li::before { content: counter(s); font: 900 3.2rem/1 var(--display); color: var(--royal); }
.steps p { color: var(--muted); }

/* Real examples */
.cases { display: grid; border-top: 2px solid var(--sky); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: var(--s4); align-items: center; padding-block: var(--s4); border-bottom: 2px solid var(--sky); }
.case .in { font-size: 0.98rem; }
.case .in strong { display: block; font: 800 1.1rem var(--display); margin-bottom: var(--s1); }
.case .in q { color: var(--muted); quotes: none; }
.case .out { margin: 0; }
.arrow { width: 40px; height: 24px; stroke: var(--royal); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.shots { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s2); }
.shots img { width: 240px; flex: 0 0 auto; border-radius: var(--r-lg); scroll-snap-align: start; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.facts li { padding-left: var(--s5); position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 9px; border-left: 4px solid var(--royal); border-bottom: 4px solid var(--royal); border-radius: 2px; transform: rotate(-45deg); }
.ai { margin-top: var(--s5); display: grid; gap: var(--s3); }

/* Founder */
.founder { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s4); align-items: start; max-width: 780px; }
.founder > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.founder .bio { display: grid; gap: var(--s3); }
.founder blockquote { margin: 0; font-size: 1.125rem; line-height: 1.6; display: grid; gap: var(--s3); }
.founder blockquote p { max-width: 58ch; }
.founder figcaption { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.plan { background: var(--surface); border-radius: var(--r-lg); padding: var(--s4); display: grid; gap: var(--s1); }
.plan.best { outline: 3px solid var(--royal); }
.plan .amt { font: 900 var(--step-2) var(--display); }
.plan .amt small { font: 600 1rem var(--body); color: var(--muted); }
.plan p { color: var(--muted); }
.fine { margin-top: var(--s4); color: var(--muted); font-size: 0.9rem; }
.more { margin-top: var(--s3); font-weight: 600; }

/* Questions */
details { border-bottom: 2px solid var(--sky); padding-block: var(--s3); }
.head + details, details:first-of-type { border-top: 2px solid var(--sky); }
summary { cursor: pointer; font: 800 1.1rem var(--display); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--royal); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: var(--s2); color: var(--muted); }

.end .wrap { display: grid; gap: var(--s4); }

/* Inner pages */
.page-head { padding-bottom: 0; }
.page-head h1 { font-size: var(--step-3); }
.page-head p { margin-top: var(--s3); max-width: 46ch; }
.byline { margin-top: var(--s3); color: var(--muted); font-size: 0.95rem; display: flex; align-items: center; gap: var(--s2); }
.byline img { width: 32px; height: 32px; border-radius: 50%; }
.prose { display: grid; gap: var(--s3); }
.prose > * { max-width: 70ch; }
.prose > .table-wrap { max-width: none; }
.prose h2 { margin-top: var(--s4); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s1); }
.prose ul.facts { padding-left: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.98rem; }
th, td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 2px solid var(--sky); vertical-align: top; }
th { font: 800 1rem var(--display); }
td:first-child { font-weight: 600; }
.log { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); }
.log > li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s1) var(--s4); }
.log h2 { font-size: var(--step-1); }
.log .when { color: var(--muted); font-weight: 600; }
.log ul { margin: var(--s1) 0 0; padding-left: 1.2em; display: grid; gap: var(--s1); }

/* Footer */
footer { padding-block: var(--s5) var(--s6); color: var(--muted); font-size: 0.9rem; border-top: 2px solid var(--sky); }
footer .wrap { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; }
footer .links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s4); }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: var(--s5); }
  .steps { grid-template-columns: 1fr; gap: var(--s4); }
  .case { grid-template-columns: 1fr; gap: var(--s3); }
  .arrow { transform: rotate(90deg); }
  .plans { grid-template-columns: 1fr; }
  .finder { padding: var(--s4); }
  .log > li { grid-template-columns: 1fr; }
  .top nav { gap: var(--s3); }
}
@media (max-width: 520px) { .founder { grid-template-columns: 1fr; } .top nav a.about { display: none; } }
