:root {
  --desktop-blue: #09047a;
  --desktop-blue-2: #0d51a7;
  --chrome: #c8c8c8;
  --chrome-light: #f7f7f7;
  --chrome-mid: #8e8e8e;
  --chrome-dark: #2d2d2d;
  --panel: #e9e7dc;
  --paper: #f4f0e6;
  --ink: #111411;
  --muted: #565b55;
  --green: #00f531;
  --green-dark: #05851e;
  --amber: #ffb000;
  --line: #202020;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Verdana, Geneva, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px max(18px, calc((100vw - 1120px) / 2));
  background: var(--chrome);
  border-bottom: 2px solid var(--chrome-dark);
  box-shadow: inset 0 2px 0 var(--chrome-light), inset 0 -2px 0 var(--chrome-mid);
}

.brand,
.nav-links a,
.header-cta,
.btn,
.device-pill,
.feature-card,
.step-item,
.faq-list details {
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 var(--chrome-mid);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 7px 15px 7px 9px;
  background: var(--panel);
  color: #050505;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--desktop-blue);
  background: #f7f4de;
  border: 1px solid #282828;
}

.brand-mark.small {
  width: 24px;
  height: 24px;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.nav-links {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.nav-links a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  padding: 8px 16px;
  background: var(--panel);
  color: #050505;
  font-weight: 800;
}

.header-cta {
  gap: 8px;
  background: var(--green);
  color: #001d05;
}

.header-cta svg,
.btn svg {
  width: 19px;
  height: 19px;
}

.header-cta path,
.btn path {
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--desktop-blue);
  color: #ffffff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 4, 41, 0.94) 0%, rgba(5, 5, 78, 0.84) 34%, rgba(6, 5, 87, 0.32) 68%, rgba(6, 5, 50, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 54px;
}

.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > .hero-copy,
.hero-actions,
.hero-stats {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--green);
  border: 1px solid #002f09;
  box-shadow: inset 1px 1px 0 #a9ffb7;
}

.eyebrow.dark {
  color: var(--desktop-blue);
}

.eyebrow.dark::before {
  background: var(--desktop-blue);
  box-shadow: inset 1px 1px 0 #73a6ff;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy {
  margin-bottom: 26px;
  color: #f7f7f7;
  font-size: 21px;
  font-weight: 700;
}

.hero-actions {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
  padding: 45px 14px 14px;
  background: var(--chrome);
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 var(--chrome-mid);
}

.hero-actions::before {
  content: "subscription.exe";
  position: absolute;
  top: 6px;
  right: 6px;
  left: 6px;
  height: 28px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  background: var(--desktop-blue);
  color: #ffffff;
  font-weight: 900;
}

.hero-actions::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 12px;
  width: 54px;
  height: 16px;
  background:
    linear-gradient(90deg, var(--chrome) 0 16px, transparent 16px 19px, var(--chrome) 19px 35px, transparent 35px 38px, var(--chrome) 38px);
  border: 1px solid #1d1d1d;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 18px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: #001d05;
}

.btn-secondary {
  background: #f5f3e7;
}

.btn.light {
  width: min(320px, 100%);
}

.btn:active,
.header-cta:active,
.nav-links a:active {
  border-color: var(--chrome-dark) var(--chrome-light) var(--chrome-light) var(--chrome-dark);
  box-shadow: inset 1px 1px 0 var(--chrome-mid);
  transform: translateY(1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
}

.hero-stats div {
  min-width: 0;
  padding: 11px 10px;
  background: rgba(9, 4, 122, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.hero-stats dt {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 13px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro {
  padding-top: 56px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.compact {
  max-width: 620px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.step-item,
.faq-list details {
  position: relative;
  background: var(--panel);
}

.feature-card {
  min-height: 268px;
  padding: 50px 18px 20px;
}

.feature-card::before,
.step-item::before,
.faq-list details::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  left: 6px;
  height: 26px;
  background: var(--desktop-blue);
  border-bottom: 1px solid #020226;
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 16px;
  color: var(--green-dark);
  background: #fbfaf0;
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card h3,
.feature-card p,
.step-item h3,
.step-item p {
  position: relative;
  z-index: 1;
}

.feature-card p,
.step-item p,
.faq-list p {
  color: var(--muted);
}

.steps {
  border-top: 2px solid #d8d2bd;
  border-bottom: 2px solid #d8d2bd;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-item {
  min-height: 210px;
  padding: 52px 20px 20px;
}

.step-item > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  background: var(--green);
  color: #001d05;
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  font-weight: 900;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.device-pill {
  min-height: 92px;
  padding: 15px 12px;
  background: var(--chrome);
  text-align: center;
}

.device-pill span,
.device-pill small {
  display: block;
}

.device-pill span {
  margin-bottom: 8px;
  color: var(--desktop-blue);
  font-size: 18px;
  font-weight: 900;
}

.device-pill small {
  color: var(--muted);
  font-weight: 700;
}

.price-band {
  width: min(1120px, calc(100% - 40px));
  margin: 8px auto 0;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  background: var(--desktop-blue);
  color: #ffffff;
  border: 2px solid;
  border-color: #9fb8ff #03031d #03031d #9fb8ff;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #041148;
}

.price-band h2 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 46px;
}

.price-band p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: #f4f4f4;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 45px 18px 18px;
}

.faq-list summary {
  position: relative;
  z-index: 1;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
  padding: 22px max(18px, calc((100vw - 1120px) / 2));
  background: var(--chrome);
  border-top: 2px solid var(--chrome-light);
  box-shadow: inset 0 2px 0 #ffffff;
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-page {
  background: var(--paper);
}

.info-header {
  position: static;
}

.info-content {
  width: min(780px, calc(100% - 40px));
  margin: 56px auto;
  padding: 34px;
  background: var(--panel);
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 var(--chrome-mid);
}

.info-content h1 {
  color: var(--desktop-blue);
  font-size: 42px;
}

.info-content p {
  color: var(--muted);
  font-size: 17px;
}

.miniapp-page {
  min-height: 100svh;
  background:
    linear-gradient(120deg, rgba(0, 245, 49, 0.08), transparent 34%),
    linear-gradient(180deg, #09047a 0%, #070b35 48%, #06111d 100%);
  color: #ffffff;
  font-family: Tahoma, Verdana, Geneva, sans-serif;
}

.miniapp-shell {
  width: min(100% - 24px, 460px);
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 0 calc(24px + env(safe-area-inset-bottom));
}

.mini-window,
.mini-price,
.mini-grid > div,
.mini-steps {
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 var(--chrome-mid), 0 18px 40px rgba(0, 0, 0, 0.22);
}

.mini-window {
  overflow: hidden;
  background: rgba(6, 17, 29, 0.92);
}

.mini-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 6px 9px 6px 12px;
  background: var(--chrome);
  color: #050505;
  font-size: 14px;
  font-weight: 900;
}

.mini-controls {
  width: 58px;
  height: 18px;
  background:
    linear-gradient(90deg, #d8d8d8 0 17px, transparent 17px 21px, #d8d8d8 21px 38px, transparent 38px 42px, #d8d8d8 42px);
  border: 1px solid #222222;
}

.mini-hero-body {
  position: relative;
  min-height: 268px;
  padding: 28px 22px 24px;
  background:
    linear-gradient(90deg, rgba(2, 4, 42, 0.92), rgba(9, 4, 122, 0.72)),
    url('/site-assets/agorig-hero-retro.jpg') center / cover;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-status::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--green);
  border: 1px solid #002f09;
  box-shadow: inset 1px 1px 0 #a9ffb7;
}

.mini-hero h1 {
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 0.95;
}

.mini-hero p {
  max-width: 350px;
  margin-bottom: 0;
  color: #f6f6f6;
  font-size: 18px;
  font-weight: 800;
}

.mini-price {
  margin-top: 14px;
  padding: 20px;
  background: var(--panel);
  color: var(--ink);
}

.mini-kicker {
  margin-bottom: 8px;
  color: var(--desktop-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-price h2 {
  margin-bottom: 8px;
  color: var(--desktop-blue);
  font-size: 34px;
}

.mini-price p:not(.mini-kicker) {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.mini-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 13px 16px;
  background: var(--green);
  color: #001d05;
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 var(--green-dark);
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.mini-buy:active {
  border-color: var(--chrome-dark) var(--chrome-light) var(--chrome-light) var(--chrome-dark);
  transform: translateY(1px);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mini-grid > div {
  min-height: 92px;
  padding: 14px;
  background: rgba(9, 4, 122, 0.82);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid strong {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.mini-grid span {
  margin-top: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.mini-steps {
  margin-top: 14px;
  padding: 20px;
  background: #f4f0e6;
  color: var(--ink);
}

.mini-steps h2 {
  margin-bottom: 16px;
  color: var(--desktop-blue);
  font-size: 26px;
}

.mini-steps ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.mini-steps li span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: #001d05;
  border: 2px solid;
  border-color: var(--chrome-light) var(--chrome-dark) var(--chrome-dark) var(--chrome-light);
  font-weight: 900;
}

.mini-steps li p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-media {
    object-position: 62% center;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 8px;
    min-height: 58px;
    padding: 8px 12px;
    max-width: 100vw;
  }

  .brand {
    min-height: 38px;
    padding-right: 10px;
    font-size: 14px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    flex-shrink: 0;
    min-width: 88px;
    min-height: 38px;
    margin-left: auto;
    padding: 7px 10px;
    font-size: 14px;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 4, 41, 0.96), rgba(7, 5, 92, 0.76)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04));
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: 560px;
    padding: 54px 0 42px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .section {
    width: calc(100% - 28px);
    max-width: 560px;
    padding: 54px 0;
  }

  .intro {
    padding-top: 42px;
  }

  .feature-grid,
  .steps-row,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 230px;
  }

  .price-band {
    width: calc(100% - 28px);
    max-width: 560px;
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .price-band h2 {
    font-size: 36px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 42px;
    padding: 20px 14px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .brand span:last-child {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-stats dt {
    font-size: 18px;
  }

  .btn {
    padding-right: 12px;
    padding-left: 12px;
  }
}
