:root {
  --bg: #f4f7f6;
  --bg-soft: #eaf2f0;
  --surface: #ffffff;
  --surface-soft: #f8fbfa;
  --ink: #17211f;
  --muted: #5d6b68;
  --soft: #5f6d69;
  --line: #dbe6e4;
  --line-strong: #bfd0cd;
  --primary: #0f7d78;
  --primary-dark: #0b615d;
  --primary-soft: #e3f3f1;
  --sand: #efe2d0;
  --sand-deep: #ddc4a2;
  --gold: #b47a3e;
  --warning: #9a5b13;
  --warning-soft: #fbf0df;
  --dark: #10201e;
  --dark-soft: #17302d;
  --font-sans: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, Arial, sans-serif;
  --font-serif: "Noto Naskh Arabic", "Sakkal Majalla", "Traditional Arabic", "Amiri", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 31, 0.04), 0 10px 30px -24px rgba(23, 33, 31, 0.25);
  --shadow-md: 0 22px 70px -34px rgba(23, 33, 31, 0.38);
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-align: right;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 15px;
}

.brand-tag {
  color: var(--soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  transition: color 140ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--primary-dark);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 8px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav.is-open {
  display: grid;
  gap: 4px;
}

.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.mobile-nav .btn {
  margin-top: 14px;
  border-bottom: 0;
  text-align: center;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(54px, 8vw, 104px);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 760px;
  background:
    radial-gradient(closest-side at 62% 42%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 72%),
    radial-gradient(closest-side at 32% 24%, rgba(255, 255, 255, 0.9), transparent 72%);
  pointer-events: none;
}

html[dir='rtl'] .hero-glow {
  inset: -20% 35% auto -10%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 13%, transparent);
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6.8vw, 6.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--primary);
  font-style: normal;
  font-weight: 400;
}

.lead {
  max-width: 52ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--primary) 70%, transparent);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn--sm {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 11px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-points span {
  color: var(--primary);
  font-weight: 700;
}

/* ------------------------------------------------------------------- phone */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 18px;
}

.phone {
  position: relative;
  width: 318px;
  max-width: 100%;
  padding: 10px;
  border-radius: 46px;
  background: #0f1b19;
  box-shadow:
    0 50px 100px -48px rgba(16, 32, 30, 0.7),
    0 8px 26px -14px rgba(16, 32, 30, 0.45);
}

.phone::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 43px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #0f1b19;
  transform: translateX(-50%);
}

.phone-screen {
  height: 610px;
  overflow: hidden;
  padding: 12px 12px 0;
  border-radius: 37px;
  background: #f7f7f2;
  color: #111411;
  display: flex;
  flex-direction: column;
}

.phone-topbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 7px;
}

.phone-brandmark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e3f3f1;
  color: #0b615d;
  font-family: var(--font-serif);
  font-size: 13px;
}

.phone-pill {
  margin-inline-start: auto;
  padding: 6px 9px;
  border: 1px solid rgba(17, 20, 17, 0.1);
  border-radius: 999px;
  color: #666d66;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0;
}

.phone-pill--pdf {
  margin-inline-start: 0;
}

.phone-hero {
  padding: 18px 0 12px;
}

.phone-kicker,
.phone-label {
  display: block;
  color: #0b615d;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phone-hero strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 33px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
}

.phone-categories {
  display: flex;
  gap: 5px;
  overflow: hidden;
  padding-bottom: 12px;
}

.phone-categories span {
  flex: none;
  padding: 7px 9px;
  border: 1px solid rgba(17, 20, 17, 0.1);
  border-radius: 999px;
  color: #666d66;
  font-size: 6.5px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phone-categories .is-active {
  border-color: #0f7d78;
  background: #0f7d78;
  color: #fff;
}

.phone-result {
  margin: 0 0 10px;
  color: #5d6b66;
  font-size: 6.5px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phone-featured {
  overflow: hidden;
  border: 1px solid rgba(17, 20, 17, 0.1);
  border-radius: 14px;
  background: #fff;
}

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

.phone-featured-body {
  padding: 11px;
}

.phone-featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}

.phone-featured-head strong {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
}

.phone-featured-head span {
  color: #0b615d;
  font-size: 11px;
  font-weight: 700;
}

.phone-featured-body p {
  margin: 4px 0 7px;
  color: #666d66;
  font-size: 7px;
  line-height: 1.45;
}

.phone-tag,
.phone-dish-tags span {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e3f3f1;
  color: #0b615d;
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phone-dish-tags .warning {
  background: #fbf0df;
  color: #9a5b13;
}

.phone-section-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 7px;
}

.phone-section-head span {
  color: #5d6b66;
  font-size: 6px;
}

.phone-section-head strong {
  font-size: 7px;
  letter-spacing: 0;
}

.phone-section-head i {
  flex: 1;
  height: 1px;
  background: rgba(17, 20, 17, 0.1);
}

.phone-dish {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(17, 20, 17, 0.09);
  border-radius: 12px;
  background: #fff;
}

.phone-dish > img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.phone-dish-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.phone-dish-head strong {
  font-size: 9px;
  font-weight: 650;
}

.phone-dish-head span {
  color: #0b615d;
  font-size: 8px;
  font-weight: 700;
}

.phone-dish p {
  margin: 3px 0 6px;
  color: #666d66;
  font-size: 6.5px;
}

.phone-dish-tags {
  display: flex;
  gap: 4px;
}

.phone-footer {
  margin-top: auto;
  padding: 11px 0 14px;
  border-top: 1px solid rgba(17, 20, 17, 0.08);
  color: #5d6b66;
  font-size: 6px;
  letter-spacing: 0;
  text-align: center;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.floating-card--allergens {
  inset-inline-start: -12px;
  bottom: 92px;
}

.floating-card--update {
  inset-inline-end: -18px;
  top: 90px;
}

.floating-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 13px;
  font-weight: 800;
}

.floating-icon--teal {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.floating-card strong,
.floating-card small {
  display: block;
  line-height: 1.2;
}

.floating-card strong {
  font-size: 10px;
}

.floating-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

/* ------------------------------------------------------------- trust strip */

.trust-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 56%, transparent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-block: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.trust-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.trust-icon svg {
  width: 17px;
  height: 17px;
}

.trust-item strong,
.trust-item small {
  display: block;
  line-height: 1.25;
}

.trust-item strong {
  font-size: 11px;
}

.trust-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

/* ----------------------------------------------------------------- sections */

.section {
  padding: clamp(58px, 8vw, 112px) 0;
}

.section--soft {
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(255, 255, 255, 0.8), transparent 62%),
    var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head > p:last-child {
  max-width: 55ch;
  color: var(--muted);
  font-size: 15px;
}

/* ---------------------------------------------------------------- features */

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

.feature-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* --------------------------------------------------------------- split rows */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.split--reverse .split-visual {
  order: 2;
}

.split-copy h2 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.split-copy > p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 14px;
}

.split-visual {
  min-width: 0;
}

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

.check-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 13px;
}

.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 4px var(--primary);
}

/* -------------------------------------------------------------- language card */

.language-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.language-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 4px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.language-trigger {
  display: inline-flex;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.language-options {
  display: grid;
  gap: 3px;
  padding: 8px 0;
}

.language-options > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 11px;
}

.language-options > span > span {
  flex: 1;
}

.language-options small {
  color: var(--soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
}

.language-options b {
  color: var(--primary-dark);
  font-size: 12px;
}

.language-options .is-selected {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.arabic-sample {
  margin-top: 5px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-soft), var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 15%, var(--line));
  text-align: right;
}

.arabic-sample .phone-label {
  margin-bottom: 6px;
}

.arabic-sample strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
}

.arabic-sample p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.arabic-sample div {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
}

.arabic-sample div span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 7px;
  font-weight: 700;
}

.arabic-sample div .warning {
  background: var(--warning-soft);
  color: var(--warning);
}

/* -------------------------------------------------------------- allergen card */

.allergen-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(95% 70% at 100% 0%, var(--warning-soft), transparent 65%),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.allergen-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.allergen-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 18px;
  font-weight: 800;
}

.allergen-card-head strong,
.allergen-card-head small {
  display: block;
}

.allergen-card-head strong {
  font-size: 15px;
}

.allergen-card-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.allergen-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.allergen-chips span {
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--warning) 20%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--warning-soft) 60%, var(--surface));
  color: var(--warning);
  font-size: 10px;
  font-weight: 600;
}

.allergen-warning {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

/* -------------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border-top: 1px solid var(--line-strong);
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------------------------------------------------------------- faq */

.faq-wrap {
  max-width: 880px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding-block: 20px;
  padding-inline: 0 42px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 4px;
  top: 50%;
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 65ch;
  margin: 0;
  padding-block: 0 20px;
  padding-inline: 0 42px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------------------------------------------------------------- cta */

.cta-section {
  padding: 0 0 clamp(58px, 8vw, 100px);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  background:
    radial-gradient(70% 100% at 90% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 65%),
    var(--dark);
  color: #f4faf8;
  box-shadow: var(--shadow-md);
}

.cta-card h2 {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.cta-card h2 em {
  color: #8fd8d0;
}

.cta-card p:not(.eyebrow) {
  max-width: 45ch;
  margin-bottom: 0;
  color: rgba(244, 250, 248, 0.68);
  font-size: 13px;
}

.cta-card .eyebrow {
  color: #8fd8d0;
}

.cta-actions {
  flex: none;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.cta-actions .btn--primary {
  background: #f4faf8;
  color: var(--dark);
  box-shadow: none;
}

.cta-actions .btn--primary:hover {
  background: var(--primary-soft);
}

/* ------------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  padding-block: 46px 34px;
}

.footer-brand p {
  max-width: 32ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.footer-links strong,
.footer-links a {
  display: block;
}

.footer-links strong {
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links a {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 10px;
  letter-spacing: 0;
}

/* ------------------------------------------------------------------ reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-inline-start: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

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

  .hero-visual {
    justify-content: flex-start;
    padding-inline-start: clamp(0px, 8vw, 70px);
  }

  .floating-card--allergens {
    inset-inline-start: clamp(0px, 3vw, 26px);
  }

  .floating-card--update {
    inset-inline-end: clamp(0px, 4vw, 40px);
  }

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

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

  .split--reverse .split-visual {
    order: 0;
  }

  .split-visual {
    max-width: 620px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }

  .step-number {
    margin-bottom: 10px;
  }

  .cta-card {
    display: grid;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 7px 14px;
  }

  .hero-visual {
    padding-inline-start: 0;
    justify-content: center;
  }

  .phone {
    width: min(100%, 306px);
  }

  .phone-screen {
    height: 588px;
  }

  .floating-card--allergens {
    inset-inline-start: -4px;
    bottom: 72px;
  }

  .floating-card--update {
    inset-inline-end: -6px;
    top: 54px;
  }

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

  .trust-item strong {
    font-size: 10px;
  }

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

  .feature-card {
    padding: 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    padding-inline: 0;
  }

  .phone {
    width: min(100%, 294px);
  }

  .phone-screen {
    height: 566px;
  }

  .floating-card {
    padding: 8px 10px;
  }

  .floating-card strong {
    font-size: 9px;
  }

  .floating-card small {
    font-size: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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