:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #52615a;
  --line: #d7e2dc;
  --paper: #f7faf8;
  --white: #ffffff;
  --green: #116b4f;
  --green-dark: #063f31;
  --blue: #1769aa;
  --gold: #b77a16;
  --soft-green: #e7f3ed;
  --soft-blue: #e8f1fa;
  --soft-gold: #fff3db;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 12px 0 0 var(--blue), 24px 0 0 var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

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

nav a:hover {
  color: var(--ink);
}

.nav-button {
  padding: 8px 12px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(20px, 6vw, 80px) 70px;
  overflow: hidden;
  background: #12241f;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 18, 0.94), rgba(8, 23, 18, 0.72) 48%, rgba(8, 23, 18, 0.2)),
    url("./assets/esim-preview.jpg") center / cover;
  transform: scale(1.03);
}

.hero-copy {
  position: relative;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions,
.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: #f4c15d;
  color: #1e1605;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
  margin-top: 34px;
}

.hero-metrics span {
  display: flex;
  flex-direction: column;
  min-height: 82px;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-metrics strong {
  font-size: 28px;
  line-height: 1;
}

section:not(.hero) {
  padding: 76px clamp(18px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 36px;
  align-items: end;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.price-row article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card {
  min-height: 270px;
  padding: 20px;
}

.feature-card:nth-child(3n + 1) {
  background: var(--soft-green);
}

.feature-card:nth-child(3n + 2) {
  background: var(--soft-blue);
}

.feature-card:nth-child(3n) {
  background: var(--soft-gold);
}

.index {
  display: block;
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.feature-card p,
.section-heading p,
.price-row p,
.use-cases li,
.faq p,
footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.comparison-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.price-row article {
  padding: 20px;
}

.price-row span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.price-row strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.proof-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

figure img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #eef4f1;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.route-section {
  background: #eaf1ef;
}

.route-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.route-list span {
  padding: 12px 16px;
  border: 1px solid #aac2b8;
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
}

.use-cases {
  background: var(--green-dark);
  color: #fff;
}

.use-cases .eyebrow {
  color: #f4c15d;
}

.use-cases ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.use-cases li {
  min-height: 102px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

.faq {
  background: var(--white);
}

.faq details {
  max-width: 980px;
  padding: 18px 20px;
  margin: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.cta {
  justify-content: space-between;
  background: #152820;
  color: #fff;
}

.cta div {
  max-width: 800px;
}

.cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

footer {
  padding: 28px clamp(18px, 5vw, 72px);
  background: #0d1713;
}

footer p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-cases ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 720px;
    padding-top: 96px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 23, 18, 0.94), rgba(8, 23, 18, 0.76)),
      url("./assets/esim-preview.jpg") center / cover;
  }

  .hero-metrics,
  .intro-band,
  .price-row,
  .proof-images,
  .use-cases ul {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  figure img {
    height: 260px;
  }
}
