:root {
  --paper: #f4f1e9;
  --ink: #18211c;
  --muted: #6f756f;
  --line: rgba(24, 33, 28, 0.16);
  --soft: #e8e4da;
  --orange: #ff6b45;
  --green: #173d2c;
  --white: #fffdf8;
  --shell: min(1180px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Noto Sans SC", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { width: var(--shell); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; flex-shrink: 0; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fffefa; background: #243e30; font-family: Georgia, serif; font-size: 24px; font-style: italic; font-weight: 600; }
.brand-mark-small { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 34px; font-size: 14px; }
.site-nav a { position: relative; color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--orange); }

.hero { position: relative; min-height: 680px; padding: 110px 0 90px; overflow: hidden; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { position: relative; z-index: 1; max-width: 820px; margin: 28px 0 26px; font-size: clamp(56px, 7.4vw, 104px); line-height: 1.04; letter-spacing: -.07em; font-weight: 600; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 530px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button { display: inline-flex; min-height: 50px; padding: 0 22px; align-items: center; justify-content: center; gap: 24px; border: 0; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 600; }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--orange); }
.button-muted { color: var(--muted); background: var(--soft); }
.text-link { text-underline-offset: 5px; font-size: 14px; font-weight: 500; }
.hero-orbit { position: absolute; right: 0; bottom: 60px; width: 450px; height: 450px; }
.orbit-ring { position: absolute; inset: 20px; border: 1px solid var(--line); border-radius: 50%; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-ring::before { inset: 60px; }.orbit-ring::after { inset: 130px; background: var(--orange); border: 0; }
.orbit-card { position: absolute; z-index: 2; width: 118px; height: 142px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,253,248,.85); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: 0 24px 60px rgba(24,33,28,.12); backdrop-filter: blur(12px); }
.orbit-card span { color: var(--muted); font-size: 12px; }.orbit-card strong { font-size: 34px; font-weight: 500; }
.orbit-card-a { top: 30px; right: 42px; transform: rotate(8deg); }.orbit-card-b { bottom: 32px; left: 8px; transform: rotate(-9deg); }
.orbit-dot { position: absolute; top: 48%; left: 4px; width: 10px; height: 10px; background: var(--green); border-radius: 50%; }

.apps-section { padding: 100px 0 120px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 54px; }
.kicker { margin: 0 0 16px; color: var(--orange); }
.section-heading h2, .principles h2, .policy-aside h1, .feature-section h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; font-weight: 600; }
.section-heading > p { max-width: 350px; margin: 0; color: var(--muted); line-height: 1.7; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { min-height: 450px; padding: 26px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.app-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(24,33,28,.08); }
.app-card-top { display: flex; align-items: start; justify-content: space-between; }
.app-icon { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; border-radius: 22px; color: white; background: var(--accent); font-size: 24px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-number, .empty-index { color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.app-card-body { margin: auto 0 26px; }.app-platform { color: var(--orange) !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.app-card h3 { margin: 10px 0; font-size: 28px; letter-spacing: -.04em; }.app-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-link { padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; text-decoration: none; }
.empty-state { grid-column: 1 / -1; min-height: 250px; padding: 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border: 1px dashed var(--line); border-radius: 22px; }
.empty-symbol { display: grid; width: 72px; height: 72px; place-items: center; color: var(--orange); background: var(--white); border-radius: 50%; font-size: 22px; }
.empty-state h3 { margin: 0 0 8px; font-size: 26px; }.empty-state p { margin: 0; color: var(--muted); }

.principles { padding: 110px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; border-top: 1px solid var(--line); }
.principle-list article { padding: 28px 0; display: grid; grid-template-columns: 56px 1fr; border-bottom: 1px solid var(--line); }
.principle-list article:first-child { border-top: 1px solid var(--line); }.principle-list span { color: var(--orange); font-size: 12px; }
.principle-list h3 { margin: 0 0 8px; font-size: 20px; }.principle-list p { margin: 0; color: var(--muted); line-height: 1.7; }

.site-footer { min-height: 210px; padding: 46px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer > div:first-child { display: flex; align-items: center; gap: 14px; }.site-footer p { margin: 0; line-height: 1.5; }.site-footer > p { text-align: right; }
.footer-links { display: flex; gap: 24px; }.footer-links a { text-underline-offset: 4px; }

.app-hero { min-height: 680px; padding: 90px 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.app-icon-large { width: 112px; height: 112px; margin-bottom: 38px; border-radius: 28px; font-size: 32px; }
.app-hero h1 { margin: 4px 0 6px; font-size: clamp(60px, 8vw, 108px); line-height: 1; letter-spacing: -.07em; }
.app-tagline { margin: 0 0 24px !important; color: var(--ink) !important; font-size: 26px !important; }.app-hero-copy > p { max-width: 520px; color: var(--muted); line-height: 1.8; }
.device-stage { min-height: 540px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent), transparent 78%); }
.device { width: 250px; height: 505px; padding: 10px; position: relative; border: 3px solid var(--ink); border-radius: 48px; background: var(--ink); transform: rotate(5deg); box-shadow: 28px 38px 70px rgba(24,33,28,.2); }
.device-screen { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 37px; color: white; background: var(--accent); font-size: 38px; font-weight: 700; }.device-island { position: absolute; z-index: 2; top: 20px; left: 50%; width: 80px; height: 22px; border-radius: 20px; background: var(--ink); transform: translateX(-50%); }
.feature-section { padding: 110px 0; border-top: 1px solid var(--line); }.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.feature-card { min-height: 260px; padding: 28px; border-radius: 20px; background: var(--white); }.feature-card > span { color: var(--orange); font-size: 12px; }.feature-card h3 { margin: 88px 0 10px; font-size: 22px; }.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.message-page { min-height: 620px; padding: 140px 0; }.message-page h1 { max-width: 780px; margin: 0 0 24px; font-size: clamp(48px, 7vw, 88px); line-height: 1.05; letter-spacing: -.06em; }.message-page > p:not(.kicker) { color: var(--muted); }.message-page .button { margin-top: 26px; }

.policy-layout { padding: 100px 0 130px; display: grid; grid-template-columns: 320px 1fr; gap: 100px; align-items: start; }
.policy-aside { position: sticky; top: 50px; }.policy-aside > p:not(.kicker) { color: var(--muted); font-size: 12px; }.policy-switcher { margin-top: 45px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }.policy-switcher a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; text-decoration: none; }.policy-switcher a.is-active { color: var(--ink); font-weight: 600; }
.policy-lead { margin-bottom: 40px; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; background: var(--green); border-radius: 18px; color: var(--white); }.policy-lead span { color: #9ad0b5; font-size: 25px; }.policy-lead p { margin: 0; font-size: 18px; line-height: 1.7; }
.policy-content > section { padding: 30px 0; display: grid; grid-template-columns: 54px 1fr; border-bottom: 1px solid var(--line); }.policy-content > section > span { color: var(--orange); font-size: 12px; }.policy-content h2 { margin: -4px 0 12px; font-size: 22px; }.policy-content section p { margin: 0; color: var(--muted); line-height: 1.85; }.policy-content section a { color: var(--ink); text-underline-offset: 4px; }
.policy-content section p + p { margin-top: 12px; }.policy-content .policy-action { margin-top: 16px; }

@media (max-width: 850px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-header { height: 76px; }.site-nav { gap: 18px; }.site-nav a { font-size: 13px; }
  .hero { min-height: auto; padding: 80px 0 390px; }.hero-orbit { right: 50%; bottom: 8px; width: 360px; height: 360px; transform: translateX(50%); }.hero-copy { max-width: 600px; }
  .app-grid, .feature-grid { grid-template-columns: 1fr 1fr; }.principles, .app-hero, .policy-layout { grid-template-columns: 1fr; gap: 55px; }
  .policy-aside { position: static; }.policy-switcher { margin-top: 28px; }.device-stage { min-height: 570px; }

}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 30px); }.brand > span:last-child { display: none; }.site-nav { gap: 15px; }
  .hero { padding-top: 64px; }.hero h1 { font-size: 52px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }.hero-orbit { width: 320px; height: 320px; }
  .section-heading { align-items: start; flex-direction: column; }.app-grid, .feature-grid { grid-template-columns: 1fr; }.empty-state { padding: 28px; grid-template-columns: auto 1fr; }.empty-index { display: none; }
  .principles { padding: 80px 0; gap: 45px; }.app-hero { padding: 70px 0; }.device-stage { min-height: 480px; }.device { width: 210px; height: 425px; }
  .policy-layout { padding: 70px 0 90px; }.policy-content > section { grid-template-columns: 38px 1fr; }.policy-lead { grid-template-columns: 1fr; }
  .policy-aside h1 { font-size: 48px; }
  .site-footer { padding: 38px 0; grid-template-columns: 1fr 1fr; align-items: start; }.site-footer > p { grid-column: 1 / -1; text-align: left; }.footer-links { flex-direction: column; gap: 10px; align-items: end; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
