:root {
  --ink: #0b1322;
  --ink-2: #15253b;
  --muted: #637083;
  --line: #dbe3ea;
  --paper: #f6f8fa;
  --white: #fff;
  --cyan: #12bfd0;
  --cyan-2: #8ee9ec;
  --orange: #ff9f5a;
  --max: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 20px; z-index: 20; background: var(--white); padding: 10px 14px; }
.topline { background: var(--ink); color: #d8e9ef; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.topline .wrap { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topline span:last-child { color: var(--cyan-2); }
.hd { position: sticky; top: 0; z-index: 10; background: rgba(246,248,250,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(219,227,234,.9); }
.hdin { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; min-width: 152px; }
.lg-img { width: 154px; height: auto; }
.nv { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex: 1; }
.nv a { padding: 10px 13px; color: #425269; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.nv a:hover, .nv a.on { color: var(--ink); }
.nv a.on::after { display: block; content: ''; height: 2px; background: var(--cyan); margin-top: 4px; }
.bgm { display: none; border: 0; background: transparent; font-size: 24px; color: var(--ink); cursor: pointer; }
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); min-height: 690px; }
.hero::before { position: absolute; content: ''; inset: 0; opacity: .28; background: linear-gradient(115deg, rgba(18,191,208,.18), transparent 40%), radial-gradient(circle at 80% 20%, rgba(18,191,208,.26), transparent 34%), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 84px), repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 84px); }
.hero-in { position: relative; min-height: 660px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; padding: 76px 0 98px; }
.eyebrow { color: var(--cyan-2); font-size: 11px; letter-spacing: .2em; font-weight: 800; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 18px 0 20px; font-family: var(--serif); font-size: clamp(46px, 6vw, 80px); line-height: .98; letter-spacing: -.05em; font-weight: 400; }
.hero h1 em { color: var(--cyan-2); font-style: normal; }
.hero .sub { max-width: 620px; color: #c8d3df; font-size: 18px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 34px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--cyan); border-radius: 4px; padding: 12px 18px; font-size: 13px; font-weight: 800; letter-spacing: .02em; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--cyan); color: var(--ink); }
.btn.primary:hover { background: var(--cyan-2); border-color: var(--cyan-2); }
.btn.ghost { color: var(--white); border-color: #60718a; }
.btn.ghost:hover { border-color: var(--white); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin: 48px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-meta b { display: block; font-size: 22px; color: var(--white); }
.hero-meta span { color: #95a7ba; font-size: 12px; }
.status-note { max-width: 640px; margin: 16px 0 0; color: #95a7ba; font-size: 11px; line-height: 1.55; }
.hero-art { position: relative; min-height: 420px; }
.hero-art .ring { position: absolute; inset: 14% 7% 10% 12%; border: 1px solid rgba(142,233,236,.4); border-radius: 50%; transform: rotate(-18deg) skewX(-11deg); }
.hero-art .ring::before, .hero-art .ring::after { content: ''; position: absolute; inset: 11% 13%; border: 1px dashed rgba(142,233,236,.28); border-radius: 50%; }
.hero-art .ring::after { inset: 22% 23%; border-style: solid; border-color: rgba(255,159,90,.35); }
.hero-art .chip { position: absolute; width: 180px; height: 180px; left: 29%; top: 28%; border: 1px solid rgba(142,233,236,.8); background: linear-gradient(135deg, rgba(18,191,208,.22), rgba(12,22,38,.88)); box-shadow: 0 0 70px rgba(18,191,208,.25), inset 0 0 30px rgba(18,191,208,.18); transform: rotate(18deg); }
.hero-art .chip::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(142,233,236,.64); }
.hero-art .chip::after { content: 'RILON\A NETWORK SoC'; white-space: pre; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--cyan-2); font-weight: 800; font-size: 12px; letter-spacing: .16em; line-height: 1.7; transform: rotate(-18deg); }
.hero-art .pin { position: absolute; width: 16px; height: 2px; background: var(--cyan-2); box-shadow: 0 0 16px rgba(142,233,236,.8); }
.hero-art .pin:nth-child(4n+1) { left: 7%; top: 30%; }
.hero-art .pin:nth-child(4n+2) { right: 3%; top: 45%; }
.hero-art .pin:nth-child(4n+3) { left: 26%; bottom: 9%; }
.hero-art .pin:nth-child(4n) { right: 19%; bottom: 17%; }
.hero-note { position: absolute; right: 2%; bottom: 2%; max-width: 220px; background: rgba(11,19,34,.82); border: 1px solid rgba(142,233,236,.35); padding: 13px 15px; font-size: 12px; color: #bdcfda; }
.hero-note b { display: block; color: var(--cyan-2); margin-bottom: 3px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.wave { position: absolute; bottom: -1px; left: -2%; width: 104%; height: 52px; background: var(--paper); clip-path: ellipse(65% 75% at 50% 100%); }
.section { padding: 112px 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 750px; margin-bottom: 46px; }
.section-head.row { display: flex; justify-content: space-between; gap: 30px; align-items: end; max-width: none; }
.kicker { color: #118c99; font-size: 11px; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; }
.dark .kicker { color: var(--cyan-2); }
.section h2 { margin: 12px 0 12px; font-family: var(--serif); font-size: clamp(34px, 4.2vw, 56px); line-height: 1.03; letter-spacing: -.04em; font-weight: 400; }
.section-head p { color: var(--muted); max-width: 680px; font-size: 17px; }
.dark .section-head p { color: #b4c4d2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 > * { background: var(--white); padding: 28px; min-height: 220px; }
.grid-3 h3 { margin: 0 0 10px; font-size: 18px; }
.grid-3 p { color: var(--muted); font-size: 14px; margin: 0; }
.arrow-link { display: inline-flex; margin-top: 24px; color: #078796; font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.stat { border-left: 2px solid var(--cyan); padding: 3px 0 3px 17px; }
.stat b { display: block; font-size: 32px; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 12px; }
.network { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.network-map { position: relative; min-height: 390px; padding: 32px; border: 1px solid #284058; background: #0d1b2c; overflow: hidden; }
.network-map::before { content: ''; position: absolute; inset: 0; opacity: .28; background: repeating-linear-gradient(90deg, transparent 0 43px, rgba(142,233,236,.08) 43px 44px), repeating-linear-gradient(0deg, transparent 0 43px, rgba(142,233,236,.08) 43px 44px); }
.map-flow { position: relative; z-index: 1; min-height: 260px; display: grid; grid-template-columns: 1fr 42px 1.15fr 42px 1fr; align-items: center; gap: 12px; }
.map-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.map-label { color: #7c98aa; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.node { position: relative; min-height: 112px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--cyan); background: rgba(18,191,208,.11); color: var(--cyan-2); padding: 18px; }
.node b { font-size: 18px; letter-spacing: .14em; }
.node small { display: block; margin-top: 8px; color: #a8bfcb; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.node.leaf, .node.spine, .node.dci { left: auto; right: auto; top: auto; bottom: auto; }
.node.spine { border-color: var(--orange); color: #ffd2ad; background: rgba(255,159,90,.13); }
.map-arrow { color: var(--cyan-2); font-size: 28px; line-height: 1; text-align: center; }
.map-caption { position: relative; z-index: 1; margin-top: 24px; padding-top: 15px; border-top: 1px solid #284058; color: #8da2b7; font-size: 11px; }
.list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dark .list li { border-color: #2b4055; }
.list b { color: var(--cyan); font-size: 12px; letter-spacing: .12em; }
.list strong { display: block; margin-bottom: 4px; }
.list span { color: var(--muted); font-size: 14px; }
.dark .list span { color: #abc0cd; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #284058; border: 1px solid #284058; }
.step { background: #0f2033; color: var(--white); padding: 25px; min-height: 190px; }
.step b { display: block; color: var(--orange); font-size: 12px; letter-spacing: .12em; }
.step h3 { margin: 24px 0 7px; font-size: 18px; }
.step p { color: #a9bccb; font-size: 13px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 25px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.card .tag { color: #078796; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.card h3 { margin: 15px 0 9px; font-size: 21px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.card .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chip { background: #edf6f7; color: #28727a; border-radius: 999px; padding: 4px 8px; font-size: 11px; }
.press { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: stretch; }
.press-copy { background: var(--ink); color: var(--white); padding: 42px; }
.press-copy h2 { margin-top: 0; }
.press-copy p { color: #b3c3cf; max-width: 580px; }
.press-aside { background: #e9f7f7; padding: 32px; border: 1px solid #c8e8e8; }
.press-aside h3 { margin: 0 0 12px; font-size: 18px; }
.press-aside p { color: #52707a; font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { background: var(--white); border: 1px solid var(--line); min-height: 230px; display: flex; flex-direction: column; padding: 23px; }
.news-card .meta { color: #078796; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-card h3 { margin: 13px 0 8px; font-size: 20px; line-height: 1.25; }
.news-card p { color: var(--muted); font-size: 14px; margin: 0; }
.news-card .arrow-link { margin-top: auto; }
.page-hero { background: var(--ink); color: var(--white); padding: 86px 0 80px; }
.page-hero h1 { max-width: 850px; margin: 15px 0 16px; font-family: var(--serif); font-size: clamp(48px, 7vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.page-hero p { max-width: 650px; color: #b3c3cf; font-size: 18px; }
.crumb { color: #8fb4bd; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; margin: 0 0 16px; }
.prose h3 { margin: 36px 0 9px; font-size: 20px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose .lead { color: var(--ink); font-size: 22px; line-height: 1.5; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.quote { margin: 0; border-left: 3px solid var(--cyan); padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.quote + p { margin-top: 28px; }
.timeline { display: grid; gap: 0; }
.timeline .item { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline .item:last-child { border-bottom: 1px solid var(--line); }
.timeline b { color: #078796; font-size: 12px; letter-spacing: .12em; }
.timeline h3 { margin: 0 0 5px; font-size: 18px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.filter button { border: 1px solid var(--line); background: var(--white); color: var(--muted); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 800; cursor: pointer; }
.filter button.on, .filter button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.news-empty { background: #e9f7f7; padding: 25px; border: 1px solid #c8e8e8; color: #51717a; font-size: 14px; }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.template-fields { display: grid; gap: 14px; margin: 25px 0 0; }
.template-fields div { border-top: 1px solid var(--line); padding-top: 12px; }
.template-fields dt { color: #078796; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.template-fields dd { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.small-note { color: var(--muted); font-size: 12px; line-height: 1.55; }
.news-detail { max-width: 820px; }
.news-detail .meta { color: #078796; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news-detail h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); line-height: 1.02; font-weight: 400; letter-spacing: -.04em; margin: 13px 0 18px; }
.news-detail .date { color: var(--muted); font-size: 13px; }
.news-detail article { margin-top: 42px; }
.news-detail article h2 { font-size: 22px; margin: 32px 0 10px; }
.news-detail article p { color: var(--muted); font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; }
.contact-panel { background: var(--ink); color: var(--white); padding: 34px; }
.contact-panel h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; margin: 0 0 16px; }
.contact-panel p { color: #b5c6d2; }
.contact-list { display: grid; gap: 12px; margin-top: 30px; }
.contact-list a { color: var(--cyan-2); }
.form-panel { background: var(--white); border: 1px solid var(--line); padding: 34px; }
.form-panel h3 { margin-top: 0; font-size: 20px; }
.form { display: grid; gap: 13px; }
.form label { color: #41546a; font-size: 12px; font-weight: 800; }
.form input, .form textarea, .form select { width: 100%; border: 1px solid var(--line); border-radius: 3px; background: #fbfcfd; padding: 12px 13px; font: inherit; color: var(--ink); }
.form textarea { min-height: 115px; resize: vertical; }
.form small { color: var(--muted); font-size: 11px; }
.footer { background: #07101d; color: #d9e5ec; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 30px; }
.footer .lg-img { filter: brightness(1.1) saturate(.8); }
.footer p { color: #8ea2b4; font-size: 13px; max-width: 320px; }
.footer h4 { margin: 0 0 13px; color: var(--white); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer a { display: block; color: #9db2c1; font-size: 13px; margin: 6px 0; }
.footer a:hover { color: var(--cyan-2); }
.footer-bottom { border-top: 1px solid #203143; margin-top: 38px; padding-top: 17px; color: #6f8599; font-size: 11px; display: flex; justify-content: space-between; gap: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 900px) {
  .nv { gap: 0; }
  .nv a { padding: 10px 8px; font-size: 12px; }
  .hero-in, .network, .press, .split, .contact-grid, .template-grid { grid-template-columns: 1fr; }
  .hero-in { gap: 10px; }
  .hero-art { min-height: 300px; }
  .hero-art .chip { width: 135px; height: 135px; left: 34%; top: 27%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 30px)); }
  .topline .wrap { min-height: 30px; font-size: 9px; }
  .topline span:last-child { display: none; }
  .hdin { min-height: 68px; }
  .lg-img { width: 132px; }
  .bgm { display: block; margin-left: auto; }
  .nv { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 10px 15px 15px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nv.show { display: flex; }
  .nv a { padding: 9px 6px; }
  .hero { min-height: 0; }
  .hero-in { min-height: 0; padding: 70px 0 92px; }
  .hero h1 { font-size: 50px; }
  .hero .sub { font-size: 16px; }
  .hero-meta { gap: 17px; }
  .hero-art { min-height: 235px; margin-top: 12px; }
  .hero-art .ring { inset: 11% 8% 8% 12%; }
  .hero-art .chip { width: 115px; height: 115px; }
  .section { padding: 76px 0; }
  .section-head.row { align-items: start; flex-direction: column; }
  .section h2 { font-size: 39px; }
  .grid-3, .cards, .news-grid { grid-template-columns: 1fr; }
  .grid-3 > * { min-height: 0; }
  .stats { gap: 22px 12px; }
  .stat b { font-size: 26px; }
  .network-map { min-height: 0; padding: 24px; }
  .map-flow { min-height: 0; grid-template-columns: 1fr; gap: 10px; }
  .map-arrow { transform: rotate(90deg); height: 24px; }
  .node { min-height: 84px; padding: 14px; }
  .node { padding: 11px 12px; font-size: 10px; }
  .steps { grid-template-columns: 1fr; }
  .press-copy, .press-aside, .contact-panel, .form-panel { padding: 26px; }
  .page-hero { padding: 67px 0 62px; }
  .page-hero h1 { font-size: 51px; }
  .prose .lead { font-size: 19px; }
  .timeline .item { grid-template-columns: 70px 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

.position-note { max-width: 650px; margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--orange); color: #d3e0e7; font-size: 14px; line-height: 1.6; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.badge.target { background: rgba(255,159,90,.18); color: #ffd2ad; border: 1px solid rgba(255,159,90,.55); }
.badge.dev { background: rgba(142,233,236,.13); color: var(--cyan-2); border: 1px solid rgba(142,233,236,.45); }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; }
.spec-table th, .spec-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--ink); color: var(--white); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.spec-table tbody th { width: 20%; color: var(--ink); font-size: 14px; }
.spec-table tbody td { color: var(--muted); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.status.target { background: #fff1e6; color: #a15421; }
.status.in-dev { background: #e7f8f8; color: #16727b; }
.architecture-map { padding: 20px; }
.arch-svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.architecture-map .map-caption { margin: 12px 0 0; }
@media (max-width: 640px) {
  .position-note { font-size: 13px; }
  .architecture-map { padding: 12px; }
  .spec-table { min-width: 600px; }
}
