:root {
  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;
  --ink: #13221c;
  --ink-soft: #284038;
  --cream: #f6efe5;
  --sand: #efe2d3;
  --sun: #f4b860;
  --clay: #c65d3b;
  --mint: #b8d9ce;
  --sea: #d5eef2;
  --pine: #0f2e28;
  --shadow: rgba(15, 46, 40, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at top left, #fce9cf 0%, transparent 45%),
    radial-gradient(circle at 80% 10%, #d7eef2 0%, transparent 50%),
    linear-gradient(180deg, #f7f1e6 0%, #f1e7d8 50%, #f6efe5 100%);
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

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

p {
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.payments-page {
  min-height: 60vh;
}

.payments-panel {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(15, 46, 40, 0.1);
  box-shadow: 0 24px 40px rgba(15, 46, 40, 0.15);
  text-align: center;
}

.payments-message {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pine);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.payments-note {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(214, 238, 242, 0) 0%,
    rgba(214, 238, 242, 0.55) 20%,
    rgba(248, 236, 222, 0.6) 60%,
    rgba(248, 236, 222, 0) 100%
  );
}

.section-contrast {
  background: linear-gradient(145deg, #0f2e28, #1d3f35);
  color: #f6efe5;
}

.section-demo {
  background: linear-gradient(
    180deg,
    rgba(184, 217, 206, 0) 0%,
    rgba(184, 217, 206, 0.4) 25%,
    rgba(247, 231, 216, 0.6) 65%,
    rgba(247, 231, 216, 0) 100%
  );
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
}

.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--pine);
  color: #fdf6e9;
  font-size: 0.95rem;
  flex-direction: column;
  text-align: center;
}

.banner-link {
  color: var(--sun);
  font-weight: 600;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(15, 46, 40, 0.25);
  border-radius: 10px;
  width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(15, 46, 40, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(15, 46, 40, 0.8);
  border-radius: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff7eb;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clay), #e3744b);
  color: #fff;
  box-shadow: 0 12px 24px rgba(198, 93, 59, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(19, 34, 28, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 60px 0 36px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.1vw, 3.5rem);
  margin: 8px 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: left;
}

.hero-copy h1 .hero-title-lead {
  display: inline-block;
}

@media (min-width: 720px) {
  .hero-copy h1 .hero-title-lead {
    white-space: nowrap;
  }
}

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clay);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 24px var(--shadow);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 24px;
}

#recipes-section {
  padding: 0;
  font-family: Arial, sans-serif;
}

.recipe-preview {
  padding: 0;
}

.recipe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.recipe-preview .recipe-list {
  margin: 0;
  width: 100%;
}

.recipe-post {
  margin-bottom: 0;
  clear: both;
}

.recipe-left,
.recipe-right {
  width: 66.66%;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.recipe-left {
  float: left;
}

.recipe-right {
  float: right;
}

.recipe-preview .recipe-left,
.recipe-preview .recipe-right {
  width: 100%;
  float: none;
}

.recipe-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  border-bottom: 2px solid #dec773;
  padding-bottom: 5px;
}

.recipe-instructions {
  font-size: 1em;
  line-height: 1.5;
  color: #555;
  margin-bottom: 10px;
  position: relative;
}

.recipe-ingredients {
  font-size: 0.9em;
  color: #777;
}

.recipe-ingredients-list,
.recipe-instructions-list {
  margin: 8px 0 0;
  padding-left: 1.4rem;
  line-height: 1.6;
  color: #555;
}

.recipe-ingredients-list {
  list-style-type: disc;
}

.recipe-instructions-list {
  margin-bottom: 10px;
  list-style-type: decimal;
}

.recipe-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.favorite-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #eef2f7;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.favorite-link:hover { background: #e0e7f0; border-color: #c2ccda; }
.favorite-link:active { transform: translateY(1px); }
.favorite-link.is-favorite { background: #f5e1a0; border-color: #c7b56a; }

.favorite-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.comments-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #eef2f7;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.comments-toggle:hover { background: #e0e7f0; border-color: #c2ccda; }
.comments-toggle:active { transform: translateY(1px); }

.comments-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.panel-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 18px 32px var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pill {
  background: rgba(15, 46, 40, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clay);
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(198, 93, 59, 0.2);
}

.panel-body {
  display: grid;
  gap: 12px;
}

.panel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 184, 96, 0.12);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.panel-title {
  font-weight: 600;
}

.panel-status {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.panel-footer {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-illustration {
  max-width: 320px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.section-heading h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px var(--shadow);
  display: grid;
  gap: 10px;
}

.feature-card h3 {
  margin: 0;
}

.policy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 28px var(--shadow);
  display: grid;
  gap: 18px;
}

.policy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.policy-header h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.policy-viewer {
  border: 1px solid rgba(19, 34, 28, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f6f3ec;
  min-height: 60vh;
  display: flex;
}

.policy-frame {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  min-height: 60vh;
}

.policy-empty {
  margin: auto;
  padding: 32px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.feature-detail {
  color: var(--clay);
  font-weight: 600;
  font-size: 0.9rem;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.demo-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 28px var(--shadow);
  display: grid;
  gap: 16px;
  justify-items: start;
}

.demo-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.demo-url {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pine);
}

.live-highlights {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.live-preview {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 16px 28px var(--shadow);
}

.live-preview img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

.live-board {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 28px var(--shadow);
}

.live-board-header,
.live-board-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.live-feed {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.live-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(214, 238, 242, 0.7);
}

.live-item.pulse {
  animation: pulse 0.6s ease;
}

.update-title {
  display: block;
  font-weight: 600;
}

.update-detail {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.update-time {
  font-size: 0.8rem;
  color: var(--clay);
  font-weight: 600;
  white-space: nowrap;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px var(--shadow);
}

.step-number {
  font-weight: 700;
  color: var(--clay);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.quote-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
}

.quote-meta {
  margin-top: 16px;
  display: grid;
  gap: 4px;
}

.quote-name {
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 18px 32px var(--shadow);
  display: grid;
  gap: 20px;
}

.pricing-header {
  display: grid;
  gap: 8px;
}

.pricing-title {
  font-weight: 600;
  color: var(--clay);
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 700;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.pricing-support {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-note-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(15, 46, 40, 0.08);
  display: grid;
  gap: 16px;
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-title {
  font-weight: 600;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-title {
  font-weight: 600;
  color: var(--clay);
}

.form-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 32px var(--shadow);
}

.form-card form {
  display: grid;
  gap: 16px;
}

.form-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

input,
select,
textarea {
  font-family: var(--font-body);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(19, 34, 28, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-errors {
  color: var(--clay);
  font-weight: 600;
}

.form-success {
  padding: 12px 16px;
  background: rgba(184, 217, 206, 0.6);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.footer {
  padding: 48px 0 64px;
  background: #0f2e28;
  color: #f6efe5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-meta {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(246, 239, 229, 0.7);
}

.footer-logo .logo-mark {
  background: #f4b860;
  color: #0f2e28;
}

.error-page {
  padding: 120px 0;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: translateY(0);
    box-shadow: none;
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(15, 46, 40, 0.2);
  }
  100% {
    transform: translateY(0);
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .top-banner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 0.9rem;
  }

  .nav {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
  }

  .site-nav {
    align-items: stretch;
  }

  .nav-shell {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(
      180deg,
      rgba(15, 46, 40, 0.98) 0%,
      rgba(15, 46, 40, 0.95) 50%,
      rgba(15, 46, 40, 0.92) 100%
    );
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    z-index: 900;
  }

  .site-nav.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #fdf6e9;
  }

  .nav .btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 20px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    width: min(320px, 100%);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .trust-row {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 24px;
    text-align: center;
  }

  #recipes-section {
    padding: 0;
  }

  .recipe-left,
  .recipe-right {
    float: none;
    width: 100%;
    padding: 16px;
  }

  .recipe-title {
    font-size: 1.5em;
  }

  .feature-grid,
  .steps-grid,
  .quote-grid,
  .pricing-grid,
  .live-grid {
    gap: 16px;
  }

  .feature-card,
  .step-card,
  .quote-card,
  .pricing-card,
  .pricing-note-card,
  .highlight-card {
    padding: 20px;
  }

  .footer {
    padding: 36px 0 48px;
  }

  .footer-grid {
    text-align: left;
  }

  .footer-links,
  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .stat-card {
    text-align: left;
  }

  .pricing-card,
  .pricing-note-card {
    padding: 22px;
  }
}

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

  .hero-illustration {
    animation: none;
  }
}
