:root {
  --bg: #f6f6fb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #14162b;
  --muted: #5a5e78;
  --line: rgba(20, 22, 43, 0.10);
  --accent: #3b55e6;
  --accent-2: #2fb7cc;
  --button-text: #ffffff;
  --hero-a: #2b3fa8;
  --hero-b: #6b4bc4;
  --hero-c: #e7908a;
  --shadow: 0 20px 60px rgba(20, 22, 60, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e1c;
    --surface: rgba(30, 33, 58, 0.72);
    --surface-solid: #181a30;
    --text: #eef0fb;
    --muted: #a3a8c6;
    --line: rgba(238, 240, 251, 0.10);
    --accent: #7c8dff;
    --accent-2: #58dcea;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
header.site .brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); text-decoration: none; }
header.site .brand img { width: 28px; height: 28px; }
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c));
  color: #fff;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.45; pointer-events: none;
}
.hero::before { width: 420px; height: 420px; background: #8fe9ff; left: -120px; top: -140px; }
.hero::after { width: 380px; height: 380px; background: #ffb3d1; right: -100px; bottom: -160px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero .icon { width: 96px; height: 96px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3)); }
.hero h1 { font-size: 52px; line-height: 1.05; margin: 18px 0 12px; letter-spacing: -0.02em; }
.hero p.lede { font-size: 21px; margin: 0 0 24px; color: rgba(255,255,255,0.88); max-width: 30em; }
.hero .shot { width: 100%; height: auto; max-width: 420px; justify-self: center; border-radius: 26px; box-shadow: 0 30px 80px rgba(10, 10, 40, 0.45); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.16); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.button.primary { background: #fff; color: #1d2470; border-color: #fff; }
.button:hover { filter: brightness(1.05); }
.price-note { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 14px; }

section { padding: 64px 0; }
section h2 { font-size: 32px; letter-spacing: -0.01em; margin: 0 0 10px; }
section p.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .glyph { font-size: 20px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); display: block; }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }

.menubar-demo { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.menubar-demo .bar { display: inline-flex; align-items: center; gap: 14px; padding: 6px 14px; border-radius: 10px; background: var(--surface-solid); border: 1px solid var(--line); }
.menubar-demo img { height: 18px; display: block; }
.menubar-demo .light-only { display: block; }
.menubar-demo .dark-only { display: none; }
@media (prefers-color-scheme: dark) {
  .menubar-demo .light-only { display: none; }
  .menubar-demo .dark-only { display: block; }
}

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.numbers .card strong { display: block; font-size: 34px; letter-spacing: -0.02em; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pricing .card .amount { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.pricing ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.pricing .button { background: var(--accent); color: var(--button-text); border-color: var(--accent); }
.pricing .button.ghost { background: transparent; color: var(--accent); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.doc { max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.doc h1 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 4px; }
.doc .date { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc li { margin-bottom: 6px; }
.doc code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 15px; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .hero h1 { font-size: 40px; }
  .grid, .numbers { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  header.site nav { gap: 12px; font-size: 14px; }
  .grid, .numbers, .shots { grid-template-columns: 1fr; }
  .hero p.lede { font-size: 18px; }
}

/* Guide pages */
.guide h3 { margin-bottom: 4px; }
.guide .guide-shot { margin: 28px auto; max-width: 320px; }
.guide .guide-shot img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.guide .guide-shot figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }
.guide .actions { margin: 20px 0 8px; }
.guide .button { background: var(--accent); color: var(--button-text); border-color: var(--accent); }
.guide .button.ghost { background: transparent; color: var(--accent); }
.guide section.faq { padding: 24px 0 8px; }
footer.site .foot-guides { flex-basis: 100%; }

/* More Mac apps from Tundra */
.tundra-more{margin:1.5rem 0 0;padding-top:1.25rem;border-top:1px solid color-mix(in srgb,currentColor 14%,transparent);text-align:left}
.tundra-more-title{margin:0 0 .75rem;font-size:.875rem;font-weight:600;letter-spacing:normal;text-transform:none}
.tundra-more ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem 1.25rem}
.tundra-more li{margin:0;padding:0}
.tundra-more a{display:inline-flex;align-items:center;gap:.5rem;color:inherit;text-decoration:none;font-size:.875rem;line-height:1.2}
.tundra-more a:hover span,.tundra-more a:focus-visible span{text-decoration:underline}
.tundra-more img{width:28px;height:28px;border-radius:22%;flex:none;display:block}
footer.site .tundra-more{margin:1.5rem max(20px, calc((100% - 1040px) / 2)) 0}
footer.site .tundra-more a{color:inherit}

/* Comparison page */
.compare-page { max-width: 920px; }
.table-scroll { overflow-x: auto; margin: 20px 0 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-solid); }
table.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
table.compare th, table.compare td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.compare thead th { background: color-mix(in srgb, var(--accent) 10%, transparent); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

/* Guides: breadcrumbs, hub list, related links, code blocks (SEO pass 2026-10-28) */
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--muted); }
.guide-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.guide-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 0; }
.guide-list a { font-weight: 600; }
.guide-list p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.guide pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 14px; }
.guide pre code { background: none; border: 0; padding: 0; }
.guide .related { margin-top: 28px; }
.guide .note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; }
footer.site .wrap > span { min-width: 0; overflow-wrap: anywhere; }
.tundra-more ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 24px; }
.tundra-more li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tundra-more-desc { font-size: .8125rem; line-height: 1.35; opacity: .85; }
.tundra-more-all { margin: 1rem 0 0; font-size: .875rem; }
.tundra-more-all a { color: inherit; }
.doc p, .doc li { overflow-wrap: anywhere; }
