/* Hopwell eSIM. One green, one typeface, and a single showpiece: the foil eSIM card.
   Everything else stays flat and quiet so the card and the price are what you look at.
   Class names for the builder, the card and the trip cards come from site.js; the
   page shell and the long-form pages come from tools/build.py. */

@font-face {
  font-family: Figtree; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Figtree; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #2BE080;
  --green-hi: #4BEB96;
  --deep: #0A3A2A;
  --ink: #06231A;
  --paper: #FBFCF7;
  --leaf: #E3F6E4;
  --leaf-hi: #D6F1D8;
  --muted: #44604F;
  --line: #CFE2D2;
  --mint: #CFE6D6;
  --gutter: clamp(16px, 4vw, 56px);
  --font: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.result :focus-visible, .foot :focus-visible { outline-color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 20; background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.in { max-width: 1240px; margin: 0 auto; }

/* ------------------------------------------------------------ bar and hero */

.top { background: var(--green); padding: 0 var(--gutter); }
.bar { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
  gap: 8px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 22px; font-weight: 800;
  letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo svg { width: 30px; height: 18px; flex: none; overflow: visible; }
.nav { display: flex; gap: 4px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.nav a { padding: 12px 10px; border-radius: 999px; text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.hero { background: var(--green); padding: 0 var(--gutter) 64px; position: relative; overflow: hidden; }
.hero.lift { padding-bottom: 170px; }
.hero-in { max-width: 1240px; margin: 0 auto; position: relative; }
.hero h1 { position: relative; z-index: 2; margin: 22px 0 20px; max-width: 7.6em; font-size: clamp(42px, 7.2vw, 100px);
  line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; text-wrap: balance; }
.hero-dest h1 { max-width: 9.2em; }
.hero-dest h1.long { font-size: clamp(38px, 5.6vw, 78px); max-width: 10.5em; }
.back + h1 { margin-top: 10px; }
.lede { position: relative; z-index: 2; max-width: 29em; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.42; font-weight: 500; }
.hop { position: absolute; right: 0; bottom: 30px; z-index: 1; width: min(430px, 32vw); overflow: visible; }
.hero-dest .hop { width: min(360px, 27vw); }
.js [data-ball] { visibility: hidden; }
.back { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px;
  font-size: 16px; font-weight: 600; text-decoration: none; }
.back svg { width: 16px; height: 16px; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The white sheet that rides up over the green. */
.lifted { padding: 0 var(--gutter); margin-top: -128px; position: relative; z-index: 3; }
.sheet { max-width: 1240px; margin: 0 auto; background: #fff; border-radius: 30px; padding: 26px;
  box-shadow: 0 40px 70px -40px rgba(6, 35, 26, 0.55), 0 0 0 1px rgba(6, 35, 26, 0.06); }

/* ------------------------------------------------------------ trip builder */

.b-label { margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--muted); }
.b-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 4px; }
.stops { display: contents; }
.chip { display: inline-flex; align-items: center; gap: 2px; background: var(--leaf); border-radius: 999px;
  padding: 2px 2px 2px 18px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -0.025em; white-space: nowrap; }
.chip button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font: 500 22px/1 system-ui, sans-serif; cursor: pointer; }
.chip button:hover { background: #fff; color: var(--ink); }
.leg { display: inline-flex; align-items: center; white-space: nowrap; }
.b-stops .leg { gap: 4px; }
.arc { width: 46px; height: 24px; flex: none; margin: 0 2px; overflow: visible; }

.add { position: relative; display: inline-flex; }
.add > svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; }
.add input { width: 12.5em; max-width: 100%; padding: 12px 18px 12px 44px; border: 2px solid var(--ink); border-radius: 999px;
  background: #fff; font: 600 19px/1.2 var(--font); letter-spacing: -0.01em; }
.add input::placeholder { color: var(--muted); opacity: 1; }
.sugg { position: absolute; z-index: 6; left: 0; top: calc(100% + 6px); width: max(100%, 290px); max-height: 300px; overflow: auto;
  padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 44px -22px rgba(6, 35, 26, 0.5); }
.sugg li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 9px 12px;
  border-radius: 10px; font-size: 16px; cursor: pointer; }
.sugg li:hover, .sugg [aria-selected="true"] { background: var(--leaf); }
.sugg b { font-weight: 600; }
.sugg span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.sugg .none, .sugg .none:hover { background: none; color: var(--muted); cursor: default; }

.b-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 44px; margin: 26px 0 24px; padding-top: 24px;
  border-top: 1px solid var(--line); }
.days-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; padding: 5px; background: var(--leaf); border-radius: 999px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff;
  font: 600 22px/1 system-ui, sans-serif; cursor: pointer; }
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper button:disabled { background: #fff; color: var(--ink); opacity: 0.35; cursor: default; }
.stepper output { min-width: 2.2em; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.preset { min-height: 44px; padding: 0 14px; border: 1.5px solid var(--muted); border-radius: 999px; background: transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; }
.preset:hover { border-color: var(--ink); }
.preset[aria-pressed="true"] { border-color: var(--ink); background: var(--leaf); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 5px; background: var(--leaf); border-radius: 30px; }
.seg label { cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 44px; padding: 11px 20px; border-radius: 999px; font-size: 17px; font-weight: 600; line-height: 1.2; }
.seg label:hover span { background: var(--leaf-hi); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.use-note { margin-top: 10px; font-size: 15px; color: var(--muted); }

.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 26px 48px; align-items: center;
  padding: 30px; background: var(--deep); color: #fff; border-radius: 22px; }
.res-k { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--green); }
.res-title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.res-detail { max-width: 30em; margin-top: 12px; font-size: 17px; line-height: 1.45; color: var(--mint); }
.res-pay { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 26px; margin-top: 26px; }
.res-price b { display: block; font-size: clamp(40px, 4.6vw, 62px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 800;
  color: var(--green); font-variant-numeric: tabular-nums; }
.res-price span { display: block; margin-top: 8px; font-size: 15px; color: var(--mint); }
.cta { min-height: 52px; padding: 17px 26px; border: 0; border-radius: 999px; background: var(--green); color: var(--ink);
  font: 700 18px/1 var(--font); cursor: pointer; }
.cta:hover { background: var(--green-hi); }
.res-note { margin-top: 16px; font-size: 15px; color: var(--mint); }
.res-card { padding: 8px 0; min-width: 0; }
.ghost { display: grid; place-items: center; aspect-ratio: 1.586; border: 2px dashed #3F7A62; border-radius: 4.5% / 7.14%;
  color: var(--mint); font-size: 16px; }
.res-alt { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 16px; color: var(--mint); }
.res-alt b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.save { margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 14px;
  font-weight: 700; white-space: nowrap; }
.save.more { padding: 2px 9px; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; font-weight: 600; }
.res-alt button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--mint); border-radius: 999px; background: transparent;
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.res-alt button:hover { background: #fff; border-color: #fff; color: var(--ink); }
.est { margin: 14px 4px 0; font-size: 14px; color: var(--muted); }
.b-noscript { margin: 14px 4px 0; font-size: 16px; }

/* ------------------------------------------------------------ the eSIM card */

.scene { position: relative; }
.tilt { transform: perspective(1200px) rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)); will-change: transform; }
.stack { position: relative; }
.slot { position: absolute; transform: rotate(var(--rot)); }
.card { position: relative; aspect-ratio: 1.586; container-type: inline-size; overflow: hidden; isolation: isolate;
  border-radius: 4.5% / 7.14%; color: var(--ink); font-style: normal;
  box-shadow: 0 34px 50px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.panel .card { box-shadow: 0 44px 60px -34px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.card > i { position: absolute; inset: 0; }
.c-foil { background: linear-gradient(115deg, #D8FFE6 0%, #7DF2B4 24%, #B6F4FF 48%, #EFFFB0 72%, #8AF5BE 100%);
  background-size: 190% 190%; background-position: var(--mx, 38%) var(--my, 34%); filter: hue-rotate(var(--hue, 0deg)); }
.c-band { background: repeating-linear-gradient(105deg, rgba(60, 255, 170, 0) 0%, rgba(40, 225, 255, 0.5) 7%, rgba(150, 255, 140, 0.5) 14%,
    rgba(250, 255, 140, 0.5) 21%, rgba(255, 150, 215, 0.3) 28%, rgba(60, 255, 170, 0) 36%);
  background-size: 260% 260%; background-position: calc(var(--mx, 38%) * 1.6) var(--my, 34%);
  mix-blend-mode: color-dodge; opacity: 0.6; filter: hue-rotate(var(--hue, 0deg)); }
.c-rings { background: repeating-radial-gradient(circle at 84% 20%, rgba(6, 35, 26, 0.12) 0 1px, transparent 1px 9px);
  -webkit-mask-image: radial-gradient(circle at 84% 20%, #000 0, transparent 60%);
  mask-image: radial-gradient(circle at 84% 20%, #000 0, transparent 60%); }
.c-grain { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.3) 0 1px, transparent 1px 5px); mix-blend-mode: soft-light; }
.c-glare { background: radial-gradient(circle at var(--mx, 38%) var(--my, 34%), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 44%);
  mix-blend-mode: overlay; }
.c-face { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto auto; padding: 20px 22px; padding: 5cqw 5.4cqw; }
.c-brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; font-size: max(11px, 2.9cqw);
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.c-logo { display: inline-flex; align-items: center; gap: 6px; gap: 1.4cqw; }
.c-logo svg { width: 22px; height: 13px; width: 5.4cqw; height: 3.3cqw; overflow: visible; }
.c-kind { font-weight: 500; }
.c-chip { align-self: center; width: 46px; width: 11.5cqw; }
.c-name { line-height: 0.9; letter-spacing: -0.03em; font-weight: 800; white-space: nowrap; }
.c-name.n1 { font-size: 56px; font-size: 14cqw; }
.c-name.n2 { font-size: 48px; font-size: 12cqw; }
.c-name.n3 { font-size: 40px; font-size: 10cqw; }
.c-name.n4 { font-size: 32px; font-size: 8cqw; }
.c-name.n5 { font-size: 27px; font-size: 6.8cqw; }
.c-facts { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; gap: 3cqw;
  margin: 14px 0 0; margin: 3.4cqw 0 0; font-size: 11px; font-size: max(11px, 2.5cqw); line-height: 1.25; }
.c-facts dt { color: #1F4A38; font-weight: 500; }
.c-facts dd { margin: 0.3em 0 0; font-weight: 700; white-space: nowrap; }
.c-facts div:first-child dd { overflow: hidden; text-overflow: ellipsis; }
/* A fanned hand of cards gets small; drop what would no longer be readable. */
@container (max-width: 250px) {
  .c-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .c-facts div:first-child { display: none; }
  .c-kind { display: none; }
}
@container (max-width: 150px) {
  .c-facts { display: none; }
  .c-face { grid-template-rows: auto 1fr auto; }
}

/* ------------------------------------------------------------ home sections */

.h2 { margin-bottom: 26px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.h2s { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }

.s-trips { padding: 72px var(--gutter) 24px; }
.trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trip { display: grid; align-content: space-between; gap: 14px; height: 100%; min-height: 142px; padding: 22px; background: var(--leaf);
  border-radius: 24px; text-decoration: none; transition: background-color 0.15s; }
.trip:hover { background: var(--leaf-hi); }
.trip-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.trip-stops .arc { width: 34px; height: 18px; margin: 0 5px 0 0; }
.trip-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trip-foot span { font-size: 16px; color: var(--muted); }
.trip-foot b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.s-ones { padding: 48px var(--gutter) 72px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.pill span { margin-left: 6px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.pill:hover { background: var(--ink); color: #fff; }
.pill:hover span { color: var(--mint); }
.pill.all { background: var(--ink); color: #fff; }
.pill.all:hover { background: var(--deep); }

.s-steps { padding: 72px var(--gutter); background: var(--leaf); }
.s-steps .h2 { margin-bottom: 10px; }
.sub { max-width: 34em; font-size: 18px; color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 40px; counter-reset: how; }
.how li { counter-increment: how; }
.how li::before { content: counter(how); display: block; margin-bottom: 14px; font-size: 72px; line-height: 1; letter-spacing: -0.04em;
  font-weight: 800; color: var(--deep); }
.how h3 { margin-bottom: 6px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.how p { font-size: 17px; color: var(--muted); }

.s-faq { padding: 80px var(--gutter) 88px; }
.qa > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 48px; padding: 22px 0; border-top: 1px solid var(--line); }
.qa dt { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.qa dd { font-size: 17px; line-height: 1.5; color: var(--muted); }
.qa a { color: var(--ink); }

/* ------------------------------------------------------------ country and region pages */

.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 26px 32px; align-items: stretch; }
.plans { display: grid; align-content: start; gap: 16px; padding: 6px 0; }
.helper { margin-top: -6px; font-size: 16px; color: var(--muted); }
.rows { display: grid; gap: 8px; }
.plan { display: grid; grid-template-columns: 22px 4.6em minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 68px;
  padding: 12px 20px 12px 18px; background: var(--leaf); border-radius: 18px; cursor: pointer; transition: background-color 0.12s; }
.plan:hover { background: var(--leaf-hi); }
.ring { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--muted); border-radius: 50%; }
.ring::after { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.plan b { font-size: 24px; line-height: 1; letter-spacing: -0.03em; font-weight: 800; white-space: nowrap; }
.plan-mid { display: grid; gap: 2px; line-height: 1.3; }
.plan-sub { font-size: 16px; font-weight: 600; }
.plan-hint { font-size: 15px; color: var(--muted); }
.plan-price { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan:has(input:checked) { background: var(--ink); color: #fff; }
.plan:has(input:checked) .plan-hint { color: var(--mint); }
.plan input:checked + .ring { border-color: var(--green); }
.plan input:checked + .ring::after { background: var(--green); }
.plan:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.who { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 10px 12px 10px 20px;
  border: 2px solid var(--leaf); border-radius: 18px; }
.who-text { display: grid; gap: 2px; line-height: 1.3; }
.who-text b { font-size: 17px; font-weight: 700; }
.who-text span { font-size: 15px; color: var(--muted); }
.who-step { display: flex; align-items: center; gap: 4px; flex: none; }
.who-step button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--leaf);
  color: var(--ink); cursor: pointer; transition: background-color 0.12s; }
.who-step button:hover { background: var(--leaf-hi); }
.who-step button:disabled { background: none; color: var(--line); cursor: default; }
.who-step output { min-width: 1.6em; text-align: center; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.buy-btn { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 64px; margin-top: 6px;
  padding: 18px 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 20px/1.1 var(--font);
  text-align: left; cursor: pointer; transition: background-color 0.15s; }
.buy-btn:hover { background: var(--deep); }
.buy-btn [data-cta-price] { color: var(--green); font-variant-numeric: tabular-nums; }
.buy-note { font-size: 15px; color: var(--muted); }
.panel { display: grid; align-content: center; gap: 24px; padding: clamp(20px, 3.6vw, 48px); background: var(--deep); border-radius: 22px; }
.caption { font-size: 16px; color: var(--mint); text-align: center; }

.s-facts { padding: 80px var(--gutter) 40px; }
.facts-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 24px 56px; }
.facts > div { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 17px; font-weight: 700; }
.facts dd { font-size: 17px; line-height: 1.45; color: var(--muted); }
.facts a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.s-onward { padding: 40px var(--gutter); }
.onward { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; align-items: center;
  padding: clamp(22px, 3.4vw, 44px); background: var(--leaf); border-radius: 30px; }
.onward .h2 { margin-bottom: 14px; }
.onward-t { max-width: 26em; margin-bottom: 24px; font-size: 18px; color: var(--muted); }
.btn, .button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink);
  color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; transition: background-color 0.15s; }
.btn:hover, .button:hover { background: var(--deep); }
.eg { padding: 24px; background: #fff; border-radius: 22px; }
.eg-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1;
  letter-spacing: -0.03em; font-weight: 700; }
.eg-stops .arc { margin: 0 8px 0 0; }
.eg-sub { margin-top: 6px; font-size: 16px; color: var(--muted); }
.eg-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--line); }
.eg-row span { font-size: 18px; font-weight: 600; }
.eg-row b { font-size: 34px; line-height: 1; letter-spacing: -0.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.eg-alt { margin-top: 8px; font-size: 16px; color: var(--muted); }

.s-else { padding: 40px var(--gutter); }
.s-else .h2s { margin-bottom: 20px; }
.s-check { padding: 40px var(--gutter) 88px; }
.s-check .in { padding-top: 36px; border-top: 1px solid var(--line); }
.s-check .h2s { margin-bottom: 12px; }
.s-check p { max-width: 38em; font-size: 18px; line-height: 1.5; color: var(--muted); }
.s-check a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.s-cover { padding: 40px var(--gutter); }
.s-cover .h2s { margin-bottom: 20px; }
.cover { columns: 3 300px; column-gap: 40px; }
.cover li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line);
  font-size: 16px; line-height: 1.35; break-inside: avoid; }
.cover a, .cover b { font-weight: 600; text-underline-offset: 3px; }
.cover span { color: var(--muted); text-align: right; }

/* ------------------------------------------------------------ all destinations */

.filter { position: relative; z-index: 2; max-width: 420px; margin-top: 26px; }
.filter svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; }
.filter input { width: 100%; padding: 14px 18px 14px 46px; border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  font: 600 19px/1.2 var(--font); letter-spacing: -0.01em; }
.filter input::placeholder { color: var(--muted); opacity: 1; }
.s-index { padding: 56px var(--gutter) 72px; }
.group { margin-bottom: 52px; }
.group .h2s { margin-bottom: 14px; }
.dest-list { columns: 3 270px; column-gap: 40px; }
.dest-list li { break-inside: avoid; }
.dest-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 50px; padding: 13px 8px;
  border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.dest-list a:hover { background: var(--leaf); }
.dest-list span { color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.none-found { font-size: 18px; color: var(--muted); }

/* ------------------------------------------------------------ long-form pages */

/* flow-root: without it the h1's top margin escapes the green band on pages with no
   back link (Phone check, Help) and shows as a pale strip under the header. */
.dest-head { background: var(--green); padding: 0 0 56px; display: flow-root; }
.wrap { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dest-head h1 { max-width: 13em; margin: 22px 0 16px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em;
  font-weight: 800; text-wrap: balance; }
.dest-head .back + h1 { margin-top: 10px; }
.prose { padding-top: 48px; padding-bottom: 88px; }
.prose > * { max-width: 40rem; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.prose p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.2em; font-size: 18px; line-height: 1.55; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--muted); }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2.5px; }
.prose ol.steps { display: grid; gap: 14px; padding: 0; list-style: none; counter-reset: s; }
.prose ol.steps li { position: relative; min-height: 36px; margin: 0; padding: 4px 0 0 52px; counter-increment: s; }
.prose ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px;
  height: 36px; border-radius: 50%; background: var(--leaf); font-size: 17px; font-weight: 800; }
.callout { margin: 24px 0; padding: 18px 22px; background: var(--leaf); border-radius: 18px; font-size: 17px; }
.callout p { font-size: 17px; }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.prose details { border-top: 1px solid var(--line); }
.prose details:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.prose summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0;
  font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: -4px 6px 0 0; border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0; border-radius: 1px; transform: rotate(45deg); transition: transform 0.2s; }
.prose details[open] > summary::after { margin-top: 6px; transform: rotate(-135deg); }
.prose details > :not(summary) { margin-bottom: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 17px; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; }
.prose td:first-child code { white-space: nowrap; }
.prose .guide-list { padding: 0; list-style: none; }
.prose .pills { padding: 0; list-style: none; }
.prose .pills li { margin: 0; }
.prose .pill { text-decoration: none; }
.guide-list li { margin: 0; border-top: 1px solid var(--line); }
.guide-list a { display: block; padding: 18px 0; text-decoration: none; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.guide-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-list b, .guide-list strong { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.guide-list span { display: block; margin-top: 4px; font-size: 17px; color: var(--muted); }
.guide-list a:hover b, .guide-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.prose .button { margin-top: 8px; }

/* ------------------------------------------------------------ footer */

.foot { padding: 36px var(--gutter); background: var(--ink); color: var(--mint); }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.foot .logo { color: #fff; font-size: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 -10px; font-size: 16px; }
.foot nav a { padding: 12px 10px; text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fine { max-width: 62em; margin-top: 18px; font-size: 14px; line-height: 1.5; color: #9DBDAA; }

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 900px) {
  .hop { display: none; }
  .b-controls, .result, .trip-grid, .how, .buy, .facts-grid, .onward { grid-template-columns: minmax(0, 1fr); }
  .qa > div { grid-template-columns: minmax(0, 1fr); }
  .res-card { width: 100%; max-width: 430px; }
  .panel { order: -1; }
  .how { gap: 28px; }
  .how li::before { font-size: 56px; margin-bottom: 8px; }
  .trip { min-height: 0; }
  .s-trips { padding-top: 56px; }
  .s-steps { padding-top: 56px; padding-bottom: 56px; }
  .s-facts { padding-top: 56px; }
  .s-faq { padding-top: 56px; padding-bottom: 64px; }
}
@media (max-width: 600px) {
  .sheet { padding: 16px; border-radius: 24px; }
  .result { padding: 20px; border-radius: 18px; }
  .add { flex: 1 1 100%; }
  .add input { width: 100%; }
  .sugg { width: 100%; }
  .b-stops .arc { width: 34px; height: 18px; margin: 0; }
  .chip { padding-left: 14px; }
  .seg span { padding: 11px 16px; }
  .plan { grid-template-columns: 22px 3.3em minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
  .plan b { font-size: 20px; }
  .plan-price { font-size: 19px; }
  .buy-btn { padding: 16px 20px; font-size: 18px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; }
  .cta { flex: 1 1 100%; }
  .res-alt button { flex: 1 1 100%; }
  .onward { border-radius: 24px; }
  .eg { padding: 18px; border-radius: 18px; }
  .foot-top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
  .nav .opt { display: none; }
  .bar { padding: 10px 0; }
  .nav { gap: 0; font-size: 15px; }
  .nav a { padding: 12px 8px; }
  .nav a:last-child { padding-right: 0; }
}
/* Three links and the logo don't fit a phone. The phone check stays in the footer and on every plan page. */
@media (max-width: 440px) {
  .nav:has(a:nth-child(4)) .opt2 { display: none; }
}
@media (max-width: 340px) {
  .nav .opt2 { display: none; }
}
@media (max-width: 380px) {
  .logo { gap: 6px; font-size: 19px; }
  .logo svg { width: 26px; height: 16px; }
  .nav { font-size: 14.5px; }
  .nav a { padding: 12px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .foot, .hop { display: none; }
  .hero, .dest-head { background: none; }
}

/* ---------------------------------------------------------------- buying */

[data-buy][aria-busy] { opacity: 0.6; cursor: progress; pointer-events: none; }
.buy-note.err { color: #A3261B; font-weight: 600; }
.res-note.err { color: #FFC2B8; font-weight: 600; }

/* ---------------------------------------------------------------- the order page (order.js) */

.order { padding-top: 40px; padding-bottom: 88px; min-height: 40vh; }
.order > * { max-width: 860px; }
.o-esim { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 20px; padding: 28px;
  background: #fff; border-radius: 30px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(6, 35, 26, 0.35); }
.o-esim > .o-main:only-child { grid-column: 1 / -1; }
.o-esim h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.o-plan { margin-top: 6px; font-size: 18px; font-weight: 500; color: var(--muted); }
.o-status { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--green); font-size: 15px; font-weight: 700; }
.is-quiet .o-status { background: var(--leaf); }
.o-say { margin-top: 14px; font-size: 17px; }
.o-qr { padding: 14px; background: var(--leaf); border-radius: 22px; width: 260px; }
.o-qr img { display: block; width: 232px; height: 232px; border-radius: 12px; image-rendering: pixelated; }
.o-qr figcaption { margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.o-go { margin-top: 20px; min-height: 60px; padding: 0 30px; font-size: 18px; }
.o-fine { margin-top: 10px; font-size: 15px; color: var(--muted); }
.o-fine a, .o-help a, .o-more a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.o-use { margin-top: 18px; }
.o-use p b { font-size: 22px; letter-spacing: -0.02em; }
.o-bar { height: 12px; margin-top: 10px; border-radius: 999px; background: var(--leaf); overflow: hidden; }
.o-bar i { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: var(--ink); }
.o-more { margin-top: 22px; border-top: 1px solid var(--line); }
.o-more summary { display: flex; align-items: center; min-height: 52px; font-weight: 700; cursor: pointer; list-style: none; }
.o-more summary::-webkit-details-marker { display: none; }
.o-more summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.o-more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.o-more > p { margin: 0 0 14px; font-size: 16px; color: var(--muted); }
.o-more .o-qr { margin-bottom: 18px; }
.o-row { padding: 12px 0; border-top: 1px solid var(--line); }
.o-row dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.o-row dd { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 2px; }
.o-row dd span { min-width: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.o-row button { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--leaf); color: var(--ink);
  font: 700 15px var(--font); cursor: pointer; }
.o-row button:hover { background: var(--leaf-hi); }
.o-how { padding: 36px 0 0; }
.o-help { margin-top: 28px; font-size: 17px; color: var(--muted); }
.o-test { margin-bottom: 20px; padding: 14px 20px; border-radius: 18px; background: #FFF1C2; font-weight: 600; }
.o-wait { display: flex; align-items: center; gap: 14px; font-size: 19px; font-weight: 600; }
.o-wait span { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: o-spin 0.9s linear infinite; }
.o-note { margin-bottom: 20px; padding: 16px 22px; border-radius: 18px; background: var(--leaf); font-size: 17px; }
.o-note.is-warn { background: #FFE9E4; }
.o-note.o-wait { font-size: 17px; }
.o-each { margin-bottom: 18px; font-size: 17px; font-weight: 600; }
.o-line { min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px; background: none; color: var(--ink);
  font: 700 16px/1 var(--font); cursor: pointer; transition: background-color 0.12s, color 0.12s; }
.o-line:hover { background: var(--ink); color: #fff; }
.o-line[aria-busy], .o-opts button[aria-busy] { opacity: 0.6; cursor: progress; pointer-events: none; }
.o-add { margin-top: 22px; }
.o-add h3 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.o-add h3 + .o-fine { margin-top: 4px; }
.o-opts { display: grid; gap: 8px; margin-top: 14px; }
.o-opts button { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 60px;
  padding: 10px 20px; border: 0; border-radius: 16px; background: var(--leaf); color: var(--ink); font: 500 16px/1.2 var(--font);
  text-align: left; cursor: pointer; transition: background-color 0.12s, color 0.12s; }
.o-opts button:hover { background: var(--ink); color: #fff; }
.o-opts b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.o-price { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.o-err { color: #A3261B; font-weight: 600; }
.o-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.o-send .o-fine { margin: 0; flex: 1 1 14em; }
.o-line:focus-visible, .o-opts button:focus-visible, .who-step button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------------------------------------------------------------- find my eSIMs */

.find { padding-top: 44px; padding-bottom: 96px; min-height: 36vh; }
.find > * { max-width: 620px; }
.find label { display: block; margin-bottom: 8px; font-weight: 700; }
.find-row { display: flex; gap: 10px; }
.find-row input { flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0 20px; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 17px; }
.find-row input:focus-visible { outline: 0; border-color: var(--ink); }
.find-row .btn { flex: none; min-height: 56px; border: 0; cursor: pointer; font: 700 17px/1 var(--font); }
.find-row .btn[aria-busy] { opacity: 0.6; cursor: progress; pointer-events: none; }
.find-note { margin-top: 12px; font-size: 15px; color: var(--muted); }
.find-note.err { color: #A3261B; font-weight: 600; }
.find-done { outline: 0; }
.find-or { margin: 34px 0 12px; font-weight: 700; }
.find-g { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; background: #fff; font-size: 17px; text-decoration: none; }
.find-g svg { flex: none; }
.find-done p { margin-top: 12px; font-size: 17px; }
@media (max-width: 560px) {
  .find-row { flex-direction: column; }
  .find-row .btn { justify-content: center; }
}
/* My eSIMs, opened with the emailed link: one row for each eSIM, grouped by order. */
.acct { padding-top: 44px; padding-bottom: 28px; }
.acct > * { max-width: 760px; }
.acct:not([hidden]) + .find { padding-top: 20px; }
.a-when { margin: 34px 0 12px; font-size: 16px; font-weight: 600; color: var(--muted); }
.a-when:first-child { margin-top: 0; }
.a-esim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; margin-bottom: 12px; padding: 22px 26px;
  background: #fff; border-radius: 26px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(6, 35, 26, 0.35); }
.a-esim h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.a-esim .o-status { margin-bottom: 10px; }
.a-esim .o-plan { margin-top: 4px; font-size: 17px; }
.a-esim .o-use { margin-top: 14px; max-width: 420px; }
.a-esim .o-use p b { font-size: 19px; }
.a-go { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.a-go a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.a-go .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.a-foot { margin-top: 26px; font-size: 15px; color: var(--muted); }
.a-foot button { padding: 0; border: 0; background: none; color: var(--ink); font: 600 15px/1.4 var(--font); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }
.a-foot button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.a-ask { margin-bottom: 14px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 640px) {
  .a-esim { grid-template-columns: minmax(0, 1fr); padding: 20px; border-radius: 22px; }
  .a-go { flex-direction: row; flex-wrap: wrap; margin-top: 8px; }
  .a-go a { flex: 1 1 auto; }
}
@keyframes o-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .o-wait span { animation: none; border-top-color: var(--line); background: var(--green); border: 0; } }
@media (max-width: 720px) {
  .o-esim { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; border-radius: 26px; }
  .o-go { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- partners, and the page for AI agents */

.p-join { padding-top: 44px; padding-bottom: 12px; }
.p-join > * { max-width: 620px; }
.p-form { display: grid; gap: 20px; }
.p-form .h2s { margin-bottom: 2px; }
.p-form label, .p-lost label { display: block; margin-bottom: 8px; font-weight: 700; }
.p-opt { margin-left: 6px; font-size: 15px; font-weight: 500; color: var(--muted); }
.p-form input, .p-form select { width: 100%; min-height: 56px; padding: 0 20px; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font: 500 17px/1.2 var(--font); }
.p-form select { appearance: none; padding-right: 46px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%2306231A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5'/%3E%3C/svg%3E") no-repeat right 20px center; }
.p-form input:focus-visible, .p-form select:focus-visible { outline: 0; border-color: var(--ink); }
.p-form .btn { min-height: 56px; border: 0; cursor: pointer; font: 700 17px/1 var(--font); }
.p-form .btn[aria-busy] { opacity: 0.6; cursor: progress; pointer-events: none; }
.p-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-form .p-hint { margin-top: -8px; }
.p-lost { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.p-lost .o-line { flex: none; min-height: 56px; font: 700 17px/1 var(--font); cursor: pointer; }
.p-terms { padding-top: 56px; }
.p-terms code, .prose code { padding: 2px 7px; border-radius: 7px; background: var(--leaf); font: 500 0.9em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  overflow-wrap: anywhere; }
.prose pre { margin: 0 0 16px; padding: 18px 22px; border-radius: 18px; background: var(--ink); color: #E9F7EC; overflow-x: auto;
  -webkit-overflow-scrolling: touch; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: 15px; line-height: 1.6; overflow-wrap: normal; white-space: pre; }

.p-dash { padding-top: 44px; padding-bottom: 12px; }
.p-dash > * { max-width: 760px; }
.p-card { margin-bottom: 14px; padding: 24px 26px; background: #fff; border-radius: 26px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(6, 35, 26, 0.35); }
.p-card h2 { margin-bottom: 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.p-link { display: flex; gap: 12px; align-items: center; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--leaf); }
.p-link b { flex: 1 1 auto; min-width: 0; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.p-link .btn { flex: none; min-height: 48px; padding: 0 22px; border: 0; cursor: pointer; font: 700 16px/1 var(--font); }
.p-card .find-note { overflow-wrap: anywhere; }
.p-sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 12px; }
.p-sums div { padding: 20px 22px; border-radius: 22px; background: var(--leaf); }
.p-sums .is-due { background: var(--green); }
.p-sums dt { font-size: 15px; font-weight: 600; }
.p-sums dd { margin: 6px 0 0; font-size: clamp(26px, 4vw, 38px); line-height: 1; letter-spacing: -0.03em; font-weight: 800;
  font-variant-numeric: tabular-nums; }
.p-fine { margin: 0 0 34px; font-size: 15px; color: var(--muted); }
.p-h { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.p-rows { margin-bottom: 34px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p-rows table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.p-rows th { padding: 0 14px 10px 0; font-size: 15px; font-weight: 600; color: var(--muted); text-align: left; white-space: nowrap; }
.p-rows td { padding: 14px 14px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.p-rows .p-num { padding-right: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-rows .is-none td { color: var(--muted); }
.p-addr { margin-bottom: 16px; font-size: 17px; font-weight: 700; }
.p-addr span { font-weight: 500; overflow-wrap: anywhere; }
.p-pay .p-form { margin-top: 6px; }
.p-pay .o-line { cursor: pointer; font: 700 16px/1 var(--font); }
@media (max-width: 640px) {
  .p-two { grid-template-columns: 1fr; }
  .p-sums { grid-template-columns: 1fr; }
  .p-sums div { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; }
  .p-sums dd { margin: 0; font-size: 26px; }
  .p-link { flex-direction: column; align-items: stretch; padding: 16px; border-radius: 22px; }
  .p-link .btn { justify-content: center; }
  .p-card { padding: 20px; border-radius: 22px; }
}
