:root {
  --paper: #f4f5ef;
  --ink: #111f31;
  --muted: #546477;
  --blue: #2852fb;
  --line: #cdd2d1;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 var(--font); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #4980fb; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1216px, calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.topbar { background: #fbfcf8; border-bottom: 1px solid #dce0da; }
.topbar-inner { display: flex; align-items: center; min-height: 77px; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 850 23px/1 var(--font); letter-spacing: -1.2px; white-space: nowrap; }
.brand-dot { color: var(--blue); }
.brand-mark { position: relative; display: inline-block; width: 30px; height: 31px; border-radius: 8px; transform: rotate(-5deg); background: var(--blue); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 2px; box-sizing: border-box; }
.brand-mark::before { top: 7px; left: 6px; }
.brand-mark::after { bottom: 7px; right: 6px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a, .site-footer nav a { font-weight: 550; font-size: 14px; text-decoration: none; }
.main-nav a:hover, .site-footer nav a:hover { color: var(--blue); }
.account-link { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; padding: 9px 17px; border: 1px solid #c6cbc7; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; }
.account-link:hover { border-color: var(--blue); color: var(--blue); }
.person-icon { display: inline-block; position: relative; width: 14px; height: 16px; }
.person-icon::before, .person-icon::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 1.6px solid currentColor; box-sizing: border-box; }
.person-icon::before { width: 7px; height: 7px; border-radius: 50%; top: 1px; }
.person-icon::after { width: 13px; height: 6px; bottom: 1px; border-radius: 8px 8px 2px 2px; }
.skip-link { position: absolute; top: 5px; left: 5px; z-index: 5; background: white; color: var(--blue); padding: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.store-hero { background: radial-gradient(ellipse at 75% 58%,#182e59 0%,#111e36 47%, #101b2f 78%); color: #f9fbff; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; min-height: clamp(430px, 36.4vw, 505px); }
.hero-copy { position: relative; z-index: 1; padding: 52px 0 57px; }
.hero-copy h1 { font: 700 clamp(48px,5.7vw,85px)/.99 var(--font); letter-spacing: -.063em; margin: 0; }
.hero-copy h1 em { font-style: normal; color: #a9c5ff; }
.hero-period { color: #4472ff; }
.hero-copy p { margin: 24px 0 29px; max-width: 410px; font-size: clamp(16px,1.35vw,19px); line-height: 1.55; color: #c7d2e5; }
.hero-action { display: inline-flex; gap: 24px; align-items: center; padding: 13px 20px; text-decoration: none; background: #375dff; color: #fff; border-radius: 7px; font-weight: 650; font-size: 15px; }
.hero-action:hover { background: #456cff; }
.arrow-diagonal { font: 22px/1 Arial,sans-serif; }
.network-art { position: relative; min-width: 0; margin: 0; isolation: isolate; aspect-ratio: 1.4; }
.network-art canvas { width: 100%; height: 100%; display: block; }
.network-art figcaption { position: absolute; right: 0; bottom: 17px; display: flex; align-items: center; gap: 9px; color: #abbbd5; font: 10px/1.4 var(--mono); }
.legend-route { width: 19px; height: 1px; background: #84e8e0; position: relative; }
.legend-route::after { content: ""; background: #99f4ed; border-radius: 100%; height: 5px; width: 5px; position: absolute; top: -2px; left: 7px; }
.plans-section { padding-block: 53px 66px; scroll-margin-top: 20px; }
.catalog-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.store-page h2 { font-size: clamp(34px,3.1vw,48px); font-weight: 680; line-height: 1.1; letter-spacing: -.055em; margin: 0; }
.catalog-heading p { color: var(--muted); margin: 7px 0 0; font-size: 15px; }
.category-filters { display: flex; gap: 3px; background: #e6e9e4; border: 1px solid #dce0da; padding: 3px; border-radius: 8px; overflow-x: auto; max-width: 100%; }
.category-filters button { border: 0; background: transparent; border-radius: 5px; padding: 5px 13px; font: 600 13px/1.5 var(--font); color: #526071; cursor: pointer; white-space: nowrap; }
.category-filters button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 3px #17243b22; }
.plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.plan-card { min-width: 0; position: relative; display: flex; flex-direction: column; padding: 24px 26px 21px; border: 1px solid #ced5d2; border-radius: 12px; background: #fcfdfb; overflow: hidden; }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; border: 1px solid #c7d7ff; background: #e9efff; color: #2956ed; border-radius: 9px; flex-shrink: 0; }
.plan-icon.ipv6 { color: #087a6f; border-color: #bfdcd8; background: #e3f4ef; }
.plan-icon canvas { width: 24px; height: 24px; }
.plan-category { margin-left: auto; color: #455a71; border: 1px solid #d5dedf; border-radius: 5px; padding: 2px 7px; font: 11px/1.4 var(--mono); overflow-wrap: anywhere; }
.plan-card h3 { margin: 0; font-size: 22px; font-weight: 650; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.plan-desc { color: var(--muted); font-size: 15px; margin: 14px 0 0; overflow-wrap: anywhere; }
.plan-bottom { padding-top: 25px; margin-top: auto; }
.price-line { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0; }
.price { font-size: 35px; font-weight: 650; line-height: 1.1; letter-spacing: -.04em; }
.period { color: #617083; font-size: 13px; }
.plan-action { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 11px 15px; border: 1px solid #b8c7ea; border-radius: 7px; background: #f1f5ff; color: #2046c7; text-decoration: none; font-size: 14px; font-weight: 650; }
.plan-action:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.plan-action span { font-size: 19px; line-height: 1; }
.catalog-message { color: var(--muted); grid-column: 1/-1; margin: 0; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.catalog-message button { margin-left: 12px; cursor: pointer; color: var(--blue); background: none; border: 0; text-decoration: underline; }
.how-section { border-top: 1px solid var(--line); padding-block: 48px 58px; background: #ecefe9; }
.how-section h2 { font-size: clamp(30px,2.75vw,40px); }
.how-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; padding: 0; margin: 28px 0 0; list-style: none; counter-reset: how-step; }
.how-list li { counter-increment: how-step; border-top: 1px solid #bdc6c4; padding-top: 13px; }
.how-list li::before { content: "0" counter(how-step); font: 12px/1.3 var(--mono); color: #425fb3; }
.how-list h3 { margin: 9px 0 6px; font-size: 19px; letter-spacing: -.025em; }
.how-list p { margin: 0; max-width: 345px; color: var(--muted); font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); background: #fafbf7; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 25px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 850px) {
  .topbar-inner { gap: 24px; }
  .main-nav { gap: 18px; }
  .hero-layout { grid-template-columns: 1fr 1fr; min-height: 385px; }
  .network-art figcaption { bottom: 0; }
  .plan-card { padding: 18px; }
  .plan-card h3 { font-size: 20px; }
}
@media (max-width: 650px) {
  .topbar-inner { min-height: 62px; gap: 12px; }
  .main-nav { display: none; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-mark { transform: scale(.9) rotate(-5deg); }
  .account-link { padding: 7px 10px; gap: 7px; font-size: 13px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 0 0; }
  .hero-copy h1 { font-size: clamp(44px,11vw,64px); }
  .hero-copy p { font-size: 16px; margin: 15px 0 18px; max-width: 360px; }
  .network-art { width: min(100%,380px); justify-self: center; margin: 3px 0 10px; aspect-ratio: 1.85; }
  .network-art figcaption { font-size: 9px; bottom: 0; }
  .plans-section { padding-block: 34px 40px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 16px; }
  .plan-grid { grid-template-columns: 1fr; gap: 13px; }
  .how-section { padding-block: 32px 40px; }
  .how-list { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { padding-block: 20px; }
}
