@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/public/fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/public/fonts/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/public/fonts/SourceSans3-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/public/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #F4F0E8;
  --surface: #FFFDF8;
  --surface-warm: #FAF6EF;
  --text: #211E19;
  --text-muted: #6E6960;
  --primary: #C65D3A;
  --primary-deep: #9F3F25;
  --secondary: #6F7C4B;
  --tertiary: #F2A65A;
  --border: #DDD5C8;
  --danger-soft: #F8E7E0;
  --shadow-soft: 0 18px 42px rgba(33, 30, 25, 0.10);
  --shadow-strong: 0 28px 70px rgba(33, 30, 25, 0.20);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(250, 246, 239, 0.88), rgba(244, 240, 232, 0.98)),
    var(--background);
  color: var(--text);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(111, 124, 75, 0.72);
  outline-offset: 4px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 213, 200, 0.84);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand-lockup,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(198, 93, 58, 0.16);
}

.brand-name,
.footer-name,
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name {
  color: var(--text);
  font-size: 1.35rem;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-link,
.footer-links a,
.secondary-link {
  color: var(--text-muted);
  text-decoration: none;
}

.nav-link:hover,
.footer-links a:hover,
.secondary-link:hover {
  color: var(--primary-deep);
}

.hero {
  padding: 74px 0 80px;
  background:
    linear-gradient(145deg, rgba(198, 93, 58, 0.18), transparent 38%),
    linear-gradient(330deg, rgba(111, 124, 75, 0.18), transparent 38%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.72fr);
  gap: 56px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 5.9rem;
  line-height: 0.94;
}

.hero-description {
  max-width: 640px;
  margin-bottom: 28px;
  color: #3A352E;
  font-size: 1.42rem;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-bottom: 14px;
}

.app-store-button {
  display: inline-flex;
  transition: transform 0.2s ease;
}

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

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

  .app-store-button {
    transition: none;
  }

  .app-store-button:hover {
    transform: none;
  }
}

.app-store-button img {
  height: 56px;
  width: auto;
}

.app-store-button.large img {
  height: 64px;
}

.secondary-link {
  font-weight: 600;
}

.supporting-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 34px 36px 30px;
}

.phone-frame {
  width: min(356px, 82vw);
  border-radius: 46px;
  padding: 13px;
  background: #211E19;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.hero-callout {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.88);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 30px rgba(33, 30, 25, 0.14);
  color: #3A352E;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-callout::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.callout-plan {
  left: 0;
  top: 78px;
}

.callout-swipe {
  right: 0;
  top: 42%;
  background: rgba(248, 231, 224, 0.96);
}

.callout-swipe::before {
  background: var(--primary);
}

.callout-shop {
  left: 20px;
  bottom: 88px;
}

.phone-screen {
  aspect-ratio: 1170 / 2532;
  overflow: hidden;
  border-radius: 34px;
  background: var(--background);
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-sticky-cta {
  display: none;
}

.process-step,
.feature-row,
.positioning-card,
.download-panel,
.legal-document {
  border: 1px solid rgba(221, 213, 200, 0.92);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-soft);
}

.process-section,
.features-section,
.positioning-section,
.detail-section,
.download-section {
  padding: 78px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.feature-copy h2,
.positioning-layout .section-heading h2,
.download-panel h2 {
  margin-bottom: 14px;
  font-size: 4rem;
  line-height: 0.98;
}

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

.process-step {
  min-height: 256px;
  border-radius: 24px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--primary);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
}

.process-step h3,
.feature-row h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.weekly-flow-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  border: 1px solid rgba(221, 213, 200, 0.92);
  border-radius: 30px;
  padding: clamp(16px, 3vw, 26px);
  background:
    linear-gradient(90deg, rgba(198, 93, 58, 0.12), rgba(111, 124, 75, 0.12)),
    rgba(255, 253, 248, 0.74);
  box-shadow: var(--shadow-soft);
}

.weekly-flow-visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(198, 93, 58, 0.42), rgba(111, 124, 75, 0.42));
}

.flow-screen {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.flow-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(221, 213, 200, 0.96);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--surface);
  color: #3A352E;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.flow-phone {
  width: min(182px, 100%);
  border-radius: 28px;
  padding: 7px;
  background: #211E19;
  box-shadow: 0 16px 34px rgba(33, 30, 25, 0.14);
}

.flow-phone .app-screenshot {
  aspect-ratio: 1170 / 2532;
  border-radius: 22px;
  background: var(--background);
}

.flow-screen-plan .flow-phone,
.flow-screen-list .flow-phone,
.flow-screen-cook .flow-phone {
  transform: translateY(16px) rotate(-1.5deg);
}

.flow-screen-swipe .flow-phone,
.flow-screen-detail .flow-phone {
  transform: rotate(1.5deg);
}

.process-step p,
.feature-row p,
.positioning-card p,
.feature-copy p,
.download-panel p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.features-section {
  background:
    linear-gradient(180deg, rgba(33, 30, 25, 0.04), rgba(33, 30, 25, 0.00)),
    var(--surface-warm);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.feature-copy {
  position: sticky;
  top: 112px;
}

.screenshot-pair {
  position: relative;
  min-height: 430px;
  margin-top: 30px;
}

.inline-phone-frame {
  width: min(245px, 100%);
  border-radius: 34px;
  padding: 9px;
  background: #211E19;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.5deg);
}

.secondary-phone {
  position: absolute;
  left: 172px;
  top: 42px;
  transform: rotate(2deg);
}

.inline-phone-frame .app-screenshot {
  aspect-ratio: 1170 / 2532;
  border-radius: 26px;
  background: var(--background);
}

.detail-section {
  background: var(--background);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.detail-copy h2 {
  margin-bottom: 14px;
  font-size: 4rem;
  line-height: 0.98;
}

.detail-copy p {
  color: var(--text-muted);
  max-width: 520px;
}

.detail-screens {
  position: relative;
  min-height: 640px;
}

.detail-phone {
  position: absolute;
  width: 270px;
  right: 260px;
  top: 0;
  transform: rotate(-3deg);
}

.cook-phone {
  right: 0;
  top: 74px;
  transform: rotate(3deg);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  border-radius: 20px;
  padding: 20px;
}

.feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(198, 93, 58, 0.14);
  color: var(--primary-deep);
  font-weight: 700;
}

.positioning-section {
  background:
    linear-gradient(180deg, rgba(111, 124, 75, 0.14), rgba(242, 166, 90, 0.10) 58%, rgba(111, 124, 75, 0.00)),
    var(--surface);
}

.positioning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.positioning-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 246, 239, 0.94));
}

.positioning-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--primary);
}

.positioning-card-wide {
  grid-column: 1 / -1;
  min-height: 172px;
  padding-right: clamp(24px, 12vw, 150px);
}

.positioning-card-wide::after {
  content: "Dinner";
  position: absolute;
  right: 22px;
  bottom: -18px;
  color: rgba(111, 124, 75, 0.12);
  font-family: "Bricolage Grotesque", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 1;
}

.positioning-strip {
  grid-column: 1 / -1;
  min-height: 0;
  border-color: rgba(111, 124, 75, 0.38);
  background:
    linear-gradient(90deg, rgba(111, 124, 75, 0.16), rgba(255, 253, 248, 0.96));
}

.positioning-strip::before {
  margin-bottom: 18px;
  background: var(--secondary);
}

.positioning-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.positioning-card h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  line-height: 1.12;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 42px);
}

.download-cta {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.download-panel > div {
  max-width: 660px;
}

.site-footer {
  padding: 42px 0 26px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.footer-note,
.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 24px;
}

.legal-main {
  padding: 64px 0 80px;
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-document h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: 4.8rem;
  line-height: 0.98;
}

.updated-date {
  margin-bottom: 34px;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86rem;
}

.legal-document section {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-document section + section {
  margin-top: 24px;
}

.legal-document h2 {
  margin-bottom: 10px;
  color: var(--primary-deep);
  font-size: 1.45rem;
  line-height: 1.15;
}

.legal-document p,
.legal-document li {
  color: #3A352E;
}

.legal-document a {
  color: var(--primary-deep);
  font-weight: 600;
}

.legal-document ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.legal-document li + li {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .navigation {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid,
  .feature-layout,
  .detail-layout,
  .positioning-layout,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    width: min(470px, 100%);
    margin-inline: auto;
  }

  h1 {
    max-width: 10ch;
    font-size: 4.25rem;
  }

  .hero-description {
    font-size: 1.28rem;
  }

  .section-heading h2,
  .feature-copy h2,
  .download-panel h2 {
    font-size: 3.15rem;
  }

  .mobile-sticky-cta {
    position: fixed;
    bottom: 12px;
    left: 50%;
    z-index: 9;
    display: none;
    width: min(100% - 24px, 420px);
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    border: 1px solid rgba(221, 213, 200, 0.96);
    border-radius: 18px;
    padding: 10px 10px 10px 14px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 14px 32px rgba(33, 30, 25, 0.18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
  }

  body[data-mobile-cta-visible="true"] .mobile-sticky-cta {
    display: flex;
  }

  .mobile-sticky-cta strong,
  .mobile-sticky-cta span {
    display: block;
    line-height: 1.2;
  }

  .mobile-sticky-cta strong {
    font-size: 0.98rem;
  }

  .mobile-sticky-cta span {
    color: var(--text-muted);
    font-size: 0.84rem;
  }

  .mobile-sticky-cta a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border-radius: 999px;
    padding: 0 18px;
    background: var(--primary-deep);
    color: var(--surface);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .legal-document h1 {
    font-size: 3.55rem;
  }

  .feature-copy {
    position: static;
  }

  .screenshot-pair {
    min-height: 520px;
  }

  .secondary-phone {
    left: min(180px, 44vw);
  }

  .weekly-flow-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-flow-visual::before {
    display: none;
  }

  .flow-phone {
    width: min(210px, 100%);
  }

  .detail-screens {
    min-height: 620px;
  }

  .detail-phone {
    right: auto;
    left: 18px;
    width: min(250px, 64vw);
  }

  .cook-phone {
    left: min(178px, 43vw);
    top: 74px;
  }

  .download-panel,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .positioning-card-wide,
  .positioning-strip {
    grid-column: auto;
  }

  .site-footer {
    padding-bottom: 118px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-mark,
  .footer-mark {
    width: 38px;
    height: 38px;
  }

  .navigation {
    font-size: 0.93rem;
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-visual {
    padding: 44px 6px 58px;
  }

  .hero-callout {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .callout-plan {
    left: 2px;
    top: 14px;
  }

  .callout-swipe {
    right: 2px;
    top: 44%;
  }

  .callout-shop {
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-description {
    font-size: 1.18rem;
  }

  .section-heading h2,
  .feature-copy h2,
  .detail-copy h2,
  .download-panel h2 {
    font-size: 2.55rem;
  }

  .legal-document h1 {
    font-size: 2.7rem;
  }

  .app-store-button img,
  .app-store-button.large img {
    height: 50px;
  }

  .phone-frame {
    width: min(336px, 94vw);
    border-radius: 38px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 30px;
  }

  .process-section,
  .features-section,
  .positioning-section,
  .detail-section,
  .download-section,
  .legal-main {
    padding: 52px 0;
  }

  .weekly-flow-visual {
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 22px;
  }

  .flow-label {
    white-space: normal;
  }

  .flow-phone {
    width: min(236px, 82vw);
  }

  .flow-screen-plan .flow-phone,
  .flow-screen-list .flow-phone,
  .flow-screen-swipe .flow-phone,
  .flow-screen-detail .flow-phone,
  .flow-screen-cook .flow-phone {
    transform: none;
  }

  .positioning-card {
    min-height: 0;
    padding: 20px;
  }

  .positioning-card-wide {
    padding-right: 20px;
  }

  .positioning-card-wide::after {
    display: none;
  }

  .screenshot-pair {
    min-height: 830px;
  }

  .inline-phone-frame {
    width: min(245px, 74vw);
  }

  .secondary-phone {
    left: 72px;
    top: 268px;
  }

  .detail-screens {
    min-height: 760px;
  }

  .detail-phone {
    width: min(245px, 74vw);
    left: 0;
  }

  .cook-phone {
    left: 72px;
    top: 300px;
  }

  .process-step {
    min-height: 0;
  }
}
