/* CalScout — calscout.app. One accent, lots of room, the product doing the talking. */

:root {
  --ground: #f8f7f5;
  --band: #f1eeea;
  --card: #ffffff;
  --ink: #1a1816;
  --ink2: #5c5651;
  --ink3: #6c655f;
  --line: #e3dfd9;
  --accent: #e85d20;
  --accent-deep: #b03c0e;
  --button: #b9400f;
  --button-hover: #993308;
  --soft: rgba(232, 93, 32, 0.10);
  --shadow: 0 1px 2px rgba(40, 25, 10, .06), 0 12px 32px -8px rgba(40, 25, 10, .18), 0 40px 80px -24px rgba(40, 25, 10, .16);
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141211;
    --band: #1b1917;
    --card: #232020;
    --ink: #f1ece6;
    --ink2: #bdb4aa;
    --ink3: #a59c93;
    --line: #34302c;
    --accent: #f07a3f;
    --accent-deep: #f6925d;
  --button: #f07a3f;
  --button-hover: #f6925d;
    --soft: rgba(240, 122, 63, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -8px rgba(0, 0, 0, .5), 0 40px 80px -24px rgba(0, 0, 0, .5);
  }
}

*, *::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(--ground);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav nav a { color: var(--ink2); }
.nav nav a:hover { color: var(--ink); text-decoration: none; }
.nav .nav-cta { color: #fff; background: var(--button); padding: 6px 14px; border-radius: 99px; font-weight: 600; }
.nav .nav-cta:hover { color: #fff; background: var(--button-hover); }
@media (prefers-color-scheme: dark) { .nav .nav-cta, .nav .nav-cta:hover { color: #1a1210; } }
@media (max-width: 600px) {
  .nav nav { gap: 16px; font-size: 14px; }
  .nav nav a:not(.nav-cta):not([href="/support/"]) { display: none; }
}

/* Hero */
.hero { text-align: center; padding: 72px 0 0; overflow: hidden; }
.hero-icon { width: 132px; height: 132px; margin: 0 auto 26px; filter: drop-shadow(0 18px 30px rgba(140, 60, 20, .22)); }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 750; max-width: 15ch; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink2); max-width: 36em; margin: 22px auto 0; }
.availability { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 9px 18px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--ink2); }
.availability strong { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.platforms { margin-top: 14px; font-size: 14px; color: var(--ink3); }

.stage { margin: 56px auto 0; max-width: 1040px; padding: 0 24px; }
.ipad { background: #1c1b1a; padding: clamp(8px, 1.3vw, 16px); border-radius: clamp(18px, 2.6vw, 34px); box-shadow: var(--shadow);
  border: 1px solid #3a3836; }
.ipad video, .ipad img { border-radius: clamp(10px, 1.4vw, 18px); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f8f7f5; }
.stage-caption { color: var(--ink3); font-size: 14px; margin-top: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 88px; padding-bottom: 24px; }
.step h2 { font-size: 21px; letter-spacing: -0.015em; margin: 14px 0 6px; }
.step p { color: var(--ink2); }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--accent-deep);
  font-weight: 700; font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 22px; padding-top: 64px; } }

/* Sections */
.section { padding: 104px 0; }
.band { background: var(--band); }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: var(--accent-deep); }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; line-height: 1.08; margin-top: 10px; }
.section-head p { color: var(--ink2); font-size: 19px; margin-top: 16px; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-text { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.12; margin: 10px 0 14px; }
.feature p { color: var(--ink2); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 22px; margin-top: 8px; color: var(--ink2); }
.feature li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2.5px; background: var(--accent); opacity: .85; }
@media (max-width: 860px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-text { order: 0; }
  .feature + .feature { margin-top: 80px; }
  .section { padding: 80px 0; }
}

.pro { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--soft);
  color: var(--accent-deep); font-size: 11px; font-weight: 750; letter-spacing: .06em; }
@media (prefers-color-scheme: light) { .pro { color: #963208; } }

.window { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.window img { width: 100%; }
.phone { width: min(320px, 78%); margin: 0 auto; border-radius: 46px; padding: 10px; background: #1c1b1a; box-shadow: var(--shadow); border: 1px solid #3a3836; }
.phone img { border-radius: 37px; width: 100%; }
.tablet { border-radius: 26px; padding: 11px; background: #1c1b1a; box-shadow: var(--shadow); border: 1px solid #3a3836; }
.tablet img { border-radius: 16px; width: 100%; }

/* Devices */
.devices { display: grid; grid-template-columns: 1.55fr 1.15fr .42fr; gap: 28px; align-items: end; margin-top: 8px; }
.devices .phone { width: 100%; border-radius: 30px; padding: 7px; }
.devices .phone img { border-radius: 24px; }
@media (max-width: 860px) { .devices { grid-template-columns: 1fr; } .devices .tablet, .devices .phone { display: none; } }
.device-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.device-notes h3 { font-size: 18px; margin-bottom: 6px; }
.device-notes p { color: var(--ink2); font-size: 16px; }
@media (max-width: 760px) { .device-notes { grid-template-columns: 1fr; } }

/* Small things */
.things { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.thing { background: var(--card); padding: 22px 22px 24px; }
.thing h3 { font-size: 16px; margin-bottom: 4px; letter-spacing: -0.005em; }
.thing p { font-size: 15px; color: var(--ink2); }
@media (max-width: 860px) { .things { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .things { grid-template-columns: 1fr; } }

/* Privacy band */
.privacy-band { text-align: center; }
.privacy-band h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; }
.privacy-band p { color: var(--ink2); max-width: 36em; margin: 16px auto 0; font-size: 18px; }
.lock { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--accent); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; letter-spacing: -0.015em; }
.price { font-size: 44px; font-weight: 750; letter-spacing: -0.03em; margin-top: 14px; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--ink3); letter-spacing: 0; margin-left: 6px; }
.plan .note { color: var(--ink2); margin-top: 10px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .36em; width: 13px; height: 7px; border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plan .plus { color: var(--ink3); font-size: 14px; margin-top: 18px; }
.fair { text-align: center; color: var(--ink3); font-size: 15px; max-width: 36em; margin: 28px auto 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Download */
.download { text-align: center; }
.download img.app { width: 96px; height: 96px; margin: 0 auto 20px; filter: drop-shadow(0 12px 22px rgba(140, 60, 20, .2)); }
.download h2 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -0.03em; }
.download p { color: var(--ink2); margin-top: 12px; font-size: 18px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; margin-top: 0; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--ink3); margin-top: 10px; max-width: 22em; font-size: 14px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink3); margin-bottom: 10px; font-weight: 650; }
.footer-cols a { display: block; color: var(--ink2); margin-top: 6px; }
.footer-base { color: var(--ink3); font-size: 13px; margin-top: 40px; }

/* Text pages (support, privacy, terms, press, releases) */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.08; }
.page .intro { color: var(--ink2); font-size: 19px; margin-top: 16px; }
.page h2 { font-size: 24px; letter-spacing: -0.02em; margin: 52px 0 12px; }
.page h3 { font-size: 18px; margin: 28px 0 6px; }
.page p, .page li { color: var(--ink2); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page li { margin-top: 6px; }
.page .updated { color: var(--ink3); font-size: 14px; margin-top: 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { background: var(--card); border: 1px solid var(--line); padding: 6px 14px; border-radius: 99px; font-size: 14px; color: var(--ink2); }
.toc a:hover { color: var(--ink); text-decoration: none; border-color: var(--ink3); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--ink3); font-weight: 400; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { margin-top: 10px; }
details p + p { margin-top: 10px; }
kbd { font: 13px/1 ui-monospace, "SF Mono", Menlo, monospace; padding: 2px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--card); color: var(--ink); }
.contact { margin-top: 56px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact h2 { margin-top: 0; }
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.press-grid img { border-radius: 10px; border: 1px solid var(--line); }
.button { display: inline-block; background: var(--button); color: #fff; padding: 10px 20px; border-radius: 99px; font-weight: 600; margin-top: 16px; }
.button:hover { background: var(--button-hover); text-decoration: none; }
@media (prefers-color-scheme: dark) { .button, .button:hover { color: #1a1210; } }
.release { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 40px; }
.release h2 { margin-top: 20px; }
.release .date { color: var(--ink3); font-size: 14px; }
.notfound { text-align: center; padding: 140px 0; }
.after-grid { margin-top: 16px; }
.notfound h1 { font-size: 44px; letter-spacing: -0.03em; }
.notfound p { color: var(--ink2); margin-top: 12px; }
/* Links inside running text are underlined, not told apart by colour alone. */
.page p a:not(.button), .page li a, .privacy-band p a { text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
