:root {
  --ink: #0c182a;
  --ink-2: #13263f;
  --ink-3: #25405e;
  --ivory: #fcf8f0;
  --paper: #f5efe5;
  --coral: #ef314e;
  --rose: #f27081;
  --amber: #f4b15b;
  --cyan: #a9d9dc;
  --line: rgba(12, 24, 42, .16);
  --line-light: rgba(252, 248, 240, .24);
  --display: "Noto Sans SC", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--display); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 78px; padding: 0 clamp(22px, 4vw, 68px); display: flex; align-items: center; justify-content: space-between; color: var(--ivory); transition: background .35s, border-color .35s; }
.site-header.is-scrolled { background: rgba(12, 24, 42, .92); border-bottom: 1px solid rgba(252, 248, 240, .12); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; min-width: 235px; }
.brand-lockup { width: 250px; height: 54px; object-fit: contain; object-position: left center; image-rendering: auto; filter: contrast(1.04) drop-shadow(0 1px 0 rgba(255,255,255,.08)); }
.top-nav { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 32px); font-size: 13px; }
.top-nav > a { color: rgba(252, 248, 240, .76); transition: color .2s; }
.top-nav > a:hover { color: var(--ivory); }
.nav-button { padding: 10px 0; background: transparent; color: var(--ivory); font-size: 13px; }
.nav-points { color: rgba(252, 248, 240, .76); font-size: 12px; white-space: nowrap; }
.nav-points strong { color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.nav-button-solid { padding: 11px 17px; background: var(--coral); color: white; border-radius: 3px; transition: transform .2s, background .2s; }
.nav-button-solid:hover { background: #f34d65; transform: translateY(-2px); }
.menu-toggle { display: none; background: transparent; color: var(--ivory); padding: 9px 0; }
.menu-toggle span { display: block; width: 27px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { min-height: 100svh; position: relative; overflow: hidden; isolation: isolate; color: var(--ivory); background: var(--ink) url("./assets/hero-ai-generated.png") center / cover no-repeat; display: flex; align-items: center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,24,42,.32) 0%, rgba(12,24,42,.06) 58%, rgba(12,24,42,.05) 100%); }
.hero-inner { width: min(1120px, 100%); padding: 112px clamp(22px, 4vw, 68px) 84px; }
.hero-kicker, .section-label { font: 11px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: rgba(252,248,240,.74); opacity: 0; animation: rise .7s .12s forwards; }
.kicker-line { width: 40px; height: 1px; background: var(--amber); }
.hero h1 { max-width: 720px; margin: 25px 0 25px; font-size: clamp(46px, 7.2vw, 104px); line-height: 1.08; letter-spacing: -.055em; font-weight: 900; opacity: 0; animation: rise .9s .22s forwards; }
.hero h1 em { color: var(--rose); font-style: normal; }
.hero-lede { max-width: 470px; margin: 0; color: rgba(252,248,240,.78); line-height: 1.95; font-size: 15px; opacity: 0; animation: rise .8s .4s forwards; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 40px; opacity: 0; animation: rise .8s .52s forwards; }
.action-primary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 18px 0 20px; background: var(--coral); color: white; font-size: 14px; font-weight: 600; border-radius: 2px; transition: transform .25s, background .25s; }
.action-primary span { font-size: 20px; line-height: 0; }
.action-primary:hover { background: #f34d65; transform: translateY(-3px); }
.action-link { display: inline-flex; align-items: center; gap: 11px; padding: 10px 0; color: var(--ivory); background: transparent; font-size: 14px; border-bottom: 1px solid rgba(252,248,240,.52); }
.action-link span { font-size: 19px; transition: transform .2s; }
.action-link:hover span { transform: translateX(4px); }
.hero-note { position: absolute; right: clamp(22px, 5vw, 76px); bottom: 54px; display: flex; align-items: center; gap: 14px; color: rgba(252,248,240,.62); font: 10px var(--mono); letter-spacing: .09em; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; }
.hero-note > span:first-child { color: var(--amber); }
.hero-note-rule { width: 70px; height: 1px; background: var(--line-light); }
.scroll-cue { position: absolute; left: clamp(22px, 4vw, 68px); bottom: 33px; display: inline-flex; align-items: center; gap: 13px; color: rgba(252,248,240,.64); font: 10px var(--mono); letter-spacing: .1em; }
.scroll-cue i { display: block; width: 42px; height: 1px; position: relative; background: rgba(252,248,240,.55); }
.scroll-cue i::after { content: ""; width: 6px; height: 6px; position: absolute; top: -3px; right: 0; border-right: 1px solid var(--ivory); border-top: 1px solid var(--ivory); transform: rotate(45deg); }

.matrix-section { padding: 76px clamp(22px, 4vw, 68px) 112px; background: var(--ivory); }
.matrix-rail { max-width: none; margin: 0 auto 28px; padding: 0 0 16px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); font: 11px var(--mono); letter-spacing: .05em; }
.section-intro { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: end; }
.section-label { margin: 0 0 20px; color: var(--coral); }
.section-intro h2, .signal-copy h2, .cta-section h2 { margin: 0; font-size: clamp(36px, 5vw, 72px); line-height: 1.08; letter-spacing: -.055em; font-weight: 900; }
.section-intro h2 span, .signal-copy h2 span, .cta-section h2 span { color: var(--coral); }
.section-intro-side { padding-bottom: 5px; }
.section-intro-side p { max-width: 350px; margin: 0 0 22px; color: var(--ink-3); line-height: 1.9; font-size: 14px; }
.matrix-meta { display: flex; gap: 10px; color: var(--ink-3); font: 11px var(--mono); letter-spacing: .03em; }
.filter-bar { max-width: 1180px; margin: 82px auto 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.filter-title { margin-right: 10px; color: var(--ink-3); font-size: 12px; }
.filter-chip { padding: 7px 12px; background: transparent; color: var(--ink-3); border: 1px solid var(--line); border-radius: 2px; font-size: 12px; transition: all .2s; }
.filter-chip:hover, .filter-chip.is-active { color: white; border-color: var(--coral); background: var(--coral); }
.tool-grid { max-width: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool-item { min-height: 184px; position: relative; padding: 27px 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(252,248,240,.62); overflow: hidden; transition: background .3s, color .3s, transform .3s; }
.tool-item::after { content: ""; position: absolute; right: -25px; bottom: -32px; width: 95px; height: 95px; border: 1px solid rgba(239,49,78,.2); border-radius: 50%; transition: transform .5s; }
.tool-item:hover { z-index: 1; color: var(--ivory); background: var(--ink); transform: translateY(-4px); }
.tool-item:hover::after { transform: scale(2.6); border-color: rgba(242,112,129,.42); }
.tool-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 35px; }
.tool-index { color: var(--coral); font: 11px var(--mono); letter-spacing: .06em; }
.tool-item:hover .tool-index { color: var(--amber); }
.tool-tag { color: var(--ink-3); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tool-item:hover .tool-tag { color: rgba(252,248,240,.62); }
.tool-item h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.tool-item p { max-width: 235px; margin: 0; color: var(--ink-3); font-size: 12px; line-height: 1.75; }
.tool-item:hover p { color: rgba(252,248,240,.66); }
.tool-cost { display: block; margin-top: 12px; color: var(--coral); font: 11px var(--mono); letter-spacing: .02em; }
.tool-item:hover .tool-cost { color: var(--amber); }
.tool-arrow { position: absolute; right: 25px; bottom: 21px; color: var(--coral); font-size: 22px; transition: transform .25s, color .25s; }
.tool-item:hover .tool-arrow { color: var(--amber); transform: translate(4px, -4px); }
.tool-item.is-hidden { display: none; }

.signal-section { min-height: 660px; position: relative; overflow: hidden; padding: 140px clamp(22px, 8vw, 140px); display: flex; align-items: center; background: var(--ink-2); color: var(--ivory); }
.signal-copy { width: min(560px, 100%); position: relative; z-index: 2; }
.signal-copy .section-label { color: var(--rose); }
.signal-copy h2 span { color: var(--rose); }
.signal-copy > p:not(.section-label) { max-width: 380px; margin: 30px 0 34px; color: rgba(252,248,240,.68); font-size: 14px; line-height: 1.95; }
.text-arrow { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 9px; border-bottom: 1px solid rgba(252,248,240,.44); font-size: 14px; }
.text-arrow span { color: var(--rose); font-size: 20px; transition: transform .2s; }
.text-arrow:hover span { transform: translate(4px, -4px); }
.signal-orbit { position: absolute; right: -7vw; top: 50%; width: min(55vw, 780px); aspect-ratio: 1; transform: translateY(-50%); }
.signal-orbit::before, .signal-orbit::after, .signal-orbit span { content: ""; position: absolute; inset: 0; border: 1px solid rgba(169,217,220,.24); border-radius: 50%; }
.signal-orbit::after { inset: 14%; border-color: rgba(242,112,129,.45); }
.signal-orbit span:nth-child(1) { inset: 28%; border-color: rgba(244,177,91,.44); }
.signal-orbit span:nth-child(2) { inset: 40%; border-color: rgba(252,248,240,.28); }
.signal-orbit span:nth-child(3) { inset: 52%; border-color: rgba(169,217,220,.28); }
.signal-index { position: absolute; right: 42px; bottom: 34px; color: rgba(252,248,240,.36); font: 10px/1.5 var(--mono); letter-spacing: .13em; text-align: right; }
.cta-section { padding: 116px clamp(22px, 8vw, 140px); display: flex; align-items: end; justify-content: space-between; gap: 30px; background: var(--rose); color: var(--ink); }
.cta-section .section-label { color: var(--ink); }
.cta-section h2 span { color: var(--ink); }
.cta-action { max-width: 265px; padding-bottom: 6px; }
.cta-action p { margin: 0 0 23px; font-size: 13px; line-height: 1.75; }
.action-primary-light { background: var(--ink); }
.action-primary-light:hover { background: var(--ink-3); }

.site-footer { padding: 28px clamp(22px, 4vw, 68px); background: var(--ink); color: var(--ivory); }
.footer-line { display: flex; align-items: center; justify-content: space-between; gap: 22px; color: rgba(252,248,240,.56); font: 10px var(--mono); letter-spacing: .05em; white-space: nowrap; }
.footer-line strong { color: var(--ivory); font: 700 15px var(--display); letter-spacing: .08em; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(5, 12, 23, .72); backdrop-filter: blur(8px); }
.modal { width: min(460px, calc(100% - 38px)); position: fixed; z-index: 51; left: 50%; top: 50%; transform: translate(-50%, -46%); padding: 39px; background: var(--ivory); color: var(--ink); box-shadow: 0 22px 70px rgba(0,0,0,.35); opacity: 0; transition: opacity .22s, transform .22s; }
.modal.is-open { opacity: 1; transform: translate(-50%, -50%); }
.modal-small { width: min(420px, calc(100% - 38px)); }
.modal-close { position: absolute; right: 18px; top: 12px; padding: 4px; background: transparent; color: var(--ink-3); font-size: 27px; font-weight: 300; }
.modal h2 { margin: 0 0 11px; font-size: 32px; letter-spacing: -.05em; }
.modal .section-label { margin-bottom: 15px; }
.modal-note { margin: 0 0 25px; color: var(--ink-3); font-size: 13px; line-height: 1.8; }
.modal-tabs { display: flex; gap: 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.modal-tab { padding: 0 0 10px; position: relative; background: transparent; color: var(--ink-3); font-size: 13px; }
.modal-tab.is-active { color: var(--coral); }
.modal-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--coral); }
.modal-form { display: grid; gap: 17px; }
.modal-form label { display: grid; gap: 8px; color: var(--ink-3); font-size: 12px; }
.modal-form input { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); outline: 0; }
.modal-form input:focus { border-color: var(--coral); }
.modal-form .action-primary { margin-top: 8px; justify-self: start; }
.modal-status { min-height: 20px; margin: 17px 0 0; color: var(--coral); font-size: 12px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 11px 16px; background: var(--ink); color: var(--ivory); border-left: 3px solid var(--coral); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s, transform .65s; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .site-header { height: 68px; }
  .top-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 20px 22px 24px; flex-direction: column; align-items: stretch; gap: 15px; background: rgba(12,24,42,.98); border-bottom: 1px solid rgba(252,248,240,.12); }
  .top-nav.is-open { display: flex; }
  .nav-button, .top-nav > a { text-align: left; }
  .nav-button-solid { text-align: center; }
  .menu-toggle { display: block; }
  .hero-inner { padding-top: 140px; }
  .hero h1 { font-size: clamp(44px, 11vw, 82px); }
  .section-intro { grid-template-columns: 1fr; gap: 32px; }
  .matrix-rail { margin-bottom: 24px; }
  .section-intro-side p { max-width: 520px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-section { min-height: 610px; }
  .signal-orbit { width: 82vw; right: -28vw; opacity: .72; }
  .cta-section { align-items: flex-start; flex-direction: column; }
  .cta-action { max-width: 360px; }
  .footer-line { flex-wrap: wrap; white-space: normal; }
}
@media (max-width: 520px) {
  .brand { min-width: 0; }
  .brand-lockup { width: 205px; height: 45px; }
  .hero { background-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,24,42,.62), rgba(12,24,42,.34)); }
  .hero h1 { text-shadow: 0 3px 24px rgba(12,24,42,.78); }
  .hero-lede { text-shadow: 0 2px 14px rgba(12,24,42,.72); }
  .hero-inner { padding-bottom: 120px; }
  .hero-lede { font-size: 14px; }
  .hero-actions { gap: 17px; flex-wrap: wrap; }
  .hero-note { display: none; }
  .matrix-section { padding-top: 56px; padding-bottom: 82px; }
  .matrix-rail { align-items: flex-start; flex-direction: column; gap: 7px; }
  .filter-bar { margin-top: 56px; }
  .filter-title { width: 100%; margin-bottom: 2px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-item { min-height: 164px; }
  .signal-section { padding-top: 100px; padding-bottom: 120px; }
  .signal-orbit { top: auto; bottom: -18vw; width: 110vw; right: -40vw; }
  .signal-index { right: 22px; }
  .cta-section { padding-top: 90px; padding-bottom: 90px; }
  .site-footer { padding-top: 28px; }
  .footer-line { display: grid; gap: 10px; }
  .modal { padding: 31px 25px 27px; }
}
