/* Storm SIM destination pages (`render.ts`). The shop's dark ground and cyan
   accent; a system font, since these pages load nothing but this file. */

:root {
  --bg: #0c1018;
  --surface: rgb(255 255 255 / 0.035);
  --edge: rgb(255 255 255 / 0.08);
  --ink: #ffffff;
  --ink-soft: rgb(255 255 255 / 0.78);
  --ink-muted: rgb(255 255 255 / 0.55);
  --accent: #22d3ee;
  --accent-ink: #04212a;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: radial-gradient(
      60% 40% at 50% 0%,
      rgb(34 211 238 / 0.12),
      transparent
    ),
    var(--bg);
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.top {
  display: flex;
  max-width: 52rem;
  margin: 0 auto;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
}

.brand img {
  border-radius: 8px;
}

.top-cta {
  font-size: 14px;
  font-weight: 600;
}

main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.crumbs {
  margin: 8px 0 24px;
  color: var(--ink-muted);
  font-size: 14px;
}

.crumbs a {
  color: var(--ink-muted);
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

section {
  margin-top: 40px;
}

/* The shop's own opening card (`esim-hero.tsx`): a cyan glow from the top
   right, a cooler one opposite, and signal rings spreading from the corner. */
.hero {
  position: relative;
  margin-top: 0;
  padding: 32px 20px 24px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 28px;
  background: radial-gradient(
      120% 100% at 100% 0%,
      rgb(34 211 238 / 0.16),
      transparent 55%
    ),
    radial-gradient(
      90% 90% at 0% 100%,
      rgb(56 189 248 / 0.08),
      transparent 60%
    ),
    rgb(255 255 255 / 0.025);
}

@media (min-width: 640px) {
  .hero {
    padding: 44px 32px 32px;
  }
}

.hero > :not(.rings) {
  position: relative;
}

.rings {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  pointer-events: none;
  background: repeating-radial-gradient(
    circle at center,
    rgb(34 211 238 / 0.2) 0 1px,
    transparent 1px 30px
  );
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 68%);
  mask-image: radial-gradient(circle at center, #000, transparent 68%);
}

.hero h1 {
  display: flex;
  margin: 0 0 12px;
  align-items: center;
  gap: 14px;
  font-size: clamp(2.125rem, 6vw, 2.875rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero h1 .flag {
  flex-shrink: 0;
}

.lead {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.from {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.from strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.facts {
  display: flex;
  margin: 24px 0 0;
  padding: 18px 0 0;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-top: 1px solid var(--edge);
  color: var(--ink-muted);
  font-size: 14px;
  list-style: none;
}

.facts strong {
  color: var(--ink);
  font-weight: 600;
}

.cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.plans {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.plans th,
.plans td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--edge);
  text-align: left;
}

.plans th {
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plans td:last-child,
.plans th:last-child {
  text-align: right;
}

.plans tbody tr:last-child td {
  border-bottom: 0;
}

.note,
.more {
  color: var(--ink-muted);
  font-size: 14px;
}

.steps,
.why {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.steps li,
.why li {
  margin-bottom: 8px;
}

.steps strong,
.why strong {
  color: var(--ink);
}

.dest-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 8px;
  list-style: none;
}

.dest-grid a {
  display: grid;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

.dest-grid a:hover {
  border-color: rgb(34 211 238 / 0.4);
  text-decoration: none;
}

.dest-grid .flag {
  grid-row: span 2;
  border-radius: 4px;
}

.dest-grid span {
  font-weight: 600;
  line-height: 1.3;
}

.dest-grid small {
  color: var(--ink-muted);
  font-size: 13px;
}

.covered {
  margin: 0;
  padding: 0;
  columns: 3 10rem;
  list-style: none;
  color: var(--ink-soft);
}

.faq details {
  border-bottom: 1px solid var(--edge);
}

.faq summary {
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.foot {
  max-width: 52rem;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--edge);
  color: var(--ink-muted);
  font-size: 14px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

/* The rest of a long plan list, one tap away (no script). */
.all-plans {
  margin-top: 4px;
}

.all-plans summary {
  padding: 12px 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.all-plans summary::-webkit-details-marker {
  display: none;
}

.all-plans[open] summary {
  margin-bottom: 4px;
}
