/* UBook direction D. Inter + Noto Sans SC subsets: assets/fonts/OFL*.txt */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-sans-sc-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/noto-sans-sc-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/noto-sans-sc-600.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/noto-sans-sc-700.woff2") format("woff2");
}

:root {
  --ink: #0f1a33;
  --ink2: #3b4558;
  --mut: #667085;
  --bg: #fafaf8;
  --line: #e8e8e4;
  --line2: #f0f0ec;
  --acc: #b4432b;
  --ok: #127a55;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --s8: 64px;
  --s12: 96px;
  --s16: 128px;
}

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

html {
  color-scheme: light;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 Inter, "Noto Sans SC", system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
}

h1,
h2,
h3,
p {
  margin: 0;
}

p,
li,
dd,
summary,
.fine,
.unit,
.for,
.note,
.addr,
.sub,
.lead {
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
  font-weight: 700;
  color: var(--ink);
}

h3 {
  text-wrap: balance;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--s1);
}

a {
  color: inherit;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}

.w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

.g12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--s2);
}

.ey {
  font: 600 13px/1 Inter, "Noto Sans SC", sans-serif;
  letter-spacing: 0.04em;
  color: var(--acc);
  margin-bottom: var(--s2);
}

h2 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sub {
  color: var(--mut);
  margin-top: var(--s2);
  font-size: 17px;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line2);
}

header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-family: Inter, "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.nav {
  display: none;
  gap: var(--s4);
  font-size: 14px;
  color: var(--ink2);
}

.nav a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  height: 48px;
  padding: 0 var(--s3);
  border-radius: 10px;
  font: 600 15px/1 Inter, "Noto Sans SC", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s;
}

.p {
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 1px 2px rgba(15, 26, 51, 0.2),
    0 4px 12px -2px rgba(15, 26, 51, 0.25);
}

.p:hover {
  background: #1c2a4d;
}

.s {
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px var(--line) inset,
    0 1px 2px rgba(15, 26, 51, 0.04);
}

.s:hover {
  box-shadow: 0 0 0 1px #cfcfc9 inset;
}

.g {
  background: #f3f3f0;
  color: var(--ink);
}

.sm {
  height: 36px;
  padding: 0 var(--s2);
  font-size: 14px;
  border-radius: 8px;
}

.full {
  width: 100%;
  justify-content: center;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s4);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--s8) 0 var(--s12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 700px;
  background:
    radial-gradient(closest-side, rgba(180, 67, 43, 0.1), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(60, 90, 170, 0.1), transparent 70%);
  pointer-events: none;
}

.hero .copy {
  grid-column: 1 / -1;
  position: relative;
}

.loc {
  display: inline-flex;
  gap: var(--s1);
  align-items: center;
  font-size: 13px;
  color: var(--ink2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  margin-bottom: var(--s3);
}

.loc i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(18, 122, 85, 0.15);
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink2);
  margin-top: var(--s3);
  max-width: 30em;
}

.vis {
  grid-column: 1 / -1;
  position: relative;
  margin-top: var(--s8);
  display: grid;
  gap: 0;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(15, 26, 51, 0.06),
    0 2px 4px rgba(15, 26, 51, 0.04),
    0 24px 48px -16px rgba(15, 26, 51, 0.18);
}

.inv {
  position: relative;
  width: 92%;
  padding: var(--s3);
}

.ih {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mut);
}

.ih b {
  color: var(--ink);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 12px/1 Inter, "Noto Sans SC", sans-serif;
  color: var(--acc);
  background: #fbefec;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.amt {
  font: 600 40px/1 Inter, "Noto Sans SC", sans-serif;
  letter-spacing: -0.03em;
  margin: var(--s3) 0 var(--s1);
  font-feature-settings: "tnum";
}

.amt small {
  font-size: 16px;
  color: var(--mut);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 6px;
}

.for {
  font-size: 14px;
  color: var(--ink2);
}

.pay {
  display: flex;
  gap: var(--s2);
  align-items: center;
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line2);
}

.qr {
  flex: none;
  width: 88px;
  height: 88px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.addr {
  font-size: 12px;
  color: var(--mut);
  line-height: 1.6;
  min-width: 0;
}

.addr code {
  display: block;
  font: 500 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
  margin: 2px 0 var(--s1);
}

.copyb {
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
}

.note {
  margin-top: var(--s2);
  font-size: 12px;
  color: var(--mut);
  background: #f7f7f4;
  border-radius: 8px;
  padding: var(--s1) 12px;
}

.rec {
  position: relative;
  justify-self: end;
  width: 92%;
  margin-top: calc(-1 * var(--s4));
  overflow: hidden;
}

.rh {
  display: flex;
  align-items: center;
  gap: var(--s1);
  padding: 12px var(--s2);
  border-bottom: 1px solid var(--line2);
  font-size: 13px;
  font-weight: 600;
}

.rh .dots {
  display: flex;
  gap: 6px;
  margin-right: var(--s1);
}

.rh .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6e6e2;
}

.rh .sheets {
  margin-left: auto;
  font-weight: 500;
  color: var(--mut);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-feature-settings: "tnum";
}

th {
  text-align: left;
  font-weight: 500;
  color: var(--mut);
  background: #fafaf8;
  padding: 10px var(--s2);
  border-bottom: 1px solid var(--line2);
}

td {
  white-space: nowrap;
  padding: 12px var(--s2);
  border-bottom: 1px solid var(--line2);
}

tr:last-child td {
  border: 0;
}

.r,
th.r {
  text-align: right;
}

tr.hl td {
  background: #fffbf5;
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
}

.ok {
  color: var(--ok);
  background: #e9f6f0;
}

.wait {
  color: var(--mut);
  background: #f2f2ef;
}

.sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--s2);
  font-size: 13px;
  border-top: 1px solid var(--line);
  color: var(--mut);
}

.sum b {
  color: var(--ink);
}

.trust {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust .w {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.t {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: var(--s3) var(--s2);
}

.t svg {
  flex: none;
  color: var(--ink);
  margin-top: 3px;
}

.t b {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}

.t span {
  font-size: 13px;
  color: var(--mut);
  line-height: 1.5;
}

section {
  padding: var(--s12) 0;
}

.tight {
  padding-top: 0;
}

.how {
  background: #fff;
  border-block: 1px solid var(--line);
}

.head {
  grid-column: 1 / -1;
  margin-bottom: var(--s6);
}

.head.center {
  text-align: center;
}

.feat {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--s2);
}

.feat .f {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--s4);
}

.feat .n {
  font: 600 13px/1 Inter, "Noto Sans SC", sans-serif;
  color: var(--acc);
  margin-bottom: var(--s3);
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fbefec;
}

.feat .f p {
  color: var(--ink2);
  font-size: 15px;
}

.bound {
  grid-column: 1 / -1;
}

.bl {
  list-style: none;
  padding: 0;
  margin: 0;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
}

.bl li {
  display: flex;
  gap: var(--s2);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.bl svg {
  flex: none;
  margin-top: 5px;
  color: var(--acc);
}

.steps {
  grid-column: 1 / -1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s2);
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: var(--s3);
  border-top: 2px solid var(--line);
}

.steps li:first-child {
  border-color: var(--ink);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font: 600 13px/1 Inter, "Noto Sans SC", sans-serif;
  color: var(--mut);
  margin-bottom: var(--s2);
}

.steps p {
  color: var(--ink2);
  font-size: 15px;
}

.plans {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--s2);
  align-items: start;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--s4);
}

.plan .price {
  font: 700 44px/1 Inter, "Noto Sans SC", sans-serif;
  letter-spacing: -0.035em;
  margin-top: var(--s3);
}

.unit {
  font-size: 14px;
  color: var(--mut);
  margin: var(--s1) 0 var(--s3);
}

.plan ul {
  list-style: none;
  padding: var(--s3) 0 0;
  margin: var(--s3) 0 0;
  border-top: 1px solid var(--line2);
}

.plan li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink2);
}

.plan li svg {
  flex: none;
  margin-top: 5px;
  color: var(--ok);
}

.plan.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 24px 48px -16px rgba(15, 26, 51, 0.45);
}

.plan.featured .unit,
.plan.featured li {
  color: #b9c1d3;
}

.plan.featured li svg {
  color: #7fd3b0;
}

.plan.featured ul {
  border-color: rgba(255, 255, 255, 0.12);
}

.plan.featured .p {
  background: #fff;
  color: var(--ink);
}

.plan.featured .p:hover,
.band .p:hover {
  background: #f3f3f0;
  color: var(--ink);
}

.tag {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  font: 600 12px/1 Inter, "Noto Sans SC", sans-serif;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.faqh {
  grid-column: 1 / -1;
}

.faq {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) 0;
  font-weight: 600;
  font-size: 17px;
}

summary::-webkit-details-marker {
  display: none;
}

summary .mark {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

summary .mark::before,
summary .mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
}

summary .mark::after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}

details[open] summary .mark::after {
  transform: rotate(0);
}

details p {
  padding: 0 var(--s6) var(--s3) 0;
  margin-top: calc(-1 * var(--s1));
  color: var(--ink2);
}

.final {
  padding: 0 0 var(--s12);
}

.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: var(--s8) var(--s3);
  text-align: center;
}

.band::before {
  content: "";
  position: absolute;
  inset: -40% 10% auto;
  height: 400px;
  background: radial-gradient(closest-side, rgba(180, 67, 43, 0.35), transparent);
  pointer-events: none;
}

.band h2 {
  color: #fff;
  position: relative;
}

.band .cta {
  justify-content: center;
  position: relative;
}

.band .p {
  background: #fff;
  color: var(--ink);
}

.band .s {
  background: transparent;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.band .s:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.band :focus-visible,
.plan.featured :focus-visible {
  outline-color: var(--ink);
  box-shadow: 0 0 0 5px #fff;
}

footer {
  border-top: 1px solid var(--line);
  padding: var(--s6) 0;
  font-size: 13px;
  color: var(--mut);
}

footer .w {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

footer .brand {
  color: var(--ink);
}

.fine {
  text-wrap: balance;
}

.fl {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

.fl a {
  text-decoration: none;
}

#how,
#price,
#faq,
#main,
#book {
  scroll-margin-top: 80px;
}

br.mb {
  display: inline;
}

@media (max-width: 959px) {
  .rec {
    width: 100%;
  }

  .inv {
    width: 94%;
  }

  td,
  th {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bound {
    margin-bottom: var(--s4);
  }
}

@media (min-width: 960px) {
  .w {
    padding: 0 var(--s4);
  }

  .g12 {
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--s3);
  }

  .nav {
    display: flex;
  }

  .hero {
    padding: var(--s12) 0 var(--s16);
  }

  .hero .copy {
    grid-column: 1 / 7;
    align-self: center;
  }

  h1 {
    font-size: 58px;
    line-height: 1.12;
    white-space: nowrap;
  }

  .vis {
    grid-column: 7 / 13;
    margin: 0;
    height: 600px;
    display: block;
  }

  .inv {
    position: absolute;
    left: 0;
    top: 0;
    width: 380px;
  }

  .rec {
    position: absolute;
    margin: 0;
    width: 480px;
    right: calc(-1 * var(--s4));
    bottom: 0;
  }

  .trust .w {
    grid-template-columns: repeat(4, 1fr);
  }

  .t {
    padding: var(--s4) var(--s3);
  }

  .t + .t {
    border-left: 1px solid var(--line2);
  }

  h2 {
    font-size: 44px;
    line-height: 1.2;
  }

  section {
    padding: var(--s16) 0;
  }

  .tight {
    padding-top: 0;
  }

  .feat {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s3);
  }

  .bound {
    grid-column: 1 / 5;
    margin-bottom: 0;
  }

  .bl {
    grid-column: 6 / 13;
  }

  .bound h2 {
    margin: 0;
  }

  .steps {
    grid-column: 6 / 13;
    gap: 0;
  }

  .steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    padding: var(--s3) 0;
    border-top: 1px solid var(--line);
  }

  .steps li:first-child {
    border-top: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .steps li::before {
    grid-row: 1 / 3;
    margin: 6px 0 0;
  }

  .steps h3,
  .steps p {
    grid-column: 2;
  }

  .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s3);
    align-items: stretch;
  }

  .plan.featured {
    padding: var(--s6) var(--s4);
  }

  .faqh {
    grid-column: 1 / 5;
  }

  .faq {
    grid-column: 6 / 13;
  }

  .band {
    padding: var(--s12) var(--s8);
  }

  .band h2 {
    font-size: 48px;
  }

  footer .w {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  br.mb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  summary .mark::after {
    transition: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .card,
  .plan,
  .feat .f {
    border: 1px solid ButtonText;
  }

  :focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
}

/* ===== Direction 2 "Deep contrast" ===== */
body { overflow-x: clip; }
header { background: rgba(15, 26, 51, 0.86); border-bottom-color: rgba(255,255,255,.08); }
header .brand, header .nav { color: #fff; }
header .nav a { color: #c9d0de; }
header .p { background: #fff; color: var(--ink); }
header .p:hover { background: #eef0f4; }
.hero {
  isolation: isolate; color: #fff;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(180, 67, 43, 0.28), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(70, 110, 210, 0.18), transparent 65%),
    linear-gradient(180deg, #0c1529 0%, #0f1a33 60%, #142140 100%);
}
.hero::before {
  inset: 0; width: auto; height: auto; z-index: -1; opacity: .5; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.hero h1 { color: #fff; }
.hero .lead { color: #c3cadb; }
.hero .loc { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #dfe4ee; }
.hero .p { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5); }
.hero .p:hover { background: #eef0f4; }
.hero .s { background: rgba(255,255,255,.06); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; }
.hero .s:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset; }
.hero .card { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.2), 0 40px 80px -24px rgba(0,0,0,.6); }
.trust { background: linear-gradient(180deg, #eef0f4 0%, var(--bg) 100%); border-bottom: 1px solid var(--line2); }
.how { background: #fff; border-block: 1px solid rgba(15,26,51,.07); }
#price {
  position: relative;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(15, 26, 51, 0.06), transparent 70%),
    linear-gradient(180deg, #f1f2f5 0%, #f6f6f3 100%);
  border-block: 1px solid rgba(15,26,51,.06);
}
.plan { border-color: rgba(15,26,51,.08); box-shadow: 0 1px 2px rgba(15,26,51,.04), 0 16px 40px -20px rgba(15,26,51,.18); }
.plan.featured { background: radial-gradient(110% 70% at 100% 0%, rgba(180,67,43,.25), transparent 55%), var(--ink); }
.hero .card { color: var(--ink); }

/* ===== Spatial depth layer ===== */
.hero { box-shadow: inset 0 0 160px 20px rgba(0,0,0,.45); }
.hero::before {
  inset: 0; width: auto; height: auto; max-width: none; filter: none; z-index: -1;
  background:
    radial-gradient(420px 420px at 82% 18%, rgba(180,67,43,.16), transparent 70%),
    radial-gradient(900px 600px at 10% 90%, rgba(60,95,190,.12), transparent 70%),
    radial-gradient(180px 180px at 58% 70%, rgba(180,67,43,.10), transparent 70%),
    radial-gradient(260px 200px at 34% 8%, rgba(60,95,190,.08), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); 
  opacity: 1; mix-blend-mode: normal;
}
/* perspective floor grid receding to a horizon */
.hero::after {
  content: ""; position: absolute; left: -50%; right: -50%; bottom: 0; top: auto; height: 70%; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center bottom;
  transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
}
/* layered translucent glass planes behind the cards */
.vis { perspective: 1600px; isolation: isolate; }
.vis::before, .vis::after {
  content: ""; position: absolute; z-index: -1; border-radius: 24px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 80%);
  border: 1px solid rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vis::before { inset: -8% 18% 30% -6%; transform: rotate(-6deg) translateZ(-80px); }
.vis::after { inset: 35% -4% -10% 40%; transform: rotate(5deg); opacity: .8; }
.inv, .rec { transform-style: preserve-3d; }
.inv { transform: rotateY(-9deg) rotateX(4deg); box-shadow: 0 0 0 1px rgba(15,26,51,.06), 0 30px 60px -20px rgba(15,26,51,.3), 0 60px 120px -40px rgba(15,26,51,.25); }
.rec { transform: rotateY(-9deg) rotateX(4deg) translateZ(60px); box-shadow: 0 0 0 1px rgba(15,26,51,.06), 0 40px 80px -24px rgba(15,26,51,.38), 0 90px 140px -50px rgba(15,26,51,.3); }
@media (max-width: 959px) {
  .inv, .rec { transform: rotateY(-4deg) rotateX(3deg); }
  .vis::before { inset: -4% 6% 40% -3%; }
  .vis::after { inset: 45% -3% -5% 25%; }
  .hero::after { height: 45%; background-size: 44px 44px; }
}

/* ===== Logo anim A: stable coin ===== */
header .brand { gap: 8px; perspective: 120px; }
header .brand::after {
  content: "$"; flex: none; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 10px/1 Inter, system-ui, sans-serif; letter-spacing: 0; color: #e9fff6;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%) 0 0 / 300% 100% no-repeat,
    radial-gradient(circle at 35% 30%, #2bb383, #127a55 70%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28), inset 0 -1px 2px rgba(0,0,0,.25), 0 0 10px rgba(18,122,85,.45);
  animation: ub-coin 4s cubic-bezier(.45,0,.25,1) infinite;
}
@keyframes ub-coin {
  0%, 40% { transform: rotateY(0); background-position: 100% 0, 0 0; }
  70% { background-position: -50% 0, 0 0; }
  80%, 100% { transform: rotateY(360deg); background-position: -100% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) { header .brand::after { animation: none; } }
