/* Generated from app/globals.css and app/homepage.css. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-300-normal.woff") format("woff"); font-style: normal; font-weight: 100 349; font-display: optional; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff") format("woff"); font-style: normal; font-weight: 350 449; font-display: optional; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff") format("woff"); font-style: normal; font-weight: 450 599; font-display: optional; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-700-normal.woff") format("woff"); font-style: normal; font-weight: 600 900; font-display: optional; }

:root {
  --ink: #10233d;
  --body: #52545a;
  --coral: #c9361f;
  --coral-dark: #a92b17;
  --butter: #ffd978;
  --butter-pale: #fff2c8;
  --warm-border: #e7d6be;
  --paper: #faf7f0;
  --card: #fffdfc;
  --radius-panel: 18px;
  --radius-surface: 14px;
  --radius-control: 12px;
  --radius-compact: 10px;
  --font-sans: "Avenir Next", "Segoe UI", Inter, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 242, 200, .28), transparent 34%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid rgba(244, 81, 50, .35);
  outline-offset: 3px;
}

.site-header {
  width: min(1370px, calc(100% - 56px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-wordmark { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); font-size: 25px; font-weight: 820; letter-spacing: -.055em; line-height: 1; }
.brand-accent { position: relative; color: var(--coral); }
.brand-accent::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 3px; border-radius: 999px; background: var(--coral); transform: rotate(-2deg); }

.header-navigation { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.header-navigation-links { display: flex; align-items: center; gap: 44px; }
.header-navigation-links a { font-size: 16px; font-weight: 650; }
.header-navigation-links a:hover { color: var(--coral-dark); }
.header-navigation-account { display: flex; align-items: center; flex: 0 0 auto; }
.mobile-nav-toggle, .mobile-nav-panel { display: none; }
.site-header .mobile-nav-panel { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--coral);
  color: white;
  font-weight: 720;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(244, 81, 50, .16);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(244, 81, 50, .22); }
.button:active { transform: translateY(1px); }
.button-small { min-width: 124px; min-height: 46px; padding: 0 22px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.auth-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--warm-border); border-radius: var(--radius-control); background: #fffdfc; color: var(--ink); font-size: 13px; font-weight: 760; white-space: nowrap; }
.auth-button:hover { border-color: #e9a798; color: var(--coral-dark); }
.auth-status { color: var(--muted); cursor: default; }
.auth-status:hover { border-color: var(--warm-border); color: var(--muted); }
.auth-loading { pointer-events: none; }
.auth-primary { min-width: 124px; min-height: 46px; padding: 0 22px; border-color: transparent; background: var(--coral); color: white; font-weight: 720; box-shadow: 0 7px 20px rgba(244, 81, 50, .16); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.auth-primary:hover { border-color: transparent; background: var(--coral-dark); color: white; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(244, 81, 50, .22); }
.auth-primary:active { transform: translateY(1px); }
.auth-menu { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.auth-credits { min-height: 42px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.62); color: #706b64; font-size: 13px; font-weight: 720; white-space: nowrap; }
.auth-credits b { color: var(--ink); font-size: 14px; font-weight: 850; }
.auth-account-trigger { width: 54px; min-height: 42px; display: inline-grid; grid-template-columns: 30px 7px; place-items: center; column-gap: 5px; padding: 5px 7px 5px 5px; border: 1px solid var(--warm-border); border-radius: 12px; background: #fffdfc; color: var(--ink); cursor: pointer; box-shadow: 0 8px 18px rgba(36,31,26,.06); }
.auth-account-trigger:hover { border-color: #e9a798; box-shadow: 0 11px 22px rgba(36,31,26,.09); }
.auth-account-trigger::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid #736f68; border-bottom: 1.5px solid #736f68; transform: rotate(45deg); transition: transform .16s ease, border-color .16s ease; }
.auth-account-trigger:hover::after { border-color: var(--coral-dark); }
.auth-account-trigger[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(225deg); }
.auth-avatar { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--butter-pale); color: var(--coral-dark); object-fit: cover; font-size: 12px; font-weight: 850; }
.auth-dropdown { position: absolute; top: calc(100% + 11px); right: 0; z-index: 80; width: 258px; padding: 19px 20px 18px; display: grid; gap: 5px; border: 1px solid rgba(231,214,190,.55); border-radius: 25px; background: rgba(255,255,255,.96); box-shadow: 0 22px 45px rgba(21,24,31,.12); backdrop-filter: blur(12px); }
.auth-dropdown-user { display: grid; gap: 3px; padding: 1px 0 9px; }
.auth-dropdown-user strong { overflow: hidden; color: #16181d; font-size: 14px; font-weight: 720; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.auth-dropdown-user span { overflow: hidden; color: #6f737c; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.auth-dropdown a { min-height: 36px; display: flex; align-items: center; color: #16181d; font-size: 14px; font-weight: 570; }
.auth-dropdown a:hover { color: var(--coral-dark); }

.hero {
  width: min(1370px, calc(100% - 56px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 18px 0 42px;
  display: grid;
  grid-template-columns: minmax(500px, .95fr) minmax(0, 1.35fr);
  gap: 54px;
  align-items: center;
}

.hero-copy { align-self: center; padding: 12px 0 26px; }

.eyebrow {
  width: fit-content;
  margin: 0 0 28px;
  padding: 9px 15px;
  border: 1px solid #f6bd32;
  border-radius: 999px;
  background: var(--butter-pale);
  font-size: 15px;
  font-weight: 680;
}

.eyebrow span { margin-right: 7px; font-size: 20px; }

h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(48px, 3.75vw, 59px);
  line-height: 1.09;
  letter-spacing: -.045em;
  font-weight: 820;
  text-wrap: pretty;
}

.hero-description {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--body);
  font-size: 20px;
  line-height: 1.55;
}

.hero-trust {
  max-width: 520px;
  margin: 14px 0 0;
  color: #706b64;
  font-size: 14px;
  line-height: 1.6;
}

.workflow {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.workflow li { position: relative; display: grid; justify-items: center; width: 104px; }
.workflow-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #e8c872;
  border-radius: 50%;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(64, 48, 20, .08), inset 0 0 0 4px rgba(255, 217, 120, .14);
}
.workflow-icon::after {
  content: attr(data-step);
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.workflow-label { width: 100%; min-height: 34px; margin-top: 10px; padding: 0 2px; font-size: 13px; font-weight: 680; line-height: 1.3; text-align: center; text-wrap: balance; }
.workflow-arrow { position: absolute; top: 18px; right: -21px; color: var(--coral); }

.tool-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-panel);
  background: rgba(255, 253, 252, .93);
  box-shadow: 0 18px 50px rgba(29, 35, 42, .08);
}

.upload-panel { display: flex; flex-direction: column; min-width: 0; }
.upload-card-heading { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; margin-bottom: 16px; }
.upload-card-heading > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--butter-pale); color: #795a16; font-size: 14px; font-weight: 850; }
.upload-card-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.upload-card-heading p { margin: 4px 0 0; color: var(--body); font-size: 13px; line-height: 1.45; }
.upload-tool-card .dropzone { min-height: 300px; }

.dropzone {
  min-height: 186px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  border: 2px dashed #7d8288;
  border-radius: var(--radius-surface);
  background: #fffefa;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.dropzone:hover { border-color: var(--coral); background: #fffaf5; }
.upload-icon { color: var(--coral); font-size: 38px; line-height: 1; }
.dropzone strong { margin-top: 8px; font-size: 18px; line-height: 1.25; }
.choose-button { width: 168px; min-height: 42px; margin-top: 13px; }
.format-note { margin-top: 9px; color: #73757a; font-size: 13px; }

.or-divider { position: relative; height: 27px; display: grid; place-items: center; color: #6f675e; font-size: 12px; }
.or-divider::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid #ddd3c6; }
.or-divider span { position: relative; padding: 0 12px; background: var(--card); }

.sample-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9c5bd;
  border-radius: var(--radius-control);
  background: #fffdfa;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.sample-button:hover { border-color: var(--coral); color: var(--coral-dark); }
.sample-button span { margin-right: 6px; }
.sample-action-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px; align-items: center; }
.sample-note { color: #5f5a52; font-size: 12px; font-weight: 760; line-height: 1.35; white-space: nowrap; }
.upload-handoff { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #68645f; font-size: 12px; font-weight: 700; }
.upload-handoff span { display: inline-flex; align-items: center; gap: 7px; }
.upload-handoff i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #f1ece4; font-size: 10px; font-style: normal; }
.upload-handoff b { color: var(--coral); font-size: 18px; }

.definition-section {
  width: min(900px, calc(100% - 56px));
  margin: 58px auto 0;
  text-align: center;
}
.definition-section h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
.definition-section > p:last-child { margin: 20px auto 0; color: var(--body); font-size: 18px; line-height: 1.65; }

.audience-strip {
  width: min(1370px, calc(100% - 56px));
  margin: 34px auto 0;
  padding: 25px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-panel);
  background: rgba(255,253,252,.72);
}
.audience-strip-copy { min-width: 275px; }
.audience-strip-copy h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.audience-strip-copy p { margin: 6px 0 0; color: var(--body); font-size: 14px; font-weight: 650; }
.audience-strip > div:last-child { min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.audience-strip span { padding: 7px 11px; border-radius: 999px; background: var(--butter-pale); color: #66501a; font-size: 12px; font-weight: 680; }
.audience-tools-entry { flex: 0 0 100%; max-width: 100%; margin: 3px 0 0; color: var(--body); font-size: 14px; line-height: 1.55; text-align: right; overflow-wrap: anywhere; }

.result-section { padding-top: 104px; }
.result-section .section-heading { max-width: 720px; }
.result-category-showcase { margin-top: 48px; }
.result-category-tabs-scroll { max-width: 100%; overflow-x: auto; scroll-padding-inline: 14px; scrollbar-width: none; }
.result-category-tabs-scroll::-webkit-scrollbar { display: none; }
.result-category-tabs { width: max-content; max-width: 100%; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 5px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: rgba(255,253,252,.76); }
.result-category-tabs button { min-height: 42px; padding: 0 17px; border: 0; border-radius: var(--radius-control); background: transparent; color: #5f5a54; font: inherit; font-size: 13px; font-weight: 760; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.result-category-tabs button:hover { color: var(--ink); background: #f8f1e8; }
.result-category-tabs button:focus-visible { outline: 3px solid rgba(234,106,78,.28); outline-offset: 2px; }
.result-category-tabs button.is-active { background: var(--ink); color: white; box-shadow: 0 5px 12px rgba(16,35,61,.14); }
.result-category-panel { max-width: 1040px; margin: 0 auto; padding: 14px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 20px 50px rgba(34,29,24,.08); }
.result-category-header { min-height: 62px; padding: 3px 5px 13px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.result-category-header span { color: var(--coral-dark); font-size: 10px; font-weight: 820; letter-spacing: 0; text-transform: uppercase; }
.result-category-header h3 { margin: 5px 0 0; font-size: 19px; line-height: 1.25; letter-spacing: 0; }
.result-category-evidence { margin-top: 6px; display: block; color: #746b60; font-size: 12px; line-height: 1.45; }
.result-category-header p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; color: #746b60; font-size: 12px; }
.result-category-header p span { color: var(--coral); font-size: 10px; }
.result-category-header p b { color: var(--ink); }
.result-category-stage { overflow: hidden; border-radius: var(--radius-surface); }
.result-category-frame { position: relative; width: 100%; aspect-ratio: var(--category-ratio); overflow: hidden; border-radius: var(--radius-surface); background: #e7ded4; box-shadow: 0 0 0 1px rgba(44,37,31,.08); }
.result-category-example-layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease, visibility .12s ease; }
.result-category-example-layer.is-active { opacity: 1; visibility: visible; }
.result-category-example-layer picture { display: block; width: 100%; height: 100%; }
.result-category-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.result-category-after { position: absolute; z-index: 2; inset: 0; overflow: hidden; }
.result-category-line { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--category-compare); width: 2px; background: white; box-shadow: 0 0 8px rgba(40,30,24,.18); transform: translateX(-1px); pointer-events: none; }
.result-category-handle { position: absolute; z-index: 5; top: 50%; left: var(--category-compare); width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: rgba(16,35,61,.82); color: white; box-shadow: 0 5px 18px rgba(34,28,24,.24); transform: translate(-50%, -50%); pointer-events: none; }
.result-category-label { position: absolute; z-index: 3; top: 12px; padding: 6px 9px; border-radius: var(--radius-compact); background: rgba(16,35,61,.82); color: white; font-size: 10px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; pointer-events: none; }
.result-category-label.before { left: 12px; }
.result-category-label.after { right: 12px; background: var(--coral-dark); }
.result-category-range { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; appearance: none; -webkit-appearance: none; background: transparent; opacity: 0; cursor: col-resize; touch-action: none; }
.result-category-range::-webkit-slider-runnable-track { width: 100%; height: 100%; background: transparent; }
.result-category-range::-webkit-slider-thumb { width: 1px; height: 100%; border: 0; -webkit-appearance: none; background: transparent; }
.result-category-range::-moz-range-track { width: 100%; height: 100%; background: transparent; }
.result-category-range::-moz-range-thumb { width: 1px; height: 100%; border: 0; background: transparent; }

.section { width: min(1200px, calc(100% - 56px)); margin: 0 auto; padding: 112px 0; }
.section-kicker { margin: 0 0 14px; color: var(--coral-dark); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-heading { max-width: 650px; }
.centered-heading { margin: 0 auto; text-align: center; }
.section h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading > p:last-child, .section-lede { margin: 20px 0 0; color: var(--body); font-size: 18px; line-height: 1.65; }

.step-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-grid article { position: relative; padding: 26px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 12px 30px rgba(36, 31, 25, .045); }
.step-number { position: absolute; top: 18px; right: 21px; color: #746b60; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.step-visual { height: 150px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-surface); background: #f8f1e4; }
.upload-visual { flex-direction: column; gap: 10px; border: 1px dashed #ccad7f; }
.upload-visual span { color: var(--coral); font-size: 46px; }
.upload-visual i { padding: 7px 12px; border-radius: var(--radius-compact); background: white; color: #747474; font-size: 12px; font-style: normal; }
.replace-visual { gap: 16px; }
.replace-visual b { min-width: 84px; padding: 12px; border: 2px dashed #fff; border-radius: var(--radius-control); background: #cda881; color: var(--ink); font-size: 28px; text-align: center; }
.replace-visual b:last-child { background: var(--coral); }
.replace-visual span { color: var(--coral); font-size: 26px; }
.fine-visual { gap: 12px; }
.fine-visual span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: var(--coral); color: white; font-size: 26px; font-weight: 800; }
.fine-visual i { width: 36px; height: 7px; border-radius: 4px; background: #deb953; }
.fine-visual i:nth-of-type(2) { width: 26px; }
.fine-visual i:nth-of-type(3) { width: 18px; }
.review-visual { color: var(--coral); }
.step-grid h3, .feature-grid h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.step-grid article > p, .feature-grid article > p { margin: 10px 0 0; color: var(--body); font-size: 15px; line-height: 1.65; }
.section-supporting-link { max-width: 650px; margin: 24px auto 0; color: var(--body); font-size: 15px; line-height: 1.65; text-align: center; }
.definition-action a,
.section-supporting-link a,
.replace-tool-entry a,
.audience-tools-entry a,
.commerce-copy > .text-link,
.use-case-list .text-link { color: var(--ink); font-weight: 800; text-decoration: none; transition: color .18s ease; }
.definition-action a:hover,
.section-supporting-link a:hover,
.replace-tool-entry a:hover,
.audience-tools-entry a:hover,
.commerce-copy > .text-link:hover,
.use-case-list .text-link:hover { color: var(--coral-dark); }

.commerce-section { display: grid; grid-template-columns: 1fr .88fr; gap: 80px; align-items: center; }
.commerce-copy h2 { max-width: 590px; }
.use-case-list { margin-top: 34px; display: grid; gap: 14px; }
.use-case-list article { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.use-case-list article > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #efbd42; border-radius: 50%; background: var(--butter-pale); color: var(--ink); font-weight: 800; }
.use-case-list h3 { margin: 2px 0 4px; font-size: 17px; }
.use-case-list p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.55; }
.use-case-list p + p { margin-top: 4px; }
.use-case-list p b { color: var(--ink); font-weight: 820; }

.scenario-board { padding: 22px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 25px 60px rgba(33, 29, 25, .09); }
.scenario-heading { display: flex; justify-content: space-between; gap: 16px; padding: 2px 2px 15px; font-size: 13px; }
.scenario-heading span { font-weight: 780; }
.scenario-heading b { color: #356d45; font-weight: 680; }
.scenario-board article { padding: 15px; border-top: 1px solid #eee4d8; }
.scenario-type { color: var(--coral-dark); font-size: 9px; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.scenario-board h3 { margin: 5px 0 9px; font-size: 16px; }
.scenario-board article p { margin: 0; display: grid; grid-template-columns: 1fr 20px 1fr; align-items: center; gap: 8px; font-size: 12px; }
.scenario-board article p::before { content: "→"; grid-column: 2; grid-row: 1; color: var(--coral); text-align: center; }
.scenario-board del { grid-column: 1; color: #6f665c; }
.scenario-board article b { grid-column: 3; color: var(--ink); }

.features-section .section-heading { max-width: 700px; }
.replace-tool-entry { margin: 16px 0 0; color: var(--body); font-size: 15px; line-height: 1.65; }
.feature-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); }
.feature-grid .feature-large { grid-row: span 2; min-height: 456px; background: #fff8e4; }
.feature-icon { width: 44px; height: 44px; margin-bottom: 42px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--butter-pale); color: var(--coral-dark); font-size: 20px; font-weight: 800; }
.feature-large .feature-icon { margin-bottom: 28px; }
.detected-list { margin-top: 36px; display: grid; gap: 9px; }
.detected-list span { padding: 12px 14px; border: 1px solid #e2d2bd; border-radius: var(--radius-control); background: white; font-size: 13px; }
.detected-list .selected { border: 2px solid var(--coral); color: var(--coral-dark); font-weight: 800; }

.guide-section { border-top: 1px solid var(--warm-border); }
.guide-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: end; }
.guide-intro .section-heading { max-width: 560px; }
.guide-intro-copy { display: grid; gap: 14px; }
.guide-intro-copy p { margin: 0; color: var(--body); font-size: 16px; line-height: 1.72; }
.guide-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-grid article { min-height: 250px; padding: 30px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); }
.guide-grid article > span { display: inline-flex; min-width: 36px; height: 28px; align-items: center; justify-content: center; margin-bottom: 30px; border-radius: 999px; background: var(--butter-pale); color: var(--coral-dark); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.guide-grid h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.guide-grid p { margin: 12px 0 0; color: var(--body); font-size: 15px; line-height: 1.72; }

.source-section { border-top: 1px solid var(--warm-border); }
.publishing-table-wrap { width: min(960px, 100%); margin: 36px auto 0; overflow-x: auto; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 12px 30px rgba(36,31,26,.045); }
.publishing-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.publishing-table caption { padding: 18px 20px 0; color: var(--ink); text-align: left; font-weight: 820; }
.publishing-table th, .publishing-table td { padding: 16px 20px; border-bottom: 1px solid rgba(231,214,190,.78); text-align: left; vertical-align: top; }
.publishing-table thead th { color: #74675a; font-size: 12px; text-transform: uppercase; }
.publishing-table tbody tr:last-child th, .publishing-table tbody tr:last-child td { border-bottom: 0; }
.publishing-table tbody th { color: var(--ink); font-weight: 820; }
.publishing-table td { color: var(--body); }
.publishing-table td:nth-child(2) { color: var(--coral-dark); font-weight: 850; white-space: nowrap; }
.source-quotes { width: min(960px, 100%); margin: 14px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.source-quotes figure { min-height: 132px; margin: 0; padding: 20px; display: grid; align-content: space-between; gap: 14px; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: white; }
.source-quotes blockquote { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.55; font-weight: 720; }
.source-quotes blockquote p { margin: 0; }
.source-quotes figcaption a { color: var(--coral-dark); font-size: 12px; font-weight: 820; text-decoration-color: rgba(250,80,55,.45); text-underline-offset: 4px; }

.clarity-section { padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; border-radius: 24px; background: var(--ink); color: white; }
.clarity-section .section-kicker { color: var(--butter); }
.clarity-section h2 { font-size: clamp(34px, 3.6vw, 50px); }
.clarity-copy > p { margin: 0; color: #ccd3db; font-size: 17px; line-height: 1.75; }
.clarity-copy ul { margin: 22px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; color: #e7ebef; font-size: 13px; font-weight: 680; }
.clarity-copy li { display: flex; align-items: center; gap: 9px; }
.clarity-copy li span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,217,120,.15); color: var(--butter); font-size: 10px; }

.home-pricing-section { border-top: 1px solid var(--warm-border); border-bottom: 1px solid var(--warm-border); }
.home-pricing-section .section-heading { max-width: 790px; }
.home-pricing-grid { width: min(960px, 100%); margin: 42px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-pricing-grid article { min-height: 188px; padding: 24px; display: grid; align-content: start; border: 1px solid var(--warm-border); border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 12px 30px rgba(36,31,26,.045); }
.home-pricing-grid h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.home-pricing-grid strong { margin-top: 18px; color: var(--ink); font-size: 34px; line-height: 1; letter-spacing: -.045em; }
.home-pricing-grid p { margin: 12px 0 0; color: var(--ink); font-size: 14px; font-weight: 820; }
.home-pricing-grid span { margin-top: 7px; color: var(--body); font-size: 13px; line-height: 1.45; }
.home-pricing-actions { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.home-pricing-actions .button { min-height: 50px; padding: 0 24px; }
.home-pricing-actions .text-link { margin-top: 0; }
.home-pricing-note { margin: 16px auto 0; color: #756f67; font-size: 13px; text-align: center; }

.faq-section { display: grid; grid-template-columns: .72fr 1fr; gap: 100px; }
.faq-intro { position: sticky; top: 35px; align-self: start; }
.faq-intro > p:not(.section-kicker) { color: var(--body); font-size: 16px; line-height: 1.65; }
.text-link { display: inline-block; margin-top: 15px; color: var(--coral-dark); font-weight: 800; }
.faq-list { border-top: 1px solid var(--warm-border); }
.faq-list details { border-bottom: 1px solid var(--warm-border); }
.faq-list summary { position: relative; padding: 24px 38px 24px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--coral); font-size: 26px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -8px 42px 24px 0; color: var(--body); font-size: 15px; line-height: 1.65; }
.creative-tool-section { width: min(820px, calc(100% - 56px)); margin: 78px auto 70px; text-align: center; }
.creative-tool-section h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.04em; }
.creative-tool-section > p:not(.section-kicker) { max-width: 700px; margin: 16px auto 0; color: var(--body); font-size: 16px; line-height: 1.7; }
.creative-tool-section a { color: var(--coral-dark); font-weight: 800; text-decoration: none; }
.creative-tool-section a:hover { text-decoration: underline; text-underline-offset: 3px; }
.creative-tool-section a:focus-visible { outline: 3px solid rgba(244,81,50,.35); outline-offset: 3px; }

.final-cta { width: min(1200px, calc(100% - 56px)); margin: 0 auto 70px; padding: 78px 28px; border: 1px solid #efc45a; border-radius: 24px; background: linear-gradient(135deg, #fff0bc, #ffe19a); text-align: center; }
.final-cta h2 { max-width: 780px; margin: 0 auto; }
.final-cta > p:not(.section-kicker) { margin: 18px auto 0; color: #5f5543; font-size: 17px; }
.final-button { min-height: 52px; margin-top: 28px; padding: 0 25px; }
.final-cta-note { margin-top: 12px !important; color: #75622c !important; font-size: 13px !important; font-weight: 760; }

.site-footer { width: min(1370px, calc(100% - 56px)); margin: 0 auto; padding: 0 0 30px; }
.footer-main { padding: 50px 0; display: grid; grid-template-columns: minmax(260px, .9fr) minmax(480px, 1.15fr); align-items: start; gap: 60px; border-top: 1px solid var(--warm-border); }
.footer-brand { font-size: 18px; }
.footer-brand .brand-wordmark { gap: 4px; font-size: 18px; }
.footer-overview { display: block; }
.footer-overview p { max-width: 390px; margin: 20px 0 10px; color: var(--body); font-size: 13px; line-height: 1.65; }
.footer-email { color: var(--coral-dark); font-size: 13px; font-weight: 760; }
.footer-badges { --footer-badge-gap: 64px; --footer-badge-half-gap: 32px; width: 100%; margin: 0; padding: 16px 0 24px; overflow: hidden; }
.footer-badge-track { width: max-content; display: flex; align-items: center; gap: var(--footer-badge-gap); animation: footer-badges-flow 34s linear infinite; }
.footer-badge-group { display: flex; flex-shrink: 0; align-items: center; gap: var(--footer-badge-gap); }
.footer-badges:hover .footer-badge-track, .footer-badges:focus-within .footer-badge-track { animation-play-state: paused; }
.footer-badge { height: 60px; flex: 0 0 auto; display: flex; align-items: center; line-height: 0; }
.footer-badge img { width: auto; height: 60px; max-width: none; display: block; }
.codemarket-badge { width: auto; min-height: 0; line-height: normal; }
.codemarket-badge [data-codemarket-widget] { width: auto; min-height: 0; height: 60px; display: flex; align-items: center; }
.codemarket-badge [data-codemarket-widget] > a,
.codemarket-badge [data-codemarket-widget] img { width: auto !important; height: 60px !important; display: block; }
.codemarket-script-sentinel { display: block; width: 1px; height: 1px; flex: 0 0 1px; }
@keyframes footer-badges-flow { to { transform: translateX(calc(-50% - var(--footer-badge-half-gap))); } }
@media (prefers-reduced-motion: reduce) {
  .footer-badge-track { animation: none; }
  .footer-badge-group[aria-hidden="true"] { display: none; }
  .footer-badges { overflow-x: auto; }
}
.footer-navigation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-navigation > div { display: grid; justify-items: start; align-content: start; gap: 11px; }
.footer-navigation h2 { margin: 0 0 5px; color: #6f675e; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.footer-navigation a { font-size: 13px; font-weight: 680; }
.footer-navigation a:hover, .footer-email:hover { color: var(--coral-dark); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(231,214,190,.75); color: #6f675e; font-size: 11px; }



@media (max-width: 1120px) {
  .site-header { width: min(100% - 36px, 980px); gap: 20px; }
  .header-navigation { gap: 20px; }
  .header-navigation-links { gap: 22px; }
  .header-navigation-links a { font-size: 14px; }
  .header-actions { margin-left: auto; }
  .hero { width: min(100% - 36px, 980px); grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .hero-copy { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: end; }
  h1 { font-size: clamp(46px, 7vw, 64px); }
  .workflow { justify-content: flex-end; margin-bottom: 10px; }
  .workflow { gap: 16px; }
  .workflow li { width: 84px; }
  .workflow-arrow { right: -17px; }
  .commerce-section { gap: 42px; }
  .faq-section { gap: 50px; }
  .site-footer { width: min(100% - 36px, 980px); }
  .footer-main { gap: 40px; }
}

@media (max-width: 760px) {
  .site-header { position: sticky; top: 0; z-index: 90; width: 100%; min-height: 64px; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid rgba(231,214,190,.72); background: rgba(250,247,240,.96); backdrop-filter: blur(14px); }
  .mobile-nav-toggle { position: relative; width: 40px; min-height: 40px; margin-left: auto; display: inline-grid; place-items: center; gap: 4px; padding: 9px; border: 1px solid var(--warm-border); border-radius: 12px; background: #fffdfc; cursor: pointer; box-shadow: 0 8px 18px rgba(36,31,26,.06); }
  .mobile-nav-toggle span { width: 18px; height: 2px; border-radius: 999px; background: var(--ink); transition: transform .16s ease, opacity .16s ease; }
  .mobile-nav-toggle::before, .mobile-nav-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; border-radius: 999px; background: var(--ink); opacity: 0; transform: translate(-50%, -50%); transform-origin: center; transition: transform .16s ease, opacity .16s ease; }
  .mobile-nav-toggle[aria-expanded="true"] span { opacity: 0; transform: scaleX(.45); }
  .mobile-nav-toggle[aria-expanded="true"]::before { opacity: 1; transform: translate(-50%, -50%) rotate(45deg); }
  .mobile-nav-toggle[aria-expanded="true"]::after { opacity: 1; transform: translate(-50%, -50%) rotate(-45deg); }
  .site-header .header-navigation { display: none; }
  .site-header .header-navigation.open { position: fixed; top: 64px; left: 14px; right: 14px; z-index: 89; display: grid; gap: 6px; padding: 12px; border: 1px solid rgba(231,214,190,.8); border-radius: 18px; background: #fffdfc; box-shadow: 0 24px 55px rgba(20,24,31,.16); }
  .header-navigation-links { display: grid; gap: 6px; }
  .header-navigation-links a { min-height: 44px; display: flex; align-items: center; padding: 0 13px; border: 1px solid rgba(231,214,190,.62); border-radius: var(--radius-control); background: #fffdfc; font-size: 15px; font-weight: 760; }
  .header-navigation-account { display: grid; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(231,214,190,.72); }
  .header-navigation-account .auth-button { width: 100%; min-height: 44px; }
  .header-navigation-account .auth-menu { width: 100%; justify-content: space-between; gap: 10px; }
  .header-navigation-account .auth-credits { min-height: 40px; display: inline-flex; padding: 0 12px; font-size: 13px; }
  .header-navigation-account .auth-account-trigger { width: 54px; min-height: 40px; grid-template-columns: 30px 7px; padding: 4px 7px 4px 4px; }
  .header-navigation-account .auth-account-trigger::after { display: block; }
  .header-navigation-account .auth-dropdown { top: calc(100% + 9px); right: 0; }
  .mobile-nav-panel { margin: 0; padding: 0; }
  .site-header .mobile-nav-panel.open { position: fixed; top: 64px; left: 14px; right: 14px; z-index: 89; display: grid; gap: 6px; padding: 12px; border: 1px solid rgba(231,214,190,.8); border-radius: 18px; background: #fffdfc; box-shadow: 0 24px 55px rgba(20,24,31,.16); }
  .mobile-nav-panel a { min-height: 44px; display: flex; align-items: center; padding: 0 13px; border-radius: var(--radius-control); background: #fffdfc; border: 1px solid rgba(231,214,190,.62); font-size: 15px; font-weight: 760; }
  .brand-wordmark { gap: 4px; font-size: 19px; }
  .button-small { min-width: auto; min-height: 40px; padding: 0 14px; font-size: 13px; }
  .header-actions { gap: 8px; }
  .auth-button { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .auth-primary { min-width: auto; padding: 0 14px; font-size: 13px; }
  .auth-menu { gap: 0; }
  .auth-credits { display: none; }
  .auth-account-trigger { width: 42px; min-height: 40px; grid-template-columns: 30px; padding: 4px; }
  .auth-account-trigger::after { display: none; }
  .auth-dropdown { right: -2px; width: min(258px, calc(100vw - 28px)); }
  .hero { width: calc(100% - 28px); padding-top: 26px; }
  .hero-copy { display: block; padding-left: 0; }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-description { font-size: 18px; }
  .workflow { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 30px; padding-bottom: 8px; }
  .workflow li { width: auto; min-width: 0; }
  .workflow-icon { width: 48px; height: 48px; }
  .workflow-icon svg { width: 21px; height: 21px; }
  .workflow-label { width: 100%; min-height: 26px; margin-top: 9px; padding: 0 3px; font-size: 11px; line-height: 1.3; text-align: center; }
  .workflow-arrow { top: 15px; right: -8px; width: 17px; height: 17px; }
  .tool-card { padding: 10px; }
  .upload-panel { display: flex; }
  .upload-tool-card .dropzone { min-height: 240px; }
  .sample-action-row { grid-template-columns: 1fr; gap: 8px; }
  .sample-note { text-align: center; white-space: normal; }
  .upload-handoff { flex-wrap: wrap; }
  .definition-section { width: calc(100% - 28px); margin-top: 48px; text-align: left; }
  .definition-section h2 { font-size: 31px; }
  .definition-section > p:last-child { margin-top: 16px; font-size: 16px; }
  .audience-strip { width: calc(100% - 28px); margin-top: 28px; padding: 20px; display: block; }
  .audience-strip-copy { min-width: 0; }
  .audience-strip > div:last-child { justify-content: flex-start; margin-top: 16px; }
  .audience-tools-entry { text-align: left; }
  .section { width: calc(100% - 28px); padding: 78px 0; }
  .result-category-showcase { margin-top: 34px; }
  .result-category-tabs-scroll { margin-right: -14px; padding-right: 14px; }
  .result-category-tabs { max-width: none; margin: 0 0 16px; justify-content: flex-start; }
  .result-category-tabs button { min-height: 40px; padding: 0 14px; font-size: 12px; }
  .result-category-panel { padding: 9px; }
  .result-category-header { min-height: 0; padding: 5px 3px 11px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .result-category-header h3 { font-size: 17px; }
  .result-category-header p { justify-content: flex-start; }
  .result-category-label { top: 9px; padding: 5px 7px; font-size: 9px; }
  .result-category-label.before { left: 9px; }
  .result-category-label.after { right: 9px; }
  .result-category-handle { width: 42px; height: 42px; }
  .step-grid, .commerce-section, .feature-grid, .guide-intro, .guide-grid, .source-quotes, .clarity-section, .home-pricing-grid, .faq-section { grid-template-columns: 1fr; }
  .step-grid { margin-top: 36px; }
  .commerce-section, .faq-section { gap: 44px; }
  .guide-intro { gap: 28px; }
  .scenario-board { padding: 15px; }
  .feature-grid .feature-large { grid-row: auto; min-height: 380px; }
  .clarity-section { width: calc(100% - 28px); padding: 42px 28px; gap: 28px; }
  .faq-intro { position: static; }
  .creative-tool-section { width: calc(100% - 28px); margin: 58px auto 45px; }
  .final-cta { width: calc(100% - 28px); margin-bottom: 45px; padding: 58px 22px; }
  .site-footer { width: calc(100% - 28px); }
  .footer-badges { --footer-badge-gap: 36px; --footer-badge-half-gap: 18px; padding: 12px 0 24px; }
  .footer-badge-track { animation-duration: 30s; }
  .footer-main { padding: 40px 0; grid-template-columns: 1fr; gap: 35px; }
  .footer-overview p { margin: 18px 0 9px; }
  .footer-navigation { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }



}

@media (max-width: 430px) {
  .site-header .brand-wordmark { gap: 3px; font-size: 16px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .hero { min-height: auto; }
}


.footer-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  line-height: normal;
  text-align: left;
  cursor: pointer;
}

.footer-link-button:hover { color: var(--coral); }

.cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 500;
  width: min(960px, calc(100% - 36px));
  margin: 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(231, 214, 190, .82);
  border-radius: 14px;
  background: rgba(255, 253, 252, .97);
  box-shadow: 0 10px 26px rgba(16, 35, 61, .08);
  transform: translateX(-50%);
  min-height: 70px;
  font-family: Arial, Helvetica, sans-serif;
}

.cookie-banner-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cookie-banner-copy { min-width: 0; }

.cookie-banner-kicker {
  margin: 0 0 3px;
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cookie-banner h2,
.cookie-modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.cookie-banner h2 { font-size: 15px; letter-spacing: 0; }

.cookie-banner p:not(.cookie-banner-kicker),
.cookie-modal p {
  margin: 8px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner p:not(.cookie-banner-kicker) {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.cookie-inline-button {
  min-height: 44px;
  margin: -10px 0 -10px 8px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-inline-button:hover { color: var(--ink); }

.cookie-banner-actions,
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 8px;
}

.cookie-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-control);
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.cookie-banner .cookie-button {
  min-height: 44px;
  padding: 0 12px;
  font-size: 12px;
}

.cookie-button-choice {
  border: 1px solid var(--warm-border);
  background: #fffdfc;
  color: var(--ink);
  box-shadow: none;
}

.cookie-button-choice:hover {
  border-color: #e9a798;
  color: var(--coral-dark);
  background: #fff8f4;
}

.cookie-button-primary {
  border: 1px solid var(--coral);
  background: var(--coral);
  color: white;
  box-shadow: 0 8px 20px rgba(244, 81, 50, .16);
}

.cookie-button-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); }

.cookie-button-secondary {
  border: 1px solid var(--warm-border);
  background: #fffdfc;
  color: var(--ink);
}

.cookie-button-secondary:hover { border-color: #e9a798; color: var(--coral-dark); }

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 510;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 35, 61, .28);
  backdrop-filter: blur(6px);
}

.cookie-modal {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid rgba(231, 214, 190, .86);
  border-radius: 22px;
  background: #fffdfc;
  box-shadow: 0 28px 80px rgba(16, 35, 61, .2);
}

.cookie-modal-heading { margin-bottom: 18px; }

.cookie-toggle {
  min-height: 82px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  background: #fffaf3;
}

.cookie-toggle span { display: grid; gap: 4px; }
.cookie-toggle strong { font-size: 15px; }
.cookie-toggle small { color: var(--body); font-size: 12px; line-height: 1.45; }
.cookie-toggle input { width: 22px; height: 22px; accent-color: var(--coral); flex: 0 0 auto; }
.cookie-modal-actions { margin-top: 18px; }

@media (max-width: 760px) {
  .cookie-banner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    min-height: 136px;
  }

  .cookie-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .cookie-banner-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cookie-button { width: 100%; }
}

@media (max-width: 560px) {
  .cookie-banner { bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 12px; min-height: 144px; }
  .cookie-banner h2, .cookie-modal h2 { font-size: 20px; }
  .cookie-banner h2 { font-size: 14px; }
  .cookie-modal { padding: 20px; border-radius: 18px; }
}

.commerce-page-link { margin-top: 24px; }

.feedback-trigger {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 490;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid rgba(169, 43, 23, .28);
  border-radius: 999px;
  background: var(--coral);
  color: white;
  box-shadow: 0 13px 30px rgba(169, 43, 23, .26);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.feedback-trigger:hover { background: var(--coral-dark); box-shadow: 0 16px 34px rgba(169, 43, 23, .32); transform: translateY(-2px); }
.feedback-trigger:active { transform: translateY(0); }

.feedback-backdrop {
  position: fixed;
  z-index: 520;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 35, 61, .48);
  backdrop-filter: blur(8px);
  overflow-y: auto;
}

.feedback-dialog {
  width: min(620px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(231, 214, 190, .92);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 32px 90px rgba(16, 35, 61, .3);
  overscroll-behavior: contain;
}

.feedback-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.feedback-heading > div { min-width: 0; }
.feedback-heading .section-kicker { margin: 0 0 8px; }
.feedback-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.035em; line-height: 1.05; }
.feedback-heading p:not(.section-kicker) { max-width: 500px; margin: 10px 0 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.feedback-close {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--warm-border);
  border-radius: 50%;
  background: #fffaf3;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.feedback-close:hover { border-color: rgba(201,54,31,.46); background: var(--butter-pale); }

.feedback-form { display: grid; gap: 16px; }
.feedback-types { min-width: 0; margin: 0; padding: 0; border: 0; }
.feedback-types legend,
.feedback-field > span { margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.feedback-types legend { padding: 0; }
.feedback-types > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.feedback-types button {
  min-width: 0;
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 12px 8px;
  border: 1px solid var(--warm-border);
  border-radius: 15px;
  background: #fffaf3;
  color: var(--body);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.feedback-types button:hover { border-color: rgba(201,54,31,.4); color: var(--ink); }
.feedback-types button.selected { border-color: var(--coral); background: rgba(255, 242, 200, .72); color: var(--coral-dark); box-shadow: inset 0 0 0 1px rgba(201,54,31,.14); }
.feedback-types button span { font-size: 12px; font-weight: 800; }

.feedback-field { position: relative; display: grid; min-width: 0; }
.feedback-field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.feedback-field > span b { color: #82776c; font-size: 11px; font-weight: 700; }
.feedback-field textarea,
.feedback-field input {
  width: 100%;
  border: 1px solid #cbbba5;
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.feedback-field textarea { min-height: 108px; resize: vertical; padding: 13px 16px 28px; line-height: 1.55; }
.feedback-field input { min-height: 50px; padding: 0 16px; }
.feedback-field textarea:focus,
.feedback-field input:focus { border-color: var(--coral); outline: 0; box-shadow: 0 0 0 3px rgba(201,54,31,.12); }
.feedback-field textarea::placeholder,
.feedback-field input::placeholder { color: #8e9096; }
.feedback-field small { position: absolute; right: 12px; bottom: 9px; color: #7c7369; font-size: 11px; font-variant-numeric: tabular-nums; }
.feedback-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feedback-primary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; }
.feedback-primary:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; }
.feedback-privacy { margin: -4px 2px 0; color: var(--body); font-size: 12px; line-height: 1.5; text-align: center; }
.feedback-error { margin: -4px 0 0; padding: 11px 13px; border: 1px solid rgba(169,43,23,.28); border-radius: 12px; background: #fff0ec; color: #8d2e24; font-size: 13px; line-height: 1.45; }

.feedback-success { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.feedback-success > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--butter-pale); color: var(--coral); }
.feedback-success h3 { margin: 4px 0 0; font-size: 25px; }
.feedback-success p { margin: 0; color: var(--body); }
.feedback-success > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.feedback-secondary { min-height: 50px; padding: 0 20px; border: 1px solid var(--warm-border); border-radius: var(--radius-control); background: #fffaf3; font-weight: 750; cursor: pointer; }

@media (max-width: 760px) {
  .feedback-trigger { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); min-height: 46px; padding: 0 16px; }
  .feedback-backdrop { align-items: end; padding: 10px; }
  .feedback-dialog { max-height: calc(100dvh - 20px); padding: 20px; border-radius: 20px; }
  .feedback-heading { gap: 14px; margin-bottom: 16px; }
  .feedback-heading h2 { font-size: 28px; }
  .feedback-types > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-types button { min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-trigger,
  .feedback-close,
  .feedback-types button,
  .feedback-field textarea,
  .feedback-field input { transition: none; }
  .feedback-trigger:hover { transform: none; }
}


/* Homepage-only refinements; shared tool pages retain their existing layout. */
.homepage .hero { width: min(1200px, calc(100% - 40px)); min-height: auto; padding: 52px 0 48px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 48px; }
.homepage .hero-copy { padding: 0; }
.homepage .hero-description { font-size: 18px; line-height: 1.6; margin-top: 20px; }
.homepage .hero-trust { margin-top: 18px; max-width: 480px; font-size: 13px; line-height: 1.55; color: #6b6862; }
.homepage .eyebrow { margin-bottom: 20px; }
.homepage .upload-tool-card { min-width: 0; }
.homepage .upload-tool-card .dropzone { min-height: 190px; border-color: #9a9287; background: #fffaf3; }
.homepage .upload-tool-card .dropzone:is(:hover, :focus-visible, .is-drag-over) { border-color: var(--coral); background: #fff5ed; }
.homepage .choose-button { min-height: 48px; width: 190px; font-size: 16px; }
.homepage .upload-card-heading p { font-size: 14px; }
.homepage .upload-signin-note { margin: 12px 0; font-size: 14px; line-height: 1.5; color: var(--body); }
.homepage .upload-signin-note > span { display: block; }
.homepage .upload-eligibility-note { margin-top: 3px; color: #6b6862; }
.homepage .upload-eligibility-note a { text-decoration: underline; text-underline-offset: 3px; }
.homepage .sample-preview { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--warm-border); border-radius: var(--radius-control); background: #fffaf3; cursor: pointer; }
.homepage .sample-preview:hover { border-color: var(--coral); background: #fff5ed; }
.homepage .sample-preview:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.homepage .sample-preview img { display: block; width: 112px; height: 72px; object-fit: contain; border-radius: var(--radius-compact); background: var(--butter-pale); }
.homepage .sample-preview p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.45; }
.homepage .sample-preview-link { display: flex; align-items: center; min-height: 30px; gap: 8px; width: fit-content; color: var(--coral-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.homepage .sample-note { display: block; white-space: normal; text-align: left; font-size: 14px; font-weight: 500; }
.homepage .workflow { margin-top: 28px; gap: 16px; }
.homepage .workflow li { width: 104px; min-width: 0; }
.homepage .workflow-arrow { right: -17px; }
.homepage :is(#editor, #how-it-works, #faq, #result, #pricing-summary) { scroll-margin-top: 100px; }
.homepage .section { width: min(1200px, calc(100% - 40px)); }
.homepage .result-section { padding-top: 24px; margin-top: 0; }
.homepage .result-category-showcase { margin-top: 28px; }
.homepage .result-category-tabs button { min-height: 44px; }
.homepage .result-category-header p { font-size: 14px; }
.homepage .result-category-image { object-fit: contain; }
.homepage .result-category-frame:focus-within { outline: 3px solid var(--coral); outline-offset: 3px; }
.homepage .result-category-range { touch-action: pan-y; }
.homepage .result-compare-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; }
.homepage .result-compare-controls p { margin: 0; color: var(--body); font-size: 14px; }
.homepage .result-compare-controls [role="group"] { display: flex; gap: 6px; }
.homepage .result-compare-controls button { min-height: 44px; padding: 0 14px; border: 1px solid var(--warm-border); border-radius: var(--radius-control); background: var(--card); font: inherit; cursor: pointer; }
.homepage .result-compare-controls button[aria-pressed="true"] { background: var(--ink); color: white; }
.homepage .definition-section { margin-top: 40px; max-width: 820px; }
.homepage .definition-section h2 { font-size: 30px; }
.homepage .definition-section > p { line-height: 1.6; }
.homepage .audience-strip { margin-top: 28px; }
.homepage .site-footer .creative-tool-section { width: 100%; max-width: 820px; margin: 0 0 32px; text-align: left; }
.homepage .site-footer .creative-tool-section h2 { font-size: 20px; letter-spacing: normal; }
.homepage .site-footer .creative-tool-section p { max-width: none; font-size: 14px; margin-left: 0; }
@media (min-width: 1081px) {
  .homepage .hero { width: min(1370px, calc(100% - 56px)); min-height: min(816px, calc(100svh - 84px)); grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 48px; }
  .homepage .hero-description { font-size: 20px; line-height: 1.55; }
  .homepage .upload-tool-card .dropzone { min-height: 300px; }
}
@media (max-width: 1080px) {
  .homepage .hero { grid-template-columns: 1fr; max-width: 760px; gap: 24px; padding-top: 28px; }
  .homepage .hero-copy > div { display: contents; }
  .homepage .hero-copy { display: contents; }
  .homepage .workflow { display: none; }
  .homepage .hero-description, .homepage .hero-trust { max-width: none; }
}
@media (max-width: 600px) {
  .homepage .hero { width: calc(100% - 32px); padding-top: 16px; padding-bottom: 24px; }
  .homepage h1 { font-size: 36px; }
  .homepage .eyebrow { font-size: 12px; padding: 7px 10px; margin-bottom: 14px; }
  .homepage .hero-description { font-size: 16px; line-height: 1.5; margin-top: 0; }
  .homepage .hero-copy > div { display: contents; }
  .homepage .hero-copy { display: contents; }
  .homepage .hero-trust { order: 2; margin: 0; }
  .homepage .eyebrow, .homepage h1, .homepage .hero-description { margin-bottom: 0; }
  .homepage .hero { gap: 10px; }
  .homepage .upload-tool-card { padding: 14px; }
  .homepage .upload-tool-card .dropzone { min-height: 155px; padding: 12px; }
  .homepage .upload-card-heading { margin-bottom: 12px; }
  .homepage .sample-preview { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
  .homepage .sample-preview img { width: 86px; height: 64px; }
  .homepage .section, .homepage .definition-section, .homepage .audience-strip { width: calc(100% - 32px); }
  .homepage .result-category-tabs-scroll { margin: 0; padding: 0; }
  .homepage .result-category-tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; gap: 4px; }
  .homepage .result-category-handle { width: 48px; height: 48px; }
  .homepage .result-compare-controls { gap: 10px; }
  .homepage .result-compare-controls [role="group"] { width: 100%; }
  .homepage .result-compare-controls button { flex: 1; padding: 0 8px; }
  /* Keep feedback available without covering the narrow comparison canvas. */
  body:has(.homepage) .feedback-trigger { position: static; margin: 12px 16px 20px auto; display: flex; width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .homepage *, .homepage *::before, .homepage *::after { animation: none !important; transition: none !important; }
}

