@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+SC:wght@500;600;700;900&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --ink: #163b3b;
  --ink-muted: #52706b;
  --paper: #f7f5ee;
  --card: #f0eee5;
  --green: #7cad34;
  --sun: #e8bd57;
  --coral: #d9795b;
  --line: rgba(22, 59, 59, 0.16);
  --serif: 'Noto Serif SC', serif;
  --sans: 'Noto Sans SC', sans-serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.section-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }

.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1360px, calc(100% - 64px)); margin: 0 auto; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--serif); letter-spacing: 0; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; position: relative; background: var(--green); transform: rotate(45deg); border-radius: 7px 7px 7px 0; overflow: hidden; }
.brand-mark i, .brand-mark b { position: absolute; display: block; width: 8px; height: 17px; background: #fff; transform: rotate(-45deg) skewY(-24deg); border-radius: 4px 0 4px 0; }
.brand-mark i { left: 7px; bottom: 4px; }
.brand-mark b { right: 7px; top: 4px; transform: rotate(135deg) skewY(-24deg); }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 42px); font-size: 14px; color: #55716b; }
.site-header nav a, .header-link, .text-link { transition: color 180ms ease; }
.site-header nav a:hover, .header-link:hover, .text-link:hover { color: var(--green); }
.header-link { color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-link span { margin-left: 8px; color: var(--green); }

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); align-items: center; gap: clamp(42px, 7vw, 104px); padding: 72px 0 84px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--ink-muted); font: 500 11px/1.5 var(--mono); letter-spacing: .08em; }
.eyebrow span { width: 24px; height: 1px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 900; letter-spacing: 0; }
h1 { margin-bottom: 24px; font-size: clamp(42px, 4.5vw, 68px); line-height: 1.22; }
h2 { margin-bottom: 22px; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.35; }
.hero-summary { max-width: 510px; margin-bottom: 34px; color: var(--ink-muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-bottom: 62px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 12px 20px; border: 1px solid currentColor; font-size: 14px; font-weight: 700; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.button-primary { background: var(--green); border-color: var(--green); color: #fff; }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.text-link { font-size: 14px; font-weight: 700; }
.text-link span { color: var(--coral); margin-left: 7px; }
.hero-facts { display: flex; margin: 0; border-top: 1px solid var(--line); }
.hero-facts div { flex: 1; min-width: 0; padding: 17px 15px 0 0; border-right: 1px solid var(--line); }
.hero-facts div + div { padding-left: 15px; }
.hero-facts div:last-child { border: 0; }
.hero-facts dt { margin-bottom: 3px; color: var(--green); font: 500 12px var(--mono); }
.hero-facts dd { margin: 0; color: var(--ink-muted); font-size: 13px; }
.hero-visual { position: relative; padding: 36px 0 20px 30px; }
.hero-visual::before { content: ''; position: absolute; z-index: -1; top: 0; right: 12%; width: 62%; height: 76%; background: #e6e4d8; }
.dashboard-frame, .activity-frame { border: 1px solid rgba(22, 59, 59, .24); background: #fff; box-shadow: 12px 12px 0 var(--sun); overflow: hidden; }
.dashboard-frame img, .activity-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.corner-note { position: absolute; z-index: 1; top: 0; left: 0; color: var(--ink); font: 500 12px/1.45 var(--mono); }
.corner-note em { color: var(--coral); font-style: normal; }
.status-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 10px; background: var(--ink); color: #fff; font: 400 11px var(--mono); }
.status-note span { width: 7px; height: 7px; border-radius: 50%; background: #d6e85c; }

.capabilities { padding: 128px 0 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 54px; }
.section-heading h2 { margin: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.capability { min-height: 350px; padding: 32px 28px 28px; background: var(--card); border-right: 1px solid var(--paper); display: flex; flex-direction: column; }
.capability:nth-child(3) { background: #e9e6d9; }
.capability-dark { background: var(--ink); color: #fff; }
.capability-accent { background: var(--coral); color: #fff; }
.capability-number { margin-bottom: auto; font: 500 12px var(--mono); opacity: .84; }
.capability h3 { margin: 44px 0 12px; font: 700 25px/1.25 var(--serif); }
.capability p { min-height: 95px; margin-bottom: 22px; font-size: 14px; line-height: 1.75; opacity: .85; }
.capability ul { padding: 14px 0 0; margin: 0; border-top: 1px solid currentColor; list-style: none; font-size: 12px; opacity: .85; }
.capability li + li { margin-top: 6px; }
.capability li::before { content: '—'; margin-right: 7px; }

.console-band { padding: 128px 0 116px; background: var(--ink); color: #fff; }
.console-band .section-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: end; }
.eyebrow-light { color: rgba(255, 255, 255, .62); }
.eyebrow-light span { background: #d6e85c; }
.console-intro { padding-bottom: 42px; }
.console-intro p:last-child { margin: 0; max-width: 420px; color: rgba(255, 255, 255, .68); font-size: 15px; }
.activity-frame { box-shadow: 12px 12px 0 var(--coral); }
.console-caption { grid-column: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 22px; color: rgba(255,255,255,.65); font-size: 13px; }
.console-caption span { color: #d6e85c; font: 500 11px var(--mono); letter-spacing: .08em; }
.console-caption p { max-width: 310px; margin: 0; }
.registration-showcase { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; margin-top: 48px; padding-top: 54px; border-top: 1px solid rgba(255,255,255,.18); }
.registration-copy span { color: #d6e85c; font: 500 11px var(--mono); letter-spacing: .08em; }
.registration-copy h3 { margin: 17px 0 15px; font: 700 29px/1.42 var(--serif); }
.registration-copy p { max-width: 420px; margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.registration-frame { border: 1px solid rgba(255,255,255,.28); background: #fff; box-shadow: 12px 12px 0 #6a9f9a; overflow: hidden; }
.registration-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }

.mobile-section { padding: 140px 0 126px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 54px; }
.mobile-intro p:last-child { max-width: 400px; color: var(--ink-muted); font-size: 15px; }
.phone-gallery { min-height: 640px; display: flex; align-items: end; justify-content: center; position: relative; }
.phone-gallery::before { content: ''; position: absolute; top: 15%; bottom: 9%; left: 5%; right: 3%; background: #dfe5c5; }
.phone { position: relative; z-index: 1; width: 30%; margin: 0; padding: 7px; background: #162323; border: 1px solid #162323; border-radius: 22px; box-shadow: 10px 12px 0 rgba(22, 59, 59, .1); overflow: hidden; }
.phone img { width: 100%; aspect-ratio: 768 / 1622; object-fit: cover; object-position: top; border-radius: 16px; }
.phone figcaption { position: absolute; left: 50%; bottom: -39px; transform: translateX(-50%); width: max-content; color: var(--ink-muted); font-size: 12px; }
.phone-back { transform: translate(17%, -42px) rotate(-7deg); }
.phone-main { z-index: 2; width: 34%; transform: translateY(-4px); }
.phone-front { transform: translate(-17%, -58px) rotate(7deg); }

.workflow { padding: 112px 0 130px; border-top: 1px solid var(--line); }
.workflow-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.workflow-top h2 { margin: 0; }
.workflow ol { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow li { min-height: 196px; padding: 22px 28px 0 0; border-right: 1px solid var(--line); }
.workflow li + li { padding-left: 28px; }
.workflow li:last-child { border: 0; }
.workflow li span { display: block; margin-bottom: 42px; color: var(--coral); font: 500 12px var(--mono); }
.workflow strong { display: block; margin-bottom: 8px; font: 700 20px var(--serif); }
.workflow li p { margin: 0; color: var(--ink-muted); font-size: 13px; }

footer { padding: 68px 0 22px; background: var(--sun); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-footer .brand-mark { background: var(--ink); }
.footer-inner p { margin: 16px 0 0; color: rgba(22,59,59,.72); font-size: 14px; }
.button-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-meta { display: flex; justify-content: space-between; margin-top: 66px; padding-top: 18px; border-top: 1px solid rgba(22,59,59,.25); color: rgba(22,59,59,.65); font: 400 11px var(--mono); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .site-header { height: 70px; width: min(100% - 36px, 720px); }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 70px 0 88px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { max-width: 720px; width: 94%; margin-left: auto; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability { border-bottom: 1px solid var(--paper); }
  .console-band .section-shell, .mobile-section { grid-template-columns: 1fr; }
  .console-intro { padding-bottom: 0; }
  .console-caption { grid-column: auto; }
  .registration-showcase { grid-column: auto; grid-template-columns: 1fr; gap: 32px; }
  .mobile-intro { max-width: 560px; }
  .phone-gallery { width: min(610px, 100%); margin: 0 auto; }
}

@media (max-width: 580px) {
  .section-shell { width: min(100% - 36px, 480px); }
  .brand { font-size: 18px; }
  .header-link { font-size: 12px; }
  h1 { font-size: 39px; }
  h2 { font-size: 31px; }
  .hero { padding-top: 52px; }
  .hero-summary { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 45px; }
  .hero-facts { overflow: hidden; }
  .hero-facts dd { font-size: 11px; }
  .hero-visual { padding-left: 16px; width: 100%; }
  .status-note { margin-top: 15px; }
  .capabilities, .mobile-section { padding: 92px 0; }
  .section-heading, .workflow-top { display: block; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 280px; border-right: 0; }
  .capability h3 { margin-top: 35px; }
  .capability p { min-height: auto; }
  .console-band { padding: 92px 0 82px; }
  .console-band .section-shell { gap: 32px; }
  .console-caption { display: block; }
  .console-caption p { margin-top: 9px; }
  .registration-showcase { margin-top: 24px; padding-top: 38px; }
  .registration-copy h3 { font-size: 25px; }
  .phone-gallery { min-height: 500px; }
  .phone { width: 34%; border-radius: 16px; padding: 5px; }
  .phone-main { width: 39%; }
  .phone img { border-radius: 11px; }
  .phone-back { transform: translate(14%, -30px) rotate(-7deg); }
  .phone-front { transform: translate(-14%, -38px) rotate(7deg); }
  .workflow { padding: 85px 0; }
  .workflow ol { grid-template-columns: 1fr 1fr; }
  .workflow li { min-height: 176px; border-bottom: 1px solid var(--line); }
  .workflow li:nth-child(2) { border-right: 0; }
  .workflow li:nth-child(3) { padding-left: 0; }
  .workflow li span { margin-bottom: 30px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-meta { gap: 12px; flex-direction: column; margin-top: 45px; }
}
