:root {
  --parchment: #f6f5f0;
  --surface: #ffffff;
  --forest: #0a211d;
  --forest-mid: #12332d;
  --emerald: #0f9f77;
  --emerald-bright: #2ee5ac;
  --emerald-tint: #e6f7f1;
  --slate-ink: #111b19;
  --slate-muted: #4b5c58;
  --forest-text: #eef6f3;
  --forest-muted: #9eb8b1;
  --border: rgba(17, 27, 25, 0.11);
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius-xl: 24px;
  --radius-md: 15px;
  --shadow: 0 16px 42px rgba(10, 33, 29, 0.07);
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); background: var(--parchment);
  color: var(--slate-ink); line-height: 1.66; font-size: 16.5px;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--emerald); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Navigation Bar */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(246, 245, 240, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0.78rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; font-weight: 700; font-size: 1.02rem; color: var(--forest);
}
.logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 3px 10px rgba(10,33,29,0.16); }
.wave-badge {
  display: inline-flex; align-items: center; gap: 3px; height: 14px; margin-left: 2px;
}
.wave-badge i {
  display: block; width: 2.5px; background: var(--emerald); border-radius: 2px;
  animation: pulsebar 1.3s ease-in-out infinite;
}
.wave-badge i:nth-child(1) { height: 7px; animation-delay: 0s; }
.wave-badge i:nth-child(2) { height: 13px; animation-delay: 0.2s; }
.wave-badge i:nth-child(3) { height: 9px; animation-delay: 0.4s; }
@keyframes pulsebar { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1.1); } }

.nav-items { display: flex; align-items: center; gap: 1.45rem; }
.nav-items a.link {
  text-decoration: none; font-size: 0.94rem; font-weight: 500; color: var(--slate-muted);
}
.nav-items a.link:hover, .nav-items a.link[aria-current="page"] { color: var(--forest); font-weight: 700; }
.nav-dl {
  background: var(--forest); color: #fff; text-decoration: none;
  padding: 0.52rem 1rem; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
}
.nav-dl:hover { background: var(--forest-mid); }

/* Store Pill */
.store-pill {
  display: inline-flex; align-items: center; gap: 0.72rem;
  background: var(--forest); color: #fff; text-decoration: none;
  padding: 0.78rem 1.28rem; border-radius: 14px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(10, 33, 29, 0.2);
  transition: transform 0.18s ease, background 0.18s ease;
}
.store-pill:hover { transform: translateY(-2px); background: var(--forest-mid); }
.store-pill--light { background: var(--emerald-bright); color: #062119; box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
.store-pill--light:hover { background: #5bf0bf; }
.store-pill svg { width: 21px; height: 21px; flex-shrink: 0; }
.store-pill span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-pill small { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.78; }
.store-pill strong { font-size: 0.97rem; font-weight: 700; }

/* Editorial Split Hero */
.workspace-hero {
  padding: 4.2rem 1.4rem 4.8rem;
  background:
    radial-gradient(820px 420px at 85% 15%, rgba(15, 159, 119, 0.12), transparent 65%),
    var(--parchment);
  border-bottom: 1px solid var(--border);
}
.wrap { max-width: 1180px; margin: 0 auto; }
.hero-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em;
  background: var(--emerald-tint); color: #09694e; padding: 0.36rem 0.78rem; border-radius: 999px; font-weight: 600;
}
.workspace-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.35rem, 4.5vw, 3.7rem); line-height: 1.08; letter-spacing: -0.025em;
  margin: 1.1rem 0 1.05rem; color: var(--forest);
}
.workspace-hero h1 em { font-style: italic; color: var(--emerald); font-weight: 500; }
.lead-copy { font-size: 1.12rem; color: var(--slate-muted); max-width: 560px; margin: 0 0 1.8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-bottom: 1.8rem; }
.outline-btn {
  padding: 0.82rem 1.2rem; border-radius: 14px; border: 1px solid var(--border);
  background: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--forest);
}
.outline-btn:hover { border-color: var(--emerald); }
.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
  padding-top: 1.3rem; border-top: 1px solid var(--border); font-size: 0.84rem; color: var(--slate-muted);
}
.trust-strip strong { display: block; color: var(--forest); font-size: 0.95rem; }

/* Showcase Visual Collage */
.hero-devices {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 1rem; align-items: center;
}
.device-card {
  background: var(--forest); padding: 8px; border-radius: 26px;
  box-shadow: 0 24px 60px rgba(10, 33, 29, 0.22); position: relative; overflow: hidden;
}
.device-card img, .device-card video { border-radius: 19px; width: 100%; }
.sound-chip {
  position: absolute; bottom: 15px; right: 15px;
  background: rgba(10, 33, 29, 0.86); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; padding: 6px 12px; font-family: var(--font-mono); font-size: 0.72rem; cursor: pointer;
}

/* Sections */
.band { padding: 4.5rem 1.4rem; }
.band--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band--forest { background: var(--forest); color: var(--forest-text); }
.band-intro { max-width: 720px; margin-bottom: 2.6rem; }
.band-intro .mono { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--emerald); font-weight: 600; display: block; margin-bottom: 0.45rem; }
.band--forest .band-intro .mono { color: var(--emerald-bright); }
.band-intro h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.65rem); line-height: 1.14; margin: 0 0 0.75rem; font-weight: 600; }
.band-intro p { margin: 0; color: var(--slate-muted); font-size: 1.05rem; }
.band--forest .band-intro p { color: var(--forest-muted); }

/* Multi-Device Bento */
.bento-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.bento-item {
  background: var(--forest-mid); border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl); padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem;
}
.bento-item picture img { border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); width: 100%; }
.bento-item h3 { margin: 0; font-size: 1.18rem; color: #fff; }
.bento-item p { margin: 0; font-size: 0.94rem; color: var(--forest-muted); line-height: 1.58; }

/* Mac Wide Feature */
.mac-showcase {
  margin-top: 1.6rem; background: var(--forest-mid); border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl); padding: 1.8rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
}
.mac-showcase img, .mac-showcase video { border-radius: 14px; border: 1px solid rgba(255,255,255,0.14); }

/* Templates Chip Wall */
.template-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.template-pills span {
  background: var(--parchment); border: 1px solid var(--border);
  padding: 0.4rem 0.78rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: var(--forest);
}

/* Guides Grid */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.filter-box {
  padding: 0.68rem 1rem; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; font-family: inherit; font-size: 0.95rem; min-width: 265px;
}
.notes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.note-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.35rem; text-decoration: none; display: grid; grid-template-columns: 112px 1fr; gap: 1.15rem;
  align-items: center; box-shadow: var(--shadow); transition: transform 0.18s ease, border-color 0.18s ease;
}
.note-card:hover { transform: translateY(-2px); border-color: var(--emerald); }
.note-thumb { width: 112px; height: 156px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: var(--forest); }
.note-tag { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--emerald); font-weight: 600; }
.note-card h3 { margin: 0.32rem 0 0.45rem; font-size: 1.11rem; line-height: 1.32; color: var(--forest); }
.note-card p { margin: 0 0 0.55rem; font-size: 0.91rem; color: var(--slate-muted); line-height: 1.52; }
.note-go { font-size: 0.85rem; font-weight: 700; color: var(--forest); }

/* Pricing Cards */
.plans-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.plan-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between;
}
.plan-box--main { background: var(--forest); color: var(--forest-text); border-color: var(--emerald); }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; margin: 0.45rem 0; }
.plan-price small { font-family: var(--font-body); font-size: 0.9rem; opacity: 0.75; font-weight: 400; }
.plan-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.52rem; font-size: 0.93rem; }
.plan-list li::before { content: "✦ "; color: var(--emerald); font-weight: 700; }
.plan-box--main .plan-list li::before { color: var(--emerald-bright); }

/* Article View */
.guide-header {
  background: var(--forest); color: var(--forest-text); padding: 3.2rem 1.4rem 3.4rem;
}
.crumbs { font-family: var(--font-mono); font-size: 0.75rem; color: var(--forest-muted); margin-bottom: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.crumbs a { color: var(--emerald-bright); text-decoration: none; }
.guide-header h1 { font-family: var(--font-display); font-size: clamp(1.95rem, 3.7vw, 2.95rem); line-height: 1.12; max-width: 860px; margin: 0.45rem 0 1rem; font-weight: 600; }
.guide-header p { font-size: 1.08rem; color: var(--forest-muted); max-width: 780px; margin: 0; }
.guide-layout {
  max-width: 1160px; margin: 0 auto; padding: 3rem 1.4rem 4.5rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start;
}
.article-body h2 { font-family: var(--font-display); font-size: 1.55rem; color: var(--forest); margin: 2.25rem 0 0.7rem; scroll-margin-top: 90px; }
.article-body p { margin: 0 0 1.05rem; color: #1b2825; }
.article-body ol, .article-body ul { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.article-body li { margin-bottom: 0.55rem; }
.summary-callout {
  background: var(--emerald-tint); border-left: 4px solid var(--emerald);
  padding: 1.15rem 1.35rem; border-radius: 0 12px 12px 0; margin: 0 0 1.8rem;
}
.summary-callout strong { display: block; font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; color: #08664b; margin-bottom: 0.3rem; }
.verdict-box {
  background: linear-gradient(135deg, #0a211d 0%, #12332d 100%);
  color: var(--forest-text); border: 1px solid rgba(46, 229, 172, 0.36);
  border-left: 5px solid var(--emerald-bright);
  padding: 1.3rem 1.45rem; border-radius: 14px; margin: 0 0 1.9rem;
  box-shadow: var(--shadow);
}
.verdict-box strong {
  display: block; font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--emerald-bright); margin-bottom: 0.42rem;
}
.verdict-box p { margin: 0; color: var(--forest-text) !important; font-size: 1rem; line-height: 1.62; }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.compare-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.4rem; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between;
  gap: 0.9rem; box-shadow: var(--shadow); transition: transform 0.18s ease, border-color 0.18s ease;
}
.compare-card:hover { transform: translateY(-2px); border-color: var(--emerald); }
.compare-card h3 { margin: 0.32rem 0 0.45rem; font-size: 1.12rem; line-height: 1.32; color: var(--forest); }
.compare-card p { margin: 0; font-size: 0.92rem; color: var(--slate-muted); line-height: 1.54; }
.btn-hub-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--forest); color: #fff; text-decoration: none;
  padding: 0.84rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.94rem;
}
.btn-hub-link:hover { background: var(--forest-mid); }
.spec-table-wrap { overflow-x: auto; margin: 1.6rem 0 2rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table caption { text-align: left; padding: 0.85rem 1rem; font-weight: 700; background: #eef2ef; border-bottom: 1px solid var(--border); }
.spec-table th, .spec-table td { padding: 0.78rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; color: var(--slate-muted); background: #f9faf8; }

.prep-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; margin: 2.2rem 0; box-shadow: var(--shadow); }
.prep-box h2 { margin-top: 0; font-size: 1.32rem; }
.prep-row { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); cursor: pointer; font-size: 0.95rem; }
.prep-row:last-child { border-bottom: 0; }
.prep-row input { margin-top: 0.28rem; accent-color: var(--emerald); width: 17px; height: 17px; flex-shrink: 0; }

.guide-sidebar { position: sticky; top: 88px; display: grid; gap: 1.25rem; }
.side-promo { background: var(--forest); color: var(--forest-text); border-radius: var(--radius-md); padding: 1.3rem; }
.side-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.95rem; }
.side-shots img { border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); width: 100%; height: 165px; object-fit: cover; }
.side-promo h3 { margin: 0.25rem 0 0.45rem; font-size: 1.08rem; }
.side-promo p { margin: 0 0 1rem; font-size: 0.88rem; color: var(--forest-muted); line-height: 1.5; }
.side-toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.15rem; }
.side-toc strong { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; color: var(--slate-muted); display: block; margin-bottom: 0.6rem; }
.side-toc a { display: block; text-decoration: none; font-size: 0.88rem; color: var(--slate-muted); padding: 0.32rem 0; }
.side-toc a:hover { color: var(--emerald); }

.qa-stack { display: grid; gap: 0.75rem; margin-top: 1.1rem; }
.qa-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; }
.qa-card summary { font-weight: 700; cursor: pointer; color: var(--forest); }
.qa-card p { margin: 0.65rem 0 0; color: var(--slate-muted); font-size: 0.95rem; }

.footer { background: var(--forest); color: var(--forest-muted); padding: 3.2rem 1.4rem; font-size: 0.9rem; border-top: 1px solid var(--border-dark); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: var(--forest-text); text-decoration: none; }
.footer-nav a:hover { color: var(--emerald-bright); }

@media (max-width: 940px) {
  .hero-split, .bento-3, .mac-showcase, .notes-grid, .compare-grid, .plans-row, .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
}
@media (max-width: 600px) {
  .note-card { grid-template-columns: 1fr; }
  .note-thumb { width: 100%; height: 190px; }
  .trust-strip { grid-template-columns: 1fr; }
  .nav-items a.hide-xs { display: none; }
}
