:root {
  --night: #111416;
  --night-soft: #1a1f21;
  --paper: #f4f1ea;
  --paper-bright: #fffdf8;
  --ink: #1d2426;
  --muted: #697274;
  --coral: #ff6b4a;
  --aqua: #9fe3dc;
  --line: #d8d7d1;
  --focus: #16766e;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.68 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; inset: 10px auto auto 10px; z-index: 20; transform: translateY(-180%); padding: 10px 14px; background: var(--paper-bright); color: var(--ink); font-weight: 750; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 56px), var(--content)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(244,241,234,.18); background: rgba(17,20,22,.96); color: #fff; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-size: 17px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #c8cecc; font-size: 14px; font-weight: 700; text-decoration: none; transition: color 180ms ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--aqua); }
.header-cta { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 17px; border: 1px solid var(--coral); color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; transition: background-color 180ms ease, color 180ms ease; }
.header-cta:hover { background: var(--coral); color: var(--night); }

.hero { min-height: 610px; padding-block: 80px 90px; background: var(--night); color: #fff; }
.hero-wrap { width: min(calc(100% - 56px), var(--content)); margin-inline: auto; }
.hero-content { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.eyebrow, .section-label, .article-kicker, .aside-index { margin: 0; color: var(--aqua); font: 750 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 660px; margin: 20px 0 0; font-size: 76px; line-height: .99; letter-spacing: -.03em; }
.hero h1 span { color: var(--coral); }
.hero-copy { max-width: 530px; margin: 25px 0 0; color: #c7cecc; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; gap: 13px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid var(--coral); color: var(--coral); font-weight: 750; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--coral); color: var(--night); }
.button.primary:hover { background: #ff8064; }
.button.secondary { border-color: #657073; color: #fff; }
.button.secondary:hover { border-color: var(--aqua); color: var(--aqua); }
.hero-visual { position: relative; min-height: 390px; border-left: 1px solid #364044; }
.visual-frame { position: absolute; inset: 38px 0 auto 58px; width: 370px; height: 285px; padding: 17px; border: 1px solid #536065; background: var(--night-soft); transform: rotate(3deg); }
.visual-top { display: flex; justify-content: space-between; color: #8d999a; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.visual-title { margin-top: 78px; color: #fff; font-size: 34px; font-weight: 780; line-height: 1.05; }
.visual-title strong { color: var(--aqua); }
.visual-rule { width: 66%; height: 5px; margin-top: 28px; background: var(--coral); }
.visual-note { position: absolute; right: 0; bottom: 32px; width: 205px; padding: 16px 17px; background: var(--aqua); color: var(--night); font-size: 13px; font-weight: 750; line-height: 1.35; }

.agreement-band { border-bottom: 1px solid var(--line); background: var(--paper-bright); }
.agreement-inner { padding-block: 76px 86px; }
.agreement-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 34px; }
.agreement-heading h2 { max-width: 560px; margin: 10px 0 0; font-size: 46px; line-height: 1.04; letter-spacing: -.025em; }
.agreement-heading p { max-width: 320px; margin: 0; color: var(--muted); }
.agreement-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.agreement-item { min-height: 246px; display: flex; flex-direction: column; padding: 25px 25px 22px; border-right: 1px solid var(--line); text-decoration: none; }
.agreement-item:last-child { border-right: 0; }
.agreement-item:hover { background: var(--aqua); }
.agreement-index { color: var(--muted); font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.agreement-item h3 { margin: 55px 0 9px; font-size: 26px; line-height: 1.08; }
.agreement-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.agreement-item:hover p { color: var(--ink); }
.item-arrow { margin-top: auto; color: var(--coral); font-size: 24px; line-height: 1; }

.note-band { padding-block: 70px 78px; background: var(--paper); }
.note { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 35px 38px; background: var(--night); color: #fff; }
.note h2 { margin: 0; color: var(--coral); font-size: 34px; line-height: 1.05; }
.note p { margin: 0; color: #c7cecc; }

.site-footer { border-top: 1px solid #303638; background: var(--night); color: #aeb8b7; }
.footer-inner { min-height: 105px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--aqua); }

.legal-shell { background: var(--paper); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 90px; padding-block: 68px 110px; }
.legal-aside { position: sticky; top: 120px; align-self: start; }
.aside-index { color: var(--muted); }
.legal-aside h2 { margin: 18px 0 24px; font-size: 26px; line-height: 1.08; }
.doc-nav { display: grid; border-top: 1px solid var(--line); }
.doc-nav a { min-height: 47px; display: flex; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { background: var(--aqua); color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 25px; color: var(--ink); font-size: 13px; font-weight: 750; text-decoration: none; }
.back-link:hover { color: var(--coral); }
.article { max-width: 760px; }
.article-header { padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.article-kicker { color: var(--muted); }
.article h1 { margin: 18px 0 0; font-size: 60px; line-height: 1; letter-spacing: -.03em; }
.article-meta { display: flex; gap: 24px; margin: 19px 0 0; color: var(--muted); font-size: 13px; }
.article-body { padding-top: 34px; }
.article-body h2 { margin: 38px 0 10px; color: var(--ink); font-size: 23px; line-height: 1.2; }
.article-body p { margin: 0 0 16px; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: #16766e; font-weight: 750; }
.lead { max-width: 700px; color: #304547; font-size: 20px; line-height: 1.52; }
.notice { margin: 26px 0; padding: 18px 20px; border-left: 5px solid var(--coral); background: #e4f2ee; }
.notice strong { display: block; margin-bottom: 4px; color: var(--ink); }
.contact-block { margin-top: 42px; padding-top: 27px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .wrap, .hero-wrap { width: min(calc(100% - 40px), var(--content)); }
  .header-inner { gap: 22px; }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 45px; }
  .hero-visual { min-height: 330px; border-left: 0; border-top: 1px solid #364044; }
  .agreement-heading { display: block; }
  .agreement-heading p { margin-top: 14px; }
  .legal-layout { grid-template-columns: 1fr; gap: 36px; }
  .legal-aside { position: static; }
}
