/* Layout: a single centred column (max 1120px) with full-bleed bands for the hero and the closing call to action.
   Colours and the display face come from the brand preset, injected as custom properties in <head>. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: var(--display-transform);
  letter-spacing: var(--display-tracking);
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(42px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-transform); letter-spacing: var(--display-tracking); font-size: 21px; }
.site-header nav { display: flex; gap: 22px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--link); }
.site-header nav .button { color: var(--accent-ink); }
@media (max-width: 720px) { .site-header nav a:not(.button) { display: none; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; text-decoration: none;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); text-decoration: none; }
.button.large { padding: 15px 26px; font-size: 18px; }
.button svg { width: 20px; height: 20px; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Hero */
.hero { padding-block: 72px 40px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper2) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero .copy { display: grid; gap: 22px; }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 34ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .requirements { font-size: 14px; color: var(--muted); }
.brew { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; max-width: 100%; overflow-x: auto; }
.brew button { font: inherit; background: none; border: 0; color: var(--link); cursor: pointer; padding: 0 0 0 6px; }
/* App screenshots already include the window's title bar, so only the frame and shadow are added. */
.window { border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(20, 20, 30, .35), 0 8px 20px -10px rgba(20, 20, 30, .2); }
.window img { display: block; width: 100%; }

/* Contact sheet: the files people actually lose, by their real camera names */
.sheet { padding-block: 34px 10px; }
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sheet li { display: grid; gap: 6px; }
.sheet .frame { aspect-ratio: 4 / 3; border-radius: 8px; position: relative; overflow: hidden; }
.sheet .frame::after { content: "✓"; position: absolute; right: 7px; bottom: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--good); }
.sheet code { font: 12.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.sheet .frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .sheet ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Promise strip */
.promises { padding-block: 40px; }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.promises li { display: grid; gap: 6px; align-content: start; }
.promises b { font-size: 17px; }
.promises span { color: var(--muted); font-size: 15px; }
.promises svg { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 860px) { .promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sections */
section.block { padding-block: 72px; }
section.block > .wrap > header { display: grid; gap: 12px; max-width: 720px; margin-bottom: 36px; }
section.block > .wrap > header p { font-size: 19px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: var(--display-weight); font-size: 40px; line-height: 1; color: var(--accent); }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.free { background: var(--paper2); }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 16px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare td.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare tr.us td { font-weight: 700; background: var(--accent-soft); vertical-align: middle; }
.compare .app-name { display: inline-flex; align-items: center; gap: 10px; }
.compare .app-name img { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 2px 4px rgba(20, 38, 63, .25)); }
.compare tr:last-child td { border-bottom: 0; }
.fineprint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.proof { margin: 48px auto 0; max-width: 760px; display: grid; gap: 14px; }
.proof figcaption { text-align: center; color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 28px; }
.features div { display: grid; gap: 8px; align-content: start; }
.features h3 { font-size: 20px; }
.features p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

.honest { border: 1px solid var(--line); background: var(--card); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.honest p { color: var(--muted); max-width: 62ch; }
@media (max-width: 760px) { .honest { grid-template-columns: minmax(0, 1fr); } }

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding-block: 4px; }
summary { cursor: pointer; padding-block: 16px; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > p, details > ul, details > ol { padding-bottom: 16px; color: var(--muted); }

.closing { background: var(--accent); color: var(--accent-ink); }
.closing .wrap { display: grid; gap: 18px; justify-items: start; padding-block: 72px; }
.closing p { font-size: 19px; max-width: 52ch; opacity: .92; }
.closing .button { background: var(--accent-ink); color: var(--accent); }

/* Guides */
.article { padding-block: 48px 80px; }
.article .wrap { max-width: 780px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 14px; }
.article .updated { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.prose { display: grid; gap: 18px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 34px); margin-top: 26px; }
.prose h3 { margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.prose aside.note { background: var(--accent-soft); border-radius: 14px; padding: 16px 18px; }
.prose a.download { display: inline-flex; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 11px 20px; font-weight: 600; text-decoration: none; justify-self: start; }
.prose section.faq { display: grid; gap: 0; }
.prose code { font: 0.88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--paper2); padding: 1px 5px; border-radius: 5px; }
.prose figure { margin: 8px 0; display: grid; gap: 12px; }
.prose figure > img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--paper2); }
.prose figure .window { box-shadow: 0 18px 44px -18px rgba(20, 20, 30, .32), 0 4px 12px -6px rgba(20, 20, 30, .16); }
.prose figcaption { font-size: 14.5px; color: var(--muted); }
.prose figcaption a { color: inherit; }
@media (min-width: 980px) { .prose figure.wide { margin-inline: -70px; } .prose figure.wide figcaption { padding-inline: 70px; } }
.prose ol.walkthrough { list-style: none; padding: 0; counter-reset: walk; gap: 44px; }
.prose ol.walkthrough > li { counter-increment: walk; display: grid; gap: 14px; }
.prose ol.walkthrough h2 { margin-top: 0; display: flex; align-items: baseline; gap: 14px; }
.prose ol.walkthrough h2::before { content: counter(walk); flex: none; display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .62em; font-family: inherit; font-weight: 700; transform: translateY(-.12em); }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 560px) { .related ul { grid-template-columns: minmax(0, 1fr); } }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-list a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; color: var(--ink); height: 100%; }
.guide-list a:hover { border-color: var(--accent); }
.guide-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 56px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer b { color: var(--ink); display: block; margin-bottom: 8px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-block: 48px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
