:root {
  --ink: #12233d;
  --ink-2: #2c3e5a;
  --muted: #5d6b80;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --accent: #d9483b;
  --accent-d: #b9382d;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; letter-spacing: .02em; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: -0.5px; position: relative; }
.mark::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--accent); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-size: 1.1rem; }
.brand-txt small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--accent); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff !important; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; transition: background .15s; border: 1.5px solid var(--accent); }
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* hero */
.hero { position: relative; min-height: min(86vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,22,40,.88) 0%, rgba(10,22,40,.62) 45%, rgba(10,22,40,.15) 100%); }
.hero-in { position: relative; padding-top: 120px; padding-bottom: 88px; }
.hero h1 { max-width: 15em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 36em; color: rgba(255,255,255,.88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.eyebrow.dark { color: var(--accent); }

/* facts */
.facts { border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-in > div { padding: 26px 22px; border-left: 1px solid var(--line); }
.facts-in > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: .98rem; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.head { max-width: 720px; margin-bottom: 44px; }
.sub { color: var(--muted); font-size: 1.05rem; }
.sub.light { color: rgba(255,255,255,.78); }

/* product cards */
.grid.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18,35,61,.10); }
.pic { aspect-ratio: 4 / 3; background: #eef0f3; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 24px; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.steps .n { display: inline-block; font-weight: 700; color: var(--accent); font-size: .9rem; margin-bottom: 14px; letter-spacing: .05em; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* split */
.split-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-in.reverse { grid-template-columns: 1fr 1.05fr; }
.split-pic img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-txt p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); -webkit-mask: radial-gradient(circle, #000 0 0) ; }
.ticks li::after { content: ""; position: absolute; left: 5px; top: .62em; width: 6px; height: 3.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* registration data */
.reg { margin: 26px 0 0; border-top: 1px solid var(--line); }
.reg > div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.reg dt { color: var(--muted); font-size: .9rem; }
.reg dd { margin: 0; font-weight: 500; }

/* contact */
.contact { background: var(--ink); color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 10px 28px; }
.c-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.c-row:last-child { border-bottom: 0; }
.c-row span { color: rgba(255,255,255,.6); font-size: .88rem; padding-top: 2px; }
.c-row p { margin: 0; }
.c-row a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.c-row a:hover { border-color: #fff; }

/* footer */
.foot { background: #0c182b; color: rgba(255,255,255,.6); font-size: .86rem; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.foot p { margin: 0; }

/* responsive */
/* tablet */
@media (max-width: 1020px) {
  .section { padding: 80px 0; }
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .steps li { grid-column: span 2; }
  .steps li:nth-child(4), .steps li:nth-child(5) { grid-column: span 3; }
  .grid.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split-in, .split-in.reverse { gap: 36px; }
  .reg > div { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .split-in, .split-in.reverse, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .split-in.reverse .split-pic { order: -1; }
  .split-pic img { aspect-ratio: 16 / 9; }
}

/* phone */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 60px; }
  .mark { width: 36px; height: 36px; font-size: 14px; }
  .brand-txt small { display: none; }
  .nav { gap: 0; }
  .nav a:not(.btn) { display: none; }
  .btn-sm { padding: 8px 16px; }

  .hero { min-height: 0; align-items: stretch; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,22,40,.55) 0%, rgba(10,22,40,.72) 40%, rgba(10,22,40,.92) 100%); }
  .hero-in { padding-top: 56px; padding-bottom: 36px; }
  .hero h1 { font-size: 1.9rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .12em; }
  .lead { font-size: 1rem; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .hero-cta .btn { text-align: center; padding: 12px 10px; font-size: .92rem; }

  .facts-in > div { padding: 18px 12px 18px 0; }
  .facts-in > div:nth-child(even) { padding-left: 14px; }
  .facts strong { font-size: .9rem; }
  .facts span { font-size: .82rem; line-height: 1.45; display: block; }

  .section { padding: 56px 0; }
  .head { margin-bottom: 28px; }
  .sub { font-size: 1rem; }

  .grid.products { gap: 12px; }
  .card:hover { transform: none; box-shadow: none; }
  .pic { aspect-ratio: 1 / 1; }
  .card-body { padding: 12px 12px 14px; }
  .card-body h3 { font-size: .92rem; margin-bottom: .3em; }
  .card-body p { font-size: .82rem; line-height: 1.45; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps li, .steps li:nth-child(4), .steps li:nth-child(5) { grid-column: auto; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 8px; padding: 16px; }
  .steps .n { grid-row: span 2; margin: 2px 0 0; }
  .steps h3 { margin-bottom: .25em; }

  .split-in, .split-in.reverse, .contact-in { gap: 26px; }
  .split-pic img { aspect-ratio: 3 / 2; }
  .reg > div, .c-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
  .reg dd, .c-row p { overflow-wrap: anywhere; }
  .contact-box { padding: 4px 18px; }
  .foot-in { flex-direction: column; }
}
