/* ===========================================================
   AMZKEYRANK.US — Design System
   Palette: deep navy ink + Amazon-orange accent + clean paper
   Display: Sora / Body: Inter / Data: JetBrains Mono
   CJK fallback: "PingFang SC","Microsoft YaHei","Noto Sans SC"
   =========================================================== */

:root{
  --ink: #0B1B2B;
  --ink-2: #11243A;
  --ink-3: #16314E;
  --orange: #FF6A00;
  --orange-dark: #DB5500;
  --orange-light: #FFE7D6;
  --green: #1C9C6B;
  --green-light: #E3F6EE;
  --paper: #F6F7FB;
  --white: #FFFFFF;
  --slate: #5B6B7C;
  --slate-light: #8C9AAA;
  --line: #E3E7EE;
  --line-dark: rgba(255,255,255,.12);
  --danger: #D94F4F;

  --font-display: "Bricolage Grotesque", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(11,27,43,.06);
  --shadow-md: 0 12px 32px rgba(11,27,43,.10);
  --shadow-lg: 0 24px 60px rgba(11,27,43,.18);
  --container: 1180px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0 0 .5em; font-weight:700; letter-spacing:-.01em; line-height:1.15; }
p{ margin:0 0 1em; color: var(--slate); }
button{ font-family: inherit; }

:focus-visible{ outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section{ padding: 96px 0; }
.section-tight{ padding: 64px 0; }
@media (max-width: 768px){
  .section{ padding: 64px 0; }
  .section-tight{ padding: 40px 0; }
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--orange-dark);
  font-weight: 700;
  display:inline-flex; align-items:center; gap:8px;
  margin-bottom: 14px;
}
.eyebrow::before{ content:""; width:18px; height:2px; background: var(--orange); display:inline-block; }

.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }
.section-head p{ font-size: 17px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-body); font-weight:600; font-size:15px;
  padding: 13px 26px; border-radius: 999px; border:1px solid transparent;
  cursor:pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-orange{ background: var(--orange); color:#fff; box-shadow: 0 10px 24px rgba(255,106,0,.28); }
.btn-orange:hover{ background: var(--orange-dark); }
.btn-ink{ background: var(--ink); color:#fff; }
.btn-ink:hover{ background: var(--ink-3); }
.btn-outline{ background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover{ border-color: var(--ink); }
.btn-outline-light{ background: transparent; border-color: rgba(255,255,255,.35); color:#fff; }
.btn-outline-light:hover{ border-color:#fff; }
.btn-block{ width:100%; }
.btn-sm{ padding: 9px 18px; font-size:13px; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(11,27,43,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding: 16px 24px; max-width: var(--container); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:800; font-size:19px; color:#fff; }
.brand .mark{
  width:34px; height:34px; border-radius:9px; background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex; align-items:center; justify-content:center; color:#fff; font-family: var(--font-mono); font-weight:700; font-size:13px;
}
.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{ color: rgba(255,255,255,.78); font-size:14.5px; font-weight:500; transition: color .15s; }
.nav-links a:hover{ color:#fff; }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.lang-toggle{
  font-family: var(--font-mono); font-size:12.5px; font-weight:700; color:#fff;
  border:1px solid rgba(255,255,255,.3); border-radius:999px; padding:7px 14px;
  transition: background .15s;
}
.lang-toggle:hover{ background: rgba(255,255,255,.12); }
.nav-toggle{ display:none; background:none; border:none; color:#fff; font-size:26px; cursor:pointer; }

@media (max-width: 920px){
  .nav-links{ position:absolute; top:100%; left:0; right:0; background: var(--ink); flex-direction:column; align-items:flex-start; padding: 10px 24px 24px; gap:16px; display:none; border-bottom:1px solid var(--line-dark); }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
  .nav-cta{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  background: radial-gradient(120% 140% at 100% -10%, #1B3A57 0%, var(--ink) 55%, #061320 100%);
  color:#fff; position:relative; overflow:hidden;
  padding: 90px 0 70px;
}
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 55%, transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 55%, transparent 85%);
}
.hero::after{
  content:""; position:absolute; top:-160px; right:-160px; width:520px; height:520px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,106,0,.20), transparent 70%); pointer-events:none;
}
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:start; position:relative; z-index:1; }
@media (max-width: 920px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero h1{ color:#fff; font-size: clamp(34px, 5vw, 58px); }
.hero-sub{ color: rgba(255,255,255,.78); font-size:17px; max-width:560px; }
.hero-cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin: 28px 0 44px; }
.hero-eyebrow{ color: var(--orange); }
.hero-eyebrow::before{ background: var(--orange); }

.stat-strip{ display:flex; gap:36px; flex-wrap:wrap; }
.stat-strip .stat-num{ font-family: var(--font-mono); font-size: 26px; font-weight:700; color:#fff; }
.stat-strip .stat-label{ font-size:12.5px; color: rgba(255,255,255,.6); }

.trust-pills{ display:flex; gap:10px; flex-wrap:wrap; margin-top:30px; padding-top:26px; border-top:1px solid rgba(255,255,255,.12); }
.trust-pill{
  display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:7px 14px;
}
.trust-pill .dot{ width:7px; height:7px; border-radius:50%; background: var(--orange); flex-shrink:0; }

/* Rank climb signature graphic */
.rank-card{
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(6px);
}
.rank-card-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.rank-card-head span{ font-family: var(--font-mono); font-size:11.5px; color: rgba(255,255,255,.5); letter-spacing:.08em; }
.rank-pill{ font-family: var(--font-mono); font-size:12px; font-weight:700; padding:5px 10px; border-radius:999px; }
.rank-pill.from{ background: rgba(217,79,79,.18); color:#ff9b9b; }
.rank-pill.to{ background: rgba(28,156,107,.2); color:#5fe0ad; }
.rank-svg{ width:100%; height:auto; display:block; }
.rank-svg .line{ stroke: var(--orange); stroke-width:3; fill:none; stroke-linecap:round; stroke-dasharray: 600; stroke-dashoffset:600; animation: drawLine 1.8s ease forwards .2s; }
.rank-svg .dot{ fill: var(--orange); opacity:0; animation: popIn .4s ease forwards 1.9s; }
.rank-svg .grid-line{ stroke: rgba(255,255,255,.08); stroke-width:1; }
@keyframes drawLine{ to{ stroke-dashoffset:0; } }
@keyframes popIn{ to{ opacity:1; } }

/* ---------- Why band ---------- */
.why-band{ background: var(--paper); }
.why-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:center; }
@media (max-width:860px){ .why-grid{ grid-template-columns:1fr; } }
.why-body p{ font-size:16.5px; }

/* ---------- Service cards ---------- */
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap:22px; }
.grid-flow{ display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap:22px; }
@media (max-width: 980px){ .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px){ .grid-4, .grid-2, .grid-flow{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.card-icon{
  width:48px; height:48px; border-radius:13px; background: linear-gradient(150deg, var(--orange-light), #fff);
  color: var(--orange-dark); display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  border:1px solid #FAD9BB;
}
.card-icon svg{ width:23px; height:23px; }
.card h3{ font-size:18px; margin-bottom:8px; }
.card p{ font-size:14.5px; margin:0; }

/* ---------- Services section backdrop ---------- */
.services-section{ position:relative; }
.services-section::before{
  content:""; position:absolute; top:0; left:0; right:0; height:420px; pointer-events:none; z-index:0;
  background: radial-gradient(60% 100% at 50% 0%, var(--orange-light) 0%, rgba(255,231,214,0) 70%); opacity:.55;
}
.services-section .container{ position:relative; z-index:1; }

/* ---------- Spotlight feature rows ---------- */
.spotlight-row{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center; margin-bottom:84px; }
.spotlight-row.reverse .spotlight-visual{ order:2; }
.spotlight-row.reverse .spotlight-text{ order:1; }
@media (max-width: 900px){
  .spotlight-row{ grid-template-columns: 1fr; gap:28px; margin-bottom:56px; }
  .spotlight-row.reverse .spotlight-visual{ order:1; }
  .spotlight-row.reverse .spotlight-text{ order:2; }
}
.spotlight-num{ font-family: var(--font-mono); font-size:13px; color: var(--orange-dark); font-weight:700; letter-spacing:.06em; margin-bottom:10px; display:block; }
.spotlight-text h3{ font-size: clamp(22px,2.6vw,28px); }
.spotlight-text p{ font-size:15.5px; }
.spotlight-list{ margin:18px 0 0; }
.spotlight-list li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; padding:6px 0; color: var(--ink); }
.spotlight-list li::before{ content:"✓"; color: var(--green); font-weight:700; flex-shrink:0; }

.spotlight-visual{
  background: linear-gradient(155deg, var(--ink) 0%, #102338 100%); border-radius: var(--radius); padding:26px;
  box-shadow: var(--shadow-lg); position:relative; overflow:hidden;
}
.spotlight-visual::after{ content:""; position:absolute; inset:0; background: radial-gradient(circle at 100% 0%, rgba(255,106,0,.18), transparent 60%); }
.mock-card{ background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:16px; position:relative; z-index:1; }
.mock-card + .mock-card{ margin-top:12px; }
.mock-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.mock-head span{ font-family: var(--font-mono); font-size:10.5px; color: rgba(255,255,255,.5); letter-spacing:.08em; }
.mock-search-bar{ display:flex; align-items:center; gap:8px; background: rgba(255,255,255,.07); border-radius:7px; padding:9px 12px; font-size:12.5px; color: rgba(255,255,255,.55); margin-bottom:14px; }
.mock-result{ display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.mock-result:last-child{ border-bottom:none; }
.mock-thumb{ width:40px; height:40px; border-radius:8px; flex-shrink:0; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.mock-thumb.muted{ background: rgba(255,255,255,.12); }
.mock-lines{ flex-grow:1; }
.mock-line{ height:7px; border-radius:4px; background: rgba(255,255,255,.18); margin-bottom:6px; }
.mock-line.short{ width:55%; }
.mock-rank-tag{ font-family: var(--font-mono); font-size:11px; font-weight:700; padding:3px 9px; border-radius:6px; flex-shrink:0; }
.mock-rank-tag.top{ background: rgba(28,156,107,.22); color:#69e0ab; }
.mock-rank-tag.low{ background: rgba(255,255,255,.1); color: rgba(255,255,255,.45); }

.mock-stars{ color: var(--orange); font-size:13px; letter-spacing:1.5px; }
.mock-review-card{ background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:14px; display:flex; gap:12px; align-items:flex-start; }
.mock-avatar{ width:34px; height:34px; border-radius:50%; flex-shrink:0; }
.mock-verified{ display:inline-flex; align-items:center; gap:4px; font-size:10.5px; color:#69e0ab; font-weight:700; margin-top:4px; }

.mock-before-after{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; }
.mock-ba-col{ text-align:center; }
.mock-ba-col .tag{ font-family: var(--font-mono); font-size:10px; letter-spacing:.06em; color: rgba(255,255,255,.45); margin-bottom:8px; display:block; }
.mock-ba-bars{ display:flex; align-items:flex-end; gap:5px; height:56px; justify-content:center; }
.mock-ba-bars .bar{ width:8px; border-radius:3px 3px 0 0; background: rgba(255,255,255,.18); }
.mock-ba-col.after .bar{ background: linear-gradient(180deg, var(--orange), var(--orange-dark)); }
.mock-arrow{ color: var(--orange); font-size:20px; }

/* ---------- Process ---------- */
.process-rail{ display:grid; grid-template-columns: repeat(5,1fr); gap:18px; position:relative; }
@media (max-width: 980px){ .process-rail{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .process-rail{ grid-template-columns: 1fr; } }
.process-step{ position:relative; padding-top:8px; }
.process-num{ font-family: var(--font-mono); font-size:13px; color: var(--orange-dark); font-weight:700; margin-bottom:10px; display:block; }
.process-step h3{ font-size:16.5px; }
.process-step p{ font-size:14px; }

/* ---------- Packages ---------- */
.packages-band{ background: var(--ink); color:#fff; }
.packages-band .section-head p{ color: rgba(255,255,255,.65); }
.pkg-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; align-items:stretch; }
@media (max-width: 980px){ .pkg-grid{ grid-template-columns: 1fr; max-width:460px; margin:0 auto; } }
.pkg-card{
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 32px 28px; display:flex; flex-direction:column; position:relative;
}
.pkg-card.featured{ background:#fff; color: var(--ink); border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.02); }
.pkg-card.featured .pkg-tagline, .pkg-card.featured p{ color: var(--slate); }
.pkg-badge{ position:absolute; top:-13px; left:28px; background: var(--orange); color:#fff; font-family: var(--font-mono); font-size:11px; font-weight:700; padding:5px 12px; border-radius:999px; letter-spacing:.06em; }
.pkg-name{ font-size:21px; margin-bottom:4px; }
.pkg-tagline{ font-size:14px; color: rgba(255,255,255,.6); margin-bottom:20px; }
.pkg-price{ font-family: var(--font-mono); font-size:38px; font-weight:700; margin-bottom:2px; }
.pkg-price small{ font-size:14px; font-weight:500; opacity:.65; }
.pkg-card.featured .pkg-price{ color: var(--ink); }
.pkg-features{ margin: 22px 0 26px; flex-grow:1; }
.pkg-features li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; padding:7px 0; color: rgba(255,255,255,.85); }
.pkg-card.featured .pkg-features li{ color: var(--ink); }
.pkg-features li::before{ content:"✓"; color: var(--green); font-weight:700; flex-shrink:0; }
.pkg-card .btn{ width:100%; }

.custom-cta{ margin-top:48px; text-align:center; border-top:1px solid rgba(255,255,255,.12); padding-top:40px; }
.custom-cta h3{ color:#fff; font-size:22px; }
.custom-cta p{ color: rgba(255,255,255,.65); max-width:520px; margin:0 auto 20px; }

/* ---------- Testimonials ---------- */
.rating-summary{ display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:8px; flex-wrap:wrap; }
.rating-summary .num{ font-family: var(--font-mono); font-size:32px; font-weight:700; color: var(--ink); }
.rating-summary .stars{ color: var(--orange); font-size:18px; letter-spacing:2px; }
.rating-summary .label{ font-size:13px; color: var(--slate); }

.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width: 980px){ .testi-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .testi-grid{ grid-template-columns: 1fr; } }
.testi-card{ background: var(--paper); border-radius: var(--radius); padding:26px; position:relative; }
.testi-stars{ color: var(--orange); letter-spacing:2px; margin-bottom:12px; font-size:14px; }
.testi-quote{ font-size:14.5px; color: var(--ink); margin-bottom:18px; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; object-fit:cover; background: var(--line); }
.testi-name{ font-weight:700; font-size:14.5px; display:flex; align-items:center; gap:6px; }
.testi-role{ font-size:12.5px; color: var(--slate); }
.verified-badge{ display:inline-flex; align-items:center; gap:3px; font-size:10px; font-weight:700; color: var(--green); background: var(--green-light); padding:2px 7px; border-radius:999px; }

/* ---------- FAQ ---------- */
.faq-columns{ display:grid; grid-template-columns: 1fr 1fr; gap:0 56px; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px){ .faq-columns{ grid-template-columns: 1fr; } }
.faq-category{ font-family: var(--font-mono); font-size:11.5px; letter-spacing:.1em; color: var(--orange-dark); font-weight:700; margin: 30px 0 4px; }
.faq-category:first-child{ margin-top:0; }
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding: 18px 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px; font-family: var(--font-display);
  font-weight:600; font-size:15.5px; color: var(--ink);
}
.faq-q .plus{ font-size:20px; color: var(--orange); flex-shrink:0; transition: transform .2s; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a p{ padding-bottom:18px; margin:0; font-size:14.5px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color:#fff; text-align:center; padding: 70px 0;
}
.cta-band h2{ color:#fff; font-size: clamp(26px,3.4vw,36px); }
.cta-band p{ color: rgba(255,255,255,.9); max-width:520px; margin:0 auto 26px; }

/* ---------- Blog ---------- */
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width: 980px){ .blog-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .blog-grid{ grid-template-columns: 1fr; } }
.blog-card{ border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition: box-shadow .2s, transform .2s; background:#fff; }
.blog-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card .thumb{ aspect-ratio: 16/10; background: linear-gradient(135deg, var(--ink), var(--ink-3)); display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.3); font-family: var(--font-mono); font-size:12px; overflow:hidden; }
.blog-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.blog-card-body{ padding:22px; }
.blog-date{ font-family: var(--font-mono); font-size:11.5px; color: var(--orange-dark); letter-spacing:.06em; margin-bottom:10px; display:block; }
.blog-card h3{ font-size:18px; margin-bottom:8px; }
.blog-card p{ font-size:14px; }
.blog-read{ font-size:13.5px; font-weight:700; color: var(--orange-dark); }

.post-hero{ background: var(--ink); color:#fff; padding: 60px 0 40px; }
.post-hero h1{ color:#fff; font-size: clamp(26px,4vw,40px); max-width:780px; }
.post-body{ max-width: 720px; margin: 0 auto; padding: 56px 24px; font-size:16.5px; }
.post-body img{ border-radius: var(--radius); margin: 24px 0; }
.post-body h2{ font-size:24px; margin-top:36px; }
.post-body p{ color: var(--ink); opacity:.85; }

/* ---------- Forms ---------- */
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
@media (max-width: 640px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:7px; color: var(--ink); }
.field input, .field select, .field textarea{
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size:14.5px; color: var(--ink); background:#fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--orange); }
.field textarea{ min-height:120px; resize:vertical; }
.field-hint{ font-size:12.5px; color: var(--slate-light); margin-top:6px; }
.radio-cards{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
@media (max-width: 640px){ .radio-cards{ grid-template-columns: 1fr; } }
.radio-card{ border:1px solid var(--line); border-radius: var(--radius-sm); padding:14px; cursor:pointer; display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; }
.radio-card input{ width:auto; }
.radio-card:has(input:checked){ border-color: var(--orange); background: var(--orange-light); }

.alert{ padding:14px 18px; border-radius: var(--radius-sm); font-size:14.5px; margin-bottom:20px; }
.alert-success{ background: var(--green-light); color:#136B4A; border:1px solid #BCE8D7; }
.alert-error{ background:#FDEAEA; color:#A22F2F; border:1px solid #F6C9C9; }

/* ---------- Order summary / payment ---------- */
.order-shell{ display:grid; grid-template-columns: 1.3fr .9fr; gap:40px; align-items:flex-start; }
@media (max-width: 900px){ .order-shell{ grid-template-columns: 1fr; } }
.summary-card{ background: var(--paper); border-radius: var(--radius); padding:26px; position:sticky; top:100px; }
.summary-card h3{ font-size:16px; }
.summary-row{ display:flex; justify-content:space-between; font-size:14.5px; padding:9px 0; border-bottom:1px solid var(--line); }
.summary-row:last-child{ border-bottom:none; }
.summary-total{ font-family: var(--font-mono); font-weight:700; font-size:20px; }

.pay-methods{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin: 30px 0; }
@media (max-width: 720px){ .pay-methods{ grid-template-columns: 1fr; } }
.pay-card{ border:1px solid var(--line); border-radius: var(--radius); padding:22px; text-align:center; }
.pay-card h4{ font-size:15px; margin-bottom:14px; }
.pay-qr{ width:160px; height:160px; margin:0 auto 12px; border-radius: var(--radius-sm); background: var(--paper); display:flex; align-items:center; justify-content:center; overflow:hidden; border:1px solid var(--line); }
.pay-qr img{ width:100%; height:100%; object-fit:contain; }
.pay-detail{ font-family: var(--font-mono); font-size:13px; color: var(--slate); white-space:pre-line; }

.order-no-box{ background: var(--ink); color:#fff; border-radius: var(--radius); padding:26px 30px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:32px; }
.order-no-box .num{ font-family: var(--font-mono); font-size:26px; font-weight:700; color: var(--orange); }
.order-no-box .label{ font-size:12px; letter-spacing:.08em; color: rgba(255,255,255,.55); }

.status-track{ display:flex; gap:0; margin: 30px 0; }
.status-track .pt{ flex:1; text-align:center; position:relative; }
.status-track .pt .dot{ width:14px; height:14px; border-radius:50%; background: var(--line); margin:0 auto 8px; border:3px solid #fff; box-shadow:0 0 0 1px var(--line); }
.status-track .pt.active .dot{ background: var(--orange); box-shadow:0 0 0 1px var(--orange); }
.status-track .pt::before{ content:""; position:absolute; top:6px; left:-50%; width:100%; height:2px; background: var(--line); z-index:-1; }
.status-track .pt:first-child::before{ display:none; }
.status-track .pt.active::before{ background: var(--orange); }
.status-track .pt span{ font-size:12px; color: var(--slate); }

.badge{ display:inline-block; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:700; }
.badge-warning{ background:#FFF3DC; color:#946200; }
.badge-info{ background:#E2EEFB; color:#1A5FA8; }
.badge-progress{ background:#EFE6FB; color:#6B3FB0; }
.badge-success{ background: var(--green-light); color:#136B4A; }
.badge-danger{ background:#FDEAEA; color:#A22F2F; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.65); padding: 64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap:36px; margin-bottom:48px; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{ color:#fff; font-size:14px; letter-spacing:.04em; margin-bottom:18px; }
.site-footer a{ color: rgba(255,255,255,.65); font-size:14px; transition: color .15s; }
.site-footer a:hover{ color: var(--orange); }
.site-footer li{ margin-bottom:10px; }
.footer-bottom{ border-top:1px solid var(--line-dark); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; }
.wechat-box{ background: rgba(255,255,255,.05); border:1px solid var(--line-dark); border-radius: var(--radius-sm); padding:14px; display:flex; gap:12px; align-items:center; }
.wechat-box img{ width:56px; height:56px; border-radius:6px; background:#fff; }

/* Accessibility skip link */
.skip-link{ position:absolute; left:-999px; top:0; background:var(--orange); color:#fff; padding:10px 16px; z-index:999; }
.skip-link:focus{ left:10px; top:10px; }
