:root {
  --paper: #f2f2ed;
  --paper-deep: #e7e7df;
  --surface: #ffffff;
  --ink: #111111;
  --ink-soft: #5e605a;
  --blue: #1557ff;
  --blue-soft: #dce7ff;
  --lime: #d8ff3e;
  --lime-soft: #efffc4;
  --white: #ffffff;
  --error: #bd2c22;
  --success: #115c31;
  --font: "Archivo", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-cjk: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1.08rem + 0.72vw, 1.65rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --margin: clamp(1.125rem, 1.8vw, 2rem);
  --section-gap: clamp(6rem, 10vw, 10rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-cjk);
  font-size: var(--step-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure,
blockquote {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem var(--margin);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.5rem);
  font-size: var(--step-small);
}

.site-nav a,
.header-action,
.text-button,
.footer__top a {
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-hover) ease;
}

.site-nav a:hover,
.header-action:hover,
.text-button:hover,
.footer__top a:hover {
  text-decoration-color: currentColor;
}

.header-action {
  justify-self: end;
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 700;
}

.hero {
  display: grid;
  min-height: calc(100svh - 4.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  grid-template-rows: 1fr auto;
  gap: 2rem var(--margin);
  align-items: center;
  padding: clamp(2rem, 4vw, 4.5rem) var(--margin) var(--margin);
  background: var(--paper);
}

.hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.hero__title {
  max-width: 8ch;
  font-family: var(--font-cjk);
  font-size: clamp(5.25rem, 12.7vw, 11.5rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.065em;
  margin-bottom: -0.065em;
}

.hero__title [data-line] {
  display: block;
}

.hero__lead {
  max-width: 33rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  font-size: var(--step-lead);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero__actions > span {
  color: var(--ink-soft);
  font-size: var(--step-small);
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.button svg {
  flex: 0 0 auto;
}

.button:active {
  transform: scale(0.975);
}

.button--primary {
  min-width: 11.5rem;
  background: var(--ink);
  color: var(--lime);
}

.hero__visual {
  position: relative;
  min-height: clamp(27rem, 48vw, 43rem);
}

.hero-slide {
  position: absolute;
  display: flex;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  font-family: var(--font-cjk);
}

.hero-slide span,
.hero-slide small {
  font-size: var(--step-small);
}

.hero-slide strong {
  max-width: 10ch;
  font-size: clamp(1.65rem, 3vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-slide--back {
  top: 5%;
  right: 0;
  width: 70%;
  background: var(--blue-soft);
  color: var(--ink);
  transform: rotate(4deg);
}

.hero-slide--back strong {
  max-width: 12ch;
  color: var(--blue);
}

.hero-slide--front {
  right: 11%;
  bottom: 4%;
  width: 82%;
  background: var(--blue);
  color: var(--white);
  transform: rotate(-3deg);
}

.hero-slide--front small {
  align-self: flex-end;
}

.hero__price-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 8.5rem;
  min-height: 8.5rem;
  place-content: center;
  padding: 1rem;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  transform: translate(0, 18%);
}

.hero__price-note strong {
  font-size: 2.35rem;
  line-height: 1;
}

.hero__price-note span {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--step-small);
  font-weight: 700;
}

.hero__facts p:nth-child(even) {
  text-align: center;
}

.hero__facts p:nth-child(3) {
  text-align: right;
}

.hero__facts p:last-child {
  text-align: right;
}

.generator {
  padding: var(--section-gap) var(--margin);
  background: var(--surface);
}

.section-heading {
  display: grid;
  max-width: 90rem;
  margin: 0 auto clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.section-heading h2,
.showcase h2,
.features h2,
.how h2,
.faq h2,
.closing h2 {
  max-width: 12ch;
  font-family: var(--font-cjk);
  font-size: var(--step-head);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.section-heading p {
  max-width: 32rem;
  font-size: var(--step-lead);
  line-height: 1.45;
  text-wrap: pretty;
}

.workspace {
  display: grid;
  max-width: 90rem;
  margin: 0 auto;
  grid-template-columns: minmax(20rem, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.workspace > * {
  min-width: 0;
}

.builder-panel,
.preview-panel {
  min-width: 0;
  background: var(--paper);
}

.builder-panel {
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
}

.field-group {
  margin: 0 0 1.6rem;
}

.field-group label,
.field-group legend {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.field-group label span {
  color: var(--ink-soft);
  font-weight: 500;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

input[type="text"],
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.5;
}

input[type="text"],
select {
  min-height: 3.25rem;
  padding: 0.7rem 0.85rem;
}

textarea {
  min-height: 7rem;
  padding: 0.85rem;
  resize: vertical;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--blue);
  outline-offset: 0;
}

.field-note {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.type-options label {
  position: relative;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
}

.type-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.type-options span {
  display: grid;
  min-height: 2.8rem;
  place-items: center;
  padding: 0.6rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.type-options label:active span {
  transform: scale(0.98);
}

.type-options input:checked + span {
  background: var(--ink);
  color: var(--white);
}

.type-options input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-row .field-group {
  margin-bottom: 1rem;
}

.button--submit {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--blue);
  color: var(--white);
}

.form-status {
  min-height: 1.25rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.form-status.is-error {
  color: var(--error);
}

.preview-panel {
  position: sticky;
  top: 1rem;
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
}

.preview-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.preview-header h3 {
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.preview-header p {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.theme-switcher {
  display: flex;
  background: var(--surface);
}

.theme-button {
  border: 0;
  padding: 0.55rem 0.68rem;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.theme-button.is-active {
  background: var(--ink);
  color: var(--lime);
}

.slide-stage {
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 1.5vw, 1.25rem);
  background: var(--paper-deep);
}

.slide-canvas {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.1rem, 3vw, 3.5rem);
  color: var(--slide-ink);
  background: var(--slide-bg);
  font-family: var(--font-cjk);
  transition: background-color 260ms ease, color 260ms ease;
  view-timeline-name: --preview;
}

.slide-canvas.theme-blue {
  --slide-bg: #f7f8f3;
  --slide-ink: #111111;
  --slide-accent: #1557ff;
  --slide-accent-ink: #ffffff;
  --slide-soft: #dce7ff;
}

.slide-canvas.theme-black {
  --slide-bg: #111111;
  --slide-ink: #f1f4f2;
  --slide-accent: #d8ff3e;
  --slide-accent-ink: #111111;
  --slide-soft: #242424;
}

.slide-canvas.theme-lime {
  --slide-bg: #d8ff3e;
  --slide-ink: #111111;
  --slide-accent: #1557ff;
  --slide-accent-ink: #ffffff;
  --slide-soft: #efffc4;
}

.slide-canvas__brand,
.slide-canvas__page,
.slide-canvas__footer {
  position: absolute;
  z-index: 2;
  font-size: clamp(0.55rem, 0.8vw, 0.78rem);
  font-weight: 700;
}

.slide-canvas__brand {
  top: clamp(1rem, 2.4vw, 2.3rem);
  left: clamp(1.1rem, 3vw, 3.5rem);
}

.slide-canvas__page {
  top: clamp(1rem, 2.4vw, 2.3rem);
  right: clamp(1.1rem, 3vw, 3.5rem);
  font-variant-numeric: tabular-nums;
}

.slide-canvas__footer {
  right: clamp(1.1rem, 3vw, 3.5rem);
  bottom: clamp(0.85rem, 2vw, 1.8rem);
  color: inherit;
  opacity: 0.65;
}

.slide-canvas__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: 100%;
  height: 100%;
}

.slide-kicker {
  margin-bottom: clamp(0.65rem, 1.5vw, 1.2rem);
  color: var(--slide-accent);
  font-size: clamp(0.65rem, 1vw, 0.9rem);
  font-weight: 800;
}

.slide-title {
  max-width: 14ch;
  font-size: clamp(1.5rem, 4vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.slide-title.is-small {
  max-width: 18ch;
  font-size: clamp(1.3rem, 3.15vw, 3.3rem);
}

.slide-body {
  max-width: 32rem;
  margin-top: clamp(0.8rem, 2vw, 1.6rem);
  font-size: clamp(0.75rem, 1.15vw, 1.15rem);
  line-height: 1.55;
}

.slide-note {
  display: flex;
  max-width: 32rem;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(0.8rem, 1.8vw, 1.6rem);
  padding: clamp(0.65rem, 1.2vw, 1rem);
  background: var(--slide-soft);
  font-size: clamp(0.65rem, 0.95vw, 0.9rem);
}

.slide-note::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  background: var(--slide-accent);
  content: "";
}

.slide-list {
  display: grid;
  margin-top: clamp(0.7rem, 1.6vw, 1.3rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1.2rem);
}

.slide-list li {
  display: grid;
  min-height: 6.2rem;
  align-content: space-between;
  padding: clamp(0.65rem, 1.3vw, 1rem);
  background: var(--slide-soft);
  font-size: clamp(0.62rem, 0.9vw, 0.85rem);
}

.slide-list strong {
  color: var(--slide-accent);
  font-size: clamp(0.8rem, 1.35vw, 1.3rem);
}

.slide-quote {
  max-width: 18ch;
  font-size: clamp(1.2rem, 3.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.slide-accent-block {
  width: min(38%, 13rem);
  min-height: 0.7rem;
  margin-top: clamp(1rem, 2vw, 2rem);
  background: var(--slide-accent);
}

.preview-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

.preview-controls p {
  text-align: center;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.control-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}

.control-button:hover {
  background: var(--lime);
}

.control-button:active {
  transform: scale(0.94);
}

.slide-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.slide-thumb {
  display: grid;
  flex: 0 0 4.9rem;
  gap: 0.3rem;
  border: 0;
  padding: 0.35rem;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.67rem;
  text-align: left;
}

.slide-thumb::before {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper-deep);
  content: "";
}

.slide-thumb.is-active {
  color: var(--ink);
  font-weight: 700;
}

.slide-thumb.is-active::before {
  background: var(--blue);
}

.export-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.button--download {
  min-width: 15rem;
  background: var(--ink);
  color: var(--white);
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.export-status {
  min-height: 1.4rem;
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.export-status.is-error {
  color: var(--error);
}

.export-status.is-success {
  color: var(--success);
}

.templates {
  padding: var(--section-gap) var(--margin);
  background: var(--blue);
  color: var(--white);
}

.section-heading--inverse {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading--inverse p {
  color: rgba(255, 255, 255, 0.78);
}

.template-wall {
  display: grid;
  max-width: 90rem;
  margin: 0 auto;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem) clamp(1.2rem, 3vw, 3rem);
  align-items: start;
}

.template-card {
  margin: 0;
}

.template-card--wide {
  grid-column: 1 / -1;
}

.template-card--offset {
  align-self: end;
  margin-bottom: clamp(2rem, 8vw, 8rem);
}

.template-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  object-fit: contain;
}

.template-card__copy {
  display: grid;
  grid-template-columns: minmax(5rem, 0.4fr) minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding-top: 1rem;
}

.template-card__copy h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.template-card__copy p {
  max-width: 25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.template-card__copy .text-button {
  color: var(--lime);
  white-space: nowrap;
}

.offer {
  display: grid;
  padding: var(--section-gap) var(--margin);
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: center;
  background: var(--paper);
}

.offer__copy h2 {
  max-width: 9ch;
  font-size: var(--step-head);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.offer__copy > p {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: var(--step-lead);
  line-height: 1.45;
}

.offer__card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
  color: var(--white);
}

.offer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.offer__top > p:first-child {
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
}

.offer__price {
  display: flex;
  align-items: flex-start;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.offer__price span {
  margin-top: 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.offer__price strong {
  font-size: clamp(4rem, 7vw, 7rem);
  letter-spacing: -0.08em;
}

.offer__contents {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.78);
}

.offer__contents li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.offer__contents li::before {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 auto;
  background: var(--lime);
  content: "";
}

.offer__action {
  width: 100%;
  margin-top: 2.25rem;
  background: var(--lime);
  color: var(--ink);
}

.offer__note {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
}

.showcase {
  display: grid;
  padding: var(--section-gap) var(--margin);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  background: var(--paper);
}

.showcase__copy {
  max-width: 36rem;
}

.showcase__copy > p {
  max-width: 32rem;
  margin-top: 1.5rem;
  font-size: var(--step-lead);
  line-height: 1.45;
}

.showcase__list {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.showcase__list li {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.35fr) 1fr;
  gap: 1rem;
  align-items: baseline;
}

.showcase__list span {
  color: var(--blue);
  font-weight: 900;
}

.showcase__list p {
  max-width: 22rem;
  color: var(--ink-soft);
}

.showcase__image {
  margin: 0;
}

.showcase__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.showcase__image figcaption {
  max-width: 42rem;
  padding-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.features {
  padding: var(--section-gap) var(--margin);
  background: var(--ink);
  color: var(--white);
}

.features h2 {
  max-width: 11ch;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.feature-list {
  max-width: 90rem;
  margin: 0 auto;
}

.feature-list li {
  display: grid;
  padding: clamp(1.25rem, 2.8vw, 2.8rem) 0;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.feature-list strong {
  color: var(--lime);
  font-size: clamp(1.7rem, 3.4vw, 3.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.feature-list p {
  max-width: 35rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--step-lead);
  line-height: 1.45;
}

.how {
  padding: var(--section-gap) var(--margin);
  background: var(--lime);
}

.how h2 {
  max-width: 11ch;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.step-lines {
  display: grid;
  max-width: 80rem;
  margin-left: auto;
  gap: clamp(1.6rem, 3.2vw, 3rem);
}

.step-line {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
}

.step-line:nth-child(1) {
  width: 82%;
}

.step-line:nth-child(2) {
  width: 88%;
  margin-left: 6%;
}

.step-line:nth-child(3) {
  width: 94%;
  margin-left: 3%;
}

.step-line strong {
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.step-line p {
  max-width: 31rem;
  font-size: 1rem;
}

.faq {
  display: grid;
  padding: var(--section-gap) var(--margin);
  grid-template-columns: minmax(14rem, 0.65fr) minmax(24rem, 1.35fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  background: var(--surface);
}

.faq__heading {
  position: sticky;
  top: 2rem;
}

.faq__heading h2 {
  max-width: 8ch;
}

.faq__heading p {
  max-width: 18rem;
  margin-top: 1rem;
  color: var(--ink-soft);
}

.faq__items {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--paper);
}

.faq summary {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  margin-left: auto;
  color: var(--blue);
  content: "+";
  font-size: 1.8rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 48rem;
  padding: 0 1.25rem 1.35rem;
  color: var(--ink-soft);
}

.closing {
  display: grid;
  min-height: 70svh;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  padding: var(--section-gap) var(--margin) var(--margin);
  background: var(--blue);
  color: var(--white);
}

.closing__copy h2 {
  max-width: 10ch;
  color: var(--white);
}

.closing__copy p {
  max-width: 29rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--step-lead);
}

.closing__button {
  display: flex;
  min-height: 11rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}

.closing__button svg {
  width: clamp(2.2rem, 4vw, 4rem);
  height: clamp(2.2rem, 4vw, 4rem);
}

.closing__button:hover,
.closing__button:focus-visible {
  background: var(--ink);
  color: var(--lime);
}

.site-footer {
  padding: 3rem var(--margin) 1.5rem;
  background: var(--ink);
  color: var(--white);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
  max-width: 90rem;
  margin: 0 auto;
  font-size: 0.9rem;
}

.footer__top p:nth-child(2) {
  color: rgba(255, 255, 255, 0.72);
}

.footer__top span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.footer__note {
  max-width: 90rem;
  margin: 5rem auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .button--primary:hover {
    background: var(--blue);
    color: var(--white);
  }

  .button--submit:hover {
    background: var(--ink);
    color: var(--lime);
  }

  .button--download:hover {
    background: var(--lime);
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] {
    transform: translateY(105%);
    animation: load-line 900ms var(--ease-expo) forwards;
    animation-delay: calc(100ms + var(--i) * 110ms);
  }

  .js .hero [data-load] {
    opacity: 0;
    transform: translateY(14px);
    animation: load-rise 520ms var(--ease-out) forwards;
    animation-delay: var(--d);
  }

  .js [data-open] {
    clip-path: inset(0 0 100% 0);
    animation: load-open 1100ms var(--ease-in-out) 160ms forwards;
  }

  .js [data-open] .hero-slide {
    animation: settle 1300ms var(--ease-expo) 120ms both;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .js .template-card:nth-child(2) {
    transition-delay: 80ms;
  }

  .js .template-card:nth-child(3) {
    transition-delay: 160ms;
  }

  .js .slide-canvas {
    animation: drift 9s var(--ease-soft) infinite alternate;
  }
}

@keyframes load-line {
  to {
    transform: none;
  }
}

@keyframes load-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes load-open {
  to {
    clip-path: inset(0);
  }
}

@keyframes settle {
  from {
    scale: 1.04;
  }
}

@keyframes drift {
  from {
    transform: translateY(-0.35%);
  }
  to {
    transform: translateY(0.35%);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(5rem, 19vw, 8.5rem);
  }

  .hero__visual {
    min-height: 60vw;
    margin-top: 1.5rem;
  }

  .hero__price-note {
    right: 0;
    bottom: 0;
  }

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

  .hero__facts p:nth-child(n) {
    text-align: left;
  }

  .section-heading,
  .workspace,
  .offer,
  .showcase,
  .faq {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }

  .section-heading {
    gap: 1.5rem;
  }

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

  .template-card--wide {
    grid-column: auto;
  }

  .template-card--offset {
    margin-bottom: 0;
  }

  .template-card__copy {
    grid-template-columns: minmax(4rem, 0.3fr) 1fr;
  }

  .template-card__copy .text-button {
    grid-column: 2;
  }

  .feature-list li {
    grid-template-columns: minmax(12rem, 0.7fr) 1fr;
    gap: 2rem;
  }

  .step-line,
  .step-line:nth-child(n) {
    width: 100%;
    margin-left: 0;
    grid-template-columns: minmax(12rem, 0.8fr) 1fr;
  }

  .faq__heading {
    position: static;
  }

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

@media (max-width: 640px) {
  :root {
    --margin: 1rem;
    --section-gap: 5.5rem;
    --step-head: clamp(2.75rem, 13vw, 4rem);
  }

  .site-header {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand__mark {
    width: 1.8rem;
    height: 1.8rem;
  }

  .hero {
    gap: 1rem;
    padding-top: 2rem;
  }

  .hero__title {
    font-size: clamp(4.45rem, 24vw, 7rem);
    line-height: 0.84;
  }

  .hero__lead {
    margin-top: 1.8rem;
    font-size: 1.15rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero__visual {
    min-height: 76vw;
    margin-top: 1rem;
  }

  .hero-slide {
    padding: 0.8rem;
  }

  .hero-slide strong {
    font-size: clamp(1.15rem, 6vw, 2rem);
  }

  .hero-slide span,
  .hero-slide small {
    font-size: 0.58rem;
  }

  .hero-slide--back {
    top: 0;
    width: 77%;
  }

  .hero-slide--front {
    right: 4%;
    bottom: 0;
    width: 90%;
  }

  .hero__price-note {
    display: none;
  }

  .hero__facts {
    gap: 0.7rem;
    margin-top: 1rem;
  }

  .section-heading {
    margin-bottom: 2.75rem;
  }

  .section-heading p {
    font-size: 1.08rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .slide-stage {
    padding: 0.45rem;
  }

  .slide-canvas {
    padding: 0.9rem;
  }

  .slide-canvas__brand,
  .slide-canvas__page,
  .slide-canvas__footer {
    font-size: 0.48rem;
  }

  .slide-kicker {
    margin-bottom: 0.4rem;
    font-size: 0.55rem;
  }

  .slide-title {
    font-size: 1.35rem;
  }

  .slide-title.is-small {
    font-size: 1.15rem;
  }

  .slide-body {
    max-width: 22rem;
    margin-top: 0.6rem;
    font-size: 0.64rem;
  }

  .slide-note {
    margin-top: 0.55rem;
    padding: 0.45rem;
    font-size: 0.55rem;
  }

  .slide-list {
    margin-top: 0.5rem;
    gap: 0.35rem;
  }

  .slide-list li {
    min-height: 3.5rem;
    padding: 0.4rem;
    font-size: 0.48rem;
  }

  .slide-list strong {
    font-size: 0.7rem;
  }

  .export-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button--download {
    width: 100%;
    min-width: 0;
  }

  .templates {
    padding-bottom: 4rem;
  }

  .template-card__copy {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .template-card__copy .text-button {
    grid-column: auto;
  }

  .showcase {
    gap: 2.5rem;
  }

  .showcase__list li {
    grid-template-columns: 4rem 1fr;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .feature-list strong {
    font-size: 2rem;
  }

  .feature-list p {
    font-size: 1.05rem;
  }

  .step-line,
  .step-line:nth-child(n) {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .step-line strong {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .closing {
    min-height: 70svh;
    padding-top: 6rem;
  }

  .closing__button {
    min-height: 8rem;
    font-size: 2.6rem;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
