/* linkmeal.app — built from the signed-off Figma frames (file ozFdNUqkDYqy20xBUlnU4t,
   section "🌐 Website · linkmeal.app"). Phone layout by default; the laptop layout from
   1024px. Every colour is a LinkMeal palette token. */

/* Noto Sans, variable weight 400-800, served from this site. Latin and Georgian share the
   family name with non-overlapping ranges, so a page fetches only the file it needs.
   SIL OFL 1.1 (see the licence files next to the fonts). */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/noto-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/noto-sans-georgian.woff2) format('woff2');
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}

:root {
  --brand: #4F6B3C;
  --brand-disabled: rgba(79, 107, 60, 0.75);
  --primary-dark: #444516;
  --primary-muted: #EFEFD6;
  --background: #FFFFFF;
  --surface: #FFFFFF;
  --surface-elevated: #F6F4EE;
  --text: #2B1511;
  --text-secondary: #474B39;
  --text-muted: #575B4B;
  --text-on-primary: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);
  --success: #4C5F34;
  --success-light: #EBEBDB;
  --error: #B34F4F;
  --error-light: #FBEAEA;
  --stage-inactive: #DEDED4;
  --border-light: #D4CAAA;
  --overlay: rgba(43, 21, 17, 0.45);
  --accent: #EDB426;
  --accent-light: #FBF3D5;
  --text-on-accent: #4D3A07;
  --secondary-dark: #6F6C35;
  --destructive: #D9825B;
  --destructive-text: #8F4421;
  --tint-recipes: #EFEFD6;
  --tint-planner: #EBEBDB;
  --tint-shopping: #F0ECE1;
  --tint-profile: #EAEDF6;
  --icon-tint: linear-gradient(180deg, #EEF2E5 0%, #F0F3E8 100%);
  --cta-disabled: linear-gradient(180deg, #E6E9DD 0%, #E7E9DE 100%);
  --radius: 16px;
  --font: 'Noto Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; }
table { border-collapse: collapse; border-spacing: 0; }
th { font-weight: inherit; text-align: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---- Page frame ---- */
.site {
  max-width: 600px;
  margin: 0 auto;
  padding: 8px 20px 28px;
}

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.brand { display: flex; align-items: center; gap: 4.118px; }
.brand__mark { width: 48.045px; height: 26.082px; object-fit: contain; }
.brand__word {
  color: var(--brand);
  font-size: 21.964px;
  font-weight: 700;
  line-height: 26.082px;
  letter-spacing: -0.3432px;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; white-space: nowrap; }
.nav--phone { gap: 16px; font-size: 13px; font-weight: 600; }
.nav__link { color: var(--text-secondary); }
.nav__link.is-current { color: var(--text); }
.nav__link--brand { color: var(--brand); }
.nav--laptop, .header-actions { display: none; }
.nav__account { display: flex; align-items: center; gap: 4px; }
.nav__account img { width: 16px; height: 16px; }
/* Below 360px the phone header can't hold all three links; the hero's "See plans and
   prices" button, just below it, still leads to the plans. */
@media (max-width: 359px) {
  .nav--phone .nav__link--plans { display: none; }
}
/* The Georgian labels are longer, so the same holds up to 420px in Georgian. */
@media (max-width: 419px) {
  html[lang="ka"] .nav--phone .nav__link--plans { display: none; }
}
/* Signed in, the phone header holds Support and Account. Where the two don't fit beside
   the logo (below 360px, or 384px in Georgian), Support is left to the footer. */
@media (max-width: 359px) {
  .nav--signed-in .nav__link--support { display: none; }
}
@media (max-width: 383px) {
  html[lang="ka"] .nav--signed-in .nav__link--support { display: none; }
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: var(--radius);
  font-size: 16px;
  letter-spacing: 0.1px;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: var(--text-on-primary); font-weight: 700; }
.btn--outline {
  background: var(--surface);
  border: 1.5px solid var(--stage-inactive);
  color: var(--text);
  font-weight: 400;
  padding: 0 24px;
}
/* The label keeps clear of the arrow on both sides, so it stays centred; a long label
   wraps rather than running under the arrow. */
.btn--arrow { padding: 0 48px; }
.btn--arrow span { white-space: normal; }
.btn__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 20px;
  height: 16px;
  transform: translateY(-50%);
}
.btn--compact { height: 44px; }

/* ---- Type ---- */
.eyebrow {
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: normal;
}
.display {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: normal;
}
.lead { margin-top: 8px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; line-height: normal; }
.section-lead { margin-top: 4px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--stage-inactive);
  border-radius: var(--radius);
}

/* ---- Home: hero ---- */
.main--home { padding-top: 28px; }
.hero__buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hero__trust {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}
.hero__app { display: none; }

/* ---- Home: features ---- */
.features { margin-top: 36px; }
.features__list { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.feature { display: flex; align-items: flex-start; gap: 12px; }
.icon-badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--primary-muted);
}
.icon-badge img { width: 20px; height: 20px; }
.feature__text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.feature__title { font-size: 14px; font-weight: 700; line-height: 19px; }
.feature__body { color: var(--text-secondary); font-size: 13px; line-height: 18px; }

/* ---- Home: Free and Premium, Plans ---- */
.offer { display: flex; flex-direction: column; gap: 36px; margin-top: 36px; }

.compare-table {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-elevated);
}
.compare-table table { width: 100%; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 0; vertical-align: middle; }
.compare-table__head th { height: 60px; }
.compare-table__free { width: 84px; text-align: center; }
.compare-table__premium {
  width: 120px;
  background: var(--brand);
  color: var(--text-on-primary);
  text-align: center;
}
.compare-table__name, .compare-table__sub, .compare-table__value { display: block; line-height: normal; }
.compare-table__head .compare-table__free .compare-table__name { font-size: 14px; font-weight: 600; }
.compare-table__head .compare-table__premium .compare-table__name { font-size: 15px; font-weight: 700; }
.compare-table__sub { margin-top: 4px; color: var(--text-muted); font-size: 11px; }
.compare-table__premium .compare-table__sub { color: var(--text-on-dark-muted); }
.compare-table__head .compare-table__feature { padding-left: 14px; }
.plates { display: flex; align-items: center; }
.plates img { width: 34px; height: 34px; margin-right: -10px; }
.plates img:last-child { margin-right: 0; }

.compare-table__row th, .compare-table__row td { height: 52px; border-top: 1px solid var(--stage-inactive); }
.compare-table__row .compare-table__premium { border-top-color: var(--text-on-primary); }
.compare-table__row--tall th, .compare-table__row--tall td { height: 64px; }
.compare-table__row th { padding-left: 14px; }
.compare-table__label { display: flex; align-items: center; gap: 8px; padding-right: 8px; }
.compare-table__label img { flex: none; width: 18px; height: 18px; }
.compare-table__label span { font-size: 13px; font-weight: 500; line-height: normal; }
.compare-table__row .compare-table__free { color: var(--text-muted); font-size: 12px; font-weight: 500; }
.compare-table__row .compare-table__premium { font-size: 13px; font-weight: 600; }
.compare-table__row--tall td > span { display: block; margin-top: 4px; }
.compare-table__row--tall .compare-table__premium > span { font-size: 13px; font-weight: 600; }
.meter { width: 60px; height: 6px; margin: 0 auto; }
.check { width: 20px; height: 20px; margin: 0 auto; }
.compare-table__value { font-size: 13px; font-weight: 600; }
.compare-table__row .compare-table__premium .compare-table__sub { margin-top: 1px; font-size: 11px; font-weight: 400; }
.compare-table--lg { display: none; }
/* On the narrowest phones the feature names (longer in Georgian) need a little more room. */
@media (max-width: 379px) {
  .compare-table--sm .compare-table__free { width: 76px; }
  .compare-table--sm .compare-table__premium { width: 108px; }
  .compare-table__label { padding-right: 4px; }
}

.plans { scroll-margin-top: 16px; }
.plans__policy { display: flex; margin-top: 6px; }
.plans__cards { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.price-card {
  padding: 4px 16px 12px;
  border: 1px solid var(--stage-inactive);
  border-radius: var(--radius);
  background: var(--surface);
}
.price-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--stage-inactive);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.price-card__row--head { gap: 12px; white-space: normal; }
.price-card__name { font-size: 16px; font-weight: 700; line-height: 20px; }
.price-card__who { color: var(--text-muted); font-size: 12px; font-weight: 500; text-align: right; }
.price-card__term { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.price-card__price { font-weight: 700; }
.price-card__note { padding-top: 10px; color: var(--text-muted); font-size: 12px; font-weight: 500; line-height: 16px; }
.price-card__note--alone { padding: 8px 0 0; }
.badge {
  padding: 3px 8px;
  border-radius: 9999px;
  background: var(--success-light);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: normal;
}

/* ---- Home: how subscribing works ---- */
.how-cta { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.steps { margin-top: 14px; }
.step { display: flex; align-items: flex-start; gap: 14px; }
.step__rail { position: relative; flex: none; width: 32px; height: 64px; }
.step:last-child .step__rail { height: 40px; }
.step__disc {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--stage-inactive);
  border-radius: 16px;
  background: var(--surface);
}
.step__disc img { width: 16px; height: 16px; }
.step:not(:last-child) .step__rail::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 15px;
  width: 2px;
  height: 28px;
  background: var(--stage-inactive);
}
.step__text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; padding-top: 5px; }
.step__title { font-size: 14px; font-weight: 600; line-height: 20px; }
.step__body { color: var(--text-muted); font-size: 12px; line-height: 16px; }

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface-elevated);
}
.cta-card__title { font-size: 16px; font-weight: 700; line-height: 22px; }
.cta-card__body { color: var(--text-secondary); font-size: 13px; line-height: 18px; }
.cta-card__button { margin-top: 14px; }

/* ---- Support and About: a side column of cards, then a column of answers ---- */
.main--support, .main--about, .main--refunds { padding-top: 28px; }
.info-page__cards { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.contact-card, .operator-card { padding: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.contact-card__email { color: var(--brand); font-size: 18px; font-weight: 700; line-height: 24px; }
.contact-card__reply { color: var(--text-secondary); font-size: 13px; line-height: 18px; }
.contact-card__button { margin-top: 14px; }
.operator-card__title { font-size: 16px; font-weight: 700; line-height: 22px; }
.operator-card__rows { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.operator-card__rows div { display: flex; flex-direction: column; gap: 2px; }
.operator-card__rows dt { color: var(--text-muted); font-size: 12px; font-weight: 500; line-height: 16px; }
.operator-card__rows dd { font-size: 14px; font-weight: 600; line-height: 20px; }
.info-page__main { margin-top: 36px; }
.info-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.info-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.info-card__title { font-size: 15px; font-weight: 700; line-height: 21px; }
.info-card__body { color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.info-card__link { align-self: flex-start; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 16px; }
.text-link {
  padding: 4px 0;
  color: var(--brand-disabled);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

/* ---- Sign in, create account, password reset ---- */
button.btn { width: 100%; border: 0; font-family: inherit; cursor: pointer; }
button.btn--outline { border: 1.5px solid var(--stage-inactive); }
.main--login, .main--signup, .main--birthday, .main--forgot, .main--reset, .main--verify, .main--cancel {
  padding-top: 32px;
  padding-bottom: 12px;
}
.auth__title { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; line-height: normal; }
.auth__intro { margin-top: 8px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.auth form:first-of-type { margin-top: 24px; }
.form-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.form-banner img { flex: none; width: 20px; height: 20px; }
.form-banner--error { background: var(--error-light); color: var(--error); }
.form-banner--success { background: var(--success-light); color: var(--success); }
.form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--stage-inactive);
  border-radius: var(--radius);
  background: var(--surface);
}
.form-card__end { display: flex; justify-content: flex-end; }
.form-card__hint { color: var(--text-muted); font-size: 12px; font-weight: 500; line-height: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: normal;
  text-transform: uppercase;
}
.field__control { display: flex; flex-direction: column; gap: 4px; }
.input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--stage-inactive);
  border-radius: var(--radius);
  background: var(--surface);
}
.input:focus-within { border-color: var(--brand); }
.input--error, .input--error:focus-within { border-color: var(--error); }
.input input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
}
.input input::placeholder { color: var(--text-muted); opacity: 1; }
.input__toggle { display: flex; padding: 0; border: 0; background: none; cursor: pointer; }
.input__toggle img, .input__icon { flex: none; width: 22px; height: 22px; }
.input__lead { flex: none; width: 18px; height: 18px; }
.input--picker { cursor: pointer; }
.input__picker {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: none;
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.input__picker.is-placeholder { color: var(--text-muted); }
.field__error { color: var(--error); font-size: 12px; line-height: normal; }

/* ---- Date-of-birth picker: a bottom sheet on a phone, a centred window on a laptop ---- */
html:has(.dob-picker[open]) { overflow: hidden; scrollbar-gutter: stable; }
.dob-picker {
  inset: 0;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
}
.dob-picker::backdrop { background: var(--overlay); }
.dob-picker__panel {
  padding: 12px 24px calc(32px + env(safe-area-inset-bottom)) 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
}
.dob-picker__grabber {
  width: 40px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 9999px;
  background: var(--border-light);
}
.dob-picker__title {
  padding-bottom: 16px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}
.dob-picker__wheels { display: flex; gap: 12px; }
.dob-picker__column { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.dob-picker__label {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
}
.dob-picker__list {
  display: flex;
  flex-direction: column;
  height: 170px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--background);
}
.dob-picker__list::-webkit-scrollbar { display: none; }
.dob-picker__item {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 4px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
}
.dob-picker__item[aria-pressed="true"] { border-color: var(--brand); color: var(--primary-dark); font-weight: 700; }
.dob-picker__item:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.dob-picker__error { margin-top: 12px; color: var(--error); font-size: 12px; line-height: normal; text-align: center; }
.dob-picker__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.btn--primary:disabled {
  background: var(--cta-disabled);
  color: var(--brand-disabled);
  cursor: default;
}
.auth__actions { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.consent { color: var(--text-muted); font-size: 12px; line-height: 17px; text-align: center; }
.consent a { color: var(--brand-disabled); font-weight: 600; white-space: normal; }
.consent__link { white-space: nowrap; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: normal;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--stage-inactive); }
.auth__alternatives { display: flex; flex-direction: column; gap: 8px; }
.auth__links { margin-top: 8px; }
.btn--google {
  gap: 8px;
  padding: 0 24px;
  border: 1.5px solid var(--stage-inactive);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}
.btn--google img { width: 17.588px; height: 18px; }
.btn--ghost {
  padding: 0 16px;
  background: none;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.btn--ghost:disabled { opacity: 0.5; color: var(--brand-disabled); cursor: default; }

/* ---- Account ---- */
.main--account { padding-top: 28px; }
.account__title { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; line-height: normal; }
.account__email { margin-top: 4px; color: var(--text-secondary); font-size: 14px; font-weight: 500; line-height: 20px; overflow-wrap: anywhere; }
.account__plan { margin-top: 20px; }
.account__tiles { display: none; }
.account__heading { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; line-height: normal; }
.account__more { margin-top: 32px; }
.account__sign-out { margin-top: 16px; }
.nav-rows { display: flex; flex-direction: column; margin-top: 4px; }
.nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--stage-inactive);
  border-radius: var(--radius);
  background: var(--surface);
}
.nav-row__tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--icon-tint);
}
.nav-row__tile img { width: 26px; height: 26px; }
.nav-row__label { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; line-height: normal; }
.nav-row__chevron { flex: none; width: 20px; height: 20px; }

/* The plan cards are drawn at phone size; on a laptop the same card is 420/344 larger, so
   every measure is written once and scaled by --k. */
.plan-card, .free-stack { --k: 1; }
/* Phones narrower than 384px leave the card under its drawn 344px, so the whole card
   shrinks with it: 320/344 at 360px, 280/344 at 320px. */
@media (max-width: 383px) {
  .plan-card, .free-stack { --k: 0.93023; }
}
@media (max-width: 359px) {
  .plan-card, .free-stack { --k: 0.81395; }
}
.plan-card {
  position: relative;
  height: calc(var(--k) * 212px);
  overflow: hidden;
  border-radius: calc(var(--k) * 24px);
  color: var(--text-on-primary);
}
.plan-card--olive { background: var(--brand); }
.plan-card > * { position: absolute; }
.plan-card__ring--1 { right: calc(var(--k) * -116px); top: calc(var(--k) * -24px); width: calc(var(--k) * 372px); height: calc(var(--k) * 372px); }
.plan-card__ring--2 { right: calc(var(--k) * -74px); top: calc(var(--k) * 18px); width: calc(var(--k) * 288px); height: calc(var(--k) * 288px); }
.plan-card__ring--3 { right: calc(var(--k) * -34px); top: calc(var(--k) * 58px); width: calc(var(--k) * 208px); height: calc(var(--k) * 208px); }
.plan-card__plate { right: calc(var(--k) * 4px); top: calc(var(--k) * 96px); width: calc(var(--k) * 132px); height: calc(var(--k) * 132px); }
.plan-card__plate img {
  position: absolute;
  left: calc(var(--k) * -6px);
  top: calc(var(--k) * -6px);
  width: calc(var(--k) * 144px);
  height: calc(var(--k) * 144px);
}
.plan-card__head {
  left: calc(var(--k) * 20px);
  top: calc(var(--k) * 20px);
  display: flex;
  align-items: center;
  gap: calc(var(--k) * 8px);
}
.plan-card__logo {
  position: relative;
  flex: none;
  width: calc(var(--k) * 28px);
  height: calc(var(--k) * 28px);
  border-radius: calc(var(--k) * 14px);
  background: var(--surface);
}
.plan-card__logo--light { background: var(--surface-elevated); }
.plan-card__logo img {
  position: absolute;
  left: calc(var(--k) * 4px);
  top: calc(var(--k) * 8px);
  width: calc(var(--k) * 20px);
  height: calc(var(--k) * 12px);
  object-fit: contain;
}
.plan-card__brand { font-size: calc(var(--k) * 15px); font-weight: 700; line-height: calc(var(--k) * 20px); white-space: nowrap; }
.chip {
  padding: calc(var(--k) * 4px) calc(var(--k) * 10px);
  border-radius: 999px;
  font-size: calc(var(--k) * 11px);
  font-weight: 700;
  letter-spacing: calc(var(--k) * 0.8px);
  line-height: calc(var(--k) * 15px);
  white-space: nowrap;
}
.chip--accent { background: var(--accent); color: var(--text-on-accent); }
.chip--surface { background: var(--surface); color: var(--brand); }
.chip--muted { background: var(--surface-elevated); color: var(--text-secondary); }
.chip--error { background: var(--error-light); color: var(--error); }
.plan-card__chip { right: calc(var(--k) * 20px); top: calc(var(--k) * 22px); }
.plan-card__days {
  left: calc(var(--k) * 20px);
  top: calc(var(--k) * 78px);
  font-size: calc(var(--k) * 34px);
  font-weight: 800;
  letter-spacing: calc(var(--k) * -0.6px);
  line-height: calc(var(--k) * 40px);
  white-space: nowrap;
}
.plan-card__bars { left: calc(var(--k) * 20px); top: calc(var(--k) * 130px); display: flex; gap: calc(var(--k) * 4px); }
.plan-card__bars span {
  width: calc(var(--k) * 24px);
  height: calc(var(--k) * 6px);
  border-radius: calc(var(--k) * 3px);
  background: var(--text-on-primary);
}
.plan-card__bars .is-left { opacity: 0.3; }
.plan-card__trial-note {
  left: calc(var(--k) * 20px);
  right: calc(var(--k) * 142px);
  bottom: calc(var(--k) * 26px);
  font-size: calc(var(--k) * 12px);
  font-weight: 500;
  line-height: calc(var(--k) * 16px);
}
.plan-card__line {
  left: calc(var(--k) * 20px);
  top: calc(var(--k) * 68px);
  font-size: calc(var(--k) * 14px);
  font-weight: 600;
  line-height: calc(var(--k) * 20px);
  white-space: nowrap;
}
/* The amount sets the 44px line; "/ month" sits on its baseline without adding height. */
.plan-card__price {
  left: calc(var(--k) * 20px);
  top: calc(var(--k) * 88px);
  font-size: calc(var(--k) * 36px);
  font-weight: 800;
  letter-spacing: calc(var(--k) * -0.6px);
  line-height: calc(var(--k) * 44px);
  white-space: nowrap;
}
.plan-card__per { font-size: calc(var(--k) * 14px); font-weight: 500; letter-spacing: 0; line-height: 0; }
.plan-card__until {
  left: calc(var(--k) * 20px);
  top: calc(var(--k) * 88px);
  font-size: calc(var(--k) * 28px);
  font-weight: 800;
  letter-spacing: calc(var(--k) * -0.6px);
  line-height: calc(var(--k) * 44px);
  white-space: nowrap;
}
.plan-card__members {
  left: calc(var(--k) * 20px);
  top: calc(var(--k) * 160px);
  display: flex;
  align-items: center;
  gap: calc(var(--k) * 8px);
  font-size: calc(var(--k) * 12px);
  font-weight: 500;
  line-height: calc(var(--k) * 16px);
  white-space: nowrap;
}
.avatars { display: flex; }
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--k) * 28px);
  height: calc(var(--k) * 28px);
  border: calc(var(--k) * 2px) solid var(--brand);
  border-radius: 50%;
  font-size: calc(var(--k) * 12px);
  font-weight: 700;
  line-height: calc(var(--k) * 16px);
}
.avatar + .avatar { margin-left: calc(var(--k) * -10px); }
.avatar--1 { background: var(--surface); color: var(--brand); }
.avatar--2 { background: var(--accent); color: var(--text); }
.avatar--3 { background: var(--accent-light); color: var(--text); }

.free-stack { position: relative; height: calc(var(--k) * 244px); }
.free-stack__premium {
  position: absolute;
  left: calc(var(--k) * 16px);
  right: calc(var(--k) * 16px);
  top: 0;
  height: calc(var(--k) * 212px);
  overflow: hidden;
  border-radius: calc(var(--k) * 24px);
  background: var(--brand);
}
.free-stack__name {
  position: absolute;
  left: calc(var(--k) * 18px);
  top: calc(var(--k) * 8px);
  color: var(--text-on-primary);
  font-size: calc(var(--k) * 12px);
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}
.free-stack__chip { position: absolute; right: calc(var(--k) * 14px); top: calc(var(--k) * 5px); }
/* Positions inside the Free card are measured from inside its border, as Figma draws them. */
.free-card {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--k) * 32px);
  height: calc(var(--k) * 212px);
  overflow: hidden;
  border: calc(var(--k) * 1px) solid var(--stage-inactive);
  border-radius: calc(var(--k) * 24px);
  background: var(--surface);
  color: var(--text);
}
.free-card > * { position: absolute; }
.free-card__mat { right: calc(var(--k) * -21px); top: calc(var(--k) * 87px); width: calc(var(--k) * 144px); height: calc(var(--k) * 144px); }
.free-card__plate { right: calc(var(--k) * -3px); top: calc(var(--k) * 105px); width: calc(var(--k) * 108px); height: calc(var(--k) * 108px); }
.free-card__plate img { width: 100%; height: 100%; }
.free-card .plan-card__head { left: calc(var(--k) * 19px); top: calc(var(--k) * 19px); }
.free-card .plan-card__chip { right: calc(var(--k) * 19px); top: calc(var(--k) * 21px); }
.free-card__name { left: calc(var(--k) * 19px); top: calc(var(--k) * 71px); font-size: calc(var(--k) * 28px); font-weight: 800; line-height: normal; white-space: nowrap; }
.free-card__sub, .free-card__plans { left: calc(var(--k) * 19px); color: var(--text-muted); font-weight: 500; }
.free-card__sub { top: calc(var(--k) * 111px); font-size: calc(var(--k) * 13px); line-height: normal; white-space: nowrap; }
.free-card__plans {
  right: calc(var(--k) * 129px);
  bottom: calc(var(--k) * 19px);
  font-size: calc(var(--k) * 12px);
  line-height: calc(var(--k) * 16px);
}

.plan-block__cta { margin-top: 16px; }
.plan-block__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.plan-block__trust img { flex: none; width: 16px; height: 16px; }
.plan-block__note { color: var(--text-muted); font-size: 12px; font-weight: 500; line-height: 16px; text-align: center; }
.plan-block__note--after-trust { margin-top: 6px; }
.plan-block__note--after-details { margin-top: 16px; }
.details {
  margin-top: 16px;
  padding: 4px 16px;
  border: 1px solid var(--stage-inactive);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  line-height: 20px;
}
.details__row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--stage-inactive); }
.details__row:last-child { border-bottom: 0; }
.details dt { flex: 1; color: var(--text-secondary); }
.details dd { color: var(--text); font-weight: 600; text-align: right; }
.plan-block__footer { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.plan-block__cancel { color: var(--destructive-text); font-size: 14px; font-weight: 600; line-height: 20px; }
.plan-block__resubscribe, .plan-block__retry { margin-top: 12px; }
.plan-block__retry .plan-block__cta { margin-top: 0; }

/* The Premium tiles on a laptop's account page. */
.tiles { display: grid; grid-template-columns: repeat(3, 166px); gap: 12px; margin-top: 16px; }
.tile { position: relative; height: 128px; overflow: hidden; border-radius: 20px; }
.tile > * { position: absolute; }
.tile--recipes { background: var(--tint-recipes); }
.tile--accent { background: var(--accent); color: var(--text-on-accent); }
.tile--shopping { background: var(--tint-shopping); }
.tile--planner { background: var(--tint-planner); }
.tile--brand { background: var(--brand); color: var(--text-on-primary); }
.tile--profile { background: var(--tint-profile); }
.tile__text { left: 14px; right: 14px; top: 72px; display: flex; flex-direction: column; gap: 2px; }
.tile__title { font-size: 14px; font-weight: 700; line-height: normal; }
.tile__caption { color: var(--text-secondary); font-size: 12px; line-height: normal; }
.tile--accent .tile__caption { color: var(--text-on-accent); }
.tile--brand .tile__caption { color: var(--text-on-dark-muted); }
.tile__photo { left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.tile__disc {
  top: 21px;
  width: 30px;
  height: 30px;
  border: 2px solid var(--tint-recipes);
  border-radius: 15px;
  background: var(--surface);
}
.tile__disc img, .tile__swap img { position: absolute; width: 18px; height: 18px; }
.tile__disc img { left: 4px; top: 4px; }
.tile__disc--link { left: 50px; }
.tile__disc--photo { left: 84px; }
.tile__day {
  top: 20px;
  width: 16px;
  height: 22px;
  padding-top: 5px;
  border-radius: 6px;
  background: var(--surface);
  font-size: 9px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}
.tile__plate { top: 16px; width: 38px; height: 38px; }
.tile__plate--a { left: 14px; }
.tile__plate--b { left: 92px; }
.tile__plate--c { left: 114px; }
.tile__swap { left: 58px; top: 21px; width: 28px; height: 28px; border-radius: 14px; background: var(--surface); }
.tile__swap img { left: 5px; top: 5px; }
.tile__pill {
  left: 14px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}
.tile__pill img { width: 14px; height: 14px; }
.tile__avatar {
  top: 18px;
  width: 32px;
  height: 32px;
  padding-top: 6px;
  border: 2px solid var(--brand);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.tile__avatar--1 { left: 14px; background: var(--surface); color: var(--brand); }
.tile__avatar--2 { left: 38px; background: var(--accent); color: var(--text); }
.tile__avatar--3 { left: 62px; background: var(--secondary-dark); color: var(--text-on-primary); }
.tile__avatar--4 { left: 86px; background: var(--primary-dark); color: var(--text-on-primary); }
.tile__bar { bottom: 70px; width: 10px; border-radius: 3px; background: var(--brand); }
.tile__bar--accent { background: var(--accent); }

/* ---- Cancel subscription ---- */
.facts { display: flex; flex-direction: column; gap: 10px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.facts li { position: relative; padding-left: 16px; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.cancel__household { margin-top: 16px; color: var(--destructive-text); font-size: 12px; font-weight: 500; line-height: normal; }
.btn--danger { background: var(--destructive); color: var(--text); font-weight: 400; }

/* ---- Footer ---- */
.site-footer { margin-top: 36px; }
.site-footer__divider { height: 1px; background: var(--stage-inactive); }
.site-footer__body {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "links links" "operator operator" "lang copy";
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
}
.site-footer__info, .site-footer__side { display: contents; }
.site-footer__links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--brand-disabled);
  font-weight: 600;
  line-height: normal;
}
.site-footer__operator { grid-area: operator; color: var(--text-muted); line-height: 17px; }
.site-footer__copy { grid-area: copy; color: var(--text-muted); line-height: normal; }
.site-footer__lang {
  grid-area: lang;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  line-height: normal;
}
.site-footer__lang img { width: 14px; height: 14px; }
.site-footer__lang a { color: var(--brand-disabled); }
.site-footer__lang .is-current { color: var(--text); }
.site-footer__dot { color: var(--text-muted); }

/* ================= Laptop ================= */
@media (min-width: 1024px) {
  .site { max-width: 1088px; padding: 36px 24px 40px; }

  .brand { width: 320px; gap: 5.045px; }
  .brand__mark { width: 58.86px; height: 31.95px; }
  .brand__word { font-size: 26.909px; line-height: 31.95px; letter-spacing: -0.4205px; }
  .nav--phone { display: none; }
  .nav--laptop { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
  .nav--laptop .nav__link.is-current { font-weight: 600; }
  .header-actions { display: flex; justify-content: flex-end; gap: 10px; width: 320px; }
  .header-actions .btn--outline { width: 112px; padding: 0; }
  .header-actions .btn--primary { width: 168px; }

  .eyebrow { font-size: 12px; letter-spacing: 1.4px; }
  .eyebrow--small { font-size: 11px; letter-spacing: 1.2px; }
  .display { margin-top: 12px; font-size: 52px; letter-spacing: -1.2px; line-height: 60px; }
  .lead { margin-top: 16px; font-size: 16px; line-height: 23px; }
  .h2 { font-size: 24px; letter-spacing: -0.4px; }
  .section-lead { margin-top: 6px; font-size: 16px; line-height: 23px; }

  .main--home { padding-top: 56px; }
  .hero { display: flex; align-items: center; gap: 60px; }
  .hero__pitch { flex: 0 1 560px; min-width: 0; }
  .hero__lead { max-width: 500px; }
  .hero__buttons { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .hero__create { width: auto; min-width: 288px; }
  .hero__plans { width: 220px; padding: 0; }
  .hero__trust { margin-top: 12px; text-align: left; }
  .hero__app {
    display: flex;
    flex: 0 0 420px;
    align-items: center;
    justify-content: center;
    height: 600px;
    border-radius: var(--radius);
    background: var(--surface-elevated);
  }
  .hero__app img { width: 262px; height: 560px; }

  .features { margin-top: 80px; }
  .features__list { flex-direction: row; gap: 20px; margin-top: 20px; }
  .feature {
    flex: 1 1 0;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--stage-inactive);
    border-radius: var(--radius);
    background: var(--surface);
  }
  .feature .icon-badge { margin-bottom: 12px; }
  .feature__text { gap: 10px; }
  .feature__title { font-size: 16px; line-height: 22px; }
  .feature__body { font-size: 14px; line-height: 20px; }

  .offer { flex-direction: row; align-items: flex-start; gap: 60px; margin-top: 80px; }
  .compare { flex: 0 1 560px; min-width: 0; }
  .plans { flex: 1 1 420px; min-width: 0; }
  .compare-table--sm { display: none; }
  .compare-table--lg { display: block; margin-top: 20px; }
  .compare-table--lg .compare-table__head th { height: 76px; }
  .compare-table--lg .compare-table__free { width: 120px; }
  .compare-table--lg .compare-table__premium { width: 170px; }
  .compare-table--lg .compare-table__head .compare-table__feature { padding-left: 20px; }
  .compare-table--lg .plates img { width: 44px; height: 44px; margin-right: -12px; }
  .compare-table--lg .plates img:last-child { margin-right: 0; }
  .compare-table--lg .compare-table__head .compare-table__free .compare-table__name { font-size: 16px; }
  .compare-table--lg .compare-table__head .compare-table__premium .compare-table__name { font-size: 18px; }
  .compare-table--lg .compare-table__sub { margin-top: 5px; font-size: 12px; }
  .compare-table--lg .compare-table__row th, .compare-table--lg .compare-table__row td { height: 58px; }
  .compare-table--lg .compare-table__row--tall th, .compare-table--lg .compare-table__row--tall td { height: 72px; }
  .compare-table--lg .compare-table__row th { padding-left: 20px; }
  .compare-table--lg .compare-table__label { gap: 10px; }
  .compare-table--lg .compare-table__label img { width: 20px; height: 20px; }
  .compare-table--lg .compare-table__label span { font-size: 15px; }
  .compare-table--lg .compare-table__row .compare-table__free { font-size: 13px; }
  .compare-table--lg .compare-table__row .compare-table__premium { font-size: 14px; }
  .compare-table--lg .compare-table__row--tall td > span { margin-top: 5px; }
  .compare-table--lg .compare-table__row--tall .compare-table__premium > span { font-size: 14px; }
  .compare-table--lg .meter { width: 80px; height: 8px; }
  .compare-table--lg .check { width: 22px; height: 22px; }
  .compare-table--lg .compare-table__value { font-size: 14px; }
  .compare-table--lg .compare-table__row .compare-table__premium .compare-table__sub { font-size: 12px; }
  .plans__cards { gap: 12px; margin-top: 20px; }

  .how-cta { flex-direction: row; align-items: stretch; gap: 60px; margin-top: 80px; }
  .how { flex: 0 1 560px; min-width: 0; }
  .steps { margin-top: 20px; }
  .cta-card { flex: 1 1 420px; align-self: flex-start; padding: 28px; }

  .main--support, .main--about, .main--refunds { padding-top: 56px; }
  .info-page { display: flex; align-items: flex-start; gap: 60px; }
  .info-page__side { flex: 0 1 420px; min-width: 0; }
  .info-page__lead { margin-top: 16px; }
  .info-page__cards { margin-top: 28px; }
  .contact-card, .operator-card { padding: 20px; }
  .info-page__main { flex: 1 1 560px; min-width: 0; margin-top: 0; }
  .info-cards { gap: 12px; margin-top: 20px; }
  .info-card { padding: 20px; }

  .main--login, .main--signup, .main--birthday, .main--forgot, .main--reset, .main--verify, .main--cancel {
    padding-top: 64px;
    padding-bottom: 24px;
  }
  .auth { max-width: 400px; margin: 0 auto; }

  .main--account { padding-top: 56px; }
  .account { display: flex; align-items: flex-start; gap: 60px; }
  .account__plan-column { flex: 0 0 420px; min-width: 0; }
  .account__more-column { flex: 1 1 560px; min-width: 0; }
  .account__plan { margin-top: 24px; }
  .account__tiles { display: block; }
  .account__heading { font-size: 24px; letter-spacing: -0.4px; }
  .account__more { margin-top: 0; }
  .account__tiles + .account__more { margin-top: 40px; }
  .nav-rows { margin-top: 8px; }
  .account__sign-out { width: 200px; }
  .plan-card, .free-stack { --k: 1.22093; }
  .header-account {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
  }
  .header-account img { width: 20px; height: 20px; }

  .dob-picker { width: 384px; margin: auto; }
  .dob-picker__panel { padding: 24px; border-radius: var(--radius); }
  .dob-picker__grabber { display: none; }

  .site-footer { margin-top: 72px; }
  .site-footer__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
  .site-footer__info { display: flex; flex-direction: column; gap: 6px; }
  .site-footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
}
