:root {
  --coal: #11100f;
  --coal-soft: #181614;
  --panel: #211e1b;
  --panel-light: #2b2723;
  --paper: #f4efe7;
  --muted: #b7aea3;
  --line: #3b352f;
  --orange: #ff8a3d;
  --orange-hot: #ff5f2e;
  --amber: #ffc057;
  --mint: #8ed1aa;
  --display: "Chakra Petch", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--coal); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--paper); color: var(--coal); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 15; border-bottom: 1px solid transparent; background: rgba(17,16,15,.84); backdrop-filter: blur(16px); }
.site-header.scrolled { border-color: var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { border-radius: 11px; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--display); letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--paper); }
.main-nav .nav-cta { color: var(--coal); background: var(--orange); padding: 10px 16px; }
.menu-button { display: none; color: var(--paper); background: transparent; border: 1px solid var(--line); padding: 8px 12px; }

.hero { position: relative; overflow: clip; padding: 92px 0 82px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -230px; top: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(255,95,46,.22), transparent 66%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 58px; align-items: center; }
.kicker { margin: 0 0 16px; color: var(--orange); font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .89; letter-spacing: -.055em; text-transform: uppercase; }
h1 span { color: var(--orange); }
.hero-lead { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--coal); border-color: var(--orange); background: var(--orange); }
.button-primary:hover { background: var(--amber); border-color: var(--amber); }
.button-ghost { background: rgba(255,255,255,.025); }
.button-block { width: 100%; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; list-style: none; padding: 0; margin: 42px 0 0; background: var(--line); border: 1px solid var(--line); }
.hero-facts li { display: grid; padding: 13px 14px; background: var(--coal-soft); }
.hero-facts strong { font: 700 20px/1 var(--display); color: var(--paper); }
.hero-facts span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.hero-console { position: relative; background: #0a0908; border: 1px solid #554a40; box-shadow: 22px 26px 0 rgba(0,0,0,.28), 0 30px 90px rgba(0,0,0,.48); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.console-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid #302a25; }
.console-bar span { width: 8px; height: 8px; border-radius: 50%; background: #5a5149; }
.console-bar span:first-child { background: var(--orange-hot); }
.console-bar small { margin-left: auto; color: #82766b; font: 500 10px var(--mono); }
.hero-console > img { display: block; aspect-ratio: 1400 / 813; object-fit: cover; }
.console-status { display: flex; justify-content: space-between; gap: 16px; padding: 10px 13px; color: #93877b; font: 500 10px var(--mono); }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(142,209,170,.1); }

.ram-section { background: var(--paper); color: var(--coal); }
.ram-section .kicker, .security-section .kicker { color: #9a3d00; }
.ram-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.section-copy h2, .section-heading h2, .operations-grid h2, .pricing-copy h2, .security-grid h2, .faq-grid h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.section-copy > p:not(.kicker) { color: #5d554d; font-size: 17px; }
.memory-board { padding: 30px; color: var(--paper); background: var(--coal); box-shadow: 18px 18px 0 #d8cfc3; }
.memory-row { display: grid; grid-template-columns: 180px 1fr 70px; gap: 22px; align-items: center; }
.memory-label { display: grid; }
.memory-label strong { font-family: var(--display); }
.memory-label small { color: var(--muted); }
.memory-bars { display: grid; gap: 7px; }
.memory-bars i { display: block; height: 14px; background: linear-gradient(90deg, var(--orange-hot), var(--orange)); }
.memory-row > span { font: 600 12px var(--mono); text-transform: uppercase; color: var(--orange); }
.memory-row.manager .memory-bars i { width: 12%; background: var(--mint); }
.memory-row.manager > span { color: var(--mint); }
.memory-divider { display: flex; align-items: center; gap: 12px; margin: 25px 0; color: #998f85; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .15em; }
.memory-divider::before, .memory-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.memory-board > p { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.features-section { background: var(--coal-soft); }
.section-heading { max-width: 900px; margin-bottom: 46px; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; }
.section-heading.split > p { margin: 0; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { position: relative; min-height: 330px; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.feature-wide { grid-column: span 2; min-height: 310px; }
.feature-tag { color: var(--orange); font: 600 11px var(--mono); letter-spacing: .13em; }
.feature h3 { max-width: 760px; margin: 64px 0 12px; font-size: clamp(28px, 4vw, 46px); line-height: 1; letter-spacing: -.035em; }
.feature p { max-width: 720px; margin: 0; color: var(--muted); font-size: 16px; }
.feature > strong { display: block; margin-top: 25px; color: var(--amber); font-size: 13px; }
.feature-dex { background: linear-gradient(110deg, #2b2019, var(--panel) 58%); }
.feature-clan::after { content: "CLAN"; position: absolute; right: -15px; bottom: -45px; color: rgba(255,138,61,.055); font: 700 140px var(--display); }
.feature-catch { background: linear-gradient(145deg, var(--panel), #2b1a18); }
.feature-analyzer { min-height: 370px; }
.metric-line { position: absolute; right: 35px; bottom: 35px; width: 35%; height: 150px; display: flex; align-items: end; gap: 10px; border-bottom: 1px solid var(--line); }
.metric-line i { flex: 1; height: var(--h); background: linear-gradient(var(--orange), rgba(255,138,61,.18)); }

.interface-section { background: #141210; }
.edition-tabs { display: inline-flex; gap: 4px; margin-bottom: 22px; padding: 4px; border: 1px solid var(--line); background: var(--coal); }
.edition-tabs button { min-width: 150px; padding: 11px 18px; border: 0; color: var(--muted); background: transparent; font-weight: 700; cursor: pointer; }
.edition-tabs button[aria-selected="true"] { color: var(--coal); background: var(--orange); }
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screen-card { padding: 0; border: 1px solid var(--line); color: var(--paper); background: var(--panel); text-align: left; cursor: zoom-in; overflow: hidden; }
.screen-card.screen-main { grid-column: span 2; grid-row: span 2; }
.screen-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; filter: saturate(.88); transition: transform .35s ease, filter .35s ease; }
.screen-card:hover img { transform: scale(1.018); filter: saturate(1.08); }
.screen-card span { display: grid; padding: 14px 16px; }
.screen-card strong { font-family: var(--display); }
.screen-card small { color: var(--muted); }

.operations-section { border-block: 1px solid var(--line); }
.operations-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.operations-list { border-top: 1px solid var(--line); }
.operations-list article { display: grid; grid-template-columns: .55fr 1fr; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.operations-list h3, .operations-list p { margin: 0; }
.operations-list h3 { font-size: 20px; }
.operations-list p { color: var(--muted); }

.pricing-section { background: var(--orange); color: var(--coal); }
.pricing-grid { display: block; }
.pricing-copy { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.pricing-copy .kicker { color: #572513; }
.pricing-copy > p { max-width: 630px; font-size: 18px; }
.plan-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.price-card { padding: 34px; color: var(--paper); background: var(--coal); box-shadow: 18px 18px 0 rgba(89,35,14,.18); }
.price-card > span { font: 600 11px var(--mono); color: var(--orange); text-transform: uppercase; letter-spacing: .14em; }
.price { display: flex; align-items: baseline; margin: 22px 0 3px; font-family: var(--display); }
.price strong { font-size: 94px; line-height: .8; letter-spacing: -.07em; }
.price small { font-size: 25px; }
.price-card > p { color: var(--muted); }
.price-card ul { min-height: 180px; margin: 24px 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { padding: 5px 0; color: var(--muted); }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--orange); font-weight: 700; }
.price-card .button { margin: 22px 0 15px; }
.price-card > small { display: block; color: #8f8377; line-height: 1.45; }
.free-card { color: var(--coal); border: 1px solid rgba(89,35,14,.25); background: rgba(255,255,255,.64); box-shadow: none; }
.free-card > span { color: #572513; }
.free-card > p, .free-card li { color: #5d3727; }
.free-card ul { border-color: rgba(89,35,14,.2); }
.free-card li::before { color: #572513; }
.free-card .button-ghost { border-color: #572513; color: #572513; background: transparent; }
.free-price strong { font-size: 62px; letter-spacing: -.05em; }

.security-section { background: var(--paper); color: var(--coal); }
.security-grid { display: grid; grid-template-columns: 310px 1fr; gap: 90px; align-items: center; }
.security-mark { padding: 36px; border: 3px solid var(--coal); font: 700 66px/.78 var(--display); letter-spacing: -.06em; transform: rotate(-2deg); }
.security-grid > div:last-child > p:not(.kicker) { color: #5d554d; font-size: 17px; }
.security-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.security-points span { border: 1px solid #c9beb1; padding: 8px 11px; font: 600 11px var(--mono); }

.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.faq-grid header > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--orange); font: 500 24px var(--mono); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -8px 44px 22px 0; color: var(--muted); }

.site-footer { padding: 46px 0 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 40px; align-items: center; }
.footer-grid > p { color: var(--muted); font-size: 13px; }
.footer-grid nav { display: flex; gap: 18px; }
.footer-grid nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
.legal-line { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: #998f85; font-size: 11px; }

.lightbox { width: min(1180px, calc(100% - 28px)); max-width: none; padding: 0; border: 1px solid #554c43; color: var(--paper); background: #0b0a09; }
.lightbox::backdrop { background: rgba(5,4,3,.92); backdrop-filter: blur(8px); }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lightbox-head strong { font-family: var(--display); }
.lightbox-head button { color: var(--paper); border: 1px solid var(--line); background: transparent; padding: 7px 11px; cursor: pointer; }
.lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }

@media (max-width: 920px) {
  .section { padding: 78px 0; }
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 66px; display: none; padding: 18px; border: 1px solid var(--line); background: var(--coal); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { text-align: center; }
  .hero-grid, .ram-grid, .operations-grid, .security-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-console { transform: none; }
  .section-heading.split { grid-template-columns: 1fr; gap: 18px; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .screen-card.screen-main { grid-column: span 2; grid-row: auto; }
  .pricing-copy, .plan-options { grid-template-columns: 1fr; gap: 30px; }
  .price-card { width: 100%; }
  .security-mark { width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(43px, 14vw, 67px); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { grid-template-columns: 90px 1fr; align-items: center; }
  .hero-facts span { margin: 0; }
  .console-status { flex-direction: column; }
  .memory-board { padding: 22px; box-shadow: 10px 10px 0 #d8cfc3; }
  .memory-row { grid-template-columns: 1fr; gap: 10px; }
  .memory-bars { grid-template-columns: repeat(4, 1fr); }
  .memory-bars i { width: auto; }
  .memory-row.manager .memory-bars { grid-template-columns: 1fr; }
  .feature-grid, .screens-grid { grid-template-columns: 1fr; }
  .edition-tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .edition-tabs button { min-width: 0; }
  .feature-wide, .screen-card.screen-main { grid-column: auto; }
  .feature { min-height: 300px; padding: 24px; }
  .feature h3 { margin-top: 42px; }
  .metric-line { position: static; width: 100%; margin-top: 28px; }
  .operations-list article { grid-template-columns: 1fr; gap: 8px; }
  .price-card ul { min-height: 0; }
  .security-mark { width: 230px; font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
