:root {
  color-scheme: dark;
  --bg: #0d0c10;
  --surface: #17161b;
  --surface-strong: #1d1c22;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8f7f3;
  --muted: #b7b4bc;
  --quiet: #85818c;
  --lime: #b0d45d;
  --lime-soft: #d9ee9d;
  --lavender: #cfc4ff;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(207, 196, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(176, 212, 93, 0.1), transparent 28rem),
    var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.site-shell { min-height: 100vh; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 12, 16, 0.84);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -0.02em; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--lime-soft), var(--lime));
  box-shadow: 0 10px 28px rgba(176, 212, 93, 0.2);
}
.brand-mark span { width: 16px; height: 16px; border: 3px solid #17200a; border-radius: 50% 50% 50% 12%; transform: rotate(-36deg); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 750; padding: 9px 11px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: 54px;
  padding: 68px 0;
}
.eyebrow, .section-kicker, .concept-label {
  display: inline-flex;
  color: var(--lime-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow { padding: 8px 11px; border: 1px solid rgba(176, 212, 93, 0.28); background: rgba(176, 212, 93, 0.09); border-radius: 999px; }
h1 { margin: 24px 0 20px; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: 0.91; letter-spacing: -0.06em; }
h1 span { color: var(--lime-soft); }
.hero-copy { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.status-card { margin-top: 28px; display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); border-radius: 16px; }
.status-card strong, .status-card span { display: block; }
.status-card span { color: var(--quiet); font-size: 0.88rem; }
.status-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(176, 212, 93, 0.12); }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.trust-strip div { padding: 13px; border-top: 1px solid var(--line); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { margin-top: 4px; color: var(--quiet); font-size: 0.8rem; }

.concept-stage { position: relative; min-height: 650px; border: 1px solid rgba(207, 196, 255, 0.16); border-radius: 36px; background: linear-gradient(145deg, rgba(207, 196, 255, 0.11), rgba(255, 255, 255, 0.025)); overflow: hidden; }
.concept-label { position: absolute; top: 20px; left: 22px; z-index: 4; color: var(--lavender); }
.phone { position: absolute; width: 270px; padding: 8px; border-radius: 38px; background: linear-gradient(150deg, #4f4d55, #09090a 45%, #38373d); box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45); }
.phone-screen { position: relative; height: 570px; overflow: hidden; border-radius: 31px; background: #111316; }
.camera-phone { left: 30px; bottom: 34px; transform: rotate(-5deg); }
.result-phone { right: 25px; top: 42px; transform: rotate(5deg); }
.phone-top { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 17px 16px; font-size: 0.67rem; }
.camera-screen { background: linear-gradient(150deg, #41463d, #2b2c2a 52%, #161819); }
.meal-art, .result-photo { position: absolute; inset: 0; background: radial-gradient(circle at 60% 38%, #d9dac2 0 5%, transparent 6%), radial-gradient(circle at 35% 50%, #80984a 0 13%, transparent 14%), radial-gradient(circle at 66% 58%, #b69a55 0 15%, transparent 16%), linear-gradient(135deg, #64665b, #292b27); }
.food { position: absolute; border-radius: 50%; border: 7px solid rgba(255, 255, 255, 0.6); background: #86a84c; }
.food-one { width: 72px; height: 72px; left: 55px; top: 190px; }
.food-two { width: 62px; height: 62px; left: 125px; top: 220px; }
.food-three { width: 54px; height: 54px; left: 86px; top: 270px; background: #e7dfc9; }
.food-four { width: 45px; height: 45px; left: 150px; top: 292px; background: #a68442; }
.scan-frame { position: absolute; inset: 145px 34px 160px; border: 1px dashed rgba(255, 255, 255, 0.75); border-radius: 24px; }
.camera-mode { position: absolute; left: 50%; bottom: 94px; transform: translateX(-50%); white-space: nowrap; padding: 7px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.52); font-size: 0.57rem; font-weight: 850; letter-spacing: 0.08em; }
.capture-button { position: absolute; left: 50%; bottom: 23px; width: 58px; height: 58px; transform: translateX(-50%); display: grid; place-items: center; border: 2px solid white; border-radius: 50%; }
.capture-button span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.result-photo { height: 290px; }
.result-sheet { position: absolute; inset: 245px 0 0; padding: 22px 15px; color: #171719; background: #f4f2ed; border-radius: 24px 24px 0 0; }
.result-sheet h2 { margin: 3px 0 16px; font-size: 1.28rem; line-height: 1.02; }
.meal-type { color: #77845f; font-size: 0.68rem; font-weight: 750; }
.macro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.macro-grid div { padding: 10px; border-radius: 11px; background: white; box-shadow: 0 4px 12px rgba(35, 30, 20, 0.06); }
.macro-grid span, .macro-grid strong { display: block; }
.macro-grid span { color: #6b6871; font-size: 0.63rem; }
.macro-grid strong { font-size: 1rem; }
.review-action { margin-top: 13px; padding: 10px; border-radius: 999px; color: white; background: #171719; text-align: center; font-size: 0.72rem; font-weight: 800; }

.section { padding: 88px 0; }
.section.compact { padding-top: 30px; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2, .privacy-band h2 { margin: 10px 0 13px; font-size: clamp(2.1rem, 4.5vw, 4.3rem); line-height: 0.98; letter-spacing: -0.045em; }
.section-heading p, .privacy-band p { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { min-height: 215px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)); }
.feature-card > span { color: var(--lime); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; }
.feature-card h3 { margin: 32px 0 8px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.roadmap-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.roadmap-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 66px; }
.roadmap-list { margin: 0; padding: 0; list-style: none; }
.roadmap-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.roadmap-list li > span { color: var(--lime); font-size: 0.78rem; font-weight: 900; }
.roadmap-list strong { font-size: 1.2rem; }
.roadmap-list p { margin: 5px 0 0; color: var(--muted); }
.privacy-band { padding: 34px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border: 1px solid rgba(176, 212, 93, 0.25); border-radius: 28px; background: linear-gradient(135deg, rgba(176, 212, 93, 0.1), rgba(207, 196, 255, 0.08)); }
.privacy-band h2 { max-width: 780px; font-size: clamp(2rem, 4vw, 3.4rem); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 999px; color: #17200a; background: var(--lime); font-weight: 850; }

.page-hero { padding: 80px 0 36px; }
.page-hero h1 { max-width: 860px; margin: 18px 0; font-size: clamp(2.9rem, 6vw, 5.4rem); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px 0 90px; }
.legal-toc { position: sticky; top: 100px; padding: 13px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.035); }
.legal-toc a { display: block; padding: 8px 9px; border-radius: 9px; color: var(--muted); font-size: 0.9rem; font-weight: 750; }
.legal-toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.055); }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, 0.035); }
.legal-card section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-card section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-card h2 { font-size: 1.55rem; margin-bottom: 10px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card ul { padding-left: 20px; }
.meta-line { color: var(--quiet); font-weight: 750; }
.notice { margin: 20px 0 28px; padding: 16px; border: 1px solid rgba(176, 212, 93, 0.26); border-radius: 14px; background: rgba(176, 212, 93, 0.07); color: var(--lime-soft); }

.site-footer { margin-top: 70px; padding: 30px 0; border-top: 1px solid var(--line); color: var(--quiet); }
.footer-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: var(--muted); font-weight: 750; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .concept-stage { min-height: 650px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .nav { padding: 15px 0; align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero { padding-top: 45px; }
  .trust-strip, .feature-grid { grid-template-columns: 1fr; }
  .concept-stage { min-height: 600px; }
  .phone { width: 225px; }
  .phone-screen { height: 500px; }
  .camera-phone { left: 10px; }
  .result-phone { right: 10px; }
  .result-photo { height: 250px; }
  .result-sheet { inset: 215px 0 0; }
  .privacy-band { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 500px) {
  .container, .nav { width: min(100% - 28px, 1160px); }
  h1 { font-size: 3.15rem; }
  .concept-stage { min-height: 540px; }
  .phone { width: 196px; padding: 6px; border-radius: 30px; }
  .phone-screen { height: 445px; border-radius: 25px; }
  .camera-phone { left: -20px; bottom: 30px; }
  .result-phone { right: -20px; top: 54px; }
  .macro-grid div { padding: 7px; }
  .result-sheet { padding: 16px 10px; }
  .result-sheet h2 { font-size: 1rem; }
}
