@font-face { font-family: 'DIVENTOR Tariff Inter'; src: url('/assets/fonts/Inter.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'DIVENTOR Tariff Mono'; src: url('/assets/fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #010101;
  --text: #fff;
  --muted: #878787;
  --dim: rgba(255, 255, 255, 0.5);
  --line: #323232;
  --blue: #497fde;
  --section-gap: clamp(96px, 10.4167vw, 200px);
  --content-gap: clamp(48px, 4.1667vw, 80px);
  --page-left: clamp(40px, calc(40px + (100vw - 1280px) * 0.046875), 70px);
  --page-right: 40px;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 24px;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.content-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 403fr) minmax(0, 60fr)
    minmax(0, 417fr) minmax(0, 48fr)
    minmax(0, 417fr) minmax(0, 48fr)
    minmax(0, 417fr);
  width: min(calc(100% - var(--page-left) - var(--page-right)), 1810px);
  margin-right: auto;
  margin-left: max(var(--page-left), calc((100% - 1920px) / 2 + 70px));
  padding-inline: 0;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: auto;
  left: auto;
  min-height: 112px;
  align-items: center;
}
.brand {
  display: inline-flex;
  grid-column: 1;
  align-items: center;
  gap: 21px;
  width: max-content;
  font: 500 27px/32px "IBM Plex Mono", ui-monospace, monospace;
}
.brand-mark { display: block; width: 48px; height: 48px; }
.site-nav {
  display: flex;
  grid-column: 3 / 6;
  justify-self: center;
  gap: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
}
.site-nav a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.44);
  text-underline-offset: 4px;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.cabinet-link {
  display: inline-flex;
  grid-column: 7;
  justify-self: end;
  min-height: 40px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--blue);
  font-size: 18px;
}

.hero {
  position: relative;
  height: max(720px, 100svh);
  overflow: visible;
  padding-top: 127px;
  isolation: isolate;
}
.hero-intro { z-index: 2; grid-column: 1; width: 403px; color: rgba(255, 255, 255, 0.6); pointer-events: none; }
.hero-orb {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 100vw;
  height: clamp(980px, 58vw, 1180px);
  transform: translate(-50%, -50%);
}
.hero-orb iframe { width: 100%; height: 100%; border: 0; background: transparent; }
.hero-copy-layout {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 0;
  display: grid;
  grid-template-columns:
    minmax(0, 403fr) minmax(0, 60fr)
    minmax(0, 417fr) minmax(0, 48fr)
    minmax(0, 417fr) minmax(0, 48fr)
    minmax(0, 417fr);
  width: 100%;
  align-items: start;
  pointer-events: none;
}
.hero-heading {
  grid-column: 1 / 4;
  width: 528px;
}
.hero-heading h1 {
  font: 400 76px/81px "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-heading p { width: 403px; margin-top: 32px; }
.hero-side {
  grid-column: 7;
  width: 403px;
}
.package-band {
  position: relative;
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
.package-note { grid-column: 1; width: min(100%, 403px); text-transform: uppercase; }
.package-note span, .section-label, .package-strip-label, .package-strip-foot {
  color: var(--muted);
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}
.package-note strong {
  display: block;
  margin-top: 28px;
  font: 400 24px/28px "IBM Plex Mono", ui-monospace, monospace;
}
.package-note-wide { grid-column: 3; width: min(100%, 365px); padding-top: 48px; }
.package-note-wide strong { margin-top: 0; }
.package-strip {
  display: grid;
  grid-column: 5 / 8;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 38px 1fr 30px;
  width: calc(100% + 28px);
  height: 246px;
  margin-left: -28px;
  padding: 23px 27px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.package-strip-label { grid-column: 1 / -1; }
.package-strip div { display: grid; align-content: start; gap: 8px; }
.package-strip strong {
  font: 400 24px/28px "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}
.package-strip small { color: var(--dim); font-size: 14px; line-height: 18px; }
.package-strip-foot { align-self: end; font-size: 12px; }
.package-strip-foot-start { grid-column: 1 / 3; }
.package-strip-foot-end { grid-column: 4; justify-self: end; }

.pricing { width: min(100%, 1920px); margin-inline: auto; }
.pricing-intro { padding-bottom: var(--content-gap); align-content: start; }
.pricing-intro .section-label { grid-column: 1; }
.pricing-heading { grid-column: 5 / 8; }
.pricing-heading h2, .statement h2, .closing-copy h2 {
  font: 400 56px/60px "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}
.pricing-heading p { margin-top: 20px; }
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  padding-inline: 40px;
}
.tariff-card {
  --tariff-art-scale: 1;
  font-family: 'DIVENTOR Tariff Inter', Inter, sans-serif;
  display: grid;
  grid-template-rows: 1.75rem 13.25rem minmax(0, 1fr);
  gap: clamp(1.5rem, 3.125vw, 3.75rem);
  width: 100%;
  min-width: 0;
  height: 39rem;
  padding: clamp(1.25rem, 1.458333vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: var(--bg);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}
.tariff-card-free {
  grid-template-rows: 1.75rem 13.3125rem minmax(0, 1fr);
  border: 0;
  background: #4f8bff;
}
.tariff-card header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.tariff-card h3 {
  font: 400 1.5rem/1.75rem 'DIVENTOR Tariff Mono', ui-monospace, monospace;
  text-transform: uppercase;
}
.tariff-card header span { color: var(--dim); font-size: 1.125rem; line-height: 1.375rem; white-space: nowrap; }
.tariff-visual {
  position: relative;
  min-width: 0;
  overflow: visible;
}
.tariff-art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  height: max-content;
  transform: translate(-50%, -50%) scale(var(--tariff-art-scale));
}
.tariff-art img, .tariff-particles { display: block; max-width: none; }
.tariff-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 0;
  min-height: 0;
}
.tariff-body > p { width: 100%; color: var(--text); font-size: 1.125rem; line-height: 1.5rem; }
.tariff-card footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
.tariff-card footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.625rem;
  padding: 0.625rem;
  border-radius: 0.25rem;
  background: #fff;
  color: #000;
  font-size: 1.125rem;
  line-height: 1.375rem;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.tariff-card footer strong {
  font: 400 1.5rem/1.75rem 'DIVENTOR Tariff Mono', ui-monospace, monospace;
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .tariff-card {
    --tariff-art-scale: 0.7;
    grid-template-rows: 1.75rem 10.625rem minmax(0, 1fr);
  }
  .tariff-card h3 { font-size: 1.25rem; }
  .tariff-card header span { font-size: 0.875rem; }
}
@media (min-width: 1301px) and (max-width: 1500px) {
  .tariff-card { --tariff-art-scale: 0.85; }
}

.tariff-card:focus-within {
  border-color: rgba(255, 255, 255, 0.62);
}

.tariff-card-free:focus-within { border-color: #fff; }

.tariff-card footer a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.tariff-card-free footer a:focus-visible { outline-color: #fff; }

@media (hover: hover) and (pointer: fine) {
  .tariff-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.62);
  }

  .tariff-card-free:hover {
    border-color: #77a5f5;
  }

  .tariff-card footer a:hover {
    transform: translateY(-2px);
    background: var(--blue);
    color: #fff;
  }

  .tariff-card-free footer a:hover {
    background: #010101;
    color: #fff;
  }
}

.statement { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.statement h2 { grid-column: 1 / 4; width: 100%; }
.statement > p { grid-column: 7; width: min(100%, 403px); color: var(--muted); }
.roles { align-content: start; padding-bottom: var(--section-gap); }
.roles .section-label { grid-column: 1; color: rgba(255, 255, 255, 0.6); }
.roles article { width: 100%; }
.roles article:nth-of-type(1) { grid-column: 3; }
.roles article:nth-of-type(2) { grid-column: 5; }
.roles article:nth-of-type(3) { grid-column: 7; }
.roles h3 {
  margin-bottom: 16px;
  font: 400 24px/28px "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}
.roles p { color: #d1d1d1; }
.closing-copy { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.closing-copy > div:not(.closing-mark) { grid-column: 5 / 8; width: calc(100% + 34px); align-self: center; }
.closing-mark {
  grid-column: 1 / 4;
  width: min(520px, 100%);
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  animation: closing-mark-float 8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  transform-style: preserve-3d;
}
.closing-mark iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
@keyframes closing-mark-float {
  0%, 100% { transform: translate3d(-10px, 8px, 0) rotateX(2deg) rotateY(-4deg) scale(0.96); }
  35% { transform: translate3d(8px, -10px, 0) rotateX(-3deg) rotateY(5deg) scale(1.03); }
  68% { transform: translate3d(4px, 4px, 0) rotateX(3deg) rotateY(2deg) scale(0.99); }
}
.closing-copy h2 { width: 520px; font-size: 24px; line-height: 28px; }
.closing-copy p { width: 403px; margin-top: 18px; color: var(--muted); }
.closing-cta {
  display: inline-flex;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 18px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.closing-cta:hover { transform: translateY(-2px); background: var(--blue); color: #fff; }
.closing-cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.faq {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
.faq > .section-label { grid-column: 1; }
.faq-body { grid-column: 3 / 8; }
.faq h2 {
  margin-bottom: var(--content-gap);
  font: 400 56px/60px "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}
.faq-list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  min-height: 92px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  font: 400 24px/28px "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: rgba(255, 255, 255, 0.6); font-size: 32px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 820px; padding: 0 56px 32px 0; color: rgba(255, 255, 255, 0.6); }

.site-footer {
  min-height: 180px;
  align-content: center;
  row-gap: 20px;
}
.footer-copy { grid-row: 1; grid-column: 1; color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 18px; }
.footer-links {
  display: flex;
  grid-row: 2;
  grid-column: 1 / 6;
  justify-content: flex-start;
  gap: 24px;
}
.footer-links a { color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 18px; text-decoration: underline; text-underline-offset: 4px; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; }

@media (max-width: 1100px) {
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    margin-left: 0;
    padding-inline: 24px;
  }
  .site-nav { display: none; }
  .cabinet-link { grid-column: 2; }
  .hero-copy-layout { right: 24px; bottom: 24px; left: 24px; display: block; width: auto; }
  .hero-side { display: none; }
  .package-band { gap: 36px; }
  .package-note, .package-note-wide { grid-column: auto; width: auto; }
  .package-strip { grid-column: 1 / -1; width: 100%; margin: 0; }
  .pricing-intro { min-height: 0; }
  .pricing-heading { grid-column: 2; }
  .tariff-grid { grid-template-columns: repeat(2, minmax(0, 445px)); justify-content: center; }
  .tariff-card {
    grid-template-rows: 1.75rem 13.25rem auto;
    gap: 2rem;
    height: auto;
  }
  .statement { min-height: 0; }
  .statement h2 { grid-column: 1 / -1; width: auto; }
  .statement > p { grid-column: 2; width: auto; margin-top: 40px; }
  .roles { gap: 40px; }
  .roles .section-label { grid-column: 1 / -1; }
  .roles article, .roles article:nth-of-type(n) { grid-column: auto; width: auto; }
  .closing-mark { grid-column: 1; }
  .closing-copy > div:not(.closing-mark) { grid-column: 2; width: auto; }
  .faq > .section-label { grid-column: 1; }
  .faq-body { grid-column: 2; }
  .footer-copy { grid-column: 1; }
  .footer-links { grid-column: 1 / -1; flex-wrap: wrap; gap: 16px 24px; }
}

@media (min-width: 621px) and (max-width: 800px) {
  .hero-copy-layout { bottom: 120px; }
  .tariff-card {
    --tariff-art-scale: 0.8;
    grid-template-rows: 1.5rem 10.625rem auto;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .tariff-card h3 { font-size: 1.25rem; line-height: 1.5rem; }
  .tariff-card header span { font-size: 0.875rem; line-height: 1.25rem; }
  .tariff-body > p { font-size: 1rem; line-height: 1.375rem; }

}

@media (max-width: 620px) {
  :root { --section-gap: 80px; --content-gap: 40px; }
  body { font-size: 16px; line-height: 22px; }
  .content-grid { display: block; padding-inline: 16px; }
  .site-header { display: flex; min-height: 78px; justify-content: space-between; }
  .brand { gap: 9px; font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .cabinet-link { min-height: 36px; padding: 7px 9px; font-size: 14px; }
  .hero { height: max(640px, 100svh); overflow: hidden; padding-top: 100px; }
  .hero-orb { width: 190vw; height: 190vw; max-width: 760px; max-height: 760px; }
  .hero-intro { position: relative; z-index: 2; width: 280px; font-size: 15px; line-height: 20px; }
  .hero-copy-layout {
    bottom: 112px;
    left: 16px;
    right: 16px;
  }
  .hero-heading {
    width: 100%;
  }
  .hero-heading h1 { font-size: 42px; line-height: 46px; }
  .hero-heading p { width: 330px; max-width: 100%; margin-top: 22px; font-size: 16px; line-height: 22px; }
  .package-band { min-height: 0; }
  .package-note-wide { margin-top: 48px; padding-top: 0; }
  .package-note strong { font-size: 21px; line-height: 25px; }
  .package-strip {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: auto;
    margin-top: 64px;
    gap: 28px 16px;
  }
  .package-strip-label, .package-strip-foot { grid-column: 1 / -1; }
  .package-strip-foot-end { justify-self: start; }
  .pricing-intro { min-height: 0; padding-top: 0; }
  .pricing-heading { margin-top: 48px; }
  .pricing-heading h2, .statement h2 { font-size: 36px; line-height: 40px; }
  .tariff-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-inline: 16px; }
  .tariff-card {
    --tariff-art-scale: 0.8;
    grid-template-rows: 1.5rem 10.625rem auto;
    gap: 1.5rem;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    padding: 1.25rem;
  }
  .tariff-card h3 { font-size: 1.25rem; line-height: 1.5rem; }
  .tariff-card header span { font-size: 0.875rem; line-height: 1.25rem; }
  .tariff-body { gap: 1.5rem; }
  .tariff-body > p { font-size: 1rem; line-height: 1.375rem; }
  .tariff-card footer { gap: 1rem; }
  .tariff-card footer a {
    min-height: 2.75rem;
    padding: 0.625rem;
    font-size: 1rem;
    line-height: 1.375rem;
    white-space: normal;
  }
  .tariff-card footer strong { font-size: 1.5rem; line-height: 1.75rem; }
  .statement { min-height: 0; }
  .statement > p { width: auto; margin-top: 48px; }
  .roles { display: grid; min-height: 0; gap: 56px; }
  .roles article { width: auto; }
  .closing-mark { width: min(300px, 82vw); margin: 0 auto var(--content-gap); }
  .closing-copy > div:not(.closing-mark), .closing-copy h2, .closing-copy p { width: auto; }
  .closing-copy h2 { font-size: 24px; line-height: 28px; }
  .closing-cta { width: 100%; font-size: 16px; }
  .faq > .section-label { margin-bottom: 40px; }
  .faq h2 { margin-bottom: var(--content-gap); font-size: 36px; line-height: 40px; }
  .faq summary { min-height: 76px; font-size: 18px; line-height: 22px; }
  .faq details p { padding: 0 0 24px; }
  .site-footer { display: block; min-height: 0; padding-top: 32px; padding-bottom: 40px; }
  .footer-links { margin-top: 24px; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .closing-mark { animation: none; }
}
