/* ==========================================================================
   Goodgent v6 Master Design System Stylesheet
   Warm architectural ivory ground (#faf9f5), dense obsidian typography (#10120f),
   crisp white cards, hairline borders, butter-lime accents, and enlarged legible typography.
   ========================================================================== */

:root {
  /* Ground & Surfaces */
  --paper:             #faf9f5;
  --paper-2:           #f1f0e9;
  --white:             #ffffff;
  --ink:               #10120f;
  --ink-2:             #343730;
  --warm:              #4e5149;
  --muted:             #74776e;
  --line:              #dfddd2;
  --line-dark:         #c7c4b6;
  --accent:            #f4e985;
  --accent-hover:      #f8ef9c;
  --green:             #237d50;
  --green-soft:        #eaf5ee;
  --dark:              #111410;
  --dark-2:            #181c17;
  --blue:              #2186c4;
  --max:               1260px;
  --display:           'Manrope', sans-serif;
  --body:              'DM Sans', sans-serif;
  --mono:              'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.mono {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--warm);
  letter-spacing: 0.03em;
}

.eyebrow {
  display: inline-block;
  font: 600 13px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 221, 210, 0.85);
  transition: background 0.2s ease;
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  font: 800 26px/1 var(--display);
  letter-spacing: -0.055em;
  color: var(--ink);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.navlinks a:hover,
.navlinks a[aria-current='page'] {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: #ffffff !important;
  border-radius: 99px;
  padding: 10px 22px;
  font-weight: 650;
  font-size: 15px;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover {
  background: #2b2e28;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
  background: #292c27;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.btn.secondary:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn.accent {
  background: var(--accent);
  color: var(--ink);
  border-color: #d9cc5c;
}

.btn.accent:hover {
  background: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 84px 24px 44px;
  position: relative;
}

.hero > .mono {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--warm);
  padding: 6px 16px;
  background: #f0eee6;
  border: 1px solid #e2e0d6;
  border-radius: 20px;
}

.hero h1 {
  max-width: 1040px;
  margin: 0 auto 24px;
  font: 650 clamp(40px, 5.4vw, 68px)/1.04 var(--display);
  letter-spacing: -0.065em;
  color: var(--ink);
}

.hero h1 span {
  display: block;
  color: #4e5249;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: clamp(18px, 1.85vw, 21px);
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 32px 0 24px;
}

.hero-reassurance {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--muted);
  font: 500 13.5px/1.4 var(--mono);
}

.hero-reassurance span::before {
  content: '✓';
  color: var(--green);
  margin-right: 7px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3-Column Rich Product Demo
   -------------------------------------------------------------------------- */
.demo-shell {
  margin-bottom: 92px;
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: var(--paper-2);
}

.demo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1.3 var(--mono);
  color: var(--ink-2);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(35, 125, 80, 0.12);
}

.demo-tabs {
  display: none;
  padding: 3px;
  border-radius: 99px;
  background: rgba(16, 18, 15, 0.06);
  gap: 4px;
}

.demo-tab {
  border: 0;
  border-radius: 99px;
  padding: 7px 14px;
  background: transparent;
  color: var(--muted);
  font: 600 11.5px/1 var(--mono);
  cursor: pointer;
  transition: all 0.15s ease;
}

.demo-tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.replay-btn {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-2);
  padding: 7px 12px;
  font: 600 11px/1 var(--mono);
  cursor: pointer;
  transition: all 0.15s ease;
}

.replay-btn:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.demo-stage {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #314135;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(112deg, #103e38 0%, #2b684e 38%, #6b753e 67%, #1d281f 100%);
  box-shadow: 0 24px 60px rgba(24, 38, 27, 0.18);
}

.demo-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 74%, rgba(121, 190, 204, 0.66), transparent 29%),
              radial-gradient(circle at 82% 14%, rgba(174, 183, 92, 0.45), transparent 34%);
  pointer-events: none;
}

.demo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  min-height: 480px;
}

/* Demo Panel Common */
.demo-panel {
  background: #14171a;
  border: 1px solid #3a3d43;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.panel-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #303239;
  background: #191c20;
  color: #dfe2e7;
  font-size: 12.5px;
}

.panel-bar strong {
  color: #8dcaff;
  font-weight: 600;
}

.panel-bar.slack strong {
  color: #e0a3eb;
}

.panel-status {
  margin-left: auto;
  color: #8f939d;
  font: 500 10px/1 var(--mono);
}

/* Column 1: Telegram Panel */
.tg-body {
  height: calc(100% - 44px);
  padding: 16px;
  background: #17242d;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 12px;
  overflow-y: auto;
}

.tg-message {
  max-width: 94%;
  padding: 10px 13px;
  border-radius: 4px 12px 12px;
  background: #263e4c;
  color: #eef4f6;
  line-height: 1.45;
  font-size: 12.5px;
}

.tg-message.user {
  margin-left: auto;
  border-radius: 12px 4px 12px 12px;
  background: #2b5749;
  color: #ffffff;
}

.tg-message small {
  display: block;
  margin-top: 5px;
  color: #8ca6ae;
  text-align: right;
  font-size: 9px;
  font-family: var(--mono);
}

.approval-box {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #3b5260;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.25);
}

.approval-box p {
  margin-bottom: 8px;
  font-style: italic;
  font-size: 11.5px;
  line-height: 1.4;
}

.approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.approval-actions button {
  border: 1px solid #466778;
  border-radius: 5px;
  background: #2d4c5d;
  color: #fff;
  padding: 7px 6px;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
}

.approval-actions .approve {
  grid-column: 1 / -1;
  background: #326c56;
  border-color: #438c72;
  color: #c1ffe1;
}

.approved-state {
  display: none;
  margin-top: 7px;
  color: #adf0cd;
  font: 600 10px/1.4 var(--mono);
}

/* Column 2: Web Deep Work Panel */
.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  background: #141619;
  gap: 12px;
  overflow-y: auto;
}

.request-box, .progress-box {
  border: 1px solid #2f323a;
  border-radius: 8px;
  background: #1b1e23;
  padding: 12px 14px;
  color: #e6e8ec;
  font-size: 12px;
  line-height: 1.45;
}

.request-box small, .progress-box small {
  display: block;
  margin-bottom: 5px;
  color: #7d828e;
  font: 600 9px/1 var(--mono);
  text-transform: uppercase;
}

.progress-box {
  background: #111316;
}

.progress-line {
  padding: 3px 0;
  color: #aeb3bd;
  font-size: 11.5px;
}

.progress-line::before {
  content: '✓';
  color: #75d6a0;
  margin-right: 7px;
  font-weight: 700;
}

.output-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #3b3f48;
  border-radius: 8px;
  background: #1b1e24;
  padding: 12px 14px;
  color: #fff;
}

.file-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 42px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #db554e;
  font-size: 10px;
  font-weight: 800;
}

.file-info {
  min-width: 0;
  flex: 1;
}

.file-info b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
}

.file-info small {
  color: #8c919c;
  font: 500 9px/1.3 var(--mono);
}

.file-link {
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.file-link:hover {
  background: var(--accent-hover);
}

/* Column 3: Private Slack Direct Stream */
.slack-body {
  height: calc(100% - 44px);
  padding: 16px;
  background: #1a1d21;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11.5px;
  color: #d1d2d3;
  overflow-y: auto;
}

.slack-msg {
  border-left: 2px solid #8e44ad;
  padding-left: 11px;
}

.slack-author {
  font-weight: 700;
  color: #fff;
  font-size: 12px;
  margin-bottom: 2px;
}

.slack-time {
  font: 400 9px var(--mono);
  color: #868686;
  margin-left: 6px;
}

.slack-card {
  background: #222529;
  border: 1px solid #383f45;
  border-radius: 7px;
  padding: 10px 12px;
  margin-top: 6px;
  line-height: 1.45;
  font-size: 11.5px;
}

.slack-tag {
  display: inline-block;
  font: 700 8.5px/1 var(--mono);
  background: #3c2a4d;
  color: #d2b4de;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 5px;
}

/* --------------------------------------------------------------------------
   Channels Integration Section
   -------------------------------------------------------------------------- */
.channels-banner {
  padding: 54px 24px 72px;
  border-top: 1px solid var(--line);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.channel-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.18s ease;
}

.channel-item:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.channel-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.channel-item h3 {
  font: 700 19px/1.2 var(--display);
  color: var(--ink);
  letter-spacing: -0.03em;
}

.channel-badge {
  font: 600 10px/1.2 var(--mono);
  background: #f0eee6;
  color: var(--warm);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.channel-item p {
  font-size: 14px;
  color: var(--warm);
  line-height: 1.52;
}

/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section {
  padding: 90px 24px;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: var(--paper-2);
}

.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  margin-bottom: 14px;
  font: 650 clamp(32px, 4vw, 48px)/1.08 var(--display);
  letter-spacing: -0.055em;
  color: var(--ink);
}

.section-head h2 span {
  display: block;
  color: #4e5249;
}

.section-head p {
  color: var(--warm);
  font-size: 18px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Capabilities (Think, Write, Prepare, Move)
   -------------------------------------------------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cap-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.18s ease;
}

.cap-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.cap-badge {
  font: 700 11.5px/1.3 var(--mono);
  color: var(--green);
  margin-bottom: 12px;
}

.cap-card h3 {
  margin-bottom: 10px;
  font: 700 20px/1.2 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.cap-card p {
  color: var(--warm);
  font-size: 14.5px;
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.55;
}

.cap-card ul {
  list-style: none;
  padding-top: 12px;
  border-top: 1px solid #f0eee6;
}

.cap-card li {
  font-size: 13px;
  color: var(--muted);
  padding: 3px 0;
}

.cap-card li::before {
  content: '•';
  color: var(--ink);
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
   Intelligence Pillars (The 5 Core Pillars)
   -------------------------------------------------------------------------- */
.pillars-5-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.pillar-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.18s ease;
}

.pillar-box:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.pillar-tag {
  font: 700 11px/1.2 var(--mono);
  color: var(--green);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pillar-box h3 {
  font: 700 19px/1.25 var(--display);
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.pillar-box p {
  font-size: 14px;
  color: var(--warm);
  line-height: 1.55;
  margin-bottom: 14px;
}

.pillar-how {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0eee6;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.pillar-how strong {
  color: var(--ink);
  display: block;
  font-size: 11.5px;
  margin-bottom: 3px;
  font-family: var(--mono);
}

/* --------------------------------------------------------------------------
   Comparison Grid (ChatGPT vs Goodgent)
   -------------------------------------------------------------------------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.compare-card.good {
  border: 2px solid var(--ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.compare-card h3 {
  margin: 8px 0 14px;
  font: 700 24px/1.2 var(--display);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.compare-card p {
  color: var(--warm);
  font-size: 14.5px;
}

.compare-card ul {
  list-style: none;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.compare-card li {
  padding: 7px 0;
  color: var(--ink-2);
  font-size: 14px;
}

.compare-card li::before {
  content: '—';
  color: var(--muted);
  margin-right: 10px;
  font-weight: 700;
}

.compare-card.good li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* Anchor Quote Banner */
.anchor-quote-banner {
  max-width: 920px;
  margin: 42px auto 0;
  padding: 26px 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.anchor-quote-banner h3 {
  font: 700 19px/1.4 var(--display);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.anchor-quote-banner p {
  font-size: 15px;
  color: var(--warm);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Real Outputs (3 Examples)
   -------------------------------------------------------------------------- */
.example-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.example-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.example-type {
  font: 700 11.5px/1.2 var(--mono);
  color: var(--green);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.example-box {
  background: #f7f6f0;
  border: 1px solid #e6e4d8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.box-label {
  font: 600 10px/1 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.box-text {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.48;
  font-style: italic;
}

.example-result h4 {
  font: 650 15.5px/1.25 var(--display);
  color: var(--ink);
  margin-bottom: 10px;
}

.example-result ul {
  list-style: none;
}

.example-result li {
  font-size: 13.5px;
  color: var(--warm);
  padding: 3px 0;
}

.example-result li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
  margin-right: 7px;
}

/* --------------------------------------------------------------------------
   How It Works (4 Steps)
   -------------------------------------------------------------------------- */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.how-step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.step-badge {
  font: 700 11px/1 var(--mono);
  color: var(--ink);
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.how-step-card h3 {
  font: 700 18px/1.2 var(--display);
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.how-step-card p {
  font-size: 14px;
  color: var(--warm);
  line-height: 1.5;
}

.closing-punchline {
  text-align: center;
  font: 600 15px/1.4 var(--mono);
  color: var(--ink);
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Context Panel (Built Around Your Work)
   -------------------------------------------------------------------------- */
.context-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.context-copy h2 {
  font: 650 clamp(30px, 3.6vw, 42px)/1.1 var(--display);
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  color: var(--ink);
}

.context-copy p {
  font-size: 17px;
  color: var(--warm);
  line-height: 1.6;
}

.context-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.context-group {
  margin-bottom: 18px;
}

.context-group:last-child {
  margin-bottom: 0;
}

.context-group h4 {
  font: 650 15px/1 var(--display);
  color: var(--ink);
  margin-bottom: 10px;
}

.context-group ul {
  list-style: none;
}

.context-group li {
  font-size: 14px;
  color: var(--warm);
  padding: 4px 0;
}

.context-group li::before {
  content: '—';
  color: var(--muted);
  margin-right: 8px;
}

/* --------------------------------------------------------------------------
   Audience Cards
   -------------------------------------------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.audience-card h3 {
  font: 700 18px/1.2 var(--display);
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.audience-card p {
  font-size: 13.5px;
  color: var(--warm);
  line-height: 1.5;
  margin-bottom: 14px;
}

.audience-card ul {
  list-style: none;
  padding-top: 12px;
  border-top: 1px solid #f0eee6;
  margin-top: auto;
}

.audience-card li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 3px 0;
}

.audience-card li::before {
  content: '+';
  color: var(--green);
  font-weight: 700;
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.plan.primary {
  border: 2px solid var(--ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font: 700 10.5px/1.4 var(--mono);
}

.plan-label {
  color: var(--muted);
  font: 700 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.plan h3 {
  margin: 4px 0 12px;
  font: 700 24px/1.2 var(--display);
  color: var(--ink);
}

.price {
  font: 750 50px/1 var(--display);
  letter-spacing: -0.06em;
  color: var(--ink);
}

.price small {
  font: 400 14px/1 var(--body);
  color: var(--muted);
  letter-spacing: 0;
}

.founding {
  margin: 8px 0 16px;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 700;
}

.plan p {
  color: var(--warm);
  font-size: 14.5px;
  line-height: 1.5;
}

.plan ul {
  flex: 1;
  list-style: none;
  margin: 18px 0 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.plan li {
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 14px;
}

.plan li::before {
  content: '✓';
  color: var(--green);
  margin-right: 8px;
  font-weight: 700;
}

.managed-callout {
  max-width: 960px;
  margin: 28px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: center;
  font-size: 14.5px;
  color: var(--warm);
}

.managed-callout strong {
  color: var(--ink);
}

.guarantee {
  text-align: center;
  margin-top: 22px;
  color: var(--muted);
  font: 500 12.5px/1.4 var(--mono);
}

/* --------------------------------------------------------------------------
   Trust & Privacy
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.trust-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.trust-item::before {
  content: '🔒';
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 2px;
  font-weight: 650;
  font-size: 17px;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 2px 20px;
  color: var(--warm);
  font-size: 15px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  padding: 96px 24px 115px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  margin-bottom: 14px;
  font: 650 clamp(38px, 5.2vw, 62px)/1.04 var(--display);
  letter-spacing: -0.06em;
  color: var(--ink);
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--warm);
  font-size: 19px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 48px 24px 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  max-width: 440px;
  margin-top: 8px;
  color: var(--warm);
  font-size: 14px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Supporting Pages Layout & Content Styles
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 84px 24px 60px;
  text-align: center;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 auto 18px;
  font: 650 clamp(40px, 5vw, 64px)/1.02 var(--display);
  letter-spacing: -0.06em;
  color: var(--ink);
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--warm);
  font-size: 19px;
  line-height: 1.55;
}

.content {
  max-width: 880px;
  margin: 0 auto 90px;
}

.content-block {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.content-block h2 {
  margin-bottom: 14px;
  font: 700 28px/1.2 var(--display);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.content-block p {
  color: var(--warm);
  margin-bottom: 16px;
  font-size: 16.5px;
  line-height: 1.65;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.content-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 14.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Checkout Page */
.checkout-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 24px 90px;
}

.checkout-intro {
  text-align: center;
  margin-bottom: 34px;
}

.checkout-intro h1 {
  font: 650 clamp(36px, 4.8vw, 54px)/1.05 var(--display);
  letter-spacing: -0.055em;
  color: var(--ink);
}

.checkout-intro p {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--warm);
  font-size: 15.5px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.plan-choice {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s ease;
}

.plan-choice + .plan-choice {
  margin-top: 12px;
}

.plan-choice.active {
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.plan-choice b {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.plan-choice small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.next-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.next-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--warm);
  font-size: 13.5px;
  line-height: 1.45;
}

.next-row strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.field input {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  font-size: 15px;
}

.field input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 18, 15, 0.06);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-note {
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #b8dfc7;
  border-radius: 8px;
  background: var(--green-soft);
  color: #185f3e;
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cap-grid, .audience-grid, .how-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-5-grid {
    grid-template-columns: 1fr 1fr;
  }
  .channels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .navlinks {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav.menu-open .navlinks {
    display: flex;
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  }
  
  .hero h1 {
    font-size: clamp(26px, 5.2vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.045em;
  }
  
  .hero-copy {
    font-size: 16.5px;
    line-height: 1.5;
  }

  .demo-tabs {
    display: flex;
  }
  .demo-label span:last-child {
    display: none;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  
  .demo-grid.mode-tg #demo-web, .demo-grid.mode-tg #demo-slack {
    display: none !important;
  }
  .demo-grid.mode-tg #demo-telegram {
    display: flex !important;
  }
  
  .demo-grid.mode-web #demo-telegram, .demo-grid.mode-web #demo-slack {
    display: none !important;
  }
  .demo-grid.mode-web #demo-web {
    display: flex !important;
  }

  .demo-grid.mode-slack #demo-telegram, .demo-grid.mode-slack #demo-web {
    display: none !important;
  }
  .demo-grid.mode-slack #demo-slack {
    display: flex !important;
  }

  .pillar-box,
  .pillar-box[style] {
    grid-column: auto !important;
    width: 100%;
  }
  
  .compare-grid, .pricing-grid, .checkout-grid, .context-layout, .example-work-grid, .pillars-5-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid, .content-list {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding-inline: 16px;
  }
  .hero {
    padding: 46px 16px 30px;
  }
  .hero h1 {
    font-size: clamp(20px, 6vw, 25px);
    line-height: 1.16;
    letter-spacing: -0.04em;
    max-width: 100%;
  }
  .hero-copy {
    font-size: 14.5px;
    line-height: 1.48;
  }
  .hero-actions {
    flex-direction: column;
    max-width: 320px;
    margin: 24px auto 18px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    padding: 0 20px;
  }
  .section-head h2 {
    font-size: clamp(21px, 5.8vw, 26px);
    line-height: 1.18;
  }
  .cap-grid, .audience-grid, .how-steps-grid, .example-work-grid, .pillars-5-grid, .channels-grid {
    grid-template-columns: 1fr;
  }
  .pillar-box, .pillar-box[style] {
    grid-column: auto !important;
    width: 100%;
  }
  .demo-stage {
    padding: 14px;
    border-radius: 0 0 16px 16px;
  }
  .replay-btn {
    display: none;
  }
  .section {
    padding: 56px 16px;
  }
  .polar-embed-frame {
    height: 880px;
    min-height: 880px;
  }
}
