@font-face {
  font-family: 'Manrope';
  src: url('/tools/brief-studio/assets/manrope-8ca8ff5c88.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/tools/brief-studio/assets/manrope-semibold-440e082a96.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/tools/brief-studio/assets/instrument-serif-bb24c9c1e1.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f5f4ef;
  --paper: #ffffff;
  --ink: #1d2d27;
  --muted: #52625b;
  --border: #d7ded8;
  --forest: #223e34;
  --forest-hover: #193028;
  --forest-soft: #eaf0e7;
  --slate: #344e64;
  --slate-hover: #273e52;
  --slate-soft: #e8eff4;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #43779c;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  z-index: 100;
}
.skip:focus {
  left: 16px;
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.header-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-id {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-cta {
  color: var(--forest);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}
.site-nav .nav-cta:hover {
  border-color: #aebcb3;
  background: var(--forest-soft);
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.hero h1 {
  margin: 0 0 20px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--forest);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--forest-hover);
}

.btn-notebook {
  background: var(--slate);
  color: #ffffff;
}
.btn-notebook:hover {
  background: var(--slate-hover);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: #bdc8c1;
}
.btn-secondary:hover {
  background: #eff3ee;
  border-color: #9db0a5;
}

.btn-ghost {
  padding: 10px 6px;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(34, 62, 52, 0.35);
}
.btn-ghost:hover {
  text-decoration-color: var(--forest);
}

.meta-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--muted);
}

.meta-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-pills li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6c8772;
  flex: none;
}

.hero-media {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(29, 45, 39, 0.08);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 50%;
}

.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.hero-media figcaption span {
  font-weight: 600;
  color: var(--ink);
}

.hero-media figcaption small {
  color: var(--muted);
  font-size: 12px;
}

/* Comparison cards */
.compare {
  padding: 40px 0 56px;
}

.section-head {
  max-width: 68ch;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.workspace-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.studio-card {
  border-top: 4px solid var(--forest);
}

.notebook-card {
  border-top: 4px solid var(--slate);
}

.card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--forest-soft);
  color: var(--forest);
  margin-bottom: 14px;
}

.notebook-badge {
  background: var(--slate-soft);
  color: var(--slate);
}

.workspace-card h3 {
  margin: 0 0 10px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
}

.workspace-card .card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid #e7ece8;
  padding-top: 20px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--forest);
}

.notebook-card .feature-list li::before {
  background: var(--slate);
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.card-actions .btn {
  width: 100%;
}

.sub-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.sub-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(82, 98, 91, 0.35);
}

.sub-links a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* Highlights */
.highlights {
  padding: 16px 0 56px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.highlight {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--forest);
  margin-bottom: 10px;
}

.highlight h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.highlight p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA band */
.cta-band {
  padding: 8px 0 64px;
}

.cta-band-inner {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.cta-band p:last-child {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 56ch;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(29, 45, 39, 0.3);
}

.footer-links {
  display: flex;
  gap: 18px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 0 18px;
  }
  .workspace-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 0 36px;
  }
  .workspace-card {
    padding: 24px;
  }
  .cta-band-inner {
    padding: 26px 22px;
  }
  .site-nav {
    gap: 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .site-nav .nav-cta {
    padding: 6px 11px;
  }
  .brand-text strong {
    font-size: 20px;
    white-space: nowrap;
  }
  .brand-text small {
    white-space: nowrap;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn-ghost {
    text-align: center;
  }
}
