:root {
  color-scheme: light;
  --canvas: #f9f6ff;
  --ink: #241635;
  --muted: #5c506b;
  --accent: #6535db;
  --border: #e5dcee;
  --white: #fff;
  --page-width: 1220px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-inline-size: 100%; }
figure, p, h1, h2, h3 { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(calc(100% - 3rem), var(--page-width)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner, .footer-inner, .site-nav, .brand { display: flex; align-items: center; }
.header-inner { min-block-size: 78px; justify-content: space-between; gap: 1rem; }

.brand {
  gap: .7rem;
  flex: none;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 780;
  letter-spacing: -.05em;
}
.brand img { border-radius: 11px; }
.site-nav { gap: clamp(.85rem, 2.6vw, 2rem); font-size: .9rem; font-weight: 640; }
.site-nav > a, .site-footer a:not(.brand) { text-decoration: none; }
.site-nav > a:hover, .site-footer a:not(.brand):hover, [aria-current="page"] { color: var(--accent); }

.language-menu { position: relative; z-index: 5; }
.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 100vmax;
  padding: .57rem .77rem;
  background: var(--white);
  white-space: nowrap;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-2px) rotate(45deg);
  margin-inline-start: .16rem;
}
.globe {
  display: inline-block;
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}
.globe::before, .globe::after { content: ""; position: absolute; }
.globe::before { inset: 0 3.1px; border-inline: 1px solid; border-radius: 50%; }
.globe::after { inset-inline: 0; top: 50%; border-top: 1px solid; }
.language-menu ul {
  position: absolute;
  inset: calc(100% + .65rem) 0 auto auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  min-width: min(290px, calc(100vw - 2rem));
  padding: .55rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(42, 27, 66, .12);
  list-style: none;
}
.language-menu a {
  display: block;
  padding: .65rem .55rem;
  border-radius: .52rem;
  text-decoration: none;
}
.language-menu a:hover, .language-menu a[aria-current] { background: #eee5ff; color: #5025b7; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.09fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 5rem);
  padding-block: clamp(3.6rem, 7vw, 7rem);
}
.hero-copy { padding-block: 1rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #4b23ab;
  padding: .5rem .78rem;
  background: #ebe0ff;
  border-radius: 100vmax;
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 720;
}
.eyebrow::before {
  content: "";
  width: .52rem;
  height: .52rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
h1, h2, h3 { text-wrap: balance; }
.hero h1 {
  font-size: clamp(3.15rem, 6vw, 5.6rem);
  line-height: .99;
  font-weight: 790;
  letter-spacing: -.072em;
  overflow-wrap: anywhere;
  margin-block: 1.4rem 1.35rem;
}
.hero-intro {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.64;
  max-inline-size: 34rem;
}
.store { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-block-start: 1.8rem; }
.store-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-block-size: 3.45rem;
  max-inline-size: 100%;
  padding: .8rem 1.25rem;
  border-radius: .95rem;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  font-weight: 720;
  box-shadow: 0 7px 18px rgba(100, 51, 217, .19);
  transition: background .15s ease;
}
.store-button:hover { background: #5128bb; }
#store-status { font-size: .875rem; color: var(--muted); }

.hero-art {
  min-block-size: 555px;
  position: relative;
  isolation: isolate;
}
.meal-photo {
  position: absolute;
  inset: 6% 0 6%;
  width: 100%;
  height: 88%;
  object-fit: cover;
  object-position: 33% center;
  border-radius: 2.65rem;
  background: #e8cbdb;
}
.phone {
  background: #271b35;
  border-radius: 17% / 8%;
  padding: 7px;
  border: 1px solid #463848;
  box-shadow: 0 24px 42px -12px rgba(34, 18, 49, .44), 0 2px 3px rgba(31, 13, 48, .25);
}
.phone img { width: 100%; height: auto; border-radius: 15% / 7%; background: #f4f0fc; }
.hero-phone {
  width: clamp(210px, 45%, 258px);
  position: absolute;
  top: 50%;
  inset-inline-end: 7%;
  transform: translateY(-50%) rotate(5deg);
}

.features {
  background: var(--white);
  border-block: 1px solid var(--border);
}
.feature-inner { padding-block: clamp(3.4rem, 6vw, 6.4rem); }
.feature-heading { margin-block-end: 1.6rem; }
.feature-heading h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.95rem);
  letter-spacing: -.065em;
  line-height: 1.06;
  font-weight: 770;
}
.feature-heading p { font-size: 1.06rem; color: var(--muted); line-height: 1.6; margin-block-start: .6rem; }
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.feature-art {
  display: grid;
  place-items: center;
  min-block-size: 435px;
  overflow: hidden;
  border-radius: 2rem;
  background: radial-gradient(ellipse at 24% 16%, #fff4d9 0%, transparent 57%), #efe2ff;
  padding: 1.6rem 2rem 0;
}
.feature-phone {
  width: min(52%, 238px);
  align-self: start;
  transform: rotate(-5deg) translateY(5px);
  transform-origin: center top;
  margin-block-end: -98px;
}
.feature-copy { display: grid; gap: .7rem; align-content: center; }
.feature-card { padding: clamp(1rem, 2vw, 1.5rem); border-radius: 1.35rem; background: #efe7fc; }
.feature-card:nth-child(2) { background: #e1f5e9; }
.feature-card:nth-child(3) { background: #fff1d8; }
.feature-card h3 { font-size: clamp(1.05rem, 2.15vw, 1.45rem); line-height: 1.25; letter-spacing: -.025em; }
.feature-card p { font-size: 1rem; line-height: 1.6; color: #51445e; margin-block-start: .35rem; }
.analysis-limits { color: var(--muted); font-size: .875rem; line-height: 1.55; margin: .28rem .3rem 0; }

.policy { max-inline-size: 780px; margin-inline: auto; padding-block: clamp(3.4rem, 8vw, 7.5rem); }
.policy > header { padding-block-end: 1.9rem; border-bottom: 1px solid var(--border); }
.policy h1 { font-size: clamp(2.65rem, 6vw, 4.5rem); line-height: 1.06; letter-spacing: -.061em; }
.policy h2 { font-size: clamp(1.26rem, 3vw, 1.7rem); letter-spacing: -.022em; margin-block-end: .65rem; }
.policy section { margin-block-start: 2.15rem; }
.policy p, .policy ul { font-size: 1.03rem; line-height: 1.71; color: var(--muted); }
.policy p { margin-block-start: .65rem; overflow-wrap: anywhere; }
.policy header p { font-size: 1.14rem; }
.policy-links { padding-inline-start: 1.15rem; margin-block: .6rem 0; }
.policy-links a { color: #5025b7; text-underline-offset: .19em; overflow-wrap: anywhere; }

.footer-inner {
  gap: .7rem 1.25rem;
  min-block-size: 116px;
  padding-block: 1rem;
  font-size: .9rem;
  color: var(--muted);
}
.footer-inner .brand { color: var(--ink); font-size: 1.1rem; }
.footer-inner .brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-inner > a:last-child { margin-inline-start: auto; font-weight: 650; }

:is(:lang(ja), :lang(ko), :lang(zh)) :is(h1, h2, h3) { letter-spacing: -.026em; line-height: 1.2; }

@media (max-width: 930px) {
  .hero { gap: 1.7rem; padding-block: 3.85rem; }
  .hero-art { min-block-size: 470px; }
  .hero-phone { width: min(53%, 215px); }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 2.2rem); }
  .header-inner { min-block-size: 66px; }
  .site-nav { gap: .72rem; }
  .nav-features { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 2.4rem 2.7rem; gap: 1.65rem; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.8rem, 9.3vw, 4.5rem); margin-block: 1.1rem; }
  .hero-art { min-block-size: clamp(345px, 100vw, 465px); }
  .meal-photo { border-radius: 1.85rem; }
  .hero-phone { width: min(48%, 192px); inset-inline-end: 8%; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-art { min-block-size: 356px; }
  .feature-phone { width: min(53%, 220px); }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > a:last-child { margin-inline-start: 0; }
}

@media (max-width: 400px) {
  .brand { font-size: 1.12rem; gap: .45rem; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .site-nav { gap: .55rem; }
  .site-nav > a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
