/* ==========================================================================
   GetPayslip — storefront stylesheet
   Palette lifted from the existing GetPayslip WordPress theme so the new
   shop matches the brand the user already has:
     navy #0F2A43 · blue #1D5FD1 · teal #19B394 · amber #F2B84B
     ink #5B6B7C · line #DCE6F2 · wash #F4F8FD
   ========================================================================== */

:root {
  --navy: #0f2a43;
  --navy-soft: #17395a;
  --blue: #1d5fd1;
  --blue-dark: #174aa6;
  --blue-wash: #eaf1fd;
  --teal: #19b394;
  --teal-wash: #e7f8f4;
  --amber: #f2b84b;
  --ink: #5b6b7c;
  --line: #dce6f2;
  --line-soft: #eaf0f7;
  --wash: #f4f8fd;
  --paper: #ffffff;
  --ok: #0f9d58;
  --warn: #b45309;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 67, .06), 0 1px 3px rgba(15, 42, 67, .04);
  --shadow: 0 4px 6px -1px rgba(15, 42, 67, .07), 0 12px 28px -6px rgba(15, 42, 67, .10);
  --shadow-lg: 0 24px 60px -12px rgba(15, 42, 67, .22);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wrap--narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- top bar ------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__in {
  display: flex; align-items: center; gap: 22px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.03em; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--blue) 0%, var(--teal) 100%);
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 2px 8px rgba(29, 95, 209, .28);
}
.topnav { display: flex; gap: 24px; margin-left: 8px; font-size: 14.5px; font-weight: 500; }
.topnav a { color: var(--ink); }
.topnav a:hover { color: var(--navy); text-decoration: none; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14.5px; }
.phone { font-weight: 600; color: var(--navy); white-space: nowrap; }
.phone span { color: var(--ink); font-weight: 500; }
.pill-trust {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-wash); color: #0b7e69;
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .topnav, .pill-trust, .phone span { display: none; }
  .topbar__in { height: 58px; }
}

/* ---------- buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 11px;
  font-size: 15px; font-weight: 650; letter-spacing: -.01em;
  padding: 0 20px; height: 46px; cursor: pointer;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 1px 2px rgba(29, 95, 209, .3), 0 8px 20px -8px rgba(29, 95, 209, .55);
}
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #c3d3e6; background: var(--wash); }
.btn--lg { height: 54px; font-size: 16.5px; border-radius: 13px; padding: 0 26px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ---------- hero --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 54px 0 26px;
  background:
    radial-gradient(900px 380px at 12% -10%, #e9f2ff 0%, rgba(233, 242, 255, 0) 62%),
    radial-gradient(700px 320px at 88% 0%, #e6faf5 0%, rgba(230, 250, 245, 0) 58%),
    var(--paper);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-wash);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 18px; width: fit-content;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__sub { margin-top: 16px; font-size: 17.5px; color: var(--ink); max-width: 620px; }
.hero__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink); }
.hero__meta b { color: var(--navy); font-weight: 650; }
.hero__meta div { display: flex; align-items: center; gap: 7px; }
.tick { color: var(--teal); font-weight: 800; }

/* ---------- order shell -------------------------------------------------- */
.order { padding: 20px 0 72px; background: var(--wash); border-top: 1px solid var(--line-soft); }
.order__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.order__head h2 { font-size: 24px; letter-spacing: -.03em; }
.order__head p { color: var(--ink); font-size: 14.5px; }
.order__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 26px; align-items: start;
}
@media (max-width: 1060px) { .order__grid { grid-template-columns: 1fr; } }

.steps { display: grid; gap: 16px; min-width: 0; }

/* ---------- card / step -------------------------------------------------- */
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.step.is-done { border-color: #cfe6df; }
.step.is-active { border-color: #bcd3f0; box-shadow: var(--shadow); }
.step__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-soft);
  background: #fcfdff;
}
.step.is-done .step__bar { background: #f7fcfb; }
.step__num {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 750;
  background: var(--line-soft); color: var(--ink);
}
.step.is-active .step__num { background: var(--blue); color: #fff; }
.step.is-done .step__num { background: var(--teal); color: #fff; }
.step__title { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; }
.step__hint { margin-left: auto; font-size: 13px; color: var(--ink); }
.step__body { padding: 20px; }
.step__body--tight { padding: 14px 20px 18px; }

/* ---------- purpose chips ------------------------------------------------ */
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; }
.chip {
  position: relative; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 13px 14px; cursor: pointer; text-align: left;
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  transition: all .14s ease;
}
.chip:hover { border-color: #b9cde8; background: #fbfdff; }
.chip__ico { font-size: 17px; line-height: 1; flex: none; }
.chip[aria-pressed="true"] {
  border-color: var(--blue); background: var(--blue-wash);
  box-shadow: 0 0 0 3px rgba(29, 95, 209, .12);
}
.chip[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue);
}

/* ---------- quantity ----------------------------------------------------- */
.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stepper {
  display: inline-flex; align-items: center; background: #fff;
  border: 1.5px solid var(--line); border-radius: 11px; overflow: hidden;
}
.stepper button {
  width: 44px; height: 46px; border: 0; background: #fff; cursor: pointer;
  font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1;
}
.stepper button:hover:not(:disabled) { background: var(--wash); }
.stepper button:disabled { color: #c6d2e0; cursor: not-allowed; }
.stepper input {
  width: 56px; height: 46px; border: 0; border-inline: 1px solid var(--line-soft);
  text-align: center; font: inherit; font-weight: 700; font-size: 17px; color: var(--navy);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.packs { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 9px; }
.pack {
  position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 11px 16px 12px; cursor: pointer; text-align: left; min-width: 118px;
  transition: all .14s ease;
}
.pack:hover { border-color: #b9cde8; }
.pack[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-wash); box-shadow: 0 0 0 3px rgba(29, 95, 209, .12); }
.pack__n { display: block; font-size: 16px; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.pack__l { display: block; font-size: 12.5px; color: var(--ink); font-weight: 500; line-height: 1.3; }
.pack__p { display: block; font-size: 12.5px; color: var(--navy); font-weight: 650; margin-top: 4px; line-height: 1.3; }
.pack__badge {
  position: absolute; top: -9px; left: 12px; background: var(--teal); color: #fff;
  font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 5px; white-space: nowrap;
}
.pack[aria-pressed="true"] .pack__badge { background: var(--blue); }

/* ---------- form fields -------------------------------------------------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 650; color: var(--navy); letter-spacing: -.005em; }
.field label .opt { font-weight: 500; color: var(--ink); font-size: 12px; }
.field .hint { font-size: 12px; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0 13px; height: 46px; width: 100%;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6b7c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.field input::placeholder { color: #a9b7c6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3.5px rgba(29, 95, 209, .13);
}
.field input[aria-invalid="true"] { border-color: #dc2626; background: #fef7f7; }
.field .err { font-size: 12px; color: #dc2626; font-weight: 550; min-height: 0; display: none; }
.field input[aria-invalid="true"] ~ .err { display: block; }

.money-in { position: relative; }
.money-in span {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 15px; font-weight: 600; color: var(--ink); pointer-events: none;
}
.money-in input { padding-left: 28px; font-weight: 600; }

.seg {
  display: inline-flex; background: var(--line-soft); border-radius: 10px; padding: 3px; gap: 2px;
}
.seg button {
  border: 0; background: transparent; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 650; color: var(--ink); padding: 8px 14px; height: 34px;
  transition: all .13s ease;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------- addons / delivery -------------------------------------------- */
.radios { display: grid; gap: 10px; }
.radio {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; cursor: pointer; background: #fff; transition: all .14s ease;
}
.radio:hover { border-color: #b9cde8; }
.radio[aria-checked="true"] { border-color: var(--blue); background: var(--blue-wash); box-shadow: 0 0 0 3px rgba(29, 95, 209, .1); }
.radio__dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3d3e6; flex: none; margin-top: 2px;
  display: grid; place-items: center; background: #fff; transition: all .14s ease;
}
.radio[aria-checked="true"] .radio__dot { border-color: var(--blue); }
.radio[aria-checked="true"] .radio__dot::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue);
}
.radio__main { flex: 1; min-width: 0; }
.radio__t { font-size: 14.5px; font-weight: 650; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.radio__d { font-size: 12.5px; color: var(--ink); margin-top: 2px; }
.radio__p { font-size: 14px; font-weight: 700; white-space: nowrap; }
.radio__p--free { color: var(--teal); }

.checks { display: grid; gap: 9px; }
.check {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 15px; background: #fff;
  transition: all .14s ease;
}
.check:hover { border-color: #b9cde8; }
.check[aria-checked="true"] { border-color: var(--teal); background: var(--teal-wash); }
.check__box {
  width: 18px; height: 18px; border-radius: 5px; border: 2px solid #c3d3e6; flex: none; margin-top: 2px;
  display: grid; place-items: center; background: #fff; color: #fff; font-size: 12px; font-weight: 800;
  transition: all .14s ease;
}
.check[aria-checked="true"] .check__box { background: var(--teal); border-color: var(--teal); }

/* ---------- summary rail ------------------------------------------------- */
.rail { position: sticky; top: 84px; display: grid; gap: 14px; }
@media (max-width: 1060px) { .rail { position: static; } }

.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.summary__head {
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fcfdff;
}
.summary__head h3 { font-size: 14.5px; letter-spacing: -.01em; }
.summary__count { font-size: 12px; color: var(--ink); font-weight: 550; }
.summary__body { padding: 16px 20px; }
.sum-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; padding: 5px 0; }
.sum-line__l { color: var(--ink); }
.sum-line__l b { color: var(--navy); font-weight: 650; }
.sum-line__v { font-weight: 650; font-variant-numeric: tabular-nums; }
.sum-line--muted .sum-line__v { color: var(--ink); font-weight: 550; }
.sum-line--free .sum-line__v { color: var(--teal); font-weight: 700; }
.sum-empty { font-size: 13.5px; color: var(--ink); padding: 4px 0 6px; }
.sum__total {
  margin-top: 12px; padding-top: 13px; border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.sum__total span { font-size: 14px; font-weight: 650; color: var(--navy); }
.sum__total strong { font-size: 27px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sum__per { font-size: 12px; color: var(--ink); text-align: right; margin-top: -2px; }
.summary__foot { padding: 0 20px 18px; }
.sum-note { font-size: 11.5px; color: var(--ink); text-align: center; margin-top: 10px; line-height: 1.4; }
.sum-saving {
  margin-top: 12px; background: var(--teal-wash); border: 1px solid #c8ebe3; border-radius: 10px;
  padding: 9px 12px; font-size: 12.5px; color: #0b7e69; font-weight: 600; display: flex; gap: 8px; align-items: flex-start;
}
.sum-saving span:first-child { flex: none; }

/* ---------- payslip preview ---------------------------------------------- */
.preview {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.preview__head {
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: #fcfdff;
  display: flex; align-items: center; justify-content: space-between;
}
.preview__head h3 { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.preview__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; }
.preview__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(25, 179, 148, .18); }
.preview__body { padding: 14px; background: var(--wash); }

/* the payslip itself — landscape-ish document look */
.slip {
  background: #fff; border: 1px solid #d5dfea; border-radius: 6px;
  padding: 12px 13px 11px; font-size: 8.6px; line-height: 1.32; color: #111;
  font-family: var(--font); box-shadow: 0 1px 3px rgba(15, 42, 67, .08);
}
.slip__top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 7px; border-bottom: 1.6px solid #111; }
.slip__emp { font-size: 10.2px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.slip__empaddr { color: #555; margin-top: 1px; font-size: 7.6px; }
.slip__logo {
  width: 30px; height: 30px; border-radius: 5px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none;
}
.slip__title { text-align: right; }
.slip__title b { font-size: 9.4px; letter-spacing: .06em; display: block; }
.slip__title i { font-style: normal; color: #555; font-size: 7.6px; }
.slip__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 7px 0; border-bottom: 1px solid #ccc; }
.slip__row { display: flex; gap: 4px; }
.slip__k { color: #666; min-width: 34px; }
.slip__v { font-weight: 600; }
.slip table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.slip th {
  text-align: right; font-weight: 700; font-size: 7.4px; text-transform: uppercase;
  letter-spacing: .04em; color: #333; padding: 2.5px 0; border-bottom: 1px solid #999;
}
.slip th:first-child { text-align: left; }
.slip td { padding: 2.2px 0; text-align: right; border-bottom: 1px dotted #e2e2e2; }
.slip td:first-child { text-align: left; color: #222; }
.slip tr.is-strong td { font-weight: 750; border-bottom: 1px solid #999; padding-top: 3.4px; }
.slip tr.is-net td { font-weight: 800; font-size: 9.2px; border-bottom: 0; border-top: 1.4px solid #111; padding-top: 4px; }
.slip__foot { margin-top: 6px; display: flex; justify-content: space-between; font-size: 7px; color: #777; border-top: 1px solid #e2e2e2; padding-top: 4px; }
.slip__note { margin-top: 4px; font-size: 6.8px; color: #888; line-height: 1.3; }

.preview__foot { padding: 11px 16px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }

/* ---------- trust strip -------------------------------------------------- */
.trust { padding: 20px 0 4px; }
.trust__row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; font-size: 13px; color: var(--ink); }
.trust__row div { display: flex; align-items: center; gap: 7px; }

/* ---------- sections ----------------------------------------------------- */
.section { padding: 62px 0; }
.section--wash { background: var(--wash); border-block: 1px solid var(--line-soft); }
.section__head { max-width: 680px; margin-bottom: 34px; }
.section__head h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.03em; }
.section__head p { color: var(--ink); margin-top: 12px; font-size: 16.5px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 11px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 16px; margin-bottom: 7px; }
.card p { font-size: 14px; color: var(--ink); }
.card__ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-wash); color: var(--blue); font-size: 18px; margin-bottom: 14px;
}

/* comparison table */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { background: #fcfdff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-weight: 700; }
.cmp thead th:first-child { text-transform: none; letter-spacing: 0; font-size: 13px; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; }
/* highlight OUR column (2nd), not whole rows */
.cmp thead th:nth-child(2) {
  background: var(--blue); color: #fff; text-transform: none;
  letter-spacing: -.01em; font-size: 13.5px; font-weight: 750;
  position: relative;
}
.cmp thead th:nth-child(2)::after {
  content: "us"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .22); font-size: 9.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px;
}
.cmp tbody td:nth-child(2) { background: #f5faff; font-weight: 700; color: var(--navy); }
.cmp tbody tr:last-child td:nth-child(2) { border-bottom: 0; }
.cmp .win { color: #0b7e69; font-weight: 750; }
.cmp .lose { color: var(--ink); font-weight: 500; }
.cmp td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 720px) {
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 10px 11px; }
}

/* faq */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 650; font-size: 15px; letter-spacing: -.01em;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--ink); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; font-size: 14.5px; color: var(--ink); }

/* footer */
.foot { background: var(--navy); color: #c7d6e5; padding: 46px 0 30px; font-size: 13.5px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.foot a { color: #c7d6e5; display: block; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 10px; letter-spacing: -.03em; }
.foot__brand .brand__mark { background: rgba(255, 255, 255, .14); box-shadow: none; }
.foot__legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: #9db2c8; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }

/* ---------- mobile pay bar ----------------------------------------------- */
.mobilepay { display: none; }
@media (max-width: 1060px) {
  .mobilepay {
    display: flex; position: fixed; inset: auto 0 0 0; z-index: 55;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    align-items: center; gap: 14px; box-shadow: 0 -6px 24px rgba(15, 42, 67, .10);
  }
  .mobilepay__v { font-size: 20px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .mobilepay__l { font-size: 11.5px; color: var(--ink); line-height: 1.2; }
  .mobilepay .btn { flex: 1; }
  .order { padding-bottom: 100px; }
  .rail .summary__foot { display: none; }
}

/* ---------- modal (checkout) --------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(15, 42, 67, .48); backdrop-filter: blur(4px);
  padding: 24px 16px; overflow-y: auto;
}
.modal.is-open { display: block; }
.modal__box {
  width: min(520px, 100%); margin: 40px auto; background: #fff;
  border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pop .18s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal__head { padding: 20px 24px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.modal__head h3 { font-size: 18px; letter-spacing: -.02em; }
.modal__x { border: 0; background: var(--line-soft); width: 32px; height: 32px; border-radius: 9px; cursor: pointer; font-size: 17px; color: var(--ink); line-height: 1; }
.modal__x:hover { background: var(--line); }
.modal__body { padding: 20px 24px; }
.modal__foot { padding: 0 24px 24px; }
.paytotal {
  display: flex; align-items: baseline; justify-content: space-between;
  background: var(--wash); border: 1px solid var(--line-soft); border-radius: 11px;
  padding: 13px 16px; margin-bottom: 16px;
}
.paytotal span { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.paytotal strong { font-size: 22px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cardrow { display: grid; grid-template-columns: 1fr 84px 84px; gap: 10px; }
.paybrands { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 11.5px; color: var(--ink); }
.paybrand { height: 22px; padding: 0 7px; border: 1px solid var(--line); border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 750; color: var(--navy); background: #fff; }

.done { text-align: center; padding: 8px 4px 4px; }
.done__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-wash); color: var(--teal); display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; }
.done h3 { font-size: 21px; margin-bottom: 8px; }
.done p { color: var(--ink); font-size: 14.5px; }
.done__ref { margin-top: 16px; font-family: var(--mono); font-size: 13px; background: var(--wash); border: 1px solid var(--line); border-radius: 9px; padding: 10px; letter-spacing: .04em; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 11px;
  font-size: 14px; font-weight: 550; box-shadow: var(--shadow-lg); z-index: 120;
  opacity: 0; pointer-events: none; transition: all .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
