* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  color: var(--xf-text-primary);
  background: var(--xf-surface-page);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--xf-font-body);
  background: var(--xf-surface-page);
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217, 154, 51, 0.55);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  color: #fffdf9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--xf-text-primary);
  background: rgba(255, 253, 249, 0.97);
  border-color: var(--xf-border-subtle);
}

.brand {
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand > span,
.footer-brand > span,
.button > span,
.mobile-download-bar > span {
  display: grid;
}

.brand strong {
  font-family: var(--xf-font-display);
  font-size: 20px;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  font-size: 10px;
  opacity: 0.74;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
  border-color: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.version-link,
.nav-toggle {
  min-height: 44px;
  padding: 0 12px;
  color: inherit;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.header-download {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  color: #fff;
  background: var(--xf-action-primary);
  border: 1px solid var(--xf-action-primary);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.header-download:hover,
.button-primary:hover {
  background: var(--xf-tomato-700);
  border-color: var(--xf-tomato-700);
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 48px);
  min-height: 690px;
  max-height: 880px;
  overflow: hidden;
  color: #fffdf9;
  background: var(--xf-basil-800);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: rgba(25, 61, 43, 0.72);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 56px));
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 90px;
  margin: auto;
  padding-top: 74px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: #f6c35d;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 900;
}

.eyebrow.ink {
  color: var(--xf-action-primary);
}

.hero h1,
.section-heading h2,
.safety-copy h2,
.download-main h2,
.dialog-shell h2 {
  font-family: var(--xf-font-display);
}

.hero h1 {
  margin: 0;
  font-size: 112px;
  line-height: 0.98;
  font-weight: 900;
}

.hero-slogan {
  margin: 24px 0 0;
  font-family: var(--xf-font-display);
  font-size: 29px;
  font-weight: 700;
}

.hero-lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 253, 249, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.button strong {
  font-size: 14px;
}

.button small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.74;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
}

.button-primary {
  color: #fff;
  background: var(--xf-action-primary);
  border-color: var(--xf-action-primary);
}

.button-quiet,
.button-outline {
  color: #fffdf9;
  border-color: rgba(255, 253, 249, 0.52);
  background: transparent;
}

.button-quiet:hover,
.button-outline:hover {
  border-color: #fffdf9;
  background: rgba(255, 255, 255, 0.08);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
  color: rgba(255, 253, 249, 0.72);
  font-size: 11px;
}

.hero-trust span::before {
  content: "✓";
  margin-right: 6px;
  color: #f6c35d;
  font-weight: 900;
}

.hero-trust button {
  padding: 0;
  color: #fffdf9;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 249, 0.55);
  background: transparent;
  font-size: 11px;
}

.hero-download-station {
  align-self: center;
  display: grid;
  gap: 19px;
  padding: 20px;
  color: var(--xf-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fffdf9;
  box-shadow: 0 22px 70px rgba(21, 42, 31, 0.3);
}

.qr-frame {
  width: 268px;
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid var(--xf-border-subtle);
  background: #fff;
}

.qr-frame img {
  width: 100%;
  height: 100%;
}

.qr-copy {
  display: grid;
  padding: 0 3px 3px;
}

.qr-copy span {
  color: var(--xf-action-primary);
  font-size: 11px;
  font-weight: 900;
}

.qr-copy strong {
  margin-top: 5px;
  font-family: var(--xf-font-display);
  font-size: 24px;
}

.qr-copy small {
  margin-top: 5px;
  color: var(--xf-text-muted);
  font-size: 11px;
}

.next-cue {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: rgba(255, 253, 249, 0.75);
  font-size: 10px;
  transform: translateX(-50%);
}

.next-cue b {
  font-size: 19px;
}

.release-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  color: var(--xf-text-primary);
  border-bottom: 1px solid var(--xf-border-subtle);
  background: var(--xf-surface-primary);
}

.release-strip > div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px 24px;
  border-right: 1px solid var(--xf-border-subtle);
}

.release-strip > div:first-child {
  border-left: 1px solid var(--xf-border-subtle);
}

.release-strip > div > span,
.release-strip button {
  color: var(--xf-text-muted);
  font-size: 11px;
}

.release-strip strong {
  font-size: 15px;
}

.release-strip button {
  width: fit-content;
  padding: 0;
  color: var(--xf-action-secondary);
  border: 0;
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.section,
.section-dark {
  padding: 108px max(28px, calc((100vw - 1180px) / 2));
}

.section {
  background: var(--xf-surface-page);
}

.section-dark {
  color: #fffdf9;
  background: var(--xf-basil-800);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.safety-copy h2,
.download-main h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.18;
}

.section-heading > p:last-child,
.split-heading > p,
.download-main > p:last-of-type {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--xf-text-secondary);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading.light > p:last-child,
.download-main > p:last-of-type {
  color: rgba(255, 253, 249, 0.72);
}

.product-stage {
  position: relative;
  min-height: 810px;
  display: grid;
  grid-template-columns: 385px 320px minmax(240px, 1fr);
  align-items: end;
  gap: 30px;
  margin-top: 66px;
}

.phone {
  overflow: hidden;
  border: 9px solid #232520;
  border-radius: 34px;
  background: #232520;
  box-shadow: 0 28px 70px rgba(53, 47, 43, 0.18);
}

.phone-main {
  width: 385px;
  height: 790px;
}

.phone-secondary {
  width: 320px;
  height: 660px;
  margin-bottom: 18px;
}

.phone-status {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.phone-screen {
  position: relative;
  height: calc(100% - 25px);
  overflow: hidden;
  padding: 17px 15px 69px;
  color: var(--xf-text-primary);
  border-radius: 24px;
  background: var(--xf-surface-page);
}

.phone-screen.compact {
  padding-inline: 13px;
}

.app-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.app-title span {
  display: grid;
}

.app-title small {
  color: var(--xf-action-primary);
  font-size: 9px;
  font-weight: 800;
}

.app-title strong {
  margin-top: 2px;
  font-family: var(--xf-font-display);
  font-size: 23px;
}

.app-title i {
  padding: 5px 7px;
  color: var(--xf-basil-700);
  background: var(--xf-green-100);
  border-radius: 4px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.app-notice {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px;
  color: var(--xf-basil-800);
  background: var(--xf-green-100);
  border: 1px solid #cbdccb;
  border-radius: 6px;
  font-size: 9px;
}

.meal-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  border-bottom: 1px solid var(--xf-border-subtle);
}

.meal-tabs b {
  min-height: 37px;
  display: grid;
  place-items: center;
  color: var(--xf-text-muted);
  border-bottom: 2px solid transparent;
  font-size: 9px;
}

.meal-tabs b.active {
  color: var(--xf-action-primary);
  border-color: var(--xf-action-primary);
}

.meal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 800;
}

.meal-summary button {
  padding: 0;
  color: var(--xf-action-secondary);
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.dish-row {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid var(--xf-border-subtle);
}

.dish-row img {
  width: 98px;
  height: 106px;
  object-fit: cover;
  border-radius: 5px;
}

.dish-row div {
  min-width: 0;
  display: grid;
  align-content: center;
}

.dish-row small {
  color: var(--xf-action-primary);
  font-size: 8px;
  font-weight: 800;
}

.dish-row strong {
  margin-top: 5px;
  font-family: var(--xf-font-display);
  font-size: 15px;
}

.dish-row span {
  margin-top: 7px;
  color: var(--xf-basil-700);
  font-size: 8px;
  line-height: 1.5;
}

.special-meal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  margin-top: 13px;
  padding: 11px;
  color: #7a4b0e;
  border: 1px solid #ebd3a0;
  background: var(--xf-yellow-100);
  border-radius: 6px;
  font-size: 8px;
}

.special-meal-row strong {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font-size: 10px;
}

.phone-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.phone-action-row button,
.wide-action {
  min-height: 39px;
  border: 1px solid var(--xf-basil-700);
  border-radius: 5px;
  color: var(--xf-basil-700);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.phone-action-row button.filled,
.wide-action {
  color: #fff;
  background: var(--xf-basil-700);
}

.phone-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 57px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 7px;
  border-top: 1px solid var(--xf-border-subtle);
  background: #fffdf9;
}

.phone-nav b {
  color: var(--xf-text-muted);
  font-size: 7px;
  text-align: center;
}

.phone-nav b.active {
  color: var(--xf-action-primary);
}

.prep-hero {
  width: 100%;
  height: 190px;
  margin-top: 15px;
  object-fit: cover;
  border-radius: 6px;
}

.progress-line {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 10px;
  font-weight: 800;
}

.task-list {
  display: grid;
  gap: 0;
  margin: 9px 0 15px;
  padding: 0;
  list-style: none;
}

.task-list li {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--xf-border-subtle);
  font-size: 9px;
}

.task-list i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid var(--xf-border-subtle);
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
}

.task-list .done i {
  color: #fff;
  border-color: var(--xf-basil-700);
  background: var(--xf-basil-700);
}

.task-list .done span {
  color: var(--xf-text-muted);
  text-decoration: line-through;
}

.wide-action {
  width: 100%;
}

.experience-index {
  align-self: center;
  display: grid;
  border-top: 1px solid var(--xf-text-primary);
}

.experience-index article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 23px 0;
  border-bottom: 1px solid var(--xf-border-subtle);
}

.experience-index article > span,
.workflow-steps li > span {
  color: var(--xf-action-primary);
  font-family: var(--xf-font-display);
  font-size: 20px;
  font-weight: 900;
}

.experience-index strong {
  font-size: 15px;
}

.experience-index p {
  margin: 7px 0 0;
  color: var(--xf-text-secondary);
  font-size: 12px;
  line-height: 1.7;
}

.workflow {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 90px;
}

.workflow .section-heading h2 {
  font-size: 48px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  list-style: none;
}

.workflow-steps li {
  min-height: 250px;
  display: grid;
  align-content: start;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.workflow-steps li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.workflow-steps li > span {
  color: #f6c35d;
}

.workflow-steps strong {
  margin-top: 64px;
  font-family: var(--xf-font-display);
  font-size: 18px;
}

.workflow-steps p {
  margin: 8px 0 0;
  color: rgba(255, 253, 249, 0.64);
  font-size: 11px;
  line-height: 1.7;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin: 0 0 8px;
}

.plan-table-wrap {
  margin-top: 58px;
  overflow-x: auto;
  border-top: 1px solid var(--xf-text-primary);
}

.plan-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fffdf9;
}

.plan-table th,
.plan-table td {
  width: 22%;
  padding: 18px 20px;
  border-right: 1px solid var(--xf-border-subtle);
  border-bottom: 1px solid var(--xf-border-subtle);
  font-size: 13px;
  text-align: center;
}

.plan-table th:first-child,
.plan-table td:first-child {
  width: 34%;
  text-align: left;
}

.plan-table th {
  position: relative;
  height: 126px;
  font-family: var(--xf-font-display);
  font-size: 22px;
  vertical-align: middle;
}

.plan-table th small {
  display: block;
  margin-top: 7px;
  color: var(--xf-text-muted);
  font-family: var(--xf-font-body);
  font-size: 11px;
}

.plan-table th.featured {
  color: #fff;
  background: var(--xf-basil-700);
}

.plan-table th.featured small {
  color: rgba(255, 255, 255, 0.72);
}

.plan-table th.featured b {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 6px;
  color: #75470a;
  background: #f6c35d;
  border-radius: 3px;
  font-family: var(--xf-font-body);
  font-size: 8px;
}

.check {
  color: var(--xf-basil-700);
  font-size: 18px;
  font-weight: 900;
}

.dash {
  color: var(--xf-text-muted);
}

.plan-footnote {
  margin: 16px 0 0;
  color: var(--xf-text-muted);
  font-size: 11px;
}
