:root {
  --yellow: #ffd100;
  --yellow-hot: #ffe24b;
  --yellow-deep: #f4b900;
  --cream: #fff3a0;
  --paper: #fffdf2;
  --paper-warm: #fff8d7;
  --white: #ffffff;
  --black: #050505;
  --ink: #111111;
  --line: rgba(5, 5, 5, 0.18);
  --green: #0a9b63;
  --red: #f0522d;
  --radius: 8px;
}

/* Telegram Mini App */
.miniapp-page,
.miniapp-page.is-telegram-miniapp {
  min-height: 100dvh;
  margin: 0;
  padding: 0 0 calc(92px + env(safe-area-inset-bottom));
  background: #f5f5f1;
  color: #111;
}

.miniapp-shell {
  width: min(100%, 680px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 14px 32px;
  background: #fff;
}

.miniapp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-bottom: 3px solid #111;
}

.miniapp-head > img {
  display: block;
  width: min(210px, 58vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.miniapp-profile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid #111;
  border-radius: 50%;
  background: #ffd100;
  color: #111;
  box-shadow: 3px 3px 0 #111;
  font-size: 13px;
  font-weight: 1000;
  text-decoration: none;
}

.miniapp-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  align-items: end;
  min-height: 178px;
  margin: 14px 0 0;
  padding: 24px 18px 0;
  overflow: hidden;
  border: 3px solid #111;
  border-radius: 8px;
  background: #ffd100;
  box-shadow: 6px 6px 0 #111;
}

.miniapp-intro h1 {
  max-width: 250px;
  margin: 6px 0 30px;
  font-size: clamp(38px, 11vw, 58px);
  line-height: .92;
}

.miniapp-intro .section-kicker { margin: 0; }
.miniapp-intro > img { width: 150px; max-width: 145%; align-self: end; transform: translateX(-8px); }

.miniapp-search { margin: 24px 0 0; }
.miniapp-search > label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 900; }
.miniapp-search > div { display: grid; grid-template-columns: 30px minmax(0, 1fr) 52px; align-items: center; min-height: 58px; padding: 5px 5px 5px 14px; border: 3px solid #111; border-radius: 8px; background: #fff; box-shadow: 4px 4px 0 #ffd100; }
.miniapp-search span { font-size: 28px; font-weight: 1000; }
.miniapp-search input { min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 750; }
.miniapp-search button { width: 46px; height: 46px; border: 2px solid #111; border-radius: 6px; background: #111; color: #ffd100; font-size: 25px; font-weight: 1000; }

.miniapp-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 30px; }
.miniapp-benefits article { min-width: 0; padding: 12px 8px; border-top: 2px solid #111; }
.miniapp-benefits b { display: block; font-size: 19px; }
.miniapp-benefits span { display: block; margin-top: 4px; color: #646464; font-size: 11px; font-weight: 750; line-height: 1.25; }

.miniapp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.miniapp-section-head h2 { margin: 4px 0 0; font-size: 28px; line-height: 1; }
.miniapp-section-head p { margin: 0; }
.miniapp-section-head > a { color: #111; font-size: 13px; font-weight: 950; }
.miniapp-plan-grid { display: grid; gap: 10px; }
.miniapp-plan-card { display: grid; gap: 12px; padding: 14px; border: 2px solid #111; border-radius: 6px; background: #fff; box-shadow: 4px 4px 0 #e7e7e2; }
.miniapp-plan-destination { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; color: #111; text-decoration: none; }
.miniapp-plan-flag { display: grid; place-items: center; width: 48px; height: 42px; border: 2px solid #111; border-radius: 5px; overflow: hidden; background: #fff9da; }
.miniapp-plan-flag img { width: 100%; height: 100%; object-fit: cover; }
.miniapp-global-mark { font-size: 14px; font-weight: 1000; }
.miniapp-plan-destination b { display: block; overflow-wrap: anywhere; font-size: 18px; }
.miniapp-plan-destination small { display: block; margin-top: 4px; color: #6c6c6c; font-size: 11px; font-weight: 750; }
.miniapp-plan-offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px dashed #999; }
.miniapp-plan-offer span { font-size: 13px; font-weight: 800; }
.miniapp-plan-offer span b { font-size: 19px; }
.miniapp-plan-offer a { padding: 10px 14px; border: 2px solid #111; border-radius: 5px; background: #ffd100; color: #111; font-size: 13px; font-weight: 950; text-decoration: none; }

.miniapp-helper { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 5px; margin: 26px 0 10px; padding: 18px 10px; border-top: 3px solid #111; border-bottom: 3px solid #111; }
.miniapp-helper div { min-width: 0; text-align: center; }
.miniapp-helper div span { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: #ffd100; font-size: 12px; font-weight: 1000; }
.miniapp-helper b { display: block; font-size: 10px; overflow-wrap: anywhere; }
.miniapp-helper i { font-style: normal; font-weight: 1000; }

.miniapp-tabbar {
  position: fixed;
  z-index: 120;
  right: max(8px, calc((100vw - 680px) / 2 + 8px));
  bottom: max(8px, env(safe-area-inset-bottom));
  left: max(8px, calc((100vw - 680px) / 2 + 8px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 68px;
  padding: 5px;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 0 #111;
}
.miniapp-tabbar a { display: grid; place-content: center; justify-items: center; gap: 3px; min-width: 0; color: #666; text-decoration: none; }
.miniapp-tabbar a > span { display: grid; place-items: center; min-width: 28px; height: 27px; padding: 0 4px; border-radius: 50%; font-size: 11px; font-weight: 1000; }
.miniapp-tabbar a small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 850; }
.miniapp-tabbar a.is-active { color: #111; }
.miniapp-tabbar a.is-active > span { background: #ffd100; }
.telegram-global-tabbar { display: none; }
body.is-telegram-miniapp .telegram-global-tabbar { display: grid; }
body.is-telegram-miniapp:not(.account-page) { padding-bottom: calc(90px + var(--tg-safe-area-inset-bottom, 0px)); }
body.is-telegram-miniapp:not(.account-page) .mobile-tabbar { display: none; }

/* PWA install and notification controls */
.pwa-home-band { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr) 220px; align-items: center; gap: 34px; margin: 0; padding: 58px max(24px, calc((100vw - 1180px) / 2)); overflow: hidden; border-top: 4px solid #111; border-bottom: 4px solid #111; background: #fff; }
.pwa-home-copy h2 { max-width: 650px; margin: 8px 0 14px; font-size: clamp(38px, 5vw, 68px); line-height: .95; }
.pwa-home-copy > p:not(.section-kicker) { max-width: 620px; color: #575757; font-size: 17px; font-weight: 700; line-height: 1.45; }
.pwa-home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pwa-home-steps { display: grid; gap: 8px; }
.pwa-home-steps > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 2px solid #111; }
.pwa-home-steps b { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #111; border-radius: 50%; background: #ffd100; }
.pwa-home-steps span { font-size: 14px; font-weight: 850; }
.pwa-home-steps > i { display: none; }
.pwa-home-art { position: relative; align-self: end; height: 270px; }
.pwa-home-art img { position: absolute; right: -20px; bottom: -58px; width: 250px; }
.pwa-home-art > span { position: absolute; z-index: 2; top: 4px; right: 0; padding: 10px 14px; border: 3px solid #111; border-radius: 5px; background: #ffd100; box-shadow: 4px 4px 0 #111; font-weight: 1000; transform: rotate(7deg); }

.pwa-settings-card { position: relative; overflow: hidden; background: #fffdf2; }
.pwa-settings-art { position: absolute; top: 12px; right: 12px; width: 94px; height: 92px; pointer-events: none; }
.pwa-settings-art img { width: 90px; height: 90px; object-fit: contain; }
.pwa-settings-art span { position: absolute; top: 2px; right: 0; padding: 4px 6px; border: 2px solid #111; border-radius: 4px; background: #ffd100; font-size: 9px; font-weight: 1000; transform: rotate(8deg); }
.pwa-settings-card > div:nth-child(2) { padding-right: 92px; }
.pwa-state-row { display: grid; gap: 8px; padding: 12px; border: 2px solid #111; background: #fff; }
.pwa-state-row > span { display: flex; align-items: center; gap: 8px; color: #4f4f4f; font-size: 12px; }
.pwa-state-row i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #ffd100; box-shadow: 0 0 0 2px #111; }
.pwa-settings-actions { display: grid; gap: 9px; }
.pwa-guide-link { border: 0; background: transparent; color: #111; font: inherit; font-size: 12px; font-weight: 900; text-decoration: underline; cursor: pointer; }

.pwa-guide-layer { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 18px; }
.pwa-guide-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.64); }
.pwa-guide { position: relative; z-index: 1; width: min(100%, 520px); max-height: min(780px, 92dvh); overflow: auto; padding: 30px; border: 3px solid #111; border-radius: 8px; background: #fff; box-shadow: 9px 9px 0 #ffd100; }
.pwa-guide-close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #111; border-radius: 50%; background: #fff; font-size: 25px; cursor: pointer; }
.pwa-guide-art { position: relative; float: right; width: 125px; height: 125px; margin: -8px 12px 4px 16px; }
.pwa-guide-art img { width: 100%; height: 100%; object-fit: contain; }
.pwa-guide-art span { position: absolute; right: -2px; bottom: 5px; padding: 5px 7px; border: 2px solid #111; border-radius: 4px; background: #ffd100; font-size: 10px; font-weight: 1000; }
.pwa-guide h2 { margin: 7px 0 18px; font-size: clamp(30px, 7vw, 44px); line-height: .98; }
.pwa-guide ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; clear: both; }
.pwa-guide li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #999; }
.pwa-guide li b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffd100; font-size: 12px; }
.pwa-guide li span { font-size: 14px; font-weight: 750; }
.pwa-guide-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pwa-toast { position: fixed; z-index: 350; left: 50%; bottom: 24px; max-width: min(90vw, 420px); padding: 13px 17px; border: 2px solid #111; border-radius: 6px; background: #111; color: #fff; box-shadow: 4px 4px 0 #ffd100; font-size: 13px; font-weight: 850; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .2s ease, transform .2s ease; }
.pwa-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .pwa-home-band { grid-template-columns: 1fr; gap: 24px; padding: 42px 20px; }
  .pwa-home-art { position: absolute; right: 2px; bottom: 0; width: 125px; height: 160px; opacity: .16; }
  .pwa-home-art img { width: 150px; right: -20px; bottom: -16px; }
  .pwa-home-art > span { display: none; }
  .pwa-home-copy, .pwa-home-steps { position: relative; z-index: 1; }
}

@media (max-width: 520px) {
  .miniapp-shell { padding-right: 10px; padding-left: 10px; }
  .miniapp-intro { grid-template-columns: minmax(0, 1fr) 105px; padding-left: 14px; }
  .miniapp-intro > img { width: 132px; }
  .miniapp-benefits { gap: 4px; }
  .miniapp-benefits article { padding-right: 4px; padding-left: 4px; }
  .pwa-home-copy h2 { font-size: 38px; }
  .pwa-home-actions { display: grid; }
  .pwa-home-actions button { width: 100%; }
  .pwa-guide { padding: 26px 18px; }
  .pwa-guide-art { width: 100px; height: 100px; }
  .pwa-settings-art { opacity: .24; }
  .pwa-settings-card > div:nth-child(2) { padding-right: 0; }
}

/* Account application */
.account-page {
  background: #f6f6f2;
}

.account-page .page-main {
  width: min(1480px, calc(100% - 32px));
  max-width: none;
  padding: 28px 0 80px;
}

.account-loading {
  min-height: 58vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
}

.account-loader {
  width: 42px;
  aspect-ratio: 1;
  border: 4px solid #ddd;
  border-top-color: var(--yellow, #ffd100);
  border-radius: 50%;
  animation: account-spin .8s linear infinite;
}

@keyframes account-spin { to { transform: rotate(360deg); } }

.account-auth-shell {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: stretch;
  overflow: hidden;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 10px 10px 0 #111;
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 7vw, 96px);
  background: #ffd100;
  color: #111;
}

.auth-intro h1 {
  max-width: 700px;
  margin: 10px 0 20px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: .92;
  letter-spacing: 0;
}

.auth-intro > p:not(.section-kicker) { max-width: 620px; font-size: 19px; line-height: 1.55; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.auth-benefits span { padding: 10px 14px; border: 2px solid #111; background: #fff; font-weight: 800; box-shadow: 3px 3px 0 #111; }

.auth-card-v2 {
  align-self: center;
  margin: 34px;
  padding: 28px;
  border: 2px solid #111;
  border-radius: 4px;
  box-shadow: 7px 7px 0 #ffd100;
}

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 24px; background: #eee; border-radius: 4px; }
.auth-tabs button { min-height: 44px; border: 0; background: transparent; font: inherit; font-weight: 900; cursor: pointer; }
.auth-tabs button.is-active { background: #111; color: #ffd100; border-radius: 3px; }
.auth-form { display: grid; gap: 16px; }
.auth-form label, .settings-card label { display: grid; gap: 7px; font-weight: 900; }
.auth-form input, .settings-card input, .settings-card select, .checkout-code-row input { width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid #111; border-radius: 4px; background: #fff; font: inherit; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #777; font-weight: 800; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: #ccc; }
.telegram-auth-button { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 14px; padding: 8px 14px; border: 2px solid #111; border-radius: 4px; background: #fff; font: inherit; cursor: pointer; box-shadow: 4px 4px 0 #111; }
.telegram-auth-button span { display: grid; place-content: center; width: 34px; aspect-ratio: 1; border-radius: 50%; background: #229ed9; color: #fff; font-size: 0; }
.telegram-auth-button span::before { content: "T"; font-size: 16px; font-weight: 1000; }
.telegram-auth-button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #ffd100; }

.account-app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 760px; border: 2px solid #111; background: #fff; box-shadow: 8px 8px 0 #ffd100; }
.account-sidebar { display: flex; flex-direction: column; padding: 22px 16px; border-right: 2px solid #111; background: #111; color: #fff; }
.account-user-mini { display: flex; align-items: center; gap: 12px; padding: 5px 6px 24px; border-bottom: 1px solid #3d3d3d; }
.account-user-mini > span { display: grid; place-content: center; width: 46px; aspect-ratio: 1; flex: 0 0 46px; border-radius: 50%; background: #ffd100; color: #111; font-weight: 1000; }
.account-user-mini div { min-width: 0; display: grid; gap: 3px; }
.account-user-mini b, .account-user-mini small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-user-mini small { color: #aaa; }
.account-sidebar nav { display: grid; gap: 6px; margin-top: 22px; }
.account-sidebar nav button { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border: 0; border-radius: 3px; background: transparent; color: #ddd; font: inherit; font-weight: 850; text-align: left; cursor: pointer; }
.account-sidebar nav button > span { display: grid; place-content: center; width: 30px; height: 30px; border: 1px solid #555; border-radius: 50%; font-size: 11px; font-weight: 1000; }
.account-sidebar nav button:hover, .account-sidebar nav button.is-active { background: #ffd100; color: #111; transform: translateX(3px); }
.account-sidebar nav button.is-active > span { border-color: #111; background: #fff; }
.account-side-support { display: grid; gap: 7px; margin-top: auto; padding: 18px 8px; border-top: 1px solid #3d3d3d; }
.account-side-support a { color: #ffd100; font-size: 12px; overflow-wrap: anywhere; }
.account-logout { min-height: 42px; border: 1px solid #555; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

.account-workspace { min-width: 0; padding: clamp(20px, 4vw, 50px); background: #fafafa; }
.account-workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.account-workspace-head h1 { margin: 4px 0 0; font-size: clamp(34px, 4vw, 60px); line-height: 1; letter-spacing: 0; }
.wallet-chip { min-width: 150px; display: grid; gap: 2px; padding: 13px 18px; border: 2px solid #111; background: #fff; box-shadow: 4px 4px 0 #ffd100; }
.wallet-chip span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.wallet-chip b { font-size: 24px; }
.account-view { display: none; animation: account-view-in .25s ease-out; }
.account-view.is-active { display: block; }
@keyframes account-view-in { from { opacity: 0; transform: translateY(8px); } }

.account-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.account-stat-grid article { min-height: 140px; display: grid; align-content: space-between; padding: 20px; border: 2px solid #111; background: #fff; box-shadow: 4px 4px 0 #ddd; }
.account-stat-grid article.yellow { background: #ffd100; box-shadow: 4px 4px 0 #111; }
.account-stat-grid span { font-size: 13px; font-weight: 900; text-transform: uppercase; }
.account-stat-grid b { font-size: 40px; line-height: 1; }
.account-stat-grid small { color: #666; font-weight: 700; }
.account-stat-grid .yellow small { color: #111; }

.account-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 30px 0 16px; }
.account-section-head h2 { margin: 0 0 4px; font-size: clamp(25px, 3vw, 38px); letter-spacing: 0; }
.account-section-head p { margin: 0; color: #666; }
.account-section-head a, .account-section-head button { border: 0; background: transparent; color: #111; font: inherit; font-weight: 1000; text-decoration: underline 3px #ffd100; text-underline-offset: 5px; cursor: pointer; }
.esim-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 370px), 1fr)); gap: 18px; }
.esim-control-card { position: relative; min-height: 360px; padding: 22px; overflow: hidden; border: 2px solid #111; background: #fff; box-shadow: 5px 5px 0 #111; }
.esim-control-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -56px; top: -54px; border-radius: 50%; background: #ffd100; z-index: 0; }
.esim-control-card > * { position: relative; z-index: 1; }
.esim-control-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.country-code { display: grid; place-content: center; min-width: 46px; height: 34px; padding: 0 8px; border: 2px solid #111; background: #ffd100; font-weight: 1000; }
.esim-control-card h3 { max-width: 70%; margin: 20px 0; font-size: 25px; letter-spacing: 0; }
.esim-control-card .usage-ring { position: absolute; right: 24px; top: 105px; display: grid; place-content: center; text-align: center; background: conic-gradient(#ffd100 calc(var(--usage) * 1%), #e5e5e5 0); }
.esim-control-card .usage-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.esim-control-card .usage-ring b, .esim-control-card .usage-ring span { position: relative; z-index: 1; }
.esim-control-card .usage-ring span { font-size: 10px; font-weight: 800; }
.usage-copy { display: flex; align-items: baseline; gap: 7px; margin-top: 60px; }
.usage-copy b { font-size: 30px; }
.usage-copy span { color: #666; }
.esim-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; padding-top: 14px; border-top: 1px dashed #aaa; }
.esim-meta span { display: grid; gap: 4px; color: #666; font-size: 11px; text-transform: uppercase; }
.esim-meta b { max-width: 190px; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-actions { display: flex; gap: 10px; }
.card-actions > * { flex: 1; }
.account-empty { min-height: 290px; display: grid; place-content: center; justify-items: center; padding: 32px; border: 2px dashed #aaa; background: #fff; text-align: center; }
.account-empty > span { display: grid; place-content: center; width: 70px; aspect-ratio: 1; border: 2px solid #111; background: #ffd100; transform: rotate(-6deg); font-weight: 1000; }
.account-empty h3 { margin: 20px 0 4px; font-size: 25px; }
.account-empty p { max-width: 470px; color: #666; }
.account-empty.compact { min-height: 170px; }

.payment-list, .account-plan-list { display: grid; gap: 9px; }
.payment-row, .account-plan-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 78px; padding: 12px 16px; border: 1px solid #ccc; background: #fff; color: #111; text-decoration: none; transition: .18s ease; }
.payment-row:hover, .account-plan-card:hover { border-color: #111; transform: translateX(4px); box-shadow: -4px 0 0 #ffd100; }
.payment-mark, .account-plan-card > span { display: grid; place-content: center; width: 44px; height: 38px; border: 2px solid #111; background: #ffd100; font-size: 12px; font-weight: 1000; }
.payment-row > div, .account-plan-card > div { min-width: 0; display: grid; gap: 5px; }
.payment-row small, .account-plan-card small { color: #666; }
.payment-row > div:last-child { justify-items: end; }
.payment-row > div:last-child span { color: #188047; font-size: 12px; font-weight: 800; }
.account-plan-card > strong { font-size: 20px; }

.referral-hero { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(24px, 5vw, 54px); border: 2px solid #111; background: #ffd100; box-shadow: 6px 6px 0 #111; }
.referral-hero h2 { max-width: 760px; margin: 8px 0 14px; font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: 0; }
.referral-hero p { max-width: 720px; line-height: 1.5; }
.referral-code { min-width: 235px; display: grid; gap: 9px; padding: 20px; border: 2px solid #111; background: #fff; transform: rotate(2deg); box-shadow: 5px 5px 0 #111; }
.referral-code b { font-size: 26px; }
.referral-code button { min-height: 42px; border: 0; background: #111; color: #ffd100; font: inherit; font-weight: 900; cursor: pointer; }
.referral-stats { margin-top: 30px; }
.legal-note { padding: 20px; border-left: 6px solid #ffd100; background: #fff; }

.install-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install-choice article { min-height: 260px; display: flex; flex-direction: column; padding: 24px; border: 2px solid #111; background: #fff; }
.install-choice article > span { display: grid; place-content: center; width: 48px; aspect-ratio: 1; border-radius: 50%; background: #ffd100; font-weight: 1000; }
.install-choice h3 { font-size: 27px; margin: 25px 0 8px; }
.install-choice p { color: #666; line-height: 1.5; }
.install-choice a { margin-top: auto; color: #111; font-weight: 1000; text-decoration-color: #ffd100; text-decoration-thickness: 3px; }
.install-card[id] { scroll-margin-top: 120px; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.settings-card { display: grid; align-content: start; gap: 16px; padding: 24px; border: 2px solid #111; background: #fff; box-shadow: 4px 4px 0 #ddd; }
.settings-card h2 { margin: 0 0 5px; font-size: 28px; }
.settings-card p { margin: 0; color: #666; }
.settings-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 2px solid #111; }
.settings-heading h2 { margin: 3px 0 8px; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: 0; }
.settings-heading > div > p:last-child { max-width: 620px; margin: 0; color: #666; }
.security-score { width: 138px; min-height: 108px; flex: 0 0 138px; display: grid; place-content: center; justify-items: center; border: 2px solid #111; background: #ffd100; box-shadow: 4px 4px 0 #111; }
.security-score b { font-size: 38px; line-height: 1; }
.security-score span { margin-top: 6px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.settings-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.identity-status { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 8px; border: 1px solid #aaa; background: #f2f2f2; color: #444; font-size: 11px; font-weight: 900; white-space: nowrap; }
.identity-status::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #777; }
.identity-status.is-ok { border-color: #168259; background: #effaf5; color: #0d6845; }
.identity-status.is-ok::before { background: #17a66f; }
.identity-status.is-pending { border-color: #d3aa00; background: #fff9da; color: #765f00; }
.identity-status.is-pending::before { background: #e3b900; }
.identity-current { display: grid; gap: 4px; padding: 12px 14px; border-left: 4px solid #ffd100; background: #f4f4f1; }
.identity-current span { color: #666; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.identity-current b { overflow-wrap: anywhere; }
.telegram-link-button { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 2px solid #111; background: #229ed9; color: #fff; font: inherit; cursor: pointer; box-shadow: 4px 4px 0 #111; }
.telegram-link-button span { display: grid; place-content: center; width: 31px; height: 31px; border-radius: 50%; background: #fff; color: #229ed9; font-weight: 1000; }
.telegram-link-button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #ffd100; }
.ghost-button.is-danger { color: #a02323; border-color: #a02323; }
.settings-card button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.password-rules { display: flex; flex-wrap: wrap; gap: 7px; }
.password-rules span { padding: 5px 8px; border: 1px solid #bbb; background: #f4f4f4; color: #777; font-size: 11px; font-weight: 850; }
.password-rules span::before { content: "○"; margin-right: 5px; }
.password-rules span.is-ok { border-color: #168259; background: #effaf5; color: #0d6845; }
.password-rules span.is-ok::before { content: "✓"; }
.session-current { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #ccc; background: #fafafa; }
.session-current div { display: grid; gap: 3px; }
.session-current small { color: #666; }
.session-dot { width: 12px; height: 12px; flex: 0 0 12px; border-radius: 50%; background: #17a66f; box-shadow: 0 0 0 5px #dff6ed; }
.identity-card > p { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #ddd; }
.identity-card > p b { color: #111; }
.legal-links { display: grid; }
.legal-links a { padding: 14px 0; border-bottom: 1px solid #ddd; color: #111; font-weight: 850; }
.account-mobile-nav { display: none; }
.account-mobile-more { display: none; }
.checkout-code-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-account-note { display: grid; gap: 4px; padding: 13px 15px; border-left: 5px solid #ffd100; background: #f4f4f4; }
.checkout-account-note span, .checkout-success-note { color: #555; font-size: 13px; line-height: 1.4; }

@media (max-width: 980px) {
  .account-page .topbar { display: none; }
  .account-page .page-main { width: 100%; padding: 0 0 88px; }
  .account-auth-shell { min-height: 100vh; grid-template-columns: 1fr; border: 0; box-shadow: none; }
  .auth-intro { min-height: 300px; padding: 34px 22px; }
  .auth-intro h1 { font-size: clamp(44px, 13vw, 70px); }
  .auth-card-v2 { width: calc(100% - 32px); margin: -24px auto 40px; position: relative; z-index: 1; background: #fff; }
  .account-app { display: block; min-height: 100vh; border: 0; box-shadow: none; }
  .account-sidebar { display: none; }
  .account-workspace { padding: 22px 16px 90px; }
  .account-workspace-head { align-items: flex-start; }
  .wallet-chip { min-width: 126px; padding: 10px 12px; }
  .wallet-chip b { font-size: 19px; }
  .account-stat-grid { grid-template-columns: 1fr 1fr; }
  .account-stat-grid article:last-child { grid-column: 1 / -1; }
  .install-choice { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-heading { align-items: flex-start; }
  .account-mobile-nav { position: fixed; z-index: 100; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); min-height: 66px; padding: 5px; border: 2px solid #111; background: #fff; box-shadow: 0 5px 0 #111; }
  .account-mobile-nav button { min-width: 0; display: grid; place-content: center; justify-items: center; gap: 4px; border: 0; background: transparent; color: #666; font: inherit; cursor: pointer; }
  .account-mobile-nav button > span { display: grid; place-content: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 50%; font-size: 10px; font-weight: 1000; }
  .account-mobile-nav button small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 800; }
  .account-mobile-nav button.is-active { color: #111; }
  .account-mobile-nav button.is-active > span { background: #ffd100; }
  .account-mobile-more { position: fixed; z-index: 99; left: 16px; right: 16px; bottom: 82px; display: grid; padding: 8px; border: 2px solid #111; background: #fff; box-shadow: 5px 5px 0 #111; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .18s ease; }
  .account-mobile-more.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .account-mobile-more button { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 0; border-bottom: 1px solid #ddd; background: #fff; color: #111; font: inherit; text-align: left; }
  .account-mobile-more button:last-child { border-bottom: 0; }
  .account-mobile-more button > span { display: grid; place-content: center; width: 30px; height: 30px; border-radius: 50%; background: #ffd100; font-size: 11px; font-weight: 1000; }
  .account-page .floating-help { display: none; }
  .account-page .bot-launcher { display: none; }
}

@media (max-width: 620px) {
  .account-workspace-head h1 { font-size: 34px; }
  .account-workspace-head .section-kicker { display: none; }
  .account-stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .account-stat-grid article { min-height: 118px; padding: 14px; }
  .account-stat-grid article:last-child { grid-column: 1 / -1; }
  .account-stat-grid b { font-size: 31px; }
  .account-section-head { align-items: flex-start; }
  .account-section-head p { display: none; }
  .settings-heading { display: grid; }
  .security-score { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 10px; }
  .security-score span { margin: 0; }
  .settings-card-title { display: grid; }
  .identity-status { justify-self: start; }
  .esim-control-card { padding: 17px; }
  .esim-control-card .usage-ring { width: 88px; height: 88px; right: 17px; }
  .esim-control-card h3 { font-size: 21px; }
  .payment-row, .account-plan-card { grid-template-columns: auto minmax(0, 1fr); }
  .payment-row > div:last-child, .account-plan-card > strong { grid-column: 2; justify-items: start; }
  .referral-hero { grid-template-columns: 1fr; padding: 24px 18px; }
  .referral-code { min-width: 0; transform: none; }
  .checkout-code-row { grid-template-columns: 1fr; }
}

[hidden] {
  display: none !important;
}

.api-state {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  font-weight: 900;
}

.api-state.is-error {
  color: var(--white);
  background: var(--red);
}

.catalog-filter {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 0 0 20px;
  font-weight: 1000;
}

.catalog-filter input,
.checkout-field select,
.checkout-field input,
.auth-card input,
.mini-login input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--black);
  border-radius: 8px;
  color: var(--black);
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(5, 5, 5, 0.16);
  outline: none;
}

.catalog-filter input:focus,
.checkout-field select:focus,
.checkout-field input:focus,
.auth-card input:focus,
.mini-login input:focus {
  box-shadow: 4px 4px 0 var(--black);
}

.api-plan-card {
  background: var(--white);
}

.catalog-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.catalog-destination {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  color: var(--black);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--black);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.catalog-destination:hover,
.catalog-destination.is-active {
  background: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}

.catalog-destination > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 38px;
  border: 2px solid var(--black);
  border-radius: 6px;
  background: var(--paper-warm);
  font-size: 17px;
  font-weight: 1000;
}

.catalog-destination b,
.catalog-destination small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.destination-flag-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-width: 58px;
  height: 38px;
  padding: 0 6px;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 6px;
  background: var(--paper-warm);
}

.destination-flag-cluster img {
  display: block;
  margin-left: -7px;
  width: 26px;
  height: 18px;
  object-fit: cover;
  border: 1px solid rgba(5, 5, 5, 0.28);
  border-radius: 2px;
  box-shadow: 1px 0 0 rgba(5, 5, 5, 0.2);
}

.destination-flag-cluster img:first-child {
  margin-left: 0;
}

.destination-mark {
  display: grid;
  place-items: center;
  width: 58px;
  min-width: 58px;
  height: 38px;
  border: 2px solid var(--black);
  border-radius: 6px;
  color: var(--yellow);
  background: var(--black);
  font-size: 12px;
  font-weight: 1000;
}

.plan-destination-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.plan-destination-title b {
  min-width: 0;
  font-size: 15px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.catalog-coverage-panel,
.checkout-coverage-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--paper-warm);
  box-shadow: 4px 4px 0 var(--black);
}

.checkout-coverage-panel:empty,
.catalog-coverage-panel:empty {
  display: none;
}

.coverage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.coverage-heading div {
  display: grid;
  gap: 3px;
}

.coverage-heading span,
.checkout-subheading span {
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.coverage-heading b {
  font-size: 20px;
  line-height: 1.1;
}

.coverage-heading small,
.checkout-subheading small {
  color: rgba(5, 5, 5, 0.65);
  font-weight: 800;
}

.coverage-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 7px;
}

.country-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(5, 5, 5, 0.24);
  border-radius: 6px;
  background: var(--white);
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.country-chip img {
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  object-fit: cover;
  border: 1px solid rgba(5, 5, 5, 0.2);
  border-radius: 2px;
}

.coverage-more summary {
  width: fit-content;
  padding: 8px 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 950;
  cursor: pointer;
}

.coverage-more[open] summary {
  margin-bottom: 12px;
}

.catalog-destination b {
  font-size: 15px;
  line-height: 1.05;
}

.catalog-destination small {
  color: rgba(5, 5, 5, 0.66);
  font-weight: 800;
}

@media (max-width: 900px) {
  .catalog-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .catalog-destination-grid {
    grid-template-columns: 1fr;
  }
}

.plan-country-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 34px;
  margin-bottom: 12px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--black);
  font-size: 13px;
  font-weight: 1000;
}

.empty-card {
  padding: 22px;
  border: 2px dashed rgba(5, 5, 5, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.account-hero,
.account-dashboard {
  padding: 54px 0 80px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: center;
}

.account-hero h1,
.account-heading h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
}

.account-hero p,
.account-heading p {
  max-width: 680px;
  font-size: 18px;
  font-weight: 800;
}

.auth-card,
.account-panel,
.issued-profile-card {
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--black);
}

.real-qr-shell {
  display: grid;
  place-items: center;
  width: min(240px, 100%);
  aspect-ratio: 1;
  padding: 10px;
  border: 3px solid var(--black);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.real-esim-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.issuance-progress {
  display: grid;
  gap: 12px;
}

.issuance-progress h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
}

.issuance-timeline {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.issuance-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 2px solid var(--black);
  background: var(--white);
}

.issuance-step > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--yellow);
  background: var(--black);
  font-weight: 1000;
}

.issuance-step div { display: grid; gap: 3px; }
.issuance-step small { color: #5b5b5b; line-height: 1.35; }
.issuance-step.is-current { background: var(--paper-warm); box-shadow: 4px 4px 0 var(--yellow); }

.issuance-wait-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  border: 3px solid var(--black);
  background: var(--yellow);
  text-align: center;
  box-shadow: 6px 6px 0 var(--black);
}

.issuance-spinner {
  width: 52px;
  height: 52px;
  border: 6px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: issuanceSpin 0.8s linear infinite;
}

@keyframes issuanceSpin { to { transform: rotate(360deg); } }

.auth-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.auth-card label,
.mini-login label {
  display: grid;
  gap: 7px;
  font-weight: 1000;
}

.form-note {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
  color: rgba(5, 5, 5, 0.68);
}

.account-heading {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.account-panel {
  padding: 22px;
}

.panel-title,
.account-card-head,
.order-row-card {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.panel-title {
  margin-bottom: 18px;
}

.panel-title h2 {
  margin: 0;
}

.account-stack {
  display: grid;
  gap: 16px;
}

.account-esim-card,
.order-row-card {
  border: 2px solid var(--black);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(5, 5, 5, 0.18);
}

.account-esim-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.account-card-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.qr-preview-card {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.qr-live {
  width: 170px;
  height: 170px;
  background:
    linear-gradient(90deg, transparent 45%, var(--black) 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, var(--black) 45% 55%, transparent 55%),
    var(--white);
}

.code-stack {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.code-stack span,
.profile-details span,
.order-row-card small,
.order-row-card span {
  color: rgba(5, 5, 5, 0.62);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.code-stack code {
  display: block;
  max-width: 100%;
  padding: 9px;
  overflow-wrap: anywhere;
  border: 2px solid rgba(5, 5, 5, 0.18);
  border-radius: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.profile-details {
  display: grid;
  gap: 10px;
}

.profile-details p,
.order-row-card p {
  margin: 0;
}

.profile-details p {
  display: grid;
  gap: 4px;
}

.usage-meter {
  height: 14px;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.12);
}

.usage-meter span {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--yellow);
}

.order-row-card {
  padding: 14px;
}

.order-row-card div {
  display: grid;
  gap: 4px;
}

.order-row-card div:last-child {
  justify-items: end;
}

.live-checkout {
  align-items: start;
}

.live-checkout-card {
  display: grid;
  gap: 16px;
  background: var(--white);
}

.live-checkout-card form {
  display: grid;
  gap: 14px;
}

.checkout-note-list,
.mini-login,
.checkout-session,
.checkout-user {
  display: grid;
  gap: 10px;
}

.checkout-note-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.checkout-note-list span,
.checkout-user {
  padding: 10px 12px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(5, 5, 5, 0.18);
  font-weight: 1000;
}

.mini-login {
  padding: 14px;
  border: 2px dashed rgba(5, 5, 5, 0.36);
  border-radius: 8px;
  background: var(--paper);
}

.checkout-user span {
  font-size: 12px;
  font-weight: 1000;
  color: rgba(5, 5, 5, 0.62);
  text-transform: uppercase;
}

.issued-result {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  margin-bottom: 70px;
  background: var(--white);
}

.issued-profile-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 18px;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 5, 5, 0.62);
  cursor: pointer;
}

.qr-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  padding: 22px;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--yellow);
}

.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 38px;
  width: 38px;
  font-size: 24px;
}

.qr-modal-card h2 {
  max-width: calc(100% - 48px);
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 0.95;
}

.qr-modal-body {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.qr-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.is-telegram-miniapp {
  min-height: var(--tg-viewport-stable-height, 100vh);
  padding-bottom: calc(16px + var(--tg-safe-area-inset-bottom, 0px));
  background: var(--yellow);
}

body.is-telegram-miniapp .topbar {
  min-height: 72px;
  grid-template-columns: minmax(160px, 240px) 1fr;
  grid-template-areas: "logo actions";
}

body.is-telegram-miniapp .top-logo {
  height: 58px;
}

body.is-telegram-miniapp .nav-row {
  display: none;
}

body.is-telegram-miniapp .top-actions {
  justify-self: end;
}

body.is-telegram-miniapp .hero {
  min-height: auto;
  padding-top: 18px;
}

body.is-telegram-miniapp .floating-help {
  bottom: calc(18px + var(--tg-safe-area-inset-bottom, 0px));
}

body.is-telegram-miniapp .mobile-tabbar {
  padding-bottom: calc(10px + var(--tg-safe-area-inset-bottom, 0px));
}

.bot-launcher {
  position: fixed;
  right: 18px;
  bottom: calc(92px + var(--tg-safe-area-inset-bottom, 0px));
  z-index: 70;
}

.bot-launcher-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 52px;
  padding: 0 16px;
  border: 3px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--yellow);
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0;
}

.bot-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: rgba(5, 5, 5, 0.38);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.bot-sheet {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + var(--tg-safe-area-inset-bottom, 0px));
  display: grid;
  gap: 14px;
  width: min(390px, calc(100vw - 28px));
  padding: 16px;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--black);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.22s ease;
}

.bot-launcher.is-open .bot-sheet,
.bot-launcher.is-open .bot-sheet-backdrop {
  pointer-events: auto;
  opacity: 1;
}

.bot-launcher.is-open .bot-sheet {
  transform: translateY(0);
}

.bot-sheet-handle {
  justify-self: center;
  width: 54px;
  height: 6px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.18);
}

.bot-sheet-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.bot-sheet-head h2 {
  margin: 0;
  font-size: 31px;
  line-height: 0.95;
}

.bot-sheet-text {
  margin: 0;
  font-weight: 850;
}

.bot-sheet-status {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 2px dashed rgba(5, 5, 5, 0.32);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 1000;
}

.bot-sheet-status span {
  color: rgba(5, 5, 5, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.bot-sheet-actions {
  display: grid;
  gap: 10px;
}

.bot-sheet-action {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 2px solid var(--black);
  border-radius: 8px;
  color: var(--black);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--black);
  text-align: left;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.bot-sheet-action:hover,
.bot-sheet-action:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--black);
  outline: none;
}

.bot-sheet-action span {
  font-size: 13px;
  font-weight: 850;
}

.bot-sheet-action.is-disabled {
  color: rgba(5, 5, 5, 0.52);
  background: rgba(5, 5, 5, 0.08);
  cursor: not-allowed;
}

body.is-telegram-miniapp .bot-launcher {
  bottom: calc(74px + var(--tg-safe-area-inset-bottom, 0px));
}

@media (max-width: 860px) {
  .account-hero,
  .account-grid,
  .account-card-body,
  .issued-result {
    grid-template-columns: 1fr;
  }

  .account-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-note-list {
    grid-template-columns: 1fr;
  }

  .qr-live {
    width: 150px;
    height: 150px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

.texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 18px 18px, rgba(0, 0, 0, 0.2) 2px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px 22px);
  background-size: 58px 58px, 34px 34px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  width: min(1440px, calc(100% - 28px));
  margin: 0 auto;
}

main,
.site-footer {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(188px, 246px) minmax(0, 1fr) auto;
  grid-template-areas: "logo nav actions";
  column-gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 12px 0 13px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.topbar::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 209, 0, 0.18), transparent 28%, transparent 72%, rgba(255, 209, 0, 0.18)),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(5, 5, 5, 0.08);
  transform: translateX(-50%);
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--black) 0 18%, var(--yellow) 18% 32%, var(--black) 32% 100%);
  box-shadow: 0 4px 0 rgba(255, 209, 0, 0.28);
  transform: rotate(-0.18deg);
}

.top-logo {
  grid-area: logo;
  position: relative;
  isolation: isolate;
  display: block;
  width: min(100%, 246px);
  height: 70px;
  padding: 5px 8px;
  overflow: visible;
  border: 2px solid transparent;
  border-radius: 8px;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.top-logo::before {
  position: absolute;
  inset: 12px 4px 8px;
  z-index: -1;
  content: "";
  border: 2px solid var(--black);
  border-radius: 999px 8px 999px 8px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--black);
  transform: rotate(-2deg) scaleX(0.86);
  transform-origin: left center;
  opacity: 0.98;
}

.top-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 0 rgba(5, 5, 5, 0.12));
}

.top-logo:hover,
.top-logo:focus-visible {
  transform: translate(3px, 3px) rotate(-0.4deg);
  filter: saturate(1.08);
  outline: none;
}

.nav-row {
  grid-area: nav;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.desktop-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 11px 9px 37px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(5, 5, 5, 0.88);
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.desktop-nav a::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: var(--black);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.desktop-nav a::after {
  position: absolute;
  left: 6px;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  content: "•";
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--yellow);
  box-shadow: 2px 2px 0 rgba(5, 5, 5, 0.24);
  font-size: 13px;
  line-height: 1;
  transform: translateY(-50%) rotate(-8deg);
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

.desktop-nav a[href*="catalog"]::after {
  content: "⌕";
}

.desktop-nav a[href*="plans"]::after {
  content: "▦";
}

.desktop-nav a[href*="checkout"]::after {
  content: "€";
}

.desktop-nav a[href*="instructions"]::after {
  content: "↗";
}

.desktop-nav a[href*="reviews"]::after {
  content: "★";
}

.desktop-nav a[href*="support"]::after {
  content: "?";
}

.desktop-nav a[href*="about"]::after {
  content: "i";
}

.desktop-nav a[href*="faq"]::after {
  content: "i";
}

.desktop-nav a[href*="legal"]::after {
  content: "§";
}

.desktop-nav a[href*="turkey"]::after {
  content: "TR";
  font-size: 10px;
}

.desktop-nav a:hover::before,
.desktop-nav a:focus-visible::before {
  transform: translateY(0);
  opacity: 1;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--yellow);
  transform: translate(3px, 3px) rotate(-0.35deg);
  box-shadow: 1px 1px 0 rgba(5, 5, 5, 0.92);
  outline: none;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  color: var(--yellow);
  background: var(--black);
  transform: translateY(-50%) rotate(8deg) scale(1.08);
}

.nav-search-button {
  display: none !important;
}

.top-actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.account-entry {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 4px 4px 0 var(--yellow);
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.account-entry::before {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  content: "◉";
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.account-entry:hover,
.account-entry:focus-visible {
  color: var(--white);
  transform: translate(2px, 2px) rotate(-0.35deg);
  box-shadow: 2px 2px 0 var(--yellow);
  outline: none;
}

.account-entry:hover::before,
.account-entry:focus-visible::before {
  transform: rotate(16deg) scale(1.08);
}

.icon-button,
.language-toggle,
.primary-button,
.ghost-button,
.small-button,
.buy-button,
.esim-actions button {
  border: 2px solid var(--black);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--black);
}

.icon-button,
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  background: var(--white);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.icon-button {
  width: 42px;
  font-size: 24px;
  line-height: 1;
}

.icon-button:hover,
.icon-button:focus-visible,
.language-toggle:hover,
.language-toggle:focus-within {
  background: var(--yellow);
  transform: translate(2px, 2px) rotate(-0.35deg);
  box-shadow: 2px 2px 0 var(--black);
  outline: none;
}

.language-toggle {
  gap: 4px;
  padding: 4px;
}

.language-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
}

.language-toggle .is-active {
  color: var(--yellow);
  background: var(--black);
}

.topbar .language-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  box-shadow: 3px 3px 0 var(--black);
}

@media (max-width: 1320px) and (min-width: 981px) {
  .topbar {
    grid-template-columns: minmax(176px, 210px) minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .top-logo {
    width: min(100%, 210px);
  }

  .desktop-nav {
    gap: 5px;
  }

  .desktop-nav a {
    min-height: 40px;
    padding: 8px 8px 8px 32px;
    font-size: 11px;
  }

  .desktop-nav a::after {
    left: 5px;
    width: 22px;
    height: 22px;
  }

  .account-entry {
    min-height: 40px;
    padding: 0 10px;
  }

  .language-toggle {
    min-height: 40px;
  }

  .language-toggle span {
    min-width: 28px;
  }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(520px, 1.32fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 24px 0 54px;
}

.hero::before {
  position: absolute;
  inset: 0 -20px 26px;
  z-index: -1;
  content: "";
  border-radius: 0 0 8px 8px;
  background:
    radial-gradient(circle at 76% 45%, rgba(255, 209, 0, 0.18), transparent 22rem),
    var(--white);
  box-shadow: 0 0 0 100vmax var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: start;
  padding: 54px 0 32px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 16px;
  transform: translateY(-8px);
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 0.9;
  font-weight: 1000;
}

.hero-lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: #322900;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
  font-weight: 780;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero .hero-actions {
  display: none;
}

.primary-button,
.ghost-button,
.small-button,
.buy-button,
.esim-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  font-weight: 1000;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.primary-button,
.buy-button {
  color: var(--yellow);
  background: var(--black);
}

.ghost-button,
.small-button,
.esim-actions button {
  color: var(--black);
  background: var(--cream);
}

.magnetic:hover,
.magnetic:focus-visible,
.destination-card:hover,
.country-card:hover,
.plan-card:hover {
  transform: translate(4px, 4px) rotate(-0.5deg);
  box-shadow: 2px 2px 0 var(--black);
  outline: none;
}

.hero-art {
  position: relative;
  min-height: 610px;
  transform: translateX(34px);
}

.hero-logo {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.hero-logo {
  top: 8%;
  right: 14px;
  width: min(80%, 620px);
  filter: drop-shadow(0 22px 0 rgba(5, 5, 5, 0.12));
  transform: rotate(-3deg);
  animation: logoFloat 6s ease-in-out infinite;
}

.sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 52px;
  padding: 10px 14px;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  color: var(--black);
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--black);
  font-size: 24px;
  font-weight: 1000;
}

.sticker-one {
  top: 72%;
  left: 6%;
  transform: rotate(7deg);
}

.sticker-two {
  right: 1%;
  bottom: 11%;
  transform: rotate(-8deg);
}

.sticker-three {
  top: 6%;
  left: 14%;
  color: var(--yellow);
  background: var(--black);
  transform: rotate(-12deg);
}

.draw-line {
  position: absolute;
  z-index: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--black);
}

.line-one {
  right: 12%;
  bottom: 18%;
  width: 48%;
  transform: rotate(-7deg);
}

.line-two {
  top: 58%;
  left: 16%;
  width: 38%;
  transform: rotate(9deg);
}

.hero-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(520px, 100%);
  margin-top: 18px;
  min-height: 66px;
  padding: 12px 16px;
  border: 3px solid var(--black);
  border-radius: 999px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 6px 6px 0 rgba(5, 5, 5, 0.22);
  font-weight: 1000;
  transition: transform 0.22s ease;
}

.hero-search:hover {
  transform: translateY(-4px);
}

.hero-search b {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--black);
  background: var(--yellow);
}

.black-transition {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.black-transition::before,
.black-transition::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 24px;
  content: "";
  background: var(--yellow);
}

.black-transition::before {
  top: -13px;
  border-radius: 0 0 50% 50%;
}

.black-transition::after {
  bottom: -13px;
  border-radius: 50% 50% 0 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 22s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 78px;
  padding: 0 30px;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 1000;
  text-transform: uppercase;
}

.search-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: end;
  padding: 54px 0 22px;
  scroll-margin-top: 96px;
}

.section-intro h2,
.section-heading h2,
.product-copy h2,
.plans-copy h2,
.checkout-copy h2,
.pricing-band h2,
.support-panel h2 {
  margin: 0;
  font-size: clamp(31px, 4.6vw, 62px);
  line-height: 0.95;
  font-weight: 1000;
}

.section-intro p,
.product-copy p,
.plans-copy p,
.checkout-copy p,
.pricing-band p,
.support-panel p,
.muted,
.destination-card p,
.country-card p,
.plan-card p,
.order-item p {
  color: #3b3300;
  line-height: 1.5;
  font-weight: 740;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 0 18px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  box-shadow: 6px 6px 0 rgba(5, 5, 5, 0.26);
}

.search-box span {
  color: var(--yellow);
  font-size: 30px;
}

.search-box input {
  width: 100%;
  border: 0;
  color: var(--yellow);
  background: transparent;
  outline: none;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 950;
}

.search-box input::placeholder {
  color: rgba(255, 209, 0, 0.58);
}

.benefit-line {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.benefit-line div,
.product-copy,
.country-mockup,
.destination-card,
.country-card,
.plan-card,
.checkout-copy,
.checkout-mockup,
.install-card,
.order-item,
.plans-copy,
.active-esim,
.pricing-band,
.support-panel {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--black);
}

.benefit-line div {
  min-height: 112px;
  padding: 18px;
  background: var(--white);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.benefit-line div:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  background: var(--cream);
}

.benefit-line b {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 1000;
}

.benefit-line span {
  color: #4a3d00;
  font-weight: 780;
}

.search-section,
#popular,
.product-screen,
.countries-section,
.plans-layout,
.checkout-section,
.install-section,
.my-esims,
.reviews-section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

#popular,
.plans-layout,
.install-section,
.reviews-section {
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
}

.product-screen,
.checkout-section {
  background:
    linear-gradient(135deg, rgba(255, 209, 0, 0.13) 0 1px, transparent 1px 26px),
    var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
}

.product-screen,
.checkout-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.sticker-card,
.checkout-copy {
  position: relative;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.08) 0 1px, transparent 1px 18px),
    var(--yellow-hot);
  transform: rotate(-0.35deg);
}

.sticker-card::after,
.checkout-copy::after,
.install-card::after {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 46px;
  height: 14px;
  content: "";
  border: 2px solid var(--black);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  transform: rotate(8deg);
}

.sticker-card .ghost-button {
  margin-top: 18px;
}

.country-mockup,
.checkout-mockup {
  padding: 18px;
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 255, 255, 0.42), transparent 9rem),
    var(--white);
}

.country-mockup {
  display: grid;
  gap: 14px;
  transform: rotate(0.35deg);
}

.mockup-top,
.mockup-search,
.mockup-summary,
.checkout-head,
.checkout-row,
.checkout-total {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.mockup-top span,
.checkout-head span {
  font-size: 22px;
  font-weight: 1000;
}

.mockup-top b,
.checkout-head b {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 38px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

.mockup-search {
  min-height: 62px;
  padding: 0 18px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 4px 4px 0 var(--black);
}

.mockup-search span {
  font-size: 26px;
}

.mockup-search strong {
  flex: 1;
  font-size: 17px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mock-country {
  display: grid;
  gap: 8px;
  min-height: 176px;
  padding: 14px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 4px 4px 0 var(--black);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.mock-country:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  background: var(--yellow-hot);
}

.mock-country span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 1000;
}

.mock-country b {
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
}

.mock-country small {
  color: #514400;
  font-weight: 820;
}

.mock-country strong {
  margin-top: auto;
  font-size: 28px;
  line-height: 1;
  font-weight: 1000;
}

.mock-country.is-hot {
  color: var(--yellow);
  background: var(--black);
}

.mock-country.is-hot span {
  color: var(--black);
}

.mock-country.is-hot small {
  color: rgba(255, 209, 0, 0.76);
}

.mockup-summary {
  min-height: 58px;
  padding: 12px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow-hot);
}

.mockup-summary span {
  font-weight: 1000;
}

.checkout-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.checkout-copy {
  transform: rotate(0.3deg);
}

.checkout-mockup {
  display: grid;
  gap: 12px;
  transform: rotate(-0.25deg);
}

.checkout-row,
.checkout-total {
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 900;
}

.checkout-field {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow-hot);
}

.checkout-field span {
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.checkout-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  font-weight: 900;
}

.checkout-plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  max-height: none;
  padding-right: 0;
  overflow: visible;
}

.checkout-subheading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.checkout-subheading div {
  display: grid;
  gap: 2px;
}

.checkout-plan-option {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 12px;
  border: 2px solid var(--black);
  border-radius: 8px;
  color: var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(5, 5, 5, 0.2);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.checkout-plan-option:hover,
.checkout-plan-option.is-selected {
  background: var(--yellow);
  transform: translate(3px, 3px) rotate(-0.35deg);
  box-shadow: 1px 1px 0 var(--black);
}

.checkout-plan-option > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border: 2px solid var(--black);
  border-radius: 8px;
  color: var(--yellow);
  background: var(--black);
  font-size: 12px;
  font-weight: 1000;
}

.checkout-plan-option > .destination-flag-cluster {
  display: flex;
  width: 58px;
  min-width: 58px;
  height: 34px;
  color: var(--black);
  background: var(--paper-warm);
}

.checkout-plan-option > .destination-mark {
  width: 58px;
  min-width: 58px;
  height: 34px;
}

.checkout-coverage-panel {
  margin-bottom: 0;
  background: var(--white);
}

.checkout-plan-option b {
  font-size: 16px;
  line-height: 1.12;
}

.checkout-plan-option small {
  color: rgba(5, 5, 5, 0.66);
  font-weight: 850;
}

.checkout-plan-option strong {
  font-size: 19px;
  font-weight: 1000;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 2px solid var(--black);
  border-radius: 8px;
  color: var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.payment-method:hover,
.payment-method.is-selected {
  color: var(--yellow);
  background: var(--black);
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--black);
}

.payment-method .payment-flag {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 21px;
}

.payment-method b,
.payment-method small {
  line-height: 1.1;
}

.payment-method small {
  color: inherit;
  font-weight: 850;
  opacity: 0.8;
}

.payment-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.payment-row button {
  min-height: 44px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 3px 3px 0 var(--black);
  font-weight: 1000;
}

.payment-row .is-selected {
  color: var(--yellow);
  background: var(--black);
}

.checkout-total {
  color: var(--yellow);
  background: var(--black);
}

.checkout-total strong {
  font-size: 32px;
}

.install-section {
  padding: 28px 0 2px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.install-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 260px;
  padding: 22px;
  background:
    linear-gradient(115deg, rgba(255, 209, 0, 0.16) 0 1px, transparent 1px 20px),
    var(--black);
  color: var(--yellow);
  overflow: hidden;
}

.install-card:nth-child(2) {
  transform: rotate(0.4deg);
}

.install-card h3 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
}

.install-phone {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 210px;
  border: 3px solid var(--yellow);
  border-radius: 28px;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 8px 8px 0 rgba(255, 209, 0, 0.2);
  animation: phonePulse 3.6s ease-in-out infinite;
}

.android-phone {
  animation-delay: 0.8s;
}

.phone-notch {
  position: absolute;
  top: 10px;
  width: 52px;
  height: 10px;
  border-radius: 999px;
  background: var(--black);
}

.install-phone b {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 1000;
}

.install-phone i {
  position: absolute;
  right: -18px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--cream);
  font-style: normal;
  font-weight: 1000;
  transform: rotate(-12deg);
}

.install-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.install-steps li {
  position: relative;
  min-height: 48px;
  padding: 12px 12px 12px 48px;
  border: 2px solid rgba(255, 209, 0, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 209, 0, 0.12);
  color: var(--cream);
  font-weight: 820;
  counter-increment: setup;
}

.install-steps li::before {
  position: absolute;
  top: 9px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  content: counter(setup);
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-weight: 1000;
  animation: stepPop 2.8s ease-in-out infinite;
}

.install-steps li:nth-child(2)::before {
  animation-delay: 0.35s;
}

.install-steps li:nth-child(3)::before {
  animation-delay: 0.7s;
}

.section,
.about-section,
.product-screen,
.plans-layout,
.checkout-section,
.pricing-band,
.install-section,
.support-panel {
  margin-top: 42px;
  scroll-margin-top: 96px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  border: 3px solid var(--black);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0, rgba(255, 209, 0, 0.34), transparent 16rem),
    var(--white);
  box-shadow: 8px 8px 0 var(--black);
}

.about-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.about-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.92;
  font-weight: 1000;
}

.about-copy p {
  max-width: 620px;
  margin: 0;
  color: #3b3300;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 780;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-cards article {
  position: relative;
  min-height: 190px;
  padding: 16px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--black);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.about-cards article:hover {
  background: var(--yellow);
  transform: translate(4px, 4px) rotate(-0.35deg);
  box-shadow: 1px 1px 0 var(--black);
}

.about-cards span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--yellow);
  background: var(--black);
  font-weight: 1000;
}

.about-cards b {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 1000;
}

.about-cards p {
  margin: 0;
  color: #3b3300;
  line-height: 1.42;
  font-weight: 760;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-bottom: 4px solid var(--black);
  font-weight: 1000;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.destination-card,
.country-card,
.plan-card,
.order-item {
  background: var(--white);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.destination-card {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  padding: 18px;
}

.destination-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 84% 15%, rgba(255, 255, 255, 0.4), transparent 5rem),
    linear-gradient(135deg, rgba(5, 5, 5, 0.12) 0 1px, transparent 1px 16px);
}

.destination-art {
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--yellow);
  background: var(--black);
  font-size: 28px;
  font-weight: 1000;
  box-shadow: 3px 3px 0 rgba(5, 5, 5, 0.24);
}

.destination-card h3 {
  position: relative;
  z-index: 1;
  margin: 92px 0 8px;
  font-size: 28px;
  line-height: 0.95;
  font-weight: 1000;
}

.result-count {
  min-width: 54px;
  min-height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 1000;
}

.country-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.country-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  text-align: left;
}

.flag {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow-hot);
  font-size: 18px;
  font-weight: 1000;
}

.country-card h3,
.plan-card h3,
.active-esim h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1;
  font-weight: 1000;
}

.country-price {
  font-weight: 1000;
}

.plans-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.plans-copy {
  position: sticky;
  top: 106px;
  padding: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.38), transparent 8rem),
    var(--yellow-hot);
}

.plan-stack {
  display: grid;
  gap: 12px;
}

.plan-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.plan-meta span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(5, 5, 5, 0.2);
  border-radius: 999px;
  background: var(--yellow-hot);
  color: var(--black);
  font-size: 13px;
  font-weight: 1000;
}

.plan-buy {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.plan-price {
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
}

.pricing-band {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  color: var(--yellow);
  background:
    linear-gradient(115deg, rgba(255, 209, 0, 0.22) 0 1px, transparent 1px 24px),
    var(--black);
}

.pricing-band img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  filter: drop-shadow(8px 10px 0 rgba(255, 209, 0, 0.18));
}

.pricing-band .section-kicker,
.pricing-band h2,
.pricing-band p {
  color: var(--yellow);
}

.price-demo {
  display: grid;
  min-width: 200px;
  padding: 20px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  color: var(--black);
  text-align: center;
  background: var(--yellow);
  box-shadow: 5px 5px 0 rgba(255, 209, 0, 0.25);
}

.price-demo strong {
  font-size: 46px;
  line-height: 1;
  font-weight: 1000;
}

.price-demo small,
.price-demo span {
  font-weight: 1000;
}

.active-esim {
  padding: 20px;
  color: var(--yellow);
  background:
    linear-gradient(115deg, rgba(255, 209, 0, 0.18) 0 1px, transparent 1px 20px),
    var(--black);
}

.active-esim-top,
.usage-row,
.esim-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.active-esim-top {
  margin-bottom: 18px;
}

.active-esim .muted,
.active-esim p {
  color: rgba(255, 209, 0, 0.72);
}

.usage-ring {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #151515 58%, transparent 59%),
    conic-gradient(var(--yellow) calc(var(--value) * 1%), rgba(255, 255, 255, 0.16) 0);
}

.usage-ring span {
  color: var(--yellow);
  font-size: 26px;
  font-weight: 1000;
}

.esim-actions {
  justify-content: flex-start;
  margin-top: 20px;
}

.order-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.order-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.order-status {
  color: var(--green);
  font-weight: 1000;
}

.support-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 160px auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 42px;
  padding: 24px;
  overflow: hidden;
  background: var(--yellow-hot);
}

.reviews-section {
  margin-top: 42px;
  padding: 26px 0 8px;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  scroll-margin-top: 96px;
}

.review-controls {
  display: flex;
  gap: 8px;
}

.review-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 4px 4px 0 var(--black);
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--black) var(--yellow-hot);
}

.review-card {
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 18px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: rgba(255, 243, 160, 0.52);
  box-shadow: 5px 5px 0 var(--black);
  scroll-snap-align: start;
}

.review-card:hover {
  transform: translateY(-4px) rotate(-0.35deg);
  background: var(--cream);
}

.review-card p {
  margin: 0;
  color: #2f2800;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 780;
}

.review-person {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--yellow);
  background: var(--black);
  font-weight: 1000;
}

.review-person b,
.review-person span {
  display: block;
}

.review-person span {
  color: #514400;
  font-size: 13px;
  font-weight: 820;
}

.review-stars {
  color: var(--black);
  font-weight: 1000;
}

.site-footer {
  margin-bottom: 98px;
  padding: 30px 0 24px;
  border-top: 3px solid var(--black);
}

.footer-brand,
.footer-links,
.footer-bottom {
  display: grid;
  gap: 18px;
}

.footer-brand {
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) auto;
  align-items: center;
  padding: 20px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  transform: rotate(-0.2deg);
}

.footer-brand img {
  width: 100%;
  max-height: 108px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 7px 0 rgba(5, 5, 5, 0.12));
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
  color: #3b3300;
  font-weight: 820;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 4px 4px 0 var(--black);
  font-weight: 1000;
}

.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px 0;
}

.footer-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
}

.footer-links div:nth-child(2) {
  transform: rotate(0.25deg);
}

.footer-links h3 {
  width: 100%;
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--paper-warm);
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.footer-links a:hover {
  transform: translateY(-3px);
  background: var(--cream);
}

.footer-bottom {
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
  font-weight: 1000;
}

.support-panel img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(8px 9px 0 rgba(5, 5, 5, 0.14));
}

.support-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.support-contacts a,
.support-page-hero a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--black);
  font-weight: 1000;
}

.floating-help {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: none;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 8px 14px 8px 8px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 5px 5px 0 rgba(5, 5, 5, 0.28);
  font-weight: 1000;
}

.floating-help span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
}

.mobile-tabbar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: min(440px, calc(100% - 24px));
  margin: 0 auto;
  padding: 8px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: rgba(255, 209, 0, 0.94);
  box-shadow: 5px 5px 0 var(--black);
  backdrop-filter: blur(14px);
}

.mobile-tabbar a {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 1000;
}

.mobile-tabbar span {
  font-size: 22px;
  line-height: 1;
}

.mobile-tabbar small {
  font-size: 11px;
}

.mobile-tabbar .is-active {
  color: var(--yellow);
  background: var(--black);
}

.inner-page {
  background:
    linear-gradient(180deg, var(--yellow) 0 160px, var(--paper) 160px 100%);
}

.page-main {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
}

.page-hero,
.country-detail-hero,
.support-page-hero,
.post-payment-screen,
.directory-band,
.plans-page-section,
.info-grid-section,
.faq-list,
.legal-page > section {
  margin-top: 42px;
  padding: 28px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
}

.compact-hero,
.country-detail-hero,
.support-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 209, 0, 0.36), transparent 9rem),
    var(--white);
}

.page-hero h1,
.country-detail-hero h1,
.support-page-hero h1,
.page-checkout h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.9;
  font-weight: 1000;
}

.page-hero p,
.country-detail-hero p,
.support-page-hero p,
.post-payment-screen p,
.info-grid-section p,
.legal-page p {
  color: #3b3300;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 780;
}

.compact-hero img,
.support-page-hero img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(7px 8px 0 rgba(5, 5, 5, 0.14));
}

.directory-grid,
.page-plan-grid,
.info-grid-section,
.support-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.directory-card,
.support-cases article,
.info-grid-section article,
.faq-list details {
  padding: 18px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--paper-warm);
  box-shadow: 4px 4px 0 var(--black);
}

.directory-card {
  display: grid;
  gap: 10px;
  min-height: 160px;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.directory-card:hover {
  transform: translate(3px, 3px) rotate(-0.35deg);
  background: var(--white);
}

.directory-card.is-featured {
  color: var(--yellow);
  background: var(--black);
}

.directory-card.is-featured small {
  color: rgba(255, 209, 0, 0.72);
}

.directory-card b,
.support-cases b {
  display: block;
  font-size: 26px;
  line-height: 1;
  font-weight: 1000;
}

.directory-card small,
.support-cases span {
  color: #514400;
  font-weight: 820;
}

.directory-card.is-featured .flag {
  color: var(--black);
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.country-detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.big-flag {
  display: inline-grid;
  width: 70px;
  height: 70px;
  vertical-align: middle;
}

.coverage-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow-hot);
  box-shadow: 5px 5px 0 var(--black);
  transform: rotate(0.6deg);
}

.country-side-card {
  display: grid;
  gap: 14px;
}

.country-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.country-quick-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(5, 5, 5, 0.22);
  font-weight: 1000;
}

.mini-checkout-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.mini-checkout-card span {
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.mini-checkout-card b {
  font-size: 20px;
}

.mini-checkout-card strong {
  color: var(--yellow);
  border-radius: 8px;
  background: var(--black);
  padding: 8px 10px;
  font-size: 34px;
  font-weight: 1000;
}

.coverage-card b {
  font-size: 15px;
  text-transform: uppercase;
}

.coverage-card span {
  font-size: 20px;
  font-weight: 900;
}

.page-checkout {
  margin-top: 42px;
}

.post-payment-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: center;
}

.qr-demo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 180px;
  height: 180px;
  padding: 16px;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.qr-demo span {
  background: var(--black);
}

.qr-demo b {
  position: absolute;
  inset: 62px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  background: var(--black);
  font-weight: 1000;
}

.faq-list {
  display: grid;
  gap: 12px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 1000;
}

.faq-list p {
  margin-bottom: 0;
}

.support-page-hero {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.support-cases {
  margin-top: 18px;
}

.legal-page {
  padding-bottom: 60px;
}

.legal-page > section {
  scroll-margin-top: 120px;
}

.compact-footer {
  margin-top: 42px;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-1.4deg) translateY(-13px);
  }
}

@keyframes characterFloat {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-16px) rotate(-1deg);
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes phonePulse {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes stepPop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .topbar,
  main,
  .site-footer {
    width: min(720px, calc(100% - 20px));
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
    column-gap: 10px;
    row-gap: 8px;
    min-height: auto;
  }

  .top-logo {
    width: min(100%, 260px);
    height: 66px;
  }

  .nav-row {
    justify-content: flex-start;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .search-section,
  .product-screen,
  .plans-layout,
  .checkout-section,
  .pricing-band,
  .install-grid,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero::before {
    inset: 0 -12px 42px;
  }

  .hero-art {
    min-height: 520px;
    transform: none;
  }

  .hero-logo {
    top: 0;
    left: 0;
    right: auto;
    width: min(100%, 650px);
  }

  .hero-search {
    margin-top: 18px;
  }

  .plans-copy {
    position: static;
  }

  .product-copy,
  .checkout-copy,
  .country-mockup,
  .checkout-mockup,
  .install-card {
    transform: none;
  }

  .destination-grid,
  .country-list,
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .mockup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .install-card {
    grid-template-columns: 132px 1fr;
  }

  .pricing-band img,
  .support-panel img {
    width: 130px;
    height: 130px;
  }

  .mobile-tabbar {
    display: grid;
  }

  .floating-help {
    bottom: 88px;
  }

  .footer-brand,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: start;
  }

  .footer-brand img {
    max-width: 360px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .page-main {
    width: min(720px, calc(100% - 20px));
  }

  .compact-hero,
  .country-detail-hero,
  .support-page-hero,
  .post-payment-screen,
  .directory-grid,
  .page-plan-grid,
  .info-grid-section,
  .support-cases {
    grid-template-columns: 1fr;
  }

  .compact-hero img,
  .support-page-hero img {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 560px) {
  .topbar,
  main,
  .site-footer {
    width: min(100% - 16px, 430px);
  }

  .topbar {
    top: 0;
    gap: 8px;
    min-height: auto;
    padding-top: 8px;
  }

  .top-logo {
    width: min(100%, 210px);
    height: 54px;
  }

  .icon-button {
    width: 38px;
    min-height: 38px;
  }

  .language-toggle {
    min-height: 38px;
  }

  .account-entry {
    min-height: 38px;
    padding: 0 11px;
    box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.84);
    font-size: 12px;
  }

  .account-entry::before {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    font-size: 9px;
  }

  .language-toggle span {
    min-width: 30px;
    height: 27px;
  }

  .hero {
    gap: 4px;
    padding: 18px 0 30px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 65px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-button,
  .ghost-button,
  .small-button,
  .buy-button,
  .esim-actions button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-logo {
    top: 0;
    width: 104%;
  }

  .sticker {
    min-width: 58px;
    min-height: 42px;
    font-size: 18px;
  }

  .sticker-one {
    top: 70%;
    left: 0;
  }

  .sticker-two {
    right: 1%;
    bottom: 8%;
  }

  .sticker-three {
    top: 4%;
    left: 2%;
  }

  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .product-screen,
  .checkout-section {
    gap: 12px;
  }

  .about-section {
    padding: 16px;
  }

  .about-copy h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .sticker-card,
  .checkout-copy,
  .country-mockup,
  .checkout-mockup,
  .install-card {
    padding: 16px;
  }

  .mockup-grid,
  .payment-row,
  .payment-methods,
  .checkout-plan-options {
    grid-template-columns: 1fr;
  }

  .mock-country {
    min-height: 128px;
  }

  .mockup-summary,
  .checkout-head,
  .checkout-row,
  .checkout-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .install-card {
    grid-template-columns: 1fr;
  }

  .install-phone {
    width: 118px;
    height: 178px;
  }

  .page-main {
    width: min(100% - 16px, 430px);
  }

  .page-hero,
  .country-detail-hero,
  .support-page-hero,
  .post-payment-screen,
  .directory-band,
  .plans-page-section,
  .info-grid-section,
  .faq-list,
  .legal-page > section {
    margin-top: 24px;
    padding: 16px;
  }

  .page-hero h1,
  .country-detail-hero h1,
  .support-page-hero h1,
  .page-checkout h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .big-flag {
    width: 52px;
    height: 52px;
  }

  .mini-checkout-card {
    position: static;
  }

  .post-payment-screen {
    justify-items: start;
  }

  .ticker-track span {
    min-height: 62px;
    padding: 0 20px;
    font-size: 15px;
  }

  .search-section,
  .section,
  .reviews-section,
  .plans-layout,
  .pricing-band,
  .support-panel {
    margin-top: 26px;
  }

  .search-section {
    padding-top: 32px;
  }

  .section-intro h2,
  .section-heading h2,
  .plans-copy h2,
  .pricing-band h2,
  .support-panel h2 {
    font-size: 31px;
  }

  .search-box {
    min-height: 62px;
    padding: 0 14px;
    border-radius: 22px;
  }

  .benefit-line,
  .destination-grid,
  .country-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .reviews-track {
    grid-auto-columns: minmax(260px, 86vw);
  }

  .destination-card {
    min-height: 160px;
  }

  .destination-card h3 {
    margin-top: 58px;
  }

  .country-card,
  .order-item {
    grid-template-columns: auto 1fr;
  }

  .country-price,
  .order-status {
    grid-column: 2;
    justify-self: start;
  }

  .plan-card {
    grid-template-columns: 1fr;
  }

  .plan-buy {
    justify-items: stretch;
  }

  .plan-price {
    font-size: 31px;
  }

  .pricing-band,
  .support-panel,
  .active-esim,
  .plans-copy {
    padding: 18px;
  }

  .pricing-band img,
  .support-panel img {
    width: 112px;
    height: 112px;
  }

  .footer-brand,
  .footer-bottom {
    gap: 14px;
  }

  .footer-brand img {
    max-height: 86px;
  }

  .footer-links div {
    align-items: flex-start;
  }

  .price-demo {
    min-width: 100%;
  }

  .active-esim-top,
  .usage-row,
  .esim-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .usage-ring {
    width: 100px;
    height: 100px;
  }
}
