:root {
  --cream: #F6F2EA;
  --ink: #1E1B16;
  --muted: #4A443A;
  --forest: #2F4A3A;
  --clay: #B04A20;
  --clay-dark: #8F3A18;
  --sand: #EFE8D8;
  --sand-deep: #E6DCC8;
  --line: #D8CFBC;
  --serif: 'Bitter', Georgia, serif;
}

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

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

a { color: var(--clay); }
a:hover { color: var(--clay-dark); }

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 16px; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

h1 { font-size: clamp(36px, 5.2vw, 56px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 22px; font-weight: 700; line-height: 1.25; }

p { margin: 0; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--forest);
}

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.section-head p { font-size: 20px; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  padding: 15px 28px;
  min-height: 48px;
  border-radius: 999px;
}
.btn:hover { background: var(--clay-dark); color: #fff; }
.btn-sm { font-size: 17px; padding: 11px 20px; min-height: 44px; }

.link-strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  text-underline-offset: 4px;
}
.link-strong:hover { color: var(--clay-dark); }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.3px;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 42px; height: 42px; flex: none; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 21px; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 72px) 0; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.lede { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.45; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

.frame-wrap { display: flex; flex-direction: column; gap: 14px; }
.frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  background: #EFE8D8;
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #8A7F6B; display: block; }
.url {
  flex: 1;
  background: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shot {
  aspect-ratio: 16 / 10;
  background: var(--sand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: var(--muted);
}
.chip-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 16px; }
.chip {
  background: var(--forest);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Channels */
.channels { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.channels .eyebrow { color: var(--muted); margin-bottom: 20px; display: block; }
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 12px;
  text-align: center;
}
.channel svg { width: 36px; height: 36px; }
.channel b { font-size: 17px; }
.channel small { font-size: 13px; font-weight: 600; letter-spacing: 0.4px; color: var(--muted); }
.channel.more { background: transparent; border: 1.5px dashed #A89C84; color: var(--muted); }
.channels .note { margin-top: 20px; color: var(--muted); font-size: 17px; }

/* Familiar */
.familiar { background: var(--ink); color: var(--cream); }
.familiar h2 { margin-bottom: 36px; }
.three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.three p { font-size: 21px; line-height: 1.45; }

/* How */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.step { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--clay); padding-top: 18px; }
.step .num { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--clay); }
.step p { font-size: 17px; color: var(--muted); }

/* Loop */
.loop { background: var(--forest); color: var(--cream); }
.loop .section-head p { color: var(--cream); }
.loop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.loop-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loop-card p { font-size: 17px; color: var(--muted); }
.banner-demo {
  border: 1px solid var(--cream);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}
.banner-demo h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; line-height: 1.2; }
.banner-demo p { font-size: 17px; }
.banner-sample {
  background: var(--cream);
  color: var(--ink);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.banner-sample small { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.banner-sample b { font-family: var(--serif); font-size: 22px; line-height: 1.25; }

/* Work */
.work { background: var(--sand); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}
.card { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.card .shot { aspect-ratio: 16 / 9; }
.card-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 { font-family: var(--serif); font-size: 28px; }
.card-body p { font-size: 17px; color: var(--muted); }

/* Included: cards that open a detail dialog */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}
.inc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
@media (max-width: 1100px) { .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .included-grid { grid-template-columns: minmax(0, 1fr); } }
.inc-card p { font-size: 17px; color: var(--muted); }
.inc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.inc-more {
  margin-top: auto;
  padding: 8px 0 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--clay);
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.inc-more svg { width: 16px; height: 16px; }
.inc-more::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.inc-more:focus-visible { outline: none; }
.inc-more:focus-visible::after { outline: 3px solid var(--forest); outline-offset: 3px; }
.inc-dialog, .inc-card .detail, .inc-card .why { display: none; }
html:not(.js) .inc-card .detail, html:not(.js) .inc-card .why { display: block; }
html:not(.js) .inc-more { display: none; }

.inc-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  overflow: visible;
  color: var(--cream);
}
.inc-dialog[open] { display: block; }
.inc-dialog::backdrop { background: rgba(30, 27, 22, 0); transition: background 0.35s ease; }
.inc-dialog.in::backdrop { background: rgba(30, 27, 22, 0.6); }
.inc-panel {
  position: relative;
  background: var(--forest);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-height: calc(100vh - 32px);
  overflow: auto;
  opacity: 0;
  transform: perspective(1200px) rotateY(-75deg) scale(0.9);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}
.inc-dialog.in .inc-panel { opacity: 1; transform: perspective(1200px) rotateY(0) scale(1); }
.inc-panel .eyebrow { color: var(--sand-deep); }
.inc-panel h2 { font-size: clamp(28px, 4vw, 36px); padding-right: 48px; }
.inc-panel p { font-size: 20px; line-height: 1.55; }
.inc-why-label {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 242, 234, 0.3);
  width: 100%;
}
.inc-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(246, 242, 234, 0.5);
  border-radius: 50%;
  cursor: pointer;
}
.inc-x svg { width: 20px; height: 20px; }
.inc-x:hover { background: rgba(246, 242, 234, 0.12); }
.inc-panel .btn { background: var(--cream); color: var(--ink); border: 0; font-family: inherit; cursor: pointer; margin-top: 8px; }
.inc-panel .btn:hover { background: #fff; color: var(--ink); }
.inc-dialog :focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
body:has(.inc-dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .inc-card, .inc-card:hover { transition: none; transform: none; }
  .inc-panel, .inc-dialog::backdrop { transition: none; }
  .inc-panel { transform: none; }
}

/* Pricing */
.pricing { padding-top: 0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px;
}
.price-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price b { font-family: var(--serif); font-size: clamp(56px, 8vw, 72px); line-height: 1; letter-spacing: -2px; }
.price span { font-size: 20px; color: var(--muted); }
.price-card p { font-size: 18px; color: var(--muted); }
.ai-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ai-card h2 { font-size: clamp(26px, 3.4vw, 34px); }
.ai-card p { font-size: 18px; line-height: 1.55; }

.compare {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.compare p { font-size: 19px; }
.compare .compare-note { font-size: 15px; color: var(--muted); }

/* Compare table */
.compare { max-width: none; }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 17px; background: var(--sand); border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--sand-deep); }
.compare tbody th { font-weight: 700; }
.compare td:last-child { color: var(--forest); font-weight: 700; }
.compare tr.total th, .compare tr.total td { background: var(--sand-deep); border-bottom: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) { .compare table { min-width: 560px; } }

/* FAQ */
.faq { background: var(--sand); }
.faq h2 { margin-bottom: 36px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 36px 64px;
}
.faq-grid div { display: flex; flex-direction: column; gap: 8px; }
.faq-grid h3 { font-size: 21px; }
.faq-grid p { font-size: 17px; color: var(--muted); }

/* Book */
.book { text-align: center; padding: clamp(72px, 10vw, 112px) 0; }
.book .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.book h2 { font-size: clamp(32px, 5vw, 52px); max-width: 780px; }
.book p { font-size: 20px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 16px; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer .brand { font-size: 20px; }
.site-footer .brand svg { width: 32px; height: 32px; }

.todo { background: #FFF3C4; padding: 0 4px; border-radius: 3px; }

/* Hero panel */
.tell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tell-label { color: var(--muted); }
.tell-note {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tell-note b { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.tell-note span { font-size: 17px; color: var(--muted); }
.tell-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tell-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 17px;
}
.tell-list svg { width: 20px; height: 20px; flex: none; }
.tell-foot { font-size: 16px; color: var(--muted); }
@media (max-width: 420px) { .tell-list { grid-template-columns: minmax(0, 1fr); } }

/* Get started form */
.start { padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 96px); }
.start-wrap { max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.start-intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.start-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; width: 100%; }
@media (max-width: 640px) { .field-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field label { font-weight: 700; font-size: 17px; }
.req { font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 6px; }
.hint { font-size: 15px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #8A7F6B;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
  border-color: var(--forest);
}
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.start-form .btn { border: 0; font-family: inherit; cursor: pointer; }
.form-note { font-size: 15px; color: var(--muted); }
