:root {
  --canvas: #fbf6ef;
  --paper: #fffaf4;
  --surface: #ffffff;
  --cream: #f4e7d8;
  --cream-strong: #ead6c1;
  --honey: #c4703a;
  --honey-dark: #934a24;
  --clay: #d36135;
  --ink: #24130d;
  --body: #5a4031;
  --muted: #8b735f;
  --line: #eadccb;
  --green: #5b8c5a;
  --dark: #1d1713;
  --dark-soft: #2a211c;
  --on-dark: #fff7ec;
  --on-dark-muted: #cbb8a5;
  --max: 1180px;
  --shadow-soft: 0 18px 60px rgba(82, 44, 24, 0.12);
  --shadow-lift: 0 28px 90px rgba(82, 44, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(196, 112, 58, 0.12) 1px, transparent 2px) 0 0 / 30px 30px,
    linear-gradient(180deg, var(--canvas), #fff8ef 42%, var(--canvas));
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 239, 0.76);
  border-bottom: 1px solid rgba(234, 220, 203, 0.7);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--ink);
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 42px;
  object-fit: contain;
}

.brand-name,
.footer-brand span {
  font-size: 23px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--body);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a,
.footer a,
.privacy-links a {
  transition: color 180ms ease, transform 180ms ease;
}

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

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

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu-button svg {
  width: 21px;
  height: 21px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--clay);
  color: #fffaf4;
  box-shadow: 0 14px 30px rgba(211, 97, 53, 0.22);
}

.button-primary:hover {
  background: var(--honey-dark);
  box-shadow: 0 18px 40px rgba(147, 74, 36, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 250, 244, 0.8);
  color: var(--ink);
}

.button-large {
  min-height: 54px;
  padding-inline: 26px;
  border-radius: 22px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: clamp(64px, 8vw, 118px) 0 66px;
  overflow: hidden;
}

.hero-bg-mark {
  position: absolute;
  right: -5vw;
  bottom: -42px;
  color: rgba(196, 112, 58, 0.07);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(92px, 16vw, 220px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 78px);
}

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

.eyebrow,
.section-kicker,
.bubble-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--honey-dark);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 10px 0 0 -4px var(--clay);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin-top: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.03;
}

h2 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
}

h3 {
  font-size: 25px;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
}

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

.hero-platforms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-platforms img,
.platform-pill img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(82, 44, 24, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(350px, 86vw);
  aspect-ratio: 945 / 2048;
  border: 12px solid var(--dark);
  border-radius: 52px;
  background: var(--dark);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 50%;
  width: 94px;
  height: 22px;
  border-radius: 999px;
  background: var(--dark);
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone {
  transform: rotate(1.5deg);
  animation: phoneFloat 7s ease-in-out infinite;
}

.import-bubble {
  position: absolute;
  width: min(250px, 62vw);
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(234, 220, 203, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  animation: bubbleFloat 5.8s ease-in-out infinite;
}

.import-bubble strong,
.import-bubble span {
  display: block;
}

.import-bubble strong {
  margin: 6px 0 4px;
  font-size: 17px;
}

.import-bubble span:not(.bubble-label) {
  color: var(--muted);
  font-size: 13px;
}

.bubble-top {
  top: 84px;
  left: -20px;
}

.bubble-bottom {
  right: -8px;
  bottom: 92px;
  animation-delay: 0.8s;
}

.platform-ribbon {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(234, 220, 203, 0.72);
  background: rgba(255, 250, 244, 0.56);
}

.ribbon-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 26s linear infinite;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(82, 44, 24, 0.08);
}

.platform-pill.ghost {
  padding-inline: 22px;
  background: var(--cream);
  color: var(--honey-dark);
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.flow-section {
  background: linear-gradient(180deg, rgba(244, 231, 216, 0.55), rgba(251, 246, 239, 0));
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.flow-step {
  min-height: 250px;
  padding: 28px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(82, 44, 24, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.flow-step:hover,
.bento-card:hover,
.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  border-radius: 18px;
  background: var(--clay);
  color: #fffaf4;
  font-weight: 900;
}

.flow-step p,
.bento-card p,
.guide-card span,
.feature-bento .section-header p,
.ai-copy p,
.guide-copy p {
  color: var(--body);
}

.ai-section {
  position: relative;
}

.ai-grid,
.guide-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 80px);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.82);
  color: var(--body);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.ai-demo {
  position: relative;
  padding: 26px;
  border-radius: 40px;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-lift);
}

.source-card,
.recipe-output {
  border-radius: 28px;
  background: var(--dark-soft);
  padding: 24px;
}

.source-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.source-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--clay);
}

.source-bar span:nth-child(2) {
  background: var(--cream-strong);
}

.source-bar span:nth-child(3) {
  background: var(--green);
}

.source-card p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 18px;
  font-weight: 700;
}

.process-line {
  position: relative;
  height: 54px;
  margin-inline: 28px;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 2px;
  background: rgba(255, 247, 236, 0.16);
}

.process-line span {
  position: absolute;
  top: calc(50% - 6px);
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 8px rgba(211, 97, 53, 0.16);
  animation: scanLine 2.8s ease-out infinite;
}

.recipe-output {
  background: #fff7ec;
  color: var(--ink);
}

.recipe-output dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.recipe-output dl div {
  padding: 14px;
  border-radius: 20px;
  background: var(--cream);
}

.recipe-output dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.recipe-output dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 900;
}

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

.ingredient-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--honey-dark);
  font-size: 13px;
  font-weight: 900;
}

.guide-section {
  background: var(--dark);
  color: var(--on-dark);
}

.guide-grid {
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
}

.guide-phone {
  display: grid;
  place-items: center;
}

.guide-copy .lead,
.guide-copy p {
  color: var(--on-dark-muted);
}

.guide-copy .eyebrow {
  color: var(--cream-strong);
}

.guide-copy .eyebrow::before {
  border-color: var(--on-dark);
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.guide-card {
  min-height: 176px;
  padding: 22px;
  border-radius: 30px;
  background: rgba(255, 247, 236, 0.09);
  border: 1px solid rgba(255, 247, 236, 0.1);
  transition: transform 220ms ease, background 220ms ease;
}

.guide-card:hover {
  background: rgba(255, 247, 236, 0.13);
}

.guide-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--on-dark);
  font-size: 18px;
}

.guide-card span {
  color: var(--on-dark-muted);
  font-size: 14px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-header p {
  max-width: 360px;
  margin: 0;
  font-weight: 700;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 16px;
}

.bento-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(82, 44, 24, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.bento-card.wide {
  grid-row: span 2;
  min-height: 516px;
  background: var(--cream);
}

.bento-card.dark {
  background: var(--honey-dark);
  color: #fffaf4;
}

.bento-card.dark p {
  color: rgba(255, 250, 244, 0.78);
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.mini-calendar span,
.mini-calendar b {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.68);
  color: var(--body);
  font-size: 13px;
}

.mini-calendar b {
  grid-column: span 2;
  background: var(--surface);
  color: var(--honey-dark);
  font-size: 14px;
}

.privacy-band {
  background: linear-gradient(135deg, var(--cream), #fff4e7);
}

.privacy-grid {
  grid-template-columns: 1fr auto;
}

.privacy-links {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.privacy-links a {
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.74);
  color: var(--ink);
  font-weight: 900;
}

.download-section {
  padding-top: 84px;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 44px;
  background: var(--clay);
  color: #fffaf4;
  box-shadow: var(--shadow-lift);
}

.download-card img {
  width: 94px;
  height: 106px;
  object-fit: contain;
}

.download-card p {
  margin: 12px 0 0;
  color: rgba(255, 250, 244, 0.84);
  font-size: 18px;
  font-weight: 700;
}

.download-card .button {
  background: #fffaf4;
  color: var(--ink);
  box-shadow: none;
}

.footer {
  padding: 60px 0;
  background: var(--dark);
  color: var(--on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  color: var(--on-dark);
}

.footer h4 {
  margin: 0 0 14px;
  color: var(--on-dark);
  font-size: 14px;
}

.footer p,
.footer a {
  color: var(--on-dark-muted);
  font-size: 14px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.legal-main {
  padding: 76px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
}

.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.86);
  box-shadow: 0 12px 34px rgba(82, 44, 24, 0.08);
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: var(--body);
  font-size: 14px;
  font-weight: 800;
}

.legal-doc {
  max-width: 820px;
}

.legal-section {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.legal-section ul {
  padding-left: 20px;
  color: var(--body);
}

.legal-section li {
  margin: 10px 0;
}

.contact-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(82, 44, 24, 0.08);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.button:focus-visible,
.mobile-menu-button:focus-visible,
a:focus-visible,
.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(211, 97, 53, 0.24);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 110ms;
}

.delay-2 {
  transition-delay: 210ms;
}

.delay-3 {
  transition-delay: 310ms;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50% { transform: translateY(-12px) rotate(0.4deg); }
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scanLine {
  0% { left: 20px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 32px); opacity: 0; }
}

@media (max-width: 1040px) {
  .hero-grid,
  .ai-grid,
  .guide-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

  .flow-grid,
  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.wide {
    grid-row: auto;
    grid-column: span 2;
    min-height: 360px;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .nav-actions .button-secondary {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

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

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .import-bubble {
    width: min(230px, 78vw);
  }

  .bubble-top {
    left: 0;
    top: 24px;
  }

  .bubble-bottom {
    right: 0;
    bottom: 26px;
  }

  .flow-grid,
  .guide-cards,
  .bento-grid,
  .recipe-output dl {
    grid-template-columns: 1fr;
  }

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

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 14px;
  }

  .privacy-links {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .phone-frame {
    width: min(330px, 88vw);
    border-width: 10px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
