:root {
  --ink: #1b1713;
  --brown: #855033;
  --muted: #77716a;
  --paper: #fffaf2;
  --cream: #fff2df;
  --card: rgba(255, 255, 255, 0.78);
  --yellow: #ffd24a;
  --yellow-deep: #f5b92f;
  --line: rgba(79, 57, 38, 0.13);
  --shadow: 0 24px 80px rgba(91, 59, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 210, 74, 0.16), transparent 24rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 112px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #5f5a54;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-pill {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.nav-current {
  color: var(--ink);
  font-weight: 700;
}

.language-switch {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.interface-note {
  margin: 18px 0 0;
  color: #958e86;
  font-size: 13px;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 700px;
  margin: 0 auto;
  padding: 58px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #a56f13;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.support-hero h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 span,
.support-hero h1 span {
  display: block;
  margin-top: 15px;
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.46em;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 570px;
  margin: 30px 0 0;
  color: #605b55;
  font-size: 18px;
}

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

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  border-color: transparent;
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 12px 28px rgba(27, 23, 19, 0.16);
}

.phone-stage {
  min-height: 570px;
  position: relative;
  isolation: isolate;
}

.phone-stage::before {
  content: "";
  width: 470px;
  height: 470px;
  position: absolute;
  right: 15px;
  top: 45px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #ffe79a 0 37%, #ffd24a 67%, #f8bb36 100%);
  box-shadow: 0 60px 100px rgba(227, 161, 43, 0.26);
}

.phone {
  overflow: hidden;
  position: absolute;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 39px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.phone-main {
  width: 265px;
  height: 576px;
  right: 188px;
  top: 0;
  transform: rotate(-4deg);
}

.phone-secondary {
  width: 226px;
  height: 491px;
  right: 8px;
  top: 80px;
  transform: rotate(6deg);
}

.section {
  padding: 110px 20px;
}

.section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 12px;
  color: #9d6d1b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.section-intro {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-height: 220px;
  padding: 42px;
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature-number {
  color: #b58a55;
  font-family: Georgia, serif;
  font-size: 16px;
}

.feature h3 {
  margin: 42px 0 8px;
  font-size: 22px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.multi-food-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.42), transparent 22rem),
    linear-gradient(135deg, #ffd976, #f6b93d);
}

.multi-food-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 90px;
}

.multi-food-copy h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.multi-food-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 26px 0 0;
  color: #654a31;
  font-size: 17px;
}

.capability-list {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list span {
  padding: 9px 14px;
  border: 1px solid rgba(80, 50, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.58);
  color: #4f3928;
  font-size: 13px;
  font-weight: 700;
}

.multi-food-phone {
  width: 300px;
  margin: -28px auto;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(102, 62, 19, 0.25);
  transform: rotate(4deg);
}

.multi-food-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.reanalysis-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 90%, rgba(255, 210, 74, 0.18), transparent 30rem),
    #1d1a17;
  color: #fffaf0;
}

.reanalysis-inner {
  width: min(1080px, 100%);
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  align-items: center;
  gap: 88px;
}

.reanalysis-phones {
  min-height: 600px;
  position: relative;
}

.reanalysis-phone {
  overflow: hidden;
  position: absolute;
  border: 6px solid rgba(255, 255, 255, 0.94);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.reanalysis-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.reanalysis-phone-edit {
  width: 238px;
  left: 0;
  top: 16px;
  transform: rotate(-5deg);
}

.reanalysis-phone-progress {
  width: 250px;
  right: 0;
  top: 70px;
  transform: rotate(5deg);
}

.reanalysis-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.reanalysis-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin: 26px 0 0;
  color: #c8c0b7;
  font-size: 17px;
}

.reanalysis-steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.reanalysis-steps li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 30px 128px 1fr;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8a19a;
  font-size: 13px;
}

.reanalysis-steps span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.reanalysis-steps strong {
  color: #fffaf0;
  font-size: 14px;
}

.showcase {
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(255, 210, 74, 0.1)),
    var(--paper);
}

.screen-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.screen-card {
  margin: 0;
}

.screen-card:nth-child(even) {
  margin-top: 62px;
}

.screen-frame {
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(91, 59, 31, 0.13);
}

.screen-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-card figcaption {
  padding: 17px 8px 0;
  color: #756f68;
  font-size: 13px;
  text-align: center;
}

.privacy-callout {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 64px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #1d1a17;
  color: #fffaf0;
}

.privacy-callout::after {
  content: "";
  width: 340px;
  height: 340px;
  position: absolute;
  right: -100px;
  top: -130px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.92;
}

.privacy-callout h2 {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.privacy-callout p {
  max-width: 650px;
  margin: 20px 0 32px;
  position: relative;
  z-index: 1;
  color: #c7c0b8;
}

.privacy-callout .button {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.2);
  background: #fffaf0;
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer img {
  width: 96px;
  height: auto;
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a {
  text-decoration: none;
}

.support-hero {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 76px;
}

.support-hero h1 {
  max-width: 820px;
}

.support-lede {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  margin-top: 42px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 210, 74, 0.55), transparent 16rem),
    var(--card);
  box-shadow: 0 18px 54px rgba(91, 59, 31, 0.08);
}

.contact-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-email {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 760;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.support-layout {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 110px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 76px;
}

.support-aside {
  position: sticky;
  top: 36px;
  align-self: start;
}

.support-aside p {
  margin: 0 0 14px;
  color: #a16e1a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-aside a {
  padding: 7px 0;
  display: block;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.support-aside a:hover,
.support-aside a:focus-visible {
  color: var(--ink);
}

.support-section {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.support-section:first-child {
  border-top: 0;
}

.support-section h2 {
  margin: 0 0 22px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.faq {
  padding: 22px 0;
  border-top: 1px solid rgba(79, 57, 38, 0.1);
}

.faq:first-of-type {
  border-top: 0;
}

.faq h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.faq p,
.support-section li {
  color: var(--muted);
  font-size: 15px;
}

.faq p {
  margin: 0;
}

.support-section ul {
  margin: 0;
  padding-left: 1.2em;
}

.support-section li + li {
  margin-top: 8px;
}

.mini-note {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--cream);
  color: #6c5c4f;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .phone-stage {
    width: min(580px, 100%);
    margin: 0 auto;
  }

  .feature {
    padding: 34px 24px;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .multi-food-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .reanalysis-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .reanalysis-copy {
    grid-row: 1;
  }

  .reanalysis-phones {
    grid-row: 2;
    width: min(500px, 100%);
    margin: 0 auto -80px;
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support-aside {
    position: static;
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 72px;
  }

  .brand img {
    width: 94px;
  }

  .nav-links {
    gap: 9px;
    font-size: 12px;
  }

  .nav-pill {
    padding: 6px 10px;
  }

  .language-switch {
    padding-left: 10px;
  }

  .hero {
    padding: 48px 0 68px;
  }

  .hero h1,
  .support-hero h1 {
    font-size: 54px;
  }

  .hero-copy,
  .support-lede {
    font-size: 16px;
  }

  .phone-stage {
    min-height: 490px;
  }

  .phone-stage::before {
    width: 340px;
    height: 340px;
    right: 50%;
    top: 62px;
    transform: translateX(50%);
  }

  .phone-main {
    width: 210px;
    height: 456px;
    right: calc(50% + 3px);
    top: 0;
  }

  .phone-secondary {
    width: 170px;
    height: 369px;
    right: calc(50% - 170px);
    top: 78px;
  }

  .section {
    padding: 78px 20px;
  }

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

  .feature {
    min-height: 0;
  }

  .feature + .feature {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature h3 {
    margin-top: 24px;
  }

  .screen-grid {
    gap: 14px;
  }

  .multi-food-copy h2 {
    font-size: 46px;
  }

  .multi-food-phone {
    width: min(270px, 82vw);
    margin: 0 auto -118px;
  }

  .reanalysis-copy h2 {
    font-size: 42px;
  }

  .reanalysis-steps li {
    grid-template-columns: 30px 112px 1fr;
  }

  .reanalysis-phones {
    min-height: 480px;
  }

  .reanalysis-phone-edit {
    width: 190px;
  }

  .reanalysis-phone-progress {
    width: 198px;
    top: 48px;
  }

  .screen-card:nth-child(even) {
    margin-top: 32px;
  }

  .screen-frame {
    border-width: 4px;
    border-radius: 22px;
  }

  .privacy-callout {
    padding: 40px 28px;
    border-radius: 28px;
  }

  .privacy-callout::after {
    width: 220px;
    height: 220px;
    opacity: 0.34;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .support-hero {
    padding: 60px 0 54px;
  }

  .contact-card {
    padding: 26px;
    align-items: flex-start;
    flex-direction: column;
  }
}

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