:root {
  --ink: #141513;
  --muted: #5e655d;
  --line: #dfe5dc;
  --paper: #f8faf7;
  --panel: #ffffff;
  --panel-2: #eef4ec;
  --green: #6e9f37;
  --green-dark: #47721c;
  --blue: #315fd6;
  --blue-soft: rgba(49, 95, 214, 0.08);
  --blue-hover: #2548a3;
  --amber: #f1b83a;
  --coral: #d66b58;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(20, 21, 19, 0.08);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(20, 21, 19, 0.16);
  background: #11140f;
  color: white;
}

.brand-mark svg,
.header-action svg,
.primary-link svg,
.drop-icon svg,
.generate-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg {
  fill: currentColor;
  stroke: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.header-nav a:hover {
  color: var(--ink);
}

.header-action,
.primary-link,
.secondary-link,
.generate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.header-action {
  min-height: 42px;
  padding: 0 16px;
  background: var(--ink);
  color: white;
  flex-shrink: 0;
  margin-left: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(86vh - 72px);
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 21, 19, 0.08);
}

.hero-showcase {
  position: absolute;
  inset: 88px 24px 42px auto;
  z-index: 1;
  width: min(48vw, 760px);
  pointer-events: none;
}

.hero-card {
  position: absolute;
  display: block;
  width: clamp(150px, 18vw, 270px);
  height: clamp(150px, 18vw, 270px);
  object-fit: cover;
  border: 10px solid var(--panel);
}

.hero-card-a {
  right: 36%;
  top: 10%;
  transform: rotate(-7deg);
}

.hero-card-b {
  right: 4%;
  top: 3%;
  transform: rotate(6deg);
}

.hero-card-c {
  right: 39%;
  bottom: 8%;
  transform: rotate(5deg);
}

.hero-card-d {
  right: 1%;
  bottom: 12%;
  transform: rotate(-5deg);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--paper);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  max-width: 100%;
  min-width: 0;
  padding: clamp(70px, 10vw, 132px) 28px 72px;
}

.section-heading,
.tool-grid > *,
.proof-strip > *,
.example-card,
.comparison-section > *,
.site-footer > * {
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eyebrow span {
  border: 1px solid rgba(110, 159, 55, 0.22);
  background: rgba(110, 159, 55, 0.08);
  padding: 6px 9px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 22px 0 0;
  font-size: clamp(56px, 10vw, 138px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 740px;
  margin: 28px 0 0;
  color: #343a33;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-link,
.secondary-link {
  min-height: 52px;
  padding: 0 22px;
}

.primary-link {
  background: var(--amber);
  color: #16120a;
}

.primary-link:hover {
  background: #e2ab32;
}

.header-action:hover {
  background: #2a2d29;
}

.secondary-link {
  border: 1px solid rgba(20, 21, 19, 0.18);
  background: var(--panel);
}

.secondary-link:hover {
  border-color: rgba(20, 21, 19, 0.32);
  background: #f4f7f3;
}

.tool-section,
.examples-section,
.workflows-section,
.faq-section,
.comparison-section,
.bottom-cta {
  padding: 76px 28px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2,
.comparison-copy h2,
.bottom-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.section-heading p:not(.kicker),
.comparison-copy p,
.bottom-cta p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.generator-panel,
.handoff-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
}

.generator-panel {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: clamp(18px, 3vw, 28px);
}

.handoff-header,
.input-stack {
  display: grid;
  gap: 10px;
}

.handoff-header h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.handoff-header p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.step-pill {
  justify-self: start;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 20px;
}

.input-stack label,
.reference-list {
  color: #30352f;
}

.input-stack > label {
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.drop-zone:focus-within {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 95, 214, 0.12);
  outline-offset: 0;
}

.drop-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 280px;
  padding: 40px;
  overflow: hidden;
  border: 2px dashed #d1d9d1;
  border-radius: var(--radius);
  background: #fafcf9;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--blue);
  background: #f2f7f1;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--blue);
}

.drop-title {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.drop-meta {
  margin: 0;
  font-size: 13px;
  opacity: 0.6;
}

.preview-image {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-zone.has-preview .preview-image {
  display: block;
}

.drop-zone.has-preview .drop-icon,
.drop-zone.has-preview .drop-title,
.drop-zone.has-preview .drop-meta {
  position: relative;
  z-index: 1;
  background: rgba(248, 250, 247, 0.88);
  padding: 4px 8px;
}

.generate-button {
  min-height: 62px;
  background: var(--blue);
  color: white;
  font-size: 18px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.generate-button:hover {
  background: var(--blue-hover);
}

.generate-button:active {
  background: #1f3d8d;
}

.handoff-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.handoff-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
}

.handoff-panel h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

.reference-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.45;
}

.reference-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15px;
}

.reference-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 2px;
  background: var(--blue);
  opacity: 0.4;
  border-radius: 2px;
}

.handoff-card {
  display: grid;
  gap: 8px;
  margin-top: auto;
  border: 1px solid rgba(49, 95, 214, 0.18);
  background: var(--blue-soft);
  padding: 20px;
  border-radius: 8px;
}

.handoff-card strong {
  font-size: 17px;
}

.handoff-card span {
  color: var(--muted);
  line-height: 1.5;
}

.is-hidden {
  display: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-strip div {
  display: grid;
  gap: 7px;
  min-height: 132px;
  align-content: center;
  background: white;
  padding: 22px;
}

.proof-strip strong {
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.example-card {
  border: 1px solid var(--line);
  background: white;
  padding: 14px;
}

.asset-preview {
  position: relative;
  display: block;
  height: 230px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 21, 19, 0.08);
  background: #f7efe4;
}

.asset-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text Intent Bridge Styles */
.text-intent-bridge {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 40px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}

.bridge-content {
  display: grid;
  gap: 12px;
}

.bridge-content h3 {
  margin: 0;
  font-size: 28px;
}

.bridge-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #4a5249;
  line-height: 1.4;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.bridge-action {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .text-intent-bridge {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 20px;
  }

  .bridge-action {
    justify-content: flex-start;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

.example-card h3 {
  margin: 16px 0 0;
  font-size: 20px;
}

.example-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.workflows-section {
  background: var(--paper);
  border-top: 1px solid rgba(20, 21, 19, 0.06);
  border-bottom: 1px solid rgba(20, 21, 19, 0.06);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.workflow-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(20, 21, 19, 0.1);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.workflow-item:hover {
  border-color: rgba(49, 95, 214, 0.26);
  background: #fbfcfb;
}

.workflow-icon {
  --icon-accent: var(--green-dark);
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--icon-accent);
  background: var(--panel-2);
  border: 1px solid rgba(20, 21, 19, 0.1);
  border-radius: 8px;
}

.workflow-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-icon-character {
  --icon-accent: var(--blue);
}

.workflow-icon-import {
  --icon-accent: var(--coral);
}

.workflow-icon-speed {
  --icon-accent: #9f720f;
}

.workflow-text {
  flex: 1;
  min-width: 0;
}

.workflow-item h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: var(--ink);
}

.workflow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-item {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 24px;
  }

  .workflow-icon {
    width: 52px;
    height: 52px;
  }
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: center;
}

.comparison-copy {
  min-width: 0;
}

.comparison-copy p {
  margin-left: 0;
}

.comparison-table {
  display: grid;
  border: 1px solid var(--line);
  background: white;
}

.comparison-table [role="row"] {
  display: grid;
  grid-template-columns: 0.75fr 0.85fr 1fr;
}

.comparison-table [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.comparison-table span {
  min-height: 62px;
  padding: 18px;
  line-height: 1.35;
}

.comparison-table span + span {
  border-left: 1px solid var(--line);
}

.comparison-table [role="columnheader"] {
  background: #eef4ec;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

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

summary {
  cursor: pointer;
  padding: 19px 20px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.bottom-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  background: #11140f;
  color: white;
}

.bottom-cta p {
  color: #c9d0c6;
}

.bottom-cta .primary-link {
  margin-top: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #11140f;
  color: white;
}

.site-footer p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #aeb8ac;
  line-height: 1.55;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  justify-content: flex-end;
  color: #dce4d8;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .header-action {
    justify-self: end;
    margin-left: 0;
    min-width: 92px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background: var(--paper);
  }

  .hero-showcase {
    display: none;
  }

  .hero-inner {
    padding: 64px 20px;
  }

  .tool-section,
  .examples-section,
  .workflows-section,
  .faq-section,
  .comparison-section,
  .bottom-cta {
    padding: 60px 20px;
  }

  .tool-grid,
  .comparison-section {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .example-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    display: none;
  }

  .hero-inner {
    padding: 58px 20px 54px;
    width: min(100%, 350px);
  }

  .eyebrow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .eyebrow span {
    min-width: 0;
    padding: 6px 7px;
    text-align: center;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 56px);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
    min-height: 52px;
  }

  .section-heading h2,
  .comparison-copy h2,
  .bottom-cta h2 {
    font-size: clamp(29px, 10vw, 38px);
    line-height: 1.05;
  }

  .section-heading,
  .tool-grid,
  .proof-strip,
  .example-grid,
  .workflow-grid,
  .comparison-section,
  .faq-list {
    max-width: 350px;
    margin-left: 0;
    margin-right: auto;
  }

  .proof-strip,
  .example-grid,
  .comparison-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .comparison-table span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .asset-preview {
    height: 210px;
  }
}

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

}
