:root {
  --paper: #fbfaf6;
  --paper-strong: #ffffff;
  --ink: #12201f;
  --muted: #60716e;
  --line: #dce5df;
  --line-strong: #b9c9c1;
  --mint: #9ff0c8;
  --green: #236b54;
  --blue: #4c8dcb;
  --coral: #f47f62;
  --gold: #f3c35c;
  --plum: #6f4fa3;
  --ink-panel: #142220;
  --shadow: 0 18px 45px rgba(18, 32, 31, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body,
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px 6vw;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 22px;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--paper-strong);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button.primary {
  border-color: #173a2f;
  background: #173a2f;
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
}

.header-button {
  min-height: 40px;
  padding: 9px 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 58px 6vw 36px;
  background:
    linear-gradient(120deg, rgba(159, 240, 200, 0.18), rgba(244, 127, 98, 0.1) 48%, rgba(76, 141, 203, 0.14)),
    var(--paper);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 0;
  font-size: 82px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 20px 0 26px;
  color: #334542;
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 570px;
  margin: 34px 0 0;
}

.proof-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.proof-strip dt {
  font-size: 30px;
  font-weight: 900;
}

.proof-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(18, 32, 31, 0.18);
  box-shadow: 0 28px 70px rgba(18, 32, 31, 0.22);
  background: #0f1918;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(18, 32, 31, 0.82);
  color: #eef8f3;
  font-size: 14px;
}

.hero-media strong {
  color: var(--mint);
}

.signal-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px 6vw 20px;
  background: var(--paper);
}

.signal-band span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: #ffffff;
  color: #415450;
  font-size: 13px;
  font-weight: 800;
}

section {
  padding: 82px 6vw;
}

.band-white {
  background: #ffffff;
}

.band-tint {
  background: #eef7f0;
}

.band-ink {
  background: var(--ink-panel);
  color: #f6fbf8;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(520px, 1.32fr);
  gap: 38px;
  align-items: start;
}

.section-kicker h2,
.section-heading h2,
.library-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.section-heading p,
.library-copy p,
.final-cta p,
.feature-grid p,
.price-card p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.band-ink .eyebrow {
  color: var(--mint);
}

.band-ink .library-copy p {
  color: #bad0c8;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.price-card,
.folder-card,
.history-card,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
}

.feature-grid article {
  min-height: 210px;
}

.feature-grid h3,
.price-card h3,
.folder-card h3,
.history-card h3,
.result-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: #173a2f;
  color: #ffffff;
  font-weight: 900;
}

.maker-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.maker-panel,
.result-panel {
  border: 1px solid #b7d0c1;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow);
}

fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

legend,
.field-block,
.field-grid label {
  display: grid;
  gap: 8px;
  color: #203632;
  font-weight: 850;
}

legend {
  margin-bottom: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px;
  background: #f8fbf7;
  color: #465955;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid label:has(input:checked) {
  border-color: #173a2f;
  background: #173a2f;
  color: #ffffff;
}

.field-block {
  margin-bottom: 16px;
}

textarea,
select,
input[type="text"],
input[type="number"] {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 12px;
  outline: 0;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

textarea:focus,
select:focus,
input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(76, 141, 203, 0.15);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 16px;
  color: #465955;
  font-weight: 760;
}

.estimate-row,
.wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid #bdd6c7;
  border-radius: var(--radius);
  background: #f2fbf5;
  padding: 14px;
  color: #294a3d;
  font-weight: 800;
}

.estimate-row strong,
.wallet-row strong {
  font-size: 22px;
}

.result-panel {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto auto;
  gap: 14px;
}

.result-preview {
  min-height: 290px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-image: url("assets/hero-showcase.png");
  background-size: 185%;
  background-position: 20% 20%;
}

.result-preview.sample-product {
  background-position: 18% 19%;
}

.result-preview.sample-social {
  background-position: 83% 23%;
}

.result-preview.sample-website {
  background-position: 82% 20%;
}

.result-preview.sample-gift {
  background-position: 45% 86%;
}

.result-preview.sample-logo {
  background-position: 79% 82%;
}

.result-preview.sample-print {
  background-position: 40% 84%;
}

.result-preview.warning {
  background-image: linear-gradient(135deg, rgba(244, 127, 98, 0.88), rgba(243, 195, 92, 0.84));
  background-size: cover;
}

.result-copy {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fbfdfb;
}

.result-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-actions button,
.history-header button {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  min-height: 40px;
  padding: 9px;
  font-weight: 850;
  cursor: pointer;
}

.quick-actions button:hover,
.history-header button:hover {
  border-color: var(--green);
  color: var(--green);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recipe-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  background-color: #173a2f;
  background-image: url("assets/hero-showcase.png");
  background-size: 190%;
  overflow: hidden;
  position: relative;
}

.recipe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 32, 31, 0.04), rgba(18, 32, 31, 0.78));
}

.recipe-card span,
.recipe-card strong {
  position: relative;
}

.recipe-card span {
  font-size: 22px;
  font-weight: 900;
}

.recipe-card strong {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.45;
}

.recipe-card.product {
  background-position: 16% 18%;
}

.recipe-card.social,
.recipe-card.website {
  background-position: 85% 22%;
}

.recipe-card.gift,
.recipe-card.print {
  background-position: 42% 83%;
}

.recipe-card.logo {
  background-position: 80% 80%;
}

.library {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(520px, 1.32fr);
  gap: 38px;
  align-items: start;
}

.library-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(300px, 1.25fr);
  gap: 16px;
}

.folder-card,
.history-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f6fbf8;
}

.folder-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  color: #d7e6df;
}

.folder-row:first-of-type {
  border-top: 0;
}

.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-list {
  display: grid;
  gap: 10px;
  min-height: 230px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.history-list strong {
  display: block;
  margin-bottom: 4px;
}

.history-list span {
  display: block;
  color: #bdd0c8;
  font-size: 13px;
  line-height: 1.45;
}

.trust .feature-grid article {
  background: #fbfdfb;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: #173a2f;
  box-shadow: 0 18px 40px rgba(35, 107, 84, 0.18);
}

.plan {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 38px;
}

.price-card ul {
  flex: 1;
  margin: 14px 0 22px;
  padding-left: 20px;
  color: #3f514d;
  line-height: 1.8;
}

.price-card .button {
  width: 100%;
}

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

.faq details {
  min-height: 120px;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq p {
  margin-bottom: 0;
}

.final-cta {
  margin: 0;
  padding: 84px 6vw;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(159, 240, 200, 0.22), rgba(244, 127, 98, 0.16), rgba(76, 141, 203, 0.16)),
    #ffffff;
}

.final-cta p {
  max-width: 700px;
  margin: 16px auto 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .hero,
  .intro,
  .maker-grid,
  .library {
    grid-template-columns: 1fr;
  }

  .feature-grid.four,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    max-width: 820px;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 20px;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-button {
    margin-left: auto;
  }

  .hero {
    gap: 24px;
    padding: 32px 20px 16px;
  }

  section,
  .final-cta {
    padding: 58px 20px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .section-kicker h2,
  .section-heading h2,
  .library-copy h2,
  .final-cta h2 {
    font-size: 36px;
  }

  .feature-grid.three,
  .feature-grid.four,
  .recipe-grid,
  .pricing-grid,
  .faq-grid,
  .library-grid {
    grid-template-columns: 1fr;
  }

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

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .proof-strip div {
    padding: 12px 10px;
  }

  .proof-strip dt {
    font-size: 24px;
  }

  .proof-strip dd {
    font-size: 12px;
  }

  .hero-media figcaption,
  .site-footer,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button,
  .hero-actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 19px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-button {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-media figcaption,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    display: grid;
  }
}
