/* ==========================================================================
   Cortadi landing page
   1. Tokens  2. Base  3. Layout  4. Type  5. Shared components
   6. Sections (in page order)  7. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Neutrals */
  --cream: #FAF6EF;        /* page background */
  --paper: #FFFDF9;        /* cards */
  --paper-2: #FBF8F3;      /* inset fields */
  --sand: #F5F1EA;         /* browser chrome, footers of cards */
  --white: #FFFFFF;
  --ink: #1F2421;
  --ink-2: #3B3833;
  --muted: #4E4A43;
  --muted-2: #6B665D;
  --line: #EADFCF;
  --line-2: #DCD2C2;
  --line-3: #E5DACA;
  --line-4: #E0D4C1;
  --dot: #E0D6C6;

  /* Brand */
  --teal: #1E5A57;
  --teal-deep: #143F3D;
  --teal-mid: #2D5F5A;
  --teal-ink: #1F4A46;
  --teal-gray: #3F5753;
  --teal-soft: #2F4844;
  --coral: #F39468;
  --coral-hover: #EC7F4E;
  --orange: #E27A45;
  --rust: #A85128;
  --rust-deep: #8A3409;
  --error: #A8410C;
  --link-blue: #1A4FA0;

  /* Tints */
  --peach: #F9D3BA;
  --peach-soft: #FBE6D7;
  --peach-pill: #F8D6C0;
  --peach-line: #F2D0B8;
  --mint: #C6E6DC;
  --mint-2: #BDE1D8;
  --mint-bg: #D5EDE5;
  --mint-bg-2: #DCEFE9;
  --mint-line: #BCDCD2;
  --mint-line-2: #95C7BC;
  --mint-rule: #A8D0C5;
  --mint-rule-2: #AED3C9;
  --mint-stem: #74ADA2;
  --lilac: #DDD3F3;
  --butter: #FFE8A3;

  /* Type */
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --hand: Caveat, cursive;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --shadow-card: 0 14px 36px rgba(31, 36, 33, .07);
  --shadow-pill: 0 8px 20px rgba(31, 36, 33, .06);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; } /* height:auto lets aspect-ratio classes win over the height="" attribute */
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }
strong { font-weight: 600; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.stack { display: flex; flex-direction: column; }

.band--peach { background: var(--peach-soft); border-top: 1px solid var(--peach-line); border-bottom: 1px solid var(--peach-line); }
.band--mint { background: var(--mint-bg); }
.band--mint-2 { background: var(--mint-bg-2); border-top: 1px solid #BEE0D6; }
.band--cta { background: var(--mint-2); }

/* 4. Type ------------------------------------------------------------------ */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--rust);
}
.label {
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
}
.serif { font-family: var(--serif); }
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.02em;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); }

.logo {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
}
.logo > span { color: var(--orange); }

/* 5. Shared components ----------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 11px;
  border-radius: 999px; white-space: nowrap;
}
.pill--draft { background: var(--peach-pill); color: var(--rust-deep); }
.pill--done { background: var(--mint); color: var(--teal-ink); }
.dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 999px; background: var(--orange); }

.btn {
  height: 56px; padding: 0 26px; border: 0; border-radius: 12px;
  background: var(--coral); color: var(--ink);
  font: 600 17px var(--sans); cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background-color: var(--coral-hover); }
.btn:disabled { opacity: .7; cursor: progress; }

.field {
  height: 56px; padding: 0 18px; min-width: 0;
  font: 400 17px var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid #CFC3B0; border-radius: 12px;
}
.field:focus { outline: 3px solid #8FC1B9; outline-offset: 1px; border-color: var(--teal); }

/* Signup form (used in hero and final CTA) */
.signup { display: flex; flex-direction: column; gap: 10px; max-width: 540px; margin-top: 6px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.signup-row .field { flex: 999 1 240px; }
.signup-row .btn { flex: 1 1 170px; }
.signup-error { font-size: 14px; color: var(--error); }
.signup-note { font-size: 14px; color: var(--muted-2); }
.signup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.signup-success {
  max-width: 540px; margin-top: 6px;
  display: flex; gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 14px;
  background: var(--mint); color: var(--teal-deep);
  font-size: 17px; line-height: 1.4;
}
.signup-success .check {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
}
.signup-success .check svg { stroke: var(--cream); }

/* Mock browser window used by the Content Engine illustrations */
.mock {
  background: var(--paper); border: 1px solid var(--mint-line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-card);
}
.mock-bar {
  padding: 10px 14px; background: var(--sand); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px;
}
.mock-bar > i { width: 9px; height: 9px; border-radius: 999px; background: var(--dot); }
.mock-url {
  flex: 1 1 auto; margin-left: 8px; padding: 4px 12px; border-radius: 999px;
  background: var(--paper); font-size: 12px; color: var(--muted);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.mock-head { display: flex; flex-direction: column; gap: 4px; }
.mock-head > b { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.mock-head > span { font-size: 16px; line-height: 1.4; color: var(--teal-soft); }
.mock-col { display: flex; flex-direction: column; gap: 12px; }

.photo { width: 100%; object-fit: cover; border-radius: 4px; }
.photo--2x3 { aspect-ratio: 2 / 3; }
.photo--4x5 { aspect-ratio: 4 / 5; }
.photo--16x10 { aspect-ratio: 16 / 10; border-radius: 0; }

.tick {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 999px; background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}

/* 6. Sections ------------------------------------------------------------- */

/* Nav */
.site-header {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.site-header .logo { font-size: 28px; display: flex; align-items: baseline; gap: 2px; }
.nav-cta {
  font-size: 15px; font-weight: 600; color: var(--teal); text-decoration: none;
  border: 1.5px solid var(--teal); border-radius: 999px; padding: 10px 18px;
  min-height: 44px; display: inline-flex; align-items: center;
}

/* Hero */
.hero {
  padding-top: clamp(8px, 3vw, 40px); padding-bottom: clamp(56px, 8vw, 104px);
  display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-kicker {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.01em; color: var(--rust);
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.025em;
}
.hero .lede { max-width: 540px; }

.hero-art {
  flex: 1 1 420px; min-width: 0; max-width: 580px; margin: 0 auto;
  position: relative; aspect-ratio: 1 / 1;
}
.hero-art .blob { position: absolute; aspect-ratio: 1 / 1; border-radius: 999px; }
.blob--peach { left: 4%; top: 6%; width: 84%; background: var(--peach); }
.blob--mint { right: 0; top: 0; width: 38%; background: var(--mint); }
.blob--lilac { left: 0; bottom: 4%; width: 22%; background: var(--lilac); }
.hero-art .corner { position: absolute; width: 34px; height: 34px; border: 0 solid var(--teal-mid); }
.corner--tl { left: 7%; top: 9%; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 8px; }
.corner--tr { right: 7%; top: 9%; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 8px; }
.corner--bl { left: 7%; bottom: 9%; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 8px; }
.corner--br { right: 7%; bottom: 9%; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 8px; }
.hero-card {
  position: absolute; left: 15%; right: 15%; top: 19%; padding: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 48px rgba(31, 36, 33, .08);
  display: flex; flex-direction: column; gap: 14px;
}
.hero-card .logo { font-size: 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool {
  padding: 14px; border-radius: 14px; min-width: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.tool svg { stroke: var(--teal-mid); }
.tool strong { font-size: 15px; }
.tool span { font-size: 12px; color: var(--muted); }
.tool--peach { background: var(--peach); }
.tool--mint { background: var(--mint); }
.tool--lilac { background: var(--lilac); }
.tool--butter { background: var(--butter); }
.sticker {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-pill);
  font-size: 13px; color: var(--ink);
}
.sticker--login { left: 1%; top: 13%; padding: 9px 14px; font-weight: 600; transform: rotate(-4deg); }
.sticker--draft { left: 38.6%; top: 68.6%; transform: rotate(3deg); }

/* Problem */
.problem { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); gap: 48px; }
.section-intro { max-width: 680px; display: flex; flex-direction: column; gap: 14px; }
.problem-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.bills { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bill {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: var(--paper); border: 1px solid var(--line-4); border-radius: 12px;
  transform: rotate(var(--tilt, 0deg));
  margin-left: var(--ml, 0); margin-right: var(--mr, 0);
}
.bill--dashed { border: 1px dashed #C9BCA7; }
.bill > div { display: flex; flex-direction: column; gap: 2px; }
.bill strong { font-size: 17px; }
.bill > div > span { font-size: 14px; color: var(--muted-2); }
.bill-price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.bill-price small { font-family: var(--sans); font-size: 13px; color: var(--muted-2); }
.bills-total {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  padding: 16px 4px 0; margin-top: 12px; border-top: 2px solid var(--ink);
}
.bills-total > :first-child { font-size: 15px; font-weight: 600; }
.bills-total > :last-child { font-size: 12px; color: var(--muted-2); }
.flow-arrow {
  flex: 0 0 auto; margin: 0 auto; width: 56px; height: 56px; border-radius: 999px;
  background: var(--coral); display: flex; align-items: center; justify-content: center;
}
.answer-card {
  flex: 1 1 340px; min-width: 0; padding: 32px; border-radius: 16px;
  background: var(--mint-2); display: flex; flex-direction: column; gap: 22px;
}
.answer-card .logo { font-size: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > span {
  font-size: 14px; padding: 7px 12px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--mint-line-2);
}
.answer-card .serif { font-size: 24px; line-height: 1.25; }
.answer-card .fine { font-size: 14px; line-height: 1.5; color: var(--teal-gray); }

/* Four tools */
.tools { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); gap: 40px; }
.tools-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tools-head .section-intro { max-width: 640px; }
.project-chip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: 12px 18px; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: 14px;
}
.project-chip .dot { background: var(--teal); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  padding: 28px; background: var(--paper); border: 1px solid var(--line-3);
  border-top: 4px solid var(--mint-line-2); border-radius: 12px;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-num { font-size: 13px; font-weight: 600; color: var(--teal); }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.feature p { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Content engine */
.engine { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); gap: 40px; }
.engine-intro { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.engine-intro .eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.engine-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.025em;
}
.engine-intro .lede { line-height: 1.55; color: var(--teal-gray); max-width: 720px; }
.step { display: flex; align-items: center; gap: 14px; }
.step--first { margin-top: 16px; }
.step-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px;
  background: var(--teal-mid); color: var(--white); font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-num--coral { background: var(--coral); color: var(--ink); }
.step h3 { font-size: 24px; font-weight: 600; }
.step-rule { flex: 1 1 auto; height: 1px; background: var(--mint-rule); }
.mock-grid { display: grid; gap: 24px; align-items: start; }
.mock-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.mock-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* Questionnaire mock */
.quiz { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.quiz-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.quiz-top strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.quiz-top .stack { gap: 4px; }
.quiz-top .stack > span { font-size: 13px; color: var(--muted); }
.progress { display: flex; flex-direction: column; gap: 6px; }
.progress > div:first-child { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.progress-bar { height: 6px; border-radius: 999px; background: var(--teal-mid); }
.quiz-section {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); padding: 6px 0 8px; border-bottom: 1px solid var(--line);
}
.qa { display: flex; flex-direction: column; gap: 6px; }
.qa > span { font-size: 15px; font-weight: 600; }
.answer {
  padding: 11px 13px; background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 8px; font-size: 15px; line-height: 1.45;
}
.vendor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vendor-grid > div { display: flex; flex-direction: column; gap: 4px; }
.vendor-grid > div > span { font-size: 13px; color: var(--muted); }
.vendor-grid .answer { padding: 9px 11px; font-size: 14px; line-height: normal; }

/* Gallery mock */
.gallery-hero { position: relative; }
.gallery-hero img { object-position: center 72%; }
.gallery-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px;
  background: rgba(31, 36, 33, .55); color: var(--white);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.gallery-overlay .stack { gap: 4px; }
.gallery-overlay .kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.gallery-overlay strong { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.05; }
.gallery-overlay .stack > span:last-child { font-size: 13px; }
.gallery-overlay .view { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.gallery-tabs {
  padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 16px; border-bottom: 1px solid var(--line);
}
.gallery-tabs .tabs { display: flex; gap: 18px; font-size: 14px; overflow-x: auto; }
.gallery-tabs .tabs > span { padding: 14px 0; color: var(--muted); }
.gallery-tabs .tabs > .active { padding: 12px 0; font-size: 13px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); }
.gallery-tabs .actions { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); padding: 10px 0; }
.gallery-tabs .actions > span { display: inline-flex; align-items: center; gap: 5px; }
.thumbs { padding: 16px 20px 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thumb { position: relative; }
.fav {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 999px;
  background: rgba(255, 253, 249, .92); display: flex; align-items: center; justify-content: center;
}
.more {
  position: absolute; inset: 0; border-radius: 4px; background: rgba(31, 36, 33, .5);
  color: var(--white); font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.mock-foot {
  padding: 12px 20px; background: var(--sand); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  font-size: 12px; color: var(--muted);
}
.mock-foot .linked { color: var(--teal-ink); font-weight: 600; }

/* Connector */
.connector { display: flex; flex-direction: column; align-items: center; }
.connector .stem { width: 2px; height: 36px; background: var(--mint-stem); }
.connector-pill {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  padding: 16px 26px; border-radius: 999px; background: var(--coral); text-align: center;
}
.connector-pill .logo { font-size: 24px; }
.connector-pill .logo > span { color: var(--paper-2); }
.connector-pill > span:last-child { font-size: 15px; }

/* Blog mock */
.toolbar {
  padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line);
}
.toolbar .pill { padding: 4px 10px; }
.toolbar .buttons { display: flex; gap: 6px; }
.toolbar .buttons > span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); }
.toolbar .buttons > .publish { border-color: var(--coral); background: var(--coral); }
.blog-cover { object-position: center 45%; }
.blog-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.blog-body > strong { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.blog-body .byline { font-size: 12px; color: var(--muted-2); }
.blog-body p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.credits {
  padding: 12px; border-radius: 10px; background: var(--paper-2);
  display: flex; flex-direction: column; gap: 4px; font-size: 13px;
}
.credits > span { color: var(--muted); }

/* Instagram mock */
.ig-head { padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.avatar {
  flex: 0 0 auto; border-radius: 999px; background: var(--peach); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.avatar--ig { width: 36px; height: 36px; border: 2px solid var(--coral); font-size: 12px; }
.avatar--g { width: 22px; height: 22px; font-size: 10px; }
.ig-head .who { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.ig-head .who strong { font-size: 14px; }
.ig-head .who span { font-size: 12px; color: var(--muted-2); }
.ig-head .pill { font-size: 11px; padding: 4px 9px; }
.ig-slide { position: relative; }
.ig-slide img { border-radius: 0; }
.ig-count {
  position: absolute; top: 12px; right: 12px; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: rgba(31, 36, 33, .65); color: var(--white);
}
.ig-next {
  position: absolute; top: 50%; right: 10px; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 999px; background: rgba(255, 253, 249, .92);
  display: flex; align-items: center; justify-content: center;
}
.ig-tags { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ig-tags span { font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(31, 36, 33, .7); color: var(--white); }
.ig-actions { padding: 10px 14px 0; display: flex; justify-content: space-between; align-items: center; }
.ig-actions .icons { display: flex; gap: 14px; }
.ig-dots { display: flex; gap: 4px; align-items: center; }
.ig-dots i { width: 6px; height: 6px; border-radius: 999px; background: #CFC5B5; }
.ig-dots i:first-child { background: var(--teal-mid); }
.ig-strip { padding: 10px 14px 6px; display: flex; gap: 6px; overflow: hidden; }
.ig-strip img { flex: 1 1 0; min-width: 0; }
.ig-caption { padding: 8px 14px 16px; font-size: 14px; line-height: 1.5; }
.ig-caption .tag { color: var(--teal-ink); font-weight: 600; }
.ig-caption .hash { color: var(--teal-mid); }

/* SEO mock */
.seo-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.seo-head strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.seo-head span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.seo-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.seo-body > div { display: flex; flex-direction: column; gap: 6px; }
.seo-body > .checks { gap: 10px; }
.serp {
  padding: 14px; border: 1px solid var(--line-3); border-radius: 10px; background: var(--white);
  display: flex; flex-direction: column; gap: 4px;
}
.serp-site { display: flex; align-items: center; gap: 8px; }
.serp-site .stack span:first-child { font-size: 12px; }
.serp-site .stack span:last-child { font-size: 11px; color: var(--muted); }
.serp-title { font-size: 17px; font-weight: 500; color: var(--link-blue); line-height: 1.3; }
.serp > span:last-child { font-size: 13px; line-height: 1.45; color: var(--muted); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.alt-example {
  display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px;
  background: var(--paper-2); border: 1px solid var(--line-2);
}
.alt-example img { flex: 0 0 56px; width: 56px; height: 70px; object-fit: cover; border-radius: 4px; }
.alt-example span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.seo-foot { padding: 12px 20px; background: var(--mint-bg); font-size: 13px; color: var(--teal-ink); font-weight: 600; }

/* Local SEO */
.local {
  margin-top: 16px; background: var(--paper); border: 1px solid var(--mint-line); border-radius: 24px;
  padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px);
  box-shadow: 0 18px 44px rgba(31, 36, 33, .07);
}
.local-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.local-copy > .pill { align-self: flex-start; font-size: 14px; padding: 7px 14px; gap: 8px; }
.local-copy h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.02em;
}
.local-copy > p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.local-search { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.searchbox {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--line-2); box-shadow: 0 6px 16px rgba(31, 36, 33, .06);
  font-size: 16px;
}
.result {
  margin-left: 18px; padding: 16px 18px; border-left: 3px solid var(--coral); background: var(--paper-2);
  border-radius: 0 12px 12px 0; display: flex; flex-direction: column; gap: 4px;
}
.result > span:first-child { font-size: 12px; color: var(--muted); }
.result strong { font-size: 18px; font-weight: 500; color: var(--link-blue); line-height: 1.3; }
.result > span:last-child { font-size: 14px; color: var(--muted); }
.local-list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.local-list > .label { padding-bottom: 4px; }
.loc { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}
.loc > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.loc strong { font-size: 16px; }
.loc > div > span:nth-child(2) { font-size: 15px; }
.loc > div > span:last-child { font-size: 13px; color: var(--muted); }
.local-quote {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--peach-soft);
  font-family: var(--serif); font-size: 20px; line-height: 1.3;
}
.engine-close {
  display: flex; flex-wrap: wrap; gap: 16px 48px; padding-top: 40px; margin-top: 8px;
  border-top: 1px solid var(--mint-rule-2);
}
.engine-close p { flex: 1 1 320px; }
.engine-close p:first-child { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.engine-close p:last-child { font-size: 17px; line-height: 1.55; color: var(--teal-gray); }

/* Founder */
.founder {
  padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px);
  display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.founder-photo {
  flex: 0 1 380px; min-width: 260px; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 61%; border-radius: 6px; margin: 0 auto;
}
.founder-copy { flex: 1 1 440px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 22px; }
.founder-copy .accent { width: 56px; height: 4px; border-radius: 999px; background: var(--coral); }
.founder-copy h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -.02em;
}
.founder-copy h2 em { font-style: italic; color: var(--rust); }
.founder-copy blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); line-height: 1.4;
}
.signature { display: flex; flex-direction: column; gap: 2px; }
.signature .name { font-family: var(--hand); font-size: 48px; font-weight: 600; color: var(--teal); line-height: 1; }
.signature .role { font-size: 14px; color: var(--muted-2); }

/* What you get */
.perks { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); gap: 36px; }
.perks h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.02em;
}
.perk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.perk { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--teal); }
.perk--accent { border-top-color: var(--coral); }
.perk strong { font-size: 18px; }
.perk span { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Final CTA */
.cta {
  max-width: 760px; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.cta h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.025em;
}
.cta > p { font-size: 18px; line-height: 1.5; color: var(--teal-gray); }
.signup--cta { width: 100%; max-width: 560px; align-items: center; margin-top: 0; }
.signup--cta .field { border-color: var(--paper); }
.signup--cta .signup-error { color: var(--rust-deep); }
.signup--cta .signup-note { color: var(--teal-gray); }
.signup-success--cta { max-width: none; margin-top: 0; padding: 18px 22px; background: var(--cream); text-align: left; }
.signup-success--cta .check { background: var(--coral); }
.signup-success--cta .check svg { stroke: var(--ink); }

/* Footer */
.site-footer {
  padding-top: 36px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px;
}
.site-footer .brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.site-footer .logo { font-size: 22px; }
.site-footer .brand > span { font-size: 14px; color: var(--muted-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* Simple text pages (privacy) */
.prose { max-width: 720px; padding-top: 24px; padding-bottom: 96px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prose h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 52px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); margin-top: 40px; margin-bottom: 8px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose .updated { font-size: 14px; color: var(--muted-2); margin-bottom: 32px; }

/* 7. Responsive ----------------------------------------------------------- */
@media (max-width: 760px) {
  .flow-arrow { transform: rotate(90deg); }
  .nav-cta { display: none; }

  /* Phone-only tweaks taken from the design's Mobile board */
  .hero-kicker {
    font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 600;
    line-height: normal; letter-spacing: .12em; text-transform: uppercase;
  }
  .sticker--draft { left: auto; top: auto; right: 2%; bottom: 10%; }
  .founder-photo { object-position: center 30%; }
}

/* Long URLs wrap instead of running off narrow screens */
.loc > div > span, .result > span, .serp-site span { overflow-wrap: anywhere; }

/* Founder heading + no-JS form messages (targeted via URL hash) */
.founder-heading { display: flex; flex-direction: column; gap: 14px; }
.nojs-msg { display: none; padding: 14px 18px; border-radius: 12px; background: var(--cream); color: var(--teal-deep); font-weight: 600; }
.nojs-msg--error { color: var(--rust-deep); }
.nojs-msg:target { display: block; }

/* Bill cards: each one tilted and nudged a little differently */
.bill:nth-child(1) { --tilt: -1.2deg; --mr: 24px; }
.bill:nth-child(2) { --tilt: .9deg;   --ml: 28px; }
.bill:nth-child(3) { --tilt: -.6deg;  --mr: 8px; }
.bill:nth-child(4) { --tilt: 1.4deg;  --ml: 12px; --mr: 18px; }
.bill:nth-child(5) { --tilt: -.8deg;  --ml: 36px; }

/* Icon colors */
.tick svg, .loc-icon svg, .pill--done svg { stroke: var(--teal-ink); }
.flow-arrow svg, .ig-next svg, .ig-actions svg { stroke: var(--ink); }
.searchbox svg, .gallery-tabs .actions svg:not(.icon-heart) { stroke: var(--muted); }
.icon-heart { fill: var(--orange); stroke: var(--orange); }
.connector svg { fill: var(--mint-stem); }
