@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --color-canvas: #f1e2c7;
  --color-canvas-subtle: #fff7e8;
  --color-surface: #fff3de;
  --color-surface-elevated: #fff9ee;
  --color-surface-inverse: #2e1d13;
  --color-chip-surface: #f1dfc3;
  --color-text-primary: #2e1d13;
  --color-text-secondary: #6b523b;
  --color-text-tertiary: #91775b;
  --color-text-inverse: #fff7e8;
  --color-brand-primary: #b66324;
  --color-brand-primary-hover: #7e421b;
  --color-brand-secondary: #277d73;
  --color-brand-warm: #dda15e;
  --color-brand-fresh: #397a48;
  --color-border-subtle: rgba(143, 99, 54, .30);
  --color-border-strong: rgba(126, 66, 27, .72);
  --color-focus-ring: #277d73;
  --color-glow-primary: #f0a35a;
  --color-glow-warm: #dda15e;
  --color-success: #397a48;
  --color-destructive: #b03a2e;
  --color-shadow-ambient: rgba(46, 29, 19, .14);
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-section: 96px;
  --space-section-lg: 128px;
  --radius-chip: 12px;
  --radius-control: 14px;
  --radius-card: 16px;
  --radius-elevated-card: 18px;
  --radius-hero: 20px;
  --radius-sheet: 24px;
  --radius-full: 999px;
  --motion-instant: 120ms;
  --motion-fast: 200ms;
  --motion-base: 320ms;
  --motion-medium: 500ms;
  --motion-slow: 800ms;
  --motion-hero: 1000ms;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --ease-emphasized: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --shadow-surface: 0 8px 24px rgba(46, 29, 19, .10);
  --shadow-device: 0 24px 70px rgba(0, 0, 0, .16), 0 4px 18px rgba(126, 66, 27, .10);
  --content: 1240px;
}

:root[data-theme="dark"] {
  --color-canvas: #21160f;
  --color-canvas-subtle: #2a1b12;
  --color-surface: #2c1d13;
  --color-surface-elevated: #372519;
  --color-surface-inverse: #fff7e8;
  --color-chip-surface: #432e1f;
  --color-text-primary: #f7ebd9;
  --color-text-secondary: #d2bfa5;
  --color-text-tertiary: #aa9074;
  --color-text-inverse: #2e1d13;
  --color-brand-primary: #f0a35a;
  --color-brand-primary-hover: #ffd08e;
  --color-brand-secondary: #55bdb1;
  --color-brand-warm: #f0b878;
  --color-brand-fresh: #79d58a;
  --color-border-subtle: rgba(123, 86, 56, .58);
  --color-border-strong: rgba(240, 163, 90, .72);
  --color-focus-ring: #69d3c6;
  --color-success: #79d58a;
  --color-destructive: #ff8a80;
  --color-shadow-ambient: rgba(0, 0, 0, .38);
  --shadow-surface: 0 10px 30px rgba(0, 0, 0, .24);
  --shadow-device: 0 30px 80px rgba(0, 0, 0, .46), 0 4px 18px rgba(240, 163, 90, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text-primary);
  background:
    radial-gradient(circle at 8% 2%, color-mix(in srgb, var(--color-glow-warm) 18%, transparent), transparent 25rem),
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--color-brand-secondary) 12%, transparent), transparent 30rem),
    var(--color-canvas);
  font-family: "Manrope", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image: repeating-linear-gradient(0deg, transparent 0 22px, color-mix(in srgb, var(--color-text-tertiary) 9%, transparent) 23px 24px);
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--color-text-inverse); background: var(--color-brand-primary); }
:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 4px; }
.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; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: var(--radius-control); color: var(--color-text-inverse); background: var(--color-brand-primary); transition: top var(--motion-fast); }
.skip-link:focus { top: 16px; }
.section-shell { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; padding: 16px 24px 0; pointer-events: none; }
.header-inner { width: min(100%, var(--content)); min-height: 72px; margin-inline: auto; padding: 10px 12px 10px 16px; display: flex; align-items: center; gap: 24px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-hero); background: color-mix(in srgb, var(--color-surface-elevated) 82%, transparent); box-shadow: var(--shadow-surface); backdrop-filter: blur(20px) saturate(130%); pointer-events: auto; transition: background var(--motion-base), box-shadow var(--motion-base); }
.site-header.is-scrolled .header-inner { background: color-mix(in srgb, var(--color-surface-elevated) 94%, transparent); box-shadow: 0 16px 40px var(--color-shadow-ambient); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 18px color-mix(in srgb, var(--color-brand-primary) 24%, transparent); }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-left: auto; color: var(--color-text-secondary); font-size: .84rem; font-weight: 700; }
.site-nav a { position: relative; padding-block: 10px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; border-radius: 10px; background: var(--color-brand-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-fast) var(--ease-out); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-control); color: var(--color-text-primary); background: var(--color-surface); font-weight: 700; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-full); color: var(--color-text-primary); background: var(--color-chip-surface); cursor: pointer; transition: transform var(--motion-fast), border-color var(--motion-fast); }
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--color-border-strong); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius-control); font-weight: 800; line-height: 1.2; transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast), color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { color: var(--color-text-inverse); background: var(--color-brand-primary); box-shadow: 0 10px 24px color-mix(in srgb, var(--color-brand-primary) 24%, transparent); }
.button-primary:hover { background: var(--color-brand-primary-hover); box-shadow: 0 14px 30px color-mix(in srgb, var(--color-brand-primary) 30%, transparent); }
.button-secondary { color: var(--color-text-primary); border-color: var(--color-border-strong); background: var(--color-surface-elevated); }
.app-store-link { display: inline-flex; padding: 8px; border-radius: var(--radius-control); transition: transform var(--motion-fast), box-shadow var(--motion-fast); }
.app-store-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--color-shadow-ambient); }
.app-store-link:active { transform: scale(.98); }
.app-store-link img { width: 180px; height: auto; }
.text-link { color: var(--color-brand-primary); font-weight: 800; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-brand-primary) 35%, transparent); text-underline-offset: 4px; }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); align-items: center; gap: 72px; padding-block: 86px 72px; }
.eyebrow, .card-kicker { margin: 0 0 12px; color: var(--color-brand-primary); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .section-heading h2, .story-copy h2, .privacy-heading h2, .final-cta h2, .page-hero h1 { margin: 0; font-size: clamp(3.5rem, 8vw, 6.8rem); line-height: .96; letter-spacing: -.065em; font-weight: 800; }
.hero h1 span { color: var(--color-brand-primary); }
.hero-lede { max-width: 590px; margin: 26px 0 0; color: var(--color-text-secondary); font-size: clamp(1.05rem, 1.8vw, 1.32rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.platform-note { margin: 12px 0 0; color: var(--color-text-tertiary); font-size: .82rem; font-weight: 700; }
.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--color-glow-primary) 40%, transparent), transparent 68%); filter: blur(6px); z-index: -2; }
.lumi-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--color-brand-primary) 40%, transparent); border-radius: 50%; z-index: -1; }
.lumi-orbit-one { width: 540px; height: 330px; transform: rotate(-18deg); }
.lumi-orbit-two { width: 420px; height: 610px; transform: rotate(22deg); border-color: color-mix(in srgb, var(--color-brand-secondary) 35%, transparent); }
.phone { position: relative; overflow: hidden; padding: 9px; border: 1px solid color-mix(in srgb, var(--color-text-primary) 28%, transparent); border-radius: 48px; background: #17120f; box-shadow: var(--shadow-device); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 39px; }
.phone-hero { width: min(390px, 68vw); height: 650px; transform: rotate(2deg); animation: device-float 8s ease-in-out infinite; }
.phone-island { position: absolute; top: 18px; left: 50%; width: 105px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #17120f; z-index: 2; }
.floating-chip { position: absolute; min-width: 180px; padding: 14px 16px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); background: color-mix(in srgb, var(--color-surface-elevated) 88%, transparent); box-shadow: var(--shadow-surface); backdrop-filter: blur(14px); }
.floating-chip span { display: block; color: var(--color-brand-primary); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.floating-chip strong { display: block; margin-top: 3px; font-size: .9rem; }
.chip-top { top: 12%; left: 0; }
.chip-bottom { right: -2%; bottom: 12%; }
@keyframes device-float { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-6px) rotate(1.5deg); } }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: var(--space-section); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-hero); background: var(--color-border-subtle); box-shadow: var(--shadow-surface); }
.trust-strip > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 24px; background: var(--color-surface-elevated); }
.trust-strip small { grid-column: 2; color: var(--color-text-secondary); }
.trust-dot { grid-row: 1 / 3; align-self: center; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 12%, transparent); }
.trust-dot-orange { color: var(--color-brand-primary); background: currentColor; }.trust-dot-teal { color: var(--color-brand-secondary); background: currentColor; }.trust-dot-green { color: var(--color-success); background: currentColor; }

.story { display: grid; grid-template-columns: .78fr 1.22fr; gap: 96px; align-items: start; padding-block: var(--space-section); }
.story-copy { position: sticky; top: 130px; padding-top: 18px; }
.story-copy h2, .section-heading h2, .privacy-heading h2, .final-cta h2, .page-hero h1 { font-size: clamp(2.55rem, 5vw, 4.8rem); line-height: 1.04; }
.story-copy > p:last-of-type, .section-heading > p:last-child, .privacy-heading > p:last-child { color: var(--color-text-secondary); font-size: 1.05rem; }
.story-progress { height: 4px; margin-top: 32px; overflow: hidden; border-radius: 99px; background: var(--color-chip-surface); }
.story-progress span { display: block; width: 12%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-warm), var(--color-brand-secondary)); transition: width var(--motion-medium) var(--ease-out); }
.story-steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.story-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; min-height: 220px; padding: 30px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-hero); background: var(--color-surface); box-shadow: var(--shadow-surface); transition: transform var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast); }
.story-card:hover { transform: translateY(-3px); border-color: var(--color-border-strong); box-shadow: 0 16px 38px var(--color-shadow-ambient); }
.step-number { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--color-text-inverse); background: var(--color-brand-primary); font-weight: 800; }
.story-card h3, .feature h3, .trust-cards h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.035em; }
.story-card p:last-child, .feature-copy > p:not(.card-kicker) { margin-bottom: 0; color: var(--color-text-secondary); }

.features { padding-block: var(--space-section); }
.section-heading { max-width: 900px; margin-bottom: 52px; }
.section-heading > p:last-child { max-width: 680px; }
.feature { min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; margin-block: 28px; padding: clamp(28px, 5vw, 64px); overflow: hidden; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sheet); background: var(--color-surface); box-shadow: var(--shadow-surface); }
.feature-copy { max-width: 560px; }
.feature-copy > p:not(.card-kicker) { font-size: 1.04rem; }
.feature-device { display: grid; place-items: center; align-self: end; height: 510px; overflow: hidden; }
.phone-small { width: 310px; height: 620px; border-radius: 42px; transform: translateY(42px); }
.phone-small img { border-radius: 34px; }
.feature-recommend, .feature-diary { background: linear-gradient(135deg, var(--color-surface), color-mix(in srgb, var(--color-brand-secondary) 9%, var(--color-surface-elevated))); }
.feature-plan { grid-template-columns: .8fr 1.2fr; background: linear-gradient(135deg, var(--color-surface), color-mix(in srgb, var(--color-brand-warm) 14%, var(--color-surface))); }
.feature-global { background: linear-gradient(135deg, var(--color-surface), color-mix(in srgb, var(--color-brand-primary) 8%, var(--color-surface-elevated))); }
.ingredient-board { position: relative; min-height: 400px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sheet); background: var(--color-surface-elevated); }
.ingredient-board span { position: absolute; left: var(--x); top: var(--y); z-index: 2; padding: 10px 14px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-full); background: var(--color-chip-surface); box-shadow: var(--shadow-surface); font-size: .85rem; font-weight: 800; }
.ingredient-board svg { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); overflow: visible; }
.ingredient-board path { fill: none; stroke: var(--color-brand-primary); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 18 12; opacity: .62; animation: trail 12s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -300; } }
.check-list { display: grid; gap: 10px; padding: 0; list-style: none; color: var(--color-text-secondary); }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--color-success); font-weight: 800; }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.reason-grid span { padding: 12px 14px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-chip); background: var(--color-surface-elevated); font-size: .82rem; font-weight: 800; }
.week-board { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-hero); background: var(--color-surface-elevated); }
.week-board div { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 16px; border-radius: var(--radius-card); background: var(--color-canvas-subtle); }
.week-board small { color: var(--color-brand-primary); font-weight: 800; }

.privacy-feature { margin-block: var(--space-section); padding: clamp(32px, 6vw, 76px); border-radius: var(--radius-sheet); color: #f7ebd9; background: #21160f; box-shadow: var(--shadow-device); }
.privacy-feature .eyebrow { color: #f0a35a; }
.privacy-heading { max-width: 850px; }
.privacy-heading > p:last-child { color: #d2bfa5; }
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.trust-cards article { padding: 26px; border: 1px solid rgba(240, 163, 90, .26); border-radius: var(--radius-elevated-card); background: #372519; }
.trust-cards small { color: #f0a35a; font-weight: 800; letter-spacing: .1em; }
.trust-cards p { color: #d2bfa5; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.privacy-feature .button-primary { color: #2e1d13; background: #f0a35a; }.privacy-feature .button-secondary { color: #f7ebd9; border-color: #7b5638; background: #2c1d13; }

.tour { padding-block: var(--space-section); }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tour-grid figure { height: 640px; margin: 0; overflow: hidden; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sheet); background: var(--color-surface); box-shadow: var(--shadow-surface); transition: transform var(--motion-fast), box-shadow var(--motion-fast); }
.tour-grid figure:hover { transform: translateY(-4px); box-shadow: 0 18px 42px var(--color-shadow-ambient); }
.tour-grid img { width: 100%; height: 560px; object-fit: cover; object-position: top; }
.tour-grid figcaption { padding: 18px 20px; font-weight: 800; }
.faq { padding-block: var(--space-section); }
.faq-list { display: grid; gap: 12px; max-width: 960px; margin-left: auto; }
.faq-list details { border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); background: var(--color-surface); box-shadow: var(--shadow-surface); }
.faq-list summary { position: relative; padding: 22px 58px 22px 24px; cursor: pointer; font-size: 1.03rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--color-brand-primary); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 24px 24px; color: var(--color-text-secondary); }
.faq-list details a { color: var(--color-brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.final-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-block: var(--space-section); padding: clamp(32px, 6vw, 72px); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sheet); background: linear-gradient(135deg, var(--color-surface-elevated), color-mix(in srgb, var(--color-glow-warm) 18%, var(--color-surface))); box-shadow: var(--shadow-surface); }
.final-cta p:last-child { color: var(--color-text-secondary); }
.final-actions { display: grid; justify-items: center; gap: 10px; }

.site-footer { margin-top: var(--space-section); padding: 60px 0 24px; border-top: 1px solid var(--color-border-subtle); background: color-mix(in srgb, var(--color-surface) 76%, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 42px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; }
.footer-grid h2 { margin: 0 0 6px; font-size: .76rem; color: var(--color-text-tertiary); letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:not(.brand) { color: var(--color-text-secondary); font-size: .9rem; }
.footer-grid a:hover { color: var(--color-brand-primary); }
.footer-brand p { max-width: 270px; color: var(--color-text-secondary); }
.footer-bottom { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--color-border-subtle); color: var(--color-text-tertiary); font-size: .74rem; }
.theme-toggle-footer { margin-left: auto; width: auto; padding-inline: 14px; gap: 8px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-emphasized); }
.reveal-delay { transition-delay: 90ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Inner pages */
.page-main { padding-block: 54px var(--space-section); }
.page-hero { max-width: 980px; padding: 72px 0 54px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero > p:last-child { max-width: 720px; margin-top: 24px; color: var(--color-text-secondary); font-size: 1.1rem; }
.page-meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 24px; color: var(--color-text-tertiary); font-size: .82rem; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 840px); gap: 64px; align-items: start; }
.toc { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow: auto; padding: 18px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); background: var(--color-surface); }
.toc h2 { margin: 0 0 12px; color: var(--color-text-tertiary); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 9px; border-radius: 9px; color: var(--color-text-secondary); font-size: .82rem; line-height: 1.4; }
.toc a:hover, .toc a:focus-visible { color: var(--color-text-primary); background: var(--color-chip-surface); }
.toc-disclosure { display: none; }
.legal-article { min-width: 0; display: grid; gap: 14px; }
.legal-reader-toolbar { position: sticky; top: 104px; z-index: 5; display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 6px; padding: 10px 12px 10px 18px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-control); background: color-mix(in srgb, var(--color-surface-elevated) 90%, transparent); box-shadow: var(--shadow-surface); backdrop-filter: blur(18px) saturate(130%); }
.legal-reader-status { margin: 0; color: var(--color-text-tertiary); font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.legal-reader-action { min-height: 36px; padding: 7px 12px; border: 1px solid var(--color-border-subtle); border-radius: 11px; color: var(--color-text-primary); background: var(--color-chip-surface); cursor: pointer; font-size: .78rem; font-weight: 800; transition: transform var(--motion-fast), border-color var(--motion-fast), background var(--motion-fast); }
.legal-reader-action:hover { transform: translateY(-1px); border-color: var(--color-border-strong); background: var(--color-surface); }
.legal-disclosure { scroll-margin-top: 122px; overflow: clip; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-elevated-card); background: color-mix(in srgb, var(--color-surface) 92%, transparent); transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast); }
.legal-disclosure[open] { border-color: color-mix(in srgb, var(--color-brand-primary) 58%, var(--color-border-subtle)); background: var(--color-surface); box-shadow: var(--shadow-surface); }
.legal-disclosure summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) 32px; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px; cursor: pointer; list-style: none; }
.legal-disclosure summary::-webkit-details-marker { display: none; }
.legal-disclosure summary:hover .legal-disclosure-title { color: var(--color-brand-primary); }
.legal-disclosure summary:focus-visible { outline-offset: -5px; }
.legal-disclosure-index { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--color-brand-primary); background: var(--color-chip-surface); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.legal-disclosure-title { font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.25; font-weight: 800; letter-spacing: -.025em; transition: color var(--motion-fast); }
.legal-disclosure-marker { position: relative; width: 32px; height: 32px; border: 1px solid var(--color-border-subtle); border-radius: 50%; background: var(--color-surface-elevated); }
.legal-disclosure-marker::before, .legal-disclosure-marker::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 4px; background: var(--color-brand-primary); transform: translate(-50%, -50%); transition: transform var(--motion-fast) var(--ease-out); }
.legal-disclosure-marker::after { transform: translate(-50%, -50%) rotate(90deg); }
.legal-disclosure[open] .legal-disclosure-marker::after { transform: translate(-50%, -50%) rotate(0deg); }
.legal-disclosure-content { padding: 24px 28px 30px 76px; border-top: 1px solid var(--color-border-subtle); animation: disclosure-in var(--motion-base) var(--ease-out); }
.legal-disclosure-content > :first-child { margin-top: 0; }
.legal-disclosure-content > :last-child { margin-bottom: 0; }
.legal-disclosure-content h3 { margin: 28px 0 10px; font-size: 1.06rem; }
.legal-disclosure-content p, .legal-disclosure-content li { color: var(--color-text-secondary); }
.legal-disclosure-content a { color: var(--color-brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-disclosure-content ul, .legal-disclosure-content ol { padding-left: 22px; }
.legal-disclosure-content li + li { margin-top: 8px; }
@keyframes disclosure-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.legal-section { scroll-margin-top: 118px; padding: 0 0 44px; }
.legal-section + .legal-section { padding-top: 44px; border-top: 1px solid var(--color-border-subtle); }
.legal-section h2 { margin: 0 0 14px; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.035em; }
.legal-section h3 { margin: 28px 0 10px; font-size: 1.06rem; }
.legal-section p, .legal-section li { color: var(--color-text-secondary); }
.legal-section a:not(.button), .contact-card a:not(.button) { color: var(--color-brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-section ul, .legal-section ol { padding-left: 22px; }
.legal-section li + li { margin-top: 8px; }
.policy-callout { margin: 22px 0; padding: 20px; border-left: 4px solid var(--color-brand-primary); border-radius: 0 var(--radius-card) var(--radius-card) 0; background: var(--color-surface-elevated); }
.data-map { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.data-map article, .support-card, .contact-card, .deletion-card { padding: 24px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-elevated-card); background: var(--color-surface); box-shadow: var(--shadow-surface); }
.data-map small { color: var(--color-brand-primary); font-weight: 800; letter-spacing: .08em; }
.data-map h3, .support-card h2, .contact-card h2, .deletion-card h2 { margin: 6px 0 8px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-search { display: block; max-width: 720px; margin: -18px 0 30px; }
.support-search input { width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-control); color: var(--color-text-primary); background: var(--color-surface); box-shadow: var(--shadow-surface); font: inherit; }
.support-search input::placeholder { color: var(--color-text-tertiary); }
.support-search input:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 3px; border-color: transparent; }
.support-card[hidden] { display: none; }
.support-card p, .contact-card p, .deletion-card p { color: var(--color-text-secondary); }
.support-card a { color: var(--color-brand-primary); font-weight: 800; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.contact-layout + .legal-section { margin-top: 48px; }
.contact-card address { font-style: normal; }
.contact-card .button { margin-top: 14px; text-decoration: none; }
.deletion-steps { display: grid; gap: 16px; counter-reset: steps; }
.deletion-card { position: relative; padding-left: 78px; }
.deletion-card::before { counter-increment: steps; content: counter(steps); position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: var(--color-text-inverse); background: var(--color-brand-primary); font-weight: 800; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found-inner { max-width: 680px; }
.not-found-code { color: var(--color-brand-primary); font-size: clamp(5rem, 18vw, 12rem); line-height: .85; font-weight: 800; letter-spacing: -.08em; }

@media (max-width: 1040px) {
  .site-nav { gap: 16px; }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 30px; }
  .chip-top { left: -4%; }.chip-bottom { right: -4%; }
  .story { gap: 50px; }
  .tour-grid figure { height: 560px; }.tour-grid img { height: 490px; }
  .legal-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 38px; }
}

@media (max-width: 860px) {
  .section-shell { width: min(calc(100% - 32px), var(--content)); }
  .site-header { padding: 10px 12px 0; }
  .header-inner { flex-wrap: wrap; min-height: 64px; padding: 8px 10px 8px 12px; gap: 10px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { order: 4; display: none; width: 100%; align-items: stretch; padding: 10px 4px 6px; border-top: 1px solid var(--color-border-subtle); }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding-inline: 8px; }
  .site-nav a::after { display: none; }
  .header-actions { margin-left: 0; }.header-cta { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 70px 50px; }
  .hero-copy { text-align: center; }.hero-lede { margin-inline: auto; }.hero-actions { justify-content: center; }.platform-note { text-align: center; }
  .hero-visual { min-height: 600px; }.phone-hero { height: 590px; }.chip-top { left: 8%; }.chip-bottom { right: 6%; }
  .trust-strip { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 32px; }.story-copy { position: static; }.story-progress { display: none; }
  .feature, .feature-plan { min-height: auto; grid-template-columns: 1fr; }.feature-device { order: 2; }.feature-diary .feature-device { order: 2; }
  .trust-cards, .tour-grid { grid-template-columns: 1fr; }.tour-grid figure { height: 520px; }.tour-grid img { height: 450px; }
  .final-cta { grid-template-columns: 1fr; align-items: start; }.final-actions { justify-items: start; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-reader-toolbar { position: static; }
  .toc { position: static; display: none; max-height: none; }.toc.is-open { display: block; }.toc-disclosure { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding: 12px 16px; margin-bottom: 20px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-control); color: var(--color-text-primary); background: var(--color-surface); font-weight: 800; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(3.2rem, 18vw, 5.2rem); }
  .hero-visual { min-height: 520px; }.phone-hero { width: min(330px, 82vw); height: 530px; }.lumi-orbit-one { width: 360px; height: 240px; }.lumi-orbit-two { width: 290px; height: 440px; }
  .floating-chip { min-width: 150px; padding: 10px 12px; }.chip-top { top: 10%; left: 0; }.chip-bottom { right: 0; bottom: 9%; }
  .story-card { grid-template-columns: 1fr; min-height: 0; padding: 24px; }.step-number { width: 46px; height: 46px; }
  .feature { gap: 28px; padding: 24px; }.feature-device { height: 460px; }.phone-small { width: 270px; height: 530px; }
  .ingredient-board { min-height: 340px; }.ingredient-board span { font-size: .72rem; padding: 8px 10px; }
  .reason-grid { grid-template-columns: 1fr; }.week-board div { grid-template-columns: 48px 1fr; gap: 10px; padding: 12px; }
  .privacy-feature { width: min(calc(100% - 20px), var(--content)); }
  .tour-grid figure { height: 480px; }.tour-grid img { height: 412px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1 / -1; }.footer-bottom { align-items: flex-start; flex-direction: column; }.theme-toggle-footer { margin-left: 0; }
  .data-map, .support-grid, .contact-layout { grid-template-columns: 1fr; }
  .page-main { padding-top: 24px; }.page-hero { padding-top: 52px; }
  .legal-disclosure summary { grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 12px; min-height: 68px; padding: 12px 14px; }
  .legal-disclosure-index { width: 36px; height: 36px; border-radius: 11px; }
  .legal-disclosure-marker { width: 30px; height: 30px; }
  .legal-disclosure-content { padding: 20px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ingredient-board path { stroke-dasharray: none; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #21160f; background: #fff; font-size: 11pt; }
  body::before, .site-header, .site-footer, .toc, .toc-disclosure, .theme-toggle, .button, .legal-reader-toolbar { display: none !important; }
  .section-shell { width: 100%; }
  .page-main { padding: 0; }
  .page-hero { padding: 0 0 24px; }
  .page-hero h1 { font-size: 34pt; }
  .legal-layout { display: block; }
  .legal-section { break-inside: avoid; }
  .legal-disclosure { margin-bottom: 18px; overflow: visible; border: 0; break-inside: avoid; background: transparent; box-shadow: none; }
  .legal-disclosure summary { min-height: 0; padding: 0 0 8px; }
  .legal-disclosure-index, .legal-disclosure-marker { display: none; }
  .legal-disclosure-title { font-size: 18pt; }
  .legal-disclosure-content, .legal-disclosure:not([open]) > .legal-disclosure-content { display: block !important; padding: 0; border: 0; animation: none; }
  a { color: #21160f; text-decoration: underline; }
}
