:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-2: #f3eee3;
  --text: #13233a;
  --muted: #5b6878;
  --line: #e6dfd0;
  --brand: #1f6feb;
  --brand-ink: #ffffff;
  --accent: #ff8a3d;
  --green: #2f9e57;


  --radius: 20px;
  --shadow: 0 1px 2px rgba(19, 35, 58, .06), 0 8px 28px rgba(19, 35, 58, .08);
  --font-display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* One look in light and dark mode: the warm beige is the brand. */
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h2 .by { color: var(--muted); font-weight: 500; font-size: .55em; letter-spacing: 0; white-space: nowrap; }
p { margin: 0 0 1em; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem var(--font-display); }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--brand); color: var(--brand-ink);
  font: 600 1rem var(--font-body); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent);
}
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: .92rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn-light { background: #fff; color: #13233a; box-shadow: none; }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); box-shadow: none; cursor: default; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 64px);
}
.hero h1 span { color: var(--brand); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-icons { display: flex; justify-content: center; align-items: center; gap: clamp(8px, 2vw, 20px); }
.hero-icons img { width: clamp(90px, 13vw, 150px); height: auto; filter: drop-shadow(0 18px 30px rgba(19, 35, 58, .22)); }
.hero-icons { flex-wrap: nowrap; gap: clamp(4px, 1.2vw, 12px); }
.hero-icons img { width: clamp(58px, 7.4vw, 104px); }
.hero-icons img:nth-child(even) { transform: translateY(-16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sections */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-3px); }
.card.soon { box-shadow: none; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-icon { width: 60px; height: 60px; flex: none; }
/* macOS icons fill ~80% of their canvas; give symbol tiles the same visible size and corner. */
.card-symbol { display: grid; place-items: center; }
.card-symbol span {
  display: grid; place-items: center; width: 80%; height: 80%; border-radius: 22.5%;
  font-size: 24px; background: linear-gradient(160deg, var(--surface-2), var(--line));
}
.card h3 { margin: 0; }
.platform { font-size: .78rem; font-weight: 600; color: var(--muted); }
.tagline { font-weight: 600; margin: 0; }
.card .desc { color: var(--muted); margin: 0; font-size: .96rem; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.card li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.price { font: 800 1.6rem var(--font-display); }
.price small { font: 500 .8rem var(--font-body); color: var(--muted); margin-left: 4px; }
.badge { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* Spotlights */
.spotlight { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.spotlight.reverse .spot-text { order: 2; }
.spot-icon { margin-bottom: 16px; }
.spot-tag { font: 700 1.2rem var(--font-display); color: var(--brand); }
.spot-text > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green); mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6Z"/></svg>') center/contain no-repeat; }
.spot-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #111; }

/* Why */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.why article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-icon { font-size: 28px; margin-bottom: 10px; }
.why p { color: var(--muted); margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 780px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA + footer */
.cta {
  margin: 0 clamp(16px, 4vw, 48px) 64px; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; border-radius: 28px;
  background: linear-gradient(135deg, #1f6feb, #2f9e57); color: #fff;
}
.cta p { opacity: .9; font-size: 1.1rem; }
.footer { border-top: 1px solid var(--line); padding: 32px clamp(16px, 4vw, 48px); color: var(--muted); display: grid; gap: 6px; }
.footer .brand { color: var(--text); font-size: 1.05rem; }
.footer p { margin: 0; }
.small { font-size: .8rem; }

/* Toast */
#toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 500;
  transition: opacity .2s, translate .2s; max-width: calc(100vw - 32px);
}
#toast.show { opacity: 1; translate: -50% 0; }

/* Phone */
@media (max-width: 860px) {
  .hero, .spotlight { grid-template-columns: 1fr; }
  .spotlight.reverse .spot-text { order: 0; }
  .nav nav a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
}

/* Product pages */
.product-hero { align-items: start; }
.product-hero .spot-shot { margin-top: 48px; }
.product-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.audience { color: var(--muted); }
.buy-row { display: flex; align-items: center; gap: 20px; margin: 28px 0 10px; }
.muted { color: var(--muted); }
.more { margin-top: 20px; }
.more a { color: var(--brand); font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.footer a { color: inherit; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 800 1rem var(--font-display); }
.steps p { color: var(--muted); margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.compare thead th:last-child, .compare td:last-child { color: var(--text); font-weight: 600; }
.compare td { color: var(--muted); }
.compare tbody th { font-weight: 600; }
.updated { margin-top: 24px; }
/* Screenshots that carry their own transparent margin and window shadow */
.spot-shot.bare { border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }

/* Wordmark: "Angle" sits at a Dutch angle */
.wordmark { white-space: nowrap; letter-spacing: -.01em; }
.wordmark .tilt { display: inline-block; transform: rotate(-8deg); color: var(--brand); }
.wordmark b { font-weight: 500; color: var(--muted); }

/* Four film tools sit in a 2 x 2 grid on wider screens */
@media (min-width: 720px) { .grid[data-category="film"] { grid-template-columns: repeat(2, 1fr); } }
.card-foot .btn { white-space: nowrap; }
