:root {
  color-scheme: dark;
  --bg: #041426;
  --surface: #0c2233;
  --surface-high: #19323d;
  --line: #3c5055;
  --text: #f5f3eb;
  --muted: #b5c3c1;
  --gold: #dccba5;
  --gold-light: #f3e8cd;
  --sage: #9eafa0;
  --cyan: var(--gold);
  --cyan-light: var(--gold-light);
  --green: #9eafa0;
  --amber: #dccba5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", "Roboto", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 750px;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 35%, #114d803b 0, #0b305029 34%, transparent 70%);
  opacity: .8;
}
button, input { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.site-shell { position: relative; max-width: 1440px; margin: auto; padding: 0 clamp(20px, 5vw, 76px); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  border-bottom: 1px solid #6c9aab45;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 28px; font-weight: 780; letter-spacing: -.07em; white-space: nowrap; }
.brand img { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; }
.brand span span { color: var(--cyan); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(17px, 3vw, 39px); }
nav a, footer a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .18s; }
nav a:hover, footer a:hover { color: var(--cyan-light); }

h1, h2, h3, p, figure { margin-top: 0; }
h1 { margin-bottom: 25px; font-size: clamp(52px, 6.5vw, 96px); line-height: 1.03; letter-spacing: -.07em; font-weight: 760; }
h2 { margin: 0 0 19px; font-size: clamp(36px, 4.1vw, 62px); line-height: 1.08; letter-spacing: -.055em; font-weight: 740; }
h3 { letter-spacing: -.035em; }
.section-mark { color: var(--cyan); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.signal { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px #5ccf7a; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 3vw, 48px); padding: clamp(48px, 6vw, 88px) 0 72px; }
.hero h1 { font-size: clamp(48px, 5.4vw, 78px); line-height: 1.08; letter-spacing: -.055em; }
.gold-text { color: var(--gold); }
.brand-visual { position: relative; margin: 0; text-align: center; min-width: 0; }
.brand-visual img { display: block; width: 100%; height: auto; mask-image: radial-gradient(ellipse at center, black 46%, transparent 72%); }
.brand-visual figcaption { position: relative; margin-top: -15%; padding-bottom: 12px; }
.brand-wordmark { display: block; color: var(--gold-light); font-size: clamp(36px, 4vw, 56px); font-weight: 650; letter-spacing: -.04em; }
.brand-descriptor { display: block; margin-top: 10px; color: var(--sage); font-size: 12px; letter-spacing: .12em; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker { margin-bottom: 24px; color: var(--cyan-light); font-size: 15px; font-weight: 700; }
.hero-lead { max-width: 590px; color: #bed1d6; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }
.platform-availability { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 52px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 9px; background: #112a38; color: #bed1d6; font-size: 13px; line-height: 1.3; }
.platform-availability strong { color: var(--cyan-light); font-size: 15px; }
.hero-caption { color: #98b6c1; font-size: 13px; line-height: 1.5; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: background .18s, border-color .18s, transform .18s;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button.primary { color: #11222a; background: linear-gradient(115deg, #f3e7c9, #d5c198); border-color: #f4e8cc66; box-shadow: 0 5px 24px #d6c29912; }
.button.primary:hover { background: #f4e9d1; box-shadow: 0 8px 28px #d6c29922; }
.button.secondary { color: var(--text); background: #112a38; border-color: var(--line); }
.button.secondary:hover { border-color: var(--cyan); background: #1b3541; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.hero-visual { margin: 0; overflow: hidden; border: 1px solid #568798; border-radius: 19px; background: #0a2635; box-shadow: 0 35px 90px #0009, 0 0 0 9px #12354b55; }
.visual-chrome { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 17px; color: #d7ecea; border-bottom: 1px solid #486b78; background: #0b283a; font-size: 12px; font-weight: 650; }
.chrome-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.visual-live { margin-left: auto; color: #b8e7d2; }
.visual-live .signal { width: 6px; height: 6px; margin-right: 5px; }
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-visual figcaption { padding: 10px 17px 13px; color: #a9c5ce; font-size: 12px; }
.flight-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 28px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #bed2d5; font-size: 14px; }
.flight-strip span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--green); }

.features { padding: 100px 0 112px; }
.section-heading { max-width: 780px; margin-bottom: 43px; }
.section-heading > p:last-child { max-width: 665px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.showcase-tabs { display: flex; gap: 8px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.showcase-tabs button { padding: 13px 18px; color: #b8cdd3; border: 1px solid transparent; border-radius: 9px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 650; }
.showcase-tabs button:hover { color: var(--text); background: #1b3541; }
.showcase-tabs button[aria-selected="true"] { color: #052436; background: var(--cyan); }
.showcase-panel { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(30px, 5vw, 80px); padding: 40px 0 0; }
.showcase-copy h3 { max-width: 470px; margin: 0 0 18px; font-size: clamp(28px, 3vw, 42px); line-height: 1.16; }
.showcase-copy > p:not(.section-mark) { max-width: 460px; color: #bed1d5; font-size: 17px; line-height: 1.7; }
.showcase-copy ul { list-style: none; margin: 28px 0 0; padding: 0; }
.showcase-copy li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line); color: #e1eeed; font-size: 15px; position: relative; }
.showcase-copy li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.showcase-panel figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #0c2233; box-shadow: 0 24px 65px #0006; }
.showcase-panel figure img { display: block; width: 100%; height: auto; }
.showcase-panel figcaption { padding: 10px 17px 13px; color: #a4bbc4; font-size: 12px; }
.showcase-panel:not([hidden]) { animation: panel-in .35s ease-out; }
@keyframes panel-in { from { opacity: .45; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.workflow { padding: 74px 0 92px; border-top: 1px solid var(--line); }
.workflow .section-heading { margin-bottom: 33px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4vw, 64px); }
.workflow-grid article { padding-top: 18px; border-top: 1px solid var(--line); }
.flow-line { display: block; width: 37px; height: 3px; margin: -20px 0 27px; background: var(--cyan); }
.workflow-grid article:nth-child(2) .flow-line { background: var(--green); }
.workflow-grid article:nth-child(3) .flow-line { background: var(--amber); }
.workflow-grid h3 { margin: 0 0 14px; font-size: 23px; }
.workflow-grid p { max-width: 370px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.download-section { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(33px, 5vw, 58px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, #213b42, #0a2031 75%); }
.download-section > div { max-width: 700px; }
.download-section h2 { font-size: clamp(33px, 4vw, 51px); }
.download-section p:last-child { margin: 0; color: #bad1d5; font-size: 16px; line-height: 1.6; }
.download-section .button { flex: none; }
.usage-link { max-width: 40rem; color: var(--muted); font-size: 14px; line-height: 1.6; }
.usage-link a, .usage-notice a { color: var(--cyan-light); text-underline-offset: 3px; }
.usage-notice { margin: 8px 0 28px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 12px; background: #0a2031; }
.usage-notice h2 { margin: 0 0 10px; font-size: 21px; }
.usage-notice p { margin: 0 0 12px; max-width: 76rem; color: var(--muted); font-size: 15px; line-height: 1.65; }
.usage-notice a { font-size: 14px; }
.learning-section { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 80px 0; border-bottom: 1px solid var(--line); }
.learning-section > div { max-width: 720px; }
.learning-section h2 { font-size: clamp(34px, 4vw, 55px); }
.learning-section p:last-child { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.learning-section .button { flex: none; }

.account-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding: 100px 0 104px; }
.account-intro { padding-top: 10px; }
.account-intro > p:not(.section-mark) { max-width: 450px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.account-intro .hint { font-size: 14px !important; }
.account-card { padding: clamp(23px, 3vw, 37px); border: 1px solid var(--line); border-radius: 15px; background: #0c2233; box-shadow: 0 24px 55px #010c1570; }
.account-card label:not(.consent) { display: block; margin: 0 0 11px; font-size: 14px; font-weight: 700; }
.account-card #auth-form > p { margin: 23px 0 0; color: #b5cbd1; font-size: 13px; line-height: 1.6; }
.account-card #auth-form > p a { color: var(--cyan-light); }
.form-line { display: flex; gap: 9px; }
.form-line input { min-width: 0; width: 100%; height: 52px; padding: 0 14px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: #071d2c; }
.form-line input::placeholder { color: #91acb5; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 21px 0 0; color: #c5d6d9; font-size: 13px; line-height: 1.5; }
.consent input { accent-color: var(--cyan); margin: 3px 0 0; flex: none; }
#code-step { padding-top: 24px; }
#code-step small { display: block; margin-top: 9px; color: var(--muted); }
.message { min-height: 20px; margin: 21px 0 0; color: var(--cyan-light); font-size: 13px; }
.message.error { color: #ffaaa3; }
.cabinet-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cabinet-head h3 { margin: 11px 0 0; overflow-wrap: anywhere; font-size: 25px; }
.cabinet-head .button { min-height: 39px; padding: 0 14px; }
.access-panel { display: grid; gap: 8px; margin: 19px 0 28px; padding: 22px; border-left: 3px solid var(--cyan); background: #082334; }
.access-badge { width: max-content; padding: 5px 9px; border: 1px solid #698895; border-radius: 5px; color: var(--muted); font-size: 12px; }
.access-badge.is-active { color: #a8ecc3; border-color: var(--green); }
.access-label { margin-top: 8px; color: var(--muted); font-size: 12px; }
.access-panel strong { font-size: clamp(27px, 3vw, 37px); line-height: 1.1; letter-spacing: -.03em; }
.access-panel small { color: var(--muted); line-height: 1.4; }
.cabinet-section { padding: 18px 0; border-top: 1px solid var(--line); }
.cabinet-section h4 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 15px; }
.cabinet-section h4 span { color: var(--muted); font-weight: 400; }
.cabinet-list { list-style: none; margin: 0; padding: 0; }
.cabinet-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #31516480; overflow-wrap: anywhere; font-size: 14px; }
.cabinet-list li:first-child { border-top: 0; }
.cabinet-list .empty, .cabinet-hint { color: var(--muted); font-size: 13px; line-height: 1.5; }
.cabinet-hint { margin: 5px 0 0; }
.payment-state { flex: none; color: var(--muted); }
.text-button { flex: none; padding: 6px 0; border: 0; color: var(--cyan-light); background: transparent; cursor: pointer; font-size: 13px; }
.text-button:hover { text-decoration: underline; }
.text-button:disabled { opacity: .5; cursor: not-allowed; }

footer { display: flex; justify-content: space-between; gap: 22px; padding: 29px 0 54px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer div { display: flex; flex-wrap: wrap; gap: 23px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .brand-visual { width: min(100%, 480px); justify-self: center; }
  .hero-copy { max-width: 750px; }
  .hero-visual { max-width: 890px; }
  .showcase-panel { grid-template-columns: 1fr; }
  .showcase-copy { max-width: 720px; }
  .account-section { grid-template-columns: 1fr; gap: 27px; }
}
@media (max-width: 680px) {
  .topbar { min-height: 74px; }
  .brand { gap: 7px; font-size: 22px; }
  .brand img { width: 56px; height: 56px; }
  .topbar { gap: 16px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  nav a:nth-child(2) { display: none; }
  .hero { gap: 28px; padding: 50px 0 63px; }
  .hero h1 { font-size: clamp(44px, 10.8vw, 68px); }
  .brand-visual { width: min(100%, 380px); }
  h1 { font-size: clamp(47px, 11vw, 68px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .flight-strip { justify-content: flex-start; gap: 13px 23px; font-size: 12px; }
  .features { padding: 67px 0 76px; }
  .section-heading { margin-bottom: 29px; }
  .showcase-tabs { overflow-x: auto; padding-bottom: 12px; }
  .showcase-tabs button { flex: none; padding: 11px 13px; font-size: 13px; }
  .showcase-panel { padding-top: 30px; gap: 25px; }
  .showcase-copy > p:not(.section-mark) { font-size: 16px; }
  .workflow { padding: 55px 0 69px; }
  .workflow-grid { grid-template-columns: 1fr; gap: 31px; }
  .workflow-grid p { margin-bottom: 0; }
  .download-section { align-items: stretch; flex-direction: column; }
  .download-section .button { width: 100%; }
  .learning-section { align-items: stretch; flex-direction: column; padding: 60px 0; }
  .learning-section .button { width: 100%; }
  .account-section { padding: 70px 0; }
  .form-line { flex-direction: column; }
  .form-line .button { width: 100%; }
  footer { flex-direction: column; }
}
@media (max-width: 390px) {
  nav a:first-child { display: none; }
  .site-shell { padding: 0 16px; }
  .hero-visual { margin: 0 -8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
