/* Theme palette matched to insights.kanytics.com (KPlaytics). */
:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  --page: #0b0c0f;
  --panel: #121419;
  --raised: #191c22;
  --hover: #20242c;
  --soft: #15171c;
  --line: #2a2e37;
  --line-subtle: #272b33;
  --text: #f4f5f7;
  --muted: #a0a6b1;
  --accent: #36a9fa;
  --accent-soft: #36a9fa14;
  --focus: #36a9fa;
  --success: #58cf94;
  --success-soft: #58cf9414;
  --warning: #f4c84f;
  --warning-soft: #f4c84f24;
  --danger: #f47b87;
  --violet: #b1a0ec;
  --violet-soft: #b1a0ec14;
  --pink: #e194ae;
  background: var(--page);
  color: var(--text);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-width: 280px; margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, p, dl, dd { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.muted { color: var(--muted); }
.wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

.skip-link { position: fixed; top: -80px; left: 16px; z-index: 3; padding: 12px; background: var(--raised); }
.skip-link:focus { top: 12px; }
.header { border-bottom: 1px solid var(--line); background: var(--page); }
.header-inner { min-height: 69px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.04em; min-height: 44px; }
.brand-mark { width: 24px; height: 24px; position: relative; border-radius: 7px; background: var(--accent); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 2px; width: 3px; background: var(--page); transform: skew(-20deg); }
.brand-mark::before { top: 6px; bottom: 6px; left: 8px; }
.brand-mark::after { top: 8px; bottom: 8px; right: 8px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 7px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav a:hover { background: var(--hover); color: var(--text); }
.nav a[aria-current="page"] { background: var(--raised); color: var(--text); }
.environment { margin-left: auto; padding: 4px 9px; border: 1px solid var(--warning-soft); border-radius: 5px; background: var(--warning-soft); color: var(--warning); font-size: 12px; font-weight: 650; }
.main { padding-block: 36px 64px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  align-items: center;
  min-height: 323px;
  overflow: hidden;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; letter-spacing: -.055em; font-weight: 740; }
.hero p { max-width: 350px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.hero-art { min-width: 0; height: 224px; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: -70px -72px -68px -12px; background-image: linear-gradient(#9eb5ff13 1px, transparent 1px), linear-gradient(90deg, #9eb5ff13 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse, #000 28%, transparent 70%); }
.art-card { position: relative; width: min(100%, 314px); aspect-ratio: 1.64; padding: 20px; border: 1px solid #405270; border-radius: 19px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(125deg, #263345, #1c273a 47%, #172133); box-shadow: 0 18px 48px #080f2a9c, inset 0 1px 1px #fff5; transform: rotate(-9deg) translate(7px, -6px); }
.art-card-top, .art-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.art-card-top { font-weight: 740; }
.art-chip { width: 28px; height: 22px; border: 1px solid #e3dcf5; border-radius: 5px; background: linear-gradient(130deg, #ddd9ee, #a1afd9); }
.art-card-digits { font-size: clamp(12px, 2vw, 19px); letter-spacing: .08em; white-space: nowrap; }
.art-rings { position: relative; width: 41px; height: 25px; }
.art-rings::before, .art-rings::after { content: ""; position: absolute; top: 0; width: 25px; height: 25px; border-radius: 50%; background: #e9effe72; }
.art-rings::after { right: 0; background: #e9effe4d; }
.art-inbox { position: absolute; right: -6px; bottom: 6px; display: flex; align-items: center; gap: 12px; padding: 10px 15px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); box-shadow: 0 9px 28px #090f246e; font-size: 14px; font-weight: 650; }
.art-inbox .product-symbol { width: 34px; height: 34px; }
.sandbox-note { margin-block: 18px 25px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.product { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 14px; padding: 22px; }
.product-symbol { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); position: relative; }
.product-symbol.sms::before { content: ""; width: 18px; height: 14px; border: 1.5px solid currentColor; border-radius: 4px; }
.product-symbol.sms::after { content: ""; position: absolute; left: calc(50% - 6px); top: calc(50% + 4px); width: 5px; height: 5px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; background: var(--panel); transform: skewY(-32deg); }
.product-symbol.card { background: var(--violet-soft); color: var(--violet); }
.product-symbol.card::before { content: ""; width: 20px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(transparent 3px, currentColor 3px, currentColor 4px, transparent 4px); }
.product h2 { font-size: 20px; letter-spacing: -.025em; }
.product p { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.product-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-note { color: var(--muted); font-size: 14px; }
.price-note strong { color: var(--text); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; text-align: center; font-size: 14px; font-weight: 680; line-height: 1.25; }
.button.secondary { border-color: var(--line); background: var(--raised); color: var(--accent); }
.button.secondary:hover:not(:disabled) { background: var(--hover); border-color: var(--accent); }
.button.primary { background: var(--accent); color: var(--page); }
.button.primary:hover:not(:disabled) { background: #79c5fb; }
.button:disabled { opacity: .65; cursor: default; }
.page-title, .page-heading h1 { font-size: clamp(29px, 4vw, 43px); letter-spacing: -.045em; line-height: 1.1; }
.page-title, .page-heading { margin-bottom: 24px; }
.page-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.choices, .summary { padding: 23px; }
.choices h2, .summary h2, legend { font-size: 17px; font-weight: 680; }
.summary .button { width: 100%; margin-top: 18px; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
fieldset + fieldset { margin-top: 24px; }
legend { padding: 0; margin-bottom: 13px; }
.options { display: grid; gap: 9px; }
.option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--soft); font-size: 14px; }
.option:hover { border-color: var(--accent); }
.option:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
.option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.option input { margin: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.option input:focus-visible { outline: none; }
.option small { color: var(--muted); font-size: 13px; }
.details { display: grid; gap: 11px; margin-top: 17px; font-size: 14px; }
.details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 14px; }
.details dt { color: var(--muted); }
.details dd { font-weight: 620; text-align: right; overflow-wrap: anywhere; }
.details .total { padding-top: 13px; margin-top: 4px; border-top: 1px solid var(--line); }
.details .total dt { color: var(--text); }
.order-note { margin-top: 12px; color: var(--muted); text-align: center; font-size: 13px; }
.feedback { margin-top: 12px; line-height: 1.45; font-size: 14px; }
.feedback.error { color: var(--danger); }

.order-list, .messages { padding: 0; margin: 0; list-style: none; }
.order-list li + li { border-top: 1px solid var(--line); }
.order-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 16px; margin: 2px; border-radius: 9px; }
.order-list a:hover { background: var(--raised); }
.order-list a:focus-visible { outline-offset: -2px; }
.order-list-name { min-width: 0; display: grid; gap: 4px; overflow-wrap: anywhere; }
.order-list-name small, .messages time { color: var(--muted); font-size: 12px; }
.order-cost { min-width: 65px; text-align: right; }
.status { display: inline-flex; align-items: center; width: max-content; padding: 4px 8px; border-radius: 5px; background: var(--raised); color: var(--muted); font-size: 12px; font-weight: 670; }
.status.active { background: var(--success-soft); color: var(--success); }
.status.issuing { background: var(--violet-soft); color: var(--violet); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; margin-bottom: 4px; color: var(--accent); font-size: 14px; }
.back-link:hover { text-decoration: underline; }
.empty { padding: 24px; display: grid; justify-items: start; gap: 14px; }
.empty h2 { font-size: 18px; }
.inbox #messages { margin-top: 14px; }
.messages { display: grid; gap: 8px; }
.messages li { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.messages li div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 14px; }
.messages p { margin-top: 7px; font-size: 14px; line-height: 1.45; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 5px; }
  .nav { grid-area: 2 / 1 / 3 / 3; padding-bottom: 8px; }
  .nav a { padding-inline: 9px; }
  .main { padding-block: 28px 48px; }
  .hero { padding: 28px; min-height: 260px; }
  .hero-art { height: 176px; }
  .art-card { padding: 14px; }
  .art-inbox { right: -12px; bottom: 0; }
  .order-layout { grid-template-columns: 1fr; }
}

@media (max-width: 530px) {
  .nav { display: grid; grid-template-columns: repeat(4, auto); gap: 2px; }
  .nav a { padding-inline: 5px; justify-content: center; font-size: clamp(11px, 3.2vw, 14px); }
  .hero { grid-template-columns: 1fr; padding: 22px; gap: 12px; }
  .hero h1 { font-size: clamp(28px, 9.3vw, 41px); }
  .hero p { margin-top: 13px; font-size: 14px; }
  .hero-break { display: none; }
  .hero-art { height: 149px; width: min(100%, 280px); justify-self: end; }
  .art-card { width: 76%; transform: rotate(-8deg) translate(-14px, -3px); }
  .art-inbox { padding: 6px 8px; gap: 6px; right: 0; font-size: 12px; }
  .art-inbox .product-symbol { width: 28px; height: 28px; }
  .products { grid-template-columns: 1fr; gap: 12px; }
  .product, .choices, .summary { padding: 17px; }
  .product { gap: 13px 12px; }
  .order-list a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px 9px; padding: 9px; }
  .order-list .product-symbol { grid-row: span 2; width: 36px; height: 36px; }
  .order-list .status { grid-area: 2 / 2; }
  .order-list .order-cost { grid-area: 1 / 3 / 3; min-width: 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sms-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 24px; margin-bottom: 24px; }
.sms-tabs a { min-width: 120px; padding: 11px 20px; text-align: center; border-radius: 20px; font-size: 14px; color: var(--muted); }
.sms-tabs a[aria-current] { background: var(--panel); color: var(--accent); box-shadow: 0 1px 4px #0004; }
.sms-tabs a:hover { color: var(--text); }
.sms-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sms-heading h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.sms-heading p { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.55; }
.coverage { flex-shrink: 0; font-size: 13px; border-radius: 20px; padding: 9px 14px; color: var(--success); background: var(--success-soft); }
.activation-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, .92fr); align-items: start; gap: 18px; }
.picker, .activation-summary { border-radius: 14px; border-color: var(--line); overflow: hidden; }
.picker { padding: 22px 12px 8px; }
.picker-heading { display: flex; align-items: center; gap: 10px; padding-inline: 10px; }
.picker-heading h2 { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.step { width: 25px; height: 25px; display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.count { margin-left: auto; color: var(--muted); font-size: 12px; }
.search-box { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 20px 8px 10px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; background: var(--soft); }
.search-box > span { font-size: 24px; line-height: 1; color: var(--muted); }
.search-box input { min-width: 0; width: 100%; background: transparent; border: 0; color: var(--text); outline: 0; height: 42px; font-size: 14px; }
.search-box:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-box input::placeholder { color: var(--muted); }
.picker-options { max-height: 500px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px; }
.picker-option { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 9px; border: 1px solid transparent; border-bottom-color: var(--line-subtle); border-radius: 9px; min-height: 50px; cursor: pointer; }
.picker-option:hover { background: var(--hover); }
.picker-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.picker-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.picker-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picker-symbol { flex: none; display: inline-grid; place-items: center; border-radius: 50%; width: 27px; height: 27px; color: var(--accent); background: var(--accent-soft); font-size: 14px; font-weight: 700; }
.country-symbol { font-size: 10px; letter-spacing: .025em; background: var(--raised); color: var(--muted); }
.picker-symbol { position: relative; overflow: hidden; }
.catalog-icon { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.catalog-icon.is-loaded { opacity: 1; }
.country-symbol .catalog-icon { object-fit: cover; }
.service-symbol .catalog-icon { object-fit: cover; }
.picker-label { min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.picker-detail { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.selection-mark { width: 15px; flex-shrink: 0; visibility: hidden; color: var(--accent); font-size: 14px; font-weight: 700; }
.picker-option:has(input:checked) .selection-mark { visibility: visible; }
.picker-columns, .priced-option { display: grid; align-items: center; gap: 10px; }
.service-columns, .service-row { grid-template-columns: minmax(0, 1fr) 66px; }
.country-columns, .country-row { grid-template-columns: minmax(0, 1fr) 44px 66px; }
.picker-columns { padding: 10px 13px 6px; color: var(--muted); font-size: 11px; }
.picker-columns > span:not(:first-child), .picker-price { text-align: right; }
.picker-identity, .selected-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.picker-price { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.priced-option .picker-detail { margin: 0; text-align: right; }
.selected-choice { margin: 18px 4px 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.selected-identity strong { min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; }
.change-choice { margin-top: 12px; min-height: 40px; width: 100%; }
.show-all { min-height: 44px; display: block; width: calc(100% - 8px); margin: 4px; border: 0; border-radius: 10px; background: var(--panel); color: var(--accent); cursor: pointer; font-size: 13px; }
.show-all:hover { background: var(--accent-soft); }
.picker-empty { padding: 24px 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.activation-summary { padding: 22px; }
.activation-summary .picker-heading { padding: 0; }
.summary-illustration { display: flex; align-items: center; justify-content: center; gap: 12px; height: 124px; margin-top: 20px; background: var(--accent-soft); border-radius: 16px; color: var(--accent); font-size: 24px; font-weight: 700; }
.summary-illustration .product-symbol { background: var(--accent-soft); color: var(--accent); width: 54px; height: 54px; border-radius: 15px; }
.summary-illustration .product-symbol::after { background: var(--accent-soft); }
.activation-summary .details { gap: 16px; margin-top: 24px; }
.activation-summary .button { width: 100%; gap: 12px; border-radius: 8px; margin-top: 24px; }
.activation-help { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; line-height: 1.6; }
.activation-help strong { font-weight: 600; }
.activation-help ol { padding-left: 18px; color: var(--muted); margin-bottom: 0; }
.activation-help li + li { margin-top: 8px; }
.activation-order .picker-heading { padding: 0; }
.activation-country { margin: 14px 0; }
.phone-box { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.phone-box > span { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.phone-box strong { font-size: clamp(20px, 3vw, 28px); letter-spacing: .04em; overflow-wrap: anywhere; }
.phone-box .button { margin-left: auto; }
.activation-actions { display: flex; gap: 8px; margin-top: 24px; }
.activation-inbox .messages { margin-block: 18px; }
.activation-inbox .messages li { padding: 16px; background: var(--soft); }
.received-code { margin-top: 16px; }
.received-code > strong { font-size: 30px; letter-spacing: .12em; color: var(--accent); }
.activation-inbox > .button { width: 100%; }
#sms-wait { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 20px 0; margin-top: 8px; font-size: 14px; }
#countdown { margin-left: auto; color: var(--accent); font-variant-numeric: tabular-nums; }
.waiting-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); }
.inbox-empty { color: var(--muted); font-size: 14px; padding-block: 10px 26px; line-height: 1.6; }
.copy-feedback { min-height: 20px; color: var(--success); font-size: 13px; margin-top: 12px; }
.status.waiting_code { background: var(--accent-soft); color: var(--accent); }
.status.code_received, .status.completed { background: var(--success-soft); color: var(--success); }
@media (max-width: 1000px) {
  .activation-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activation-summary { grid-column: 1 / -1; }
  .summary-illustration { display: none; }
  .activation-help { display: none; }
  .picker-options { max-height: 360px; }
}
@media (max-width: 600px) {
  .activation-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sms-heading { align-items: flex-start; gap: 12px; }
  .coverage { display: none; }
  .sms-heading p { font-size: 14px; }
  .picker { padding-top: 18px; }
  .picker-options { max-height: 272px; }
  .picker-option { min-height: 48px; }
  .search-box { margin-top: 15px; }
  .activation-summary { padding: 22px; }
  .sms-tabs { margin-bottom: 20px; }
  .phone-box { padding: 16px; }
  .phone-box .button { margin-left: 0; }
}

