:root {
  --ink: #302d27;
  --muted: #716d63;
  --paper: #fffdf7;
  --paper-deep: #f7f0df;
  --butter: #f4dfb5;
  --butter-deep: #e9c77f;
  --apricot: #e58d65;
  --apricot-deep: #b65f47;
  --sage: #9aab8d;
  --line: rgba(48, 45, 39, 0.15);
  --shadow: 0 18px 42px rgba(82, 65, 38, 0.09);
  --radius: 18px;
  color: var(--ink);
  background: var(--paper-deep);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper-deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 22%, rgba(244, 223, 181, 0.7), transparent 23rem),
    radial-gradient(circle at 90% 4%, rgba(229, 141, 101, 0.08), transparent 25rem),
    var(--paper-deep);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
h2[tabindex="-1"]:focus-visible {
  outline: 3px solid rgba(229, 141, 101, 0.68);
  outline-offset: 3px;
}

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

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

.paper-texture {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--apricot-deep);
  font-size: 1.55rem;
  line-height: 1;
  transform: rotate(-12deg);
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-subtitle,
.header-note,
.eyebrow,
.card-kicker,
.step-note {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: -0.15rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.header-note {
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  min-height: 340px;
  padding: 58px 0 48px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0.4rem 0 1.2rem;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.1rem, 5vw, 4.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.hero-copy h1 em {
  color: var(--apricot-deep);
  font-style: normal;
}

.hero-lead {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.7rem;
}

.hero-chips span {
  padding: 0.26rem 0.7rem;
  border: 1px solid rgba(48, 45, 39, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.42);
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1 / 0.9;
  justify-self: end;
  overflow: hidden;
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  background: var(--butter);
  box-shadow: 14px 16px 0 rgba(229, 141, 101, 0.17), var(--shadow);
  transform: rotate(2deg);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 120px;
  content: "";
  top: -42px;
  right: -28px;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.48);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--apricot-deep);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  text-align: center;
}

.hero-visual.is-missing .image-fallback {
  display: flex;
}

.hero-visual.is-missing img {
  display: none;
}

.stamp {
  position: absolute;
  z-index: 2;
  right: 12%;
  bottom: 10%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(182, 95, 71, 0.7);
  border-radius: 50%;
  color: var(--apricot-deep);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  transform: rotate(12deg);
}

.privacy-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 28px;
  padding: 0.62rem 0.9rem;
  border-left: 3px solid var(--sage);
  color: var(--muted);
  background: rgba(255, 253, 247, 0.5);
  font-size: 0.82rem;
}

.privacy-icon {
  color: var(--sage);
  font-size: 1rem;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(235px, 0.7fr);
  align-items: start;
  gap: 24px;
}

.panel,
.note-card {
  border: 1px solid rgba(48, 45, 39, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: var(--shadow);
}

.recipe-form,
.result-panel {
  padding: clamp(18px, 3.4vw, 38px);
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.note-card h2 {
  margin: 0.15rem 0 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  color: var(--apricot-deep);
  font-weight: 700;
}

.step-note {
  padding-top: 0.35rem;
  white-space: nowrap;
}

.error-summary {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(182, 95, 71, 0.5);
  border-radius: 10px;
  color: var(--apricot-deep);
  background: rgba(229, 141, 101, 0.1);
}

.error-summary ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 2rem 0 1.85rem;
  border: 0;
  border-bottom: 1px dashed var(--line);
}

.form-section legend {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.22rem;
  font-weight: 600;
}

.section-number {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--apricot);
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

.section-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.pan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.pan-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(247, 240, 223, 0.46);
}

.target-card {
  border-color: rgba(229, 141, 101, 0.45);
  background: rgba(244, 223, 181, 0.22);
}

.card-kicker {
  margin-bottom: 0.8rem;
  font-size: 0.62rem;
  font-weight: 700;
}

.pan-arrow,
.servings-arrow {
  color: var(--apricot-deep);
  font-family: Georgia, serif;
  font-size: 1.7rem;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}

input,
select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.52rem 0.7rem;
  border: 1px solid rgba(48, 45, 39, 0.24);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.92);
  font-size: 16px;
}

select {
  appearance: auto;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--apricot-deep);
}

input:disabled {
  color: var(--muted);
  background: rgba(48, 45, 39, 0.04);
}

.field-note {
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.dimension-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.formula-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(154, 171, 141, 0.11);
  font-size: 0.76rem;
}

.formula-card p {
  margin: 0;
}

.formula-card strong {
  color: var(--ink);
}

.formula-figure {
  flex: 0 0 120px;
  color: var(--sage);
}

.servings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: end;
  gap: 0.8rem;
}

.mode-field {
  max-width: 470px;
  margin-top: 1.2rem;
}

.ingredient-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.row-count {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.text-button,
.add-button,
.secondary-button,
.print-button {
  min-height: 44px;
  border: 0;
  color: var(--apricot-deep);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
}

.text-button {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ingredient-head,
.ingredient-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(82px, 0.65fr) minmax(78px, 0.66fr) minmax(100px, 0.9fr) 44px;
  align-items: end;
  gap: 0.6rem;
}

.ingredient-head {
  padding: 0 0.2rem 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.ingredient-head span:nth-child(4) {
  text-align: center;
}

.ingredient-rows {
  display: grid;
  gap: 0.55rem;
}

.ingredient-row {
  padding: 0.52rem;
  border: 1px solid rgba(48, 45, 39, 0.1);
  border-radius: 10px;
  background: rgba(247, 240, 223, 0.28);
}

.ingredient-row label {
  display: none;
}

.flour-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}

.flour-toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--apricot-deep);
}

.icon-button {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(182, 95, 71, 0.27);
  border-radius: 8px;
  color: var(--apricot-deep);
  background: rgba(229, 141, 101, 0.06);
  font-size: 1.4rem;
  line-height: 1;
}

.add-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0 0.35rem;
}

.add-button span {
  font-size: 1.15rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.7rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 54px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--apricot-deep);
  border-radius: 10px;
  color: var(--paper);
  background: var(--apricot-deep);
  font-weight: 700;
  box-shadow: 4px 5px 0 rgba(48, 45, 39, 0.1);
}

.primary-button:hover {
  background: #a9533c;
}

.secondary-button {
  padding: 0 0.5rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.side-notes {
  display: grid;
  gap: 16px;
}

.note-card {
  position: relative;
  padding: 1.3rem;
  box-shadow: 5px 8px 0 rgba(48, 45, 39, 0.05);
}

.lined-paper {
  background-color: rgba(255, 253, 247, 0.9);
  background-image: linear-gradient(rgba(154, 171, 141, 0.15) 1px, transparent 1px);
  background-size: 100% 28px;
}

.note-card h2 {
  margin-top: 0.65rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.how-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.how-list li > span {
  color: var(--apricot-deep);
  font-family: Georgia, serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.how-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.how-list strong {
  color: var(--ink);
}

.caution-card {
  border-color: rgba(229, 141, 101, 0.26);
  background: rgba(244, 223, 181, 0.64);
  transform: rotate(-1deg);
}

.note-pin {
  position: absolute;
  top: -8px;
  left: calc(50% - 9px);
  color: var(--apricot);
  font-size: 1.1rem;
  text-shadow: 1px 2px 0 rgba(48, 45, 39, 0.12);
}

.caution-card p,
.small-note p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.small-note {
  border-style: dashed;
  box-shadow: none;
}

.result-panel {
  margin-top: 24px;
  scroll-margin-top: 20px;
}

.result-heading {
  align-items: center;
}

.print-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.result-summary {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(200px, 1.3fr);
  align-items: center;
  gap: 0.4rem 1.8rem;
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: var(--butter);
}

.result-summary .eyebrow,
.big-multiplier,
.result-explanation {
  grid-column: 1;
}

.big-multiplier {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}

.result-explanation {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.result-details {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-details li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(48, 45, 39, 0.18);
  color: var(--muted);
  font-size: 0.8rem;
}

.result-details li.is-used .detail-label::after {
  margin-left: 0.35rem;
  color: var(--apricot-deep);
  content: "採用";
  font-size: 0.62rem;
  font-weight: 700;
}

.result-details li.is-reference {
  opacity: 0.7;
}

.result-details strong {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.result-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.result-table th,
.result-table td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(48, 45, 39, 0.1);
  text-align: left;
}

.result-table thead th {
  color: var(--muted);
  background: rgba(247, 240, 223, 0.72);
  font-size: 0.73rem;
}

.result-table tbody tr:last-child th,
.result-table tbody tr:last-child td {
  border-bottom: 0;
}

.result-table td:last-child {
  color: var(--apricot-deep);
  font-variant-numeric: tabular-nums;
}

.baker-note,
.caution {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.caution {
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--apricot);
  background: rgba(229, 141, 101, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 0 3.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

[hidden] {
  display: none !important;
}

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

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

  .hero {
    gap: 2rem;
  }

  .note-card h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    min-height: 66px;
  }

  .header-note {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    min-height: auto;
    padding: 34px 0 30px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-visual {
    width: min(72vw, 260px);
    justify-self: end;
  }

  .workspace-grid {
    gap: 16px;
  }

  .recipe-form,
  .result-panel {
    padding: 18px 14px;
  }

  .pan-grid,
  .servings-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .pan-arrow,
  .servings-arrow {
    display: none;
  }

  .formula-card {
    align-items: start;
  }

  .formula-figure {
    flex-basis: 100px;
    width: 100px;
  }

  .side-notes {
    grid-template-columns: 1fr;
  }

  .note-card h2 {
    font-size: 1.3rem;
  }

  .ingredient-head {
    display: none;
  }

  .ingredient-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0.6rem;
  }

  .ingredient-row .field {
    grid-column: 1;
  }

  .ingredient-row .remove-ingredient {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: start;
  }

  .ingredient-row label {
    display: block;
  }

  .flour-toggle {
    justify-content: flex-start;
  }

  .result-summary {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .result-summary .eyebrow,
  .big-multiplier,
  .result-explanation,
  .result-details {
    grid-column: 1;
    grid-row: auto;
  }

  .result-details {
    margin-top: 0.4rem;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 360px) {
  .page-shell {
    width: calc(100% - 20px);
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .hero-copy h1 {
    font-size: 1.92rem;
  }

  .wide-only {
    display: none;
  }

  .formula-card {
    display: block;
  }

  .formula-figure {
    display: block;
    margin-bottom: 0.45rem;
  }

  .primary-button {
    flex: 1;
    gap: 0.7rem;
    padding-inline: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root,
  body {
    background: #fff;
  }

  body > * {
    display: none !important;
  }

  body > main,
  body > main #resultPanel {
    display: block !important;
    visibility: visible;
  }

  body > main #resultPanel * {
    visibility: visible;
  }

  body > main > *:not(#resultPanel) {
    display: none !important;
  }

  body > main {
    width: 100%;
    margin: 0;
  }

  body > main #resultPanel {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  #resultPanel .print-button {
    display: none !important;
  }

  #resultPanel .result-summary {
    break-inside: avoid;
  }
}

/* SOU100 Stage A: first-view */
.hero { padding: 22px 0 26px; gap: clamp(18px, 4vw, 50px); }
.hero h1 { font-size: clamp(1.9rem, 3.5vw, 3.15rem); line-height: 1.12; letter-spacing: -.035em; word-break: auto-phrase; }
.hero-lead { margin: 10px 0; line-height: 1.5; }
.hero-visual { max-width: 420px; align-self: center; }
.hero-visual img { max-height: 220px; object-fit: cover; }
.hero-steps { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; counter-reset: stage; padding: 0; margin: 10px 0 0; }
.hero-steps li { counter-increment: stage; position: relative; padding-left: 1.35rem; font-size: .86rem; line-height: 1.4; }
.hero-steps li::before { content: counter(stage); position: absolute; left: 0; top: .08em; font-weight: 800; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; padding: 9px 17px; border: 2px solid #203c34; border-radius: 999px; background: #203c34; color: #fff; font-weight: 750; line-height: 1.25; text-decoration: none; }
.hero-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #203c34; }
.hero-privacy { margin: 8px 0 0; font-size: .78rem; line-height: 1.4; }
.hero-privacy.privacy-strip { padding: 7px 10px; }
@media (max-width: 640px) {
  .hero { padding: 15px 0 12px; gap: 8px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.05rem); line-height: 1.14; }
  .hero-lead { margin: 7px 0; font-size: .94rem; line-height: 1.42; }
  .hero-steps { flex-direction: column; gap: 4px; margin-top: 7px; }
  .hero-steps li { font-size: .83rem; }
  .hero-cta { margin-top: 8px; }
  .recipe-form .panel-heading .eyebrow { display: none; }
  .recipe-form .panel-heading h2 { font-size: 1.12rem; }
  .recipe-form .panel-heading { margin-bottom: .65rem; }
}
