@charset "UTF-8";

:root {
  --paper: #fbf8f1;
  --surface: #ffffff;
  --ink: #17352f;
  --muted: #52645c;
  --forest: #0e5b4c;
  --forest-deep: #08483d;
  --forest-soft: #dfeee7;
  --mint: #a9d7c3;
  --orange: #ed8151;
  --orange-deep: #ce6037;
  --gold: #f3c76d;
  --line: #dce4de;
  --danger: #b83a32;
  --shadow-sm: 0 8px 24px rgba(23, 53, 47, .07);
  --shadow-lg: 0 24px 70px rgba(8, 72, 61, .15);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -.025em; }
p:last-child { margin-bottom: 0; }
::selection { color: var(--forest-deep); background: var(--gold); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-soft { background: #f0f4ee; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: var(--forest); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--forest); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.section-heading { max-width: 680px; margin-bottom: 52px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 17px; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 23px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 700; line-height: 1.4; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { color: #fff; background: var(--forest); box-shadow: 0 10px 24px rgba(14, 91, 76, .2); }
.btn-primary:hover { background: var(--forest-deep); box-shadow: 0 14px 30px rgba(14, 91, 76, .26); }
.btn-accent { color: #2f271c; background: var(--gold); box-shadow: 0 10px 24px rgba(243, 199, 109, .18); }
.btn-accent:hover { background: #ffda8a; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .64); }
.btn-ghost:hover { border-color: var(--forest); background: #fff; }
.btn-light { color: var(--forest-deep); background: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .38); background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 700; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(14, 91, 76, .09); background: rgba(251, 248, 241, .93); backdrop-filter: blur(16px); }
.navbar { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand img { width: 43px; height: 43px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 20px; font-weight: 850; letter-spacing: .04em; line-height: 1.2; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .15em; line-height: 1; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { position: relative; padding: 26px 0; color: #38534c; font-size: 14px; font-weight: 650; white-space: nowrap; }
.nav-menu a::after { position: absolute; right: 0; bottom: 17px; left: 0; width: 0; height: 2px; margin: auto; border-radius: 3px; background: var(--orange); content: ""; transition: width .2s ease; }
.nav-menu a:hover, .nav-menu a.active { color: var(--forest); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 18px; }
.nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.nav-actions .btn { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-close { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 78px 0 92px; color: #fff; background: var(--forest-deep); }
.hero::before { position: absolute; top: -260px; left: -180px; width: 640px; height: 640px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255, 255, 255, .018), 0 0 0 160px rgba(255, 255, 255, .014); content: ""; }
.hero::after { position: absolute; right: -100px; bottom: -230px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 199, 109, .2), transparent 67%); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .8fr); align-items: center; gap: 74px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #d8e9e2; background: rgba(255, 255, 255, .06); font-size: 13px; }
.hero-badge::before { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(243, 199, 109, .12); content: ""; }
.hero h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(43px, 5.3vw, 66px); font-weight: 850; letter-spacing: -.055em; line-height: 1.15; }
.hero h1 span { position: relative; display: inline-block; color: var(--gold); }
.hero h1 span::after { position: absolute; right: 2px; bottom: -4px; left: 2px; height: 8px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M2 7C60 1 133 2 198 5' fill='none' stroke='%23ed8151' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; content: ""; }
.hero-lead { max-width: 600px; margin-bottom: 30px; color: #d0e0da; font-size: 17px; line-height: 1.9; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .13); }
.hero-fact { padding-right: 18px; }
.hero-fact + .hero-fact { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .13); }
.hero-fact strong { display: block; margin-bottom: 2px; color: #fff; font-size: 24px; line-height: 1.35; }
.hero-fact span { color: #aec8be; font-size: 12px; }
.hero-assurance { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #a9c3b9; font-size: 12px; }
.hero-assurance svg { width: 16px; height: 16px; color: var(--mint); }

/* Calculator */
.exchange-card { position: relative; padding: 30px; border: 1px solid rgba(255, 255, 255, .56); border-radius: var(--radius-lg); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-lg); }
.exchange-card::before { position: absolute; z-index: -1; right: -16px; bottom: -16px; width: 100%; height: 100%; border: 1px solid rgba(243, 199, 109, .28); border-radius: var(--radius-lg); content: ""; }
.calculator-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.calculator-head h2 { margin-bottom: 5px; font-size: 22px; }
.calculator-head p { color: var(--muted); font-size: 12px; }
.demo-tag { flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; color: var(--forest); background: var(--forest-soft); font-size: 11px; font-weight: 750; }
.direction { display: grid; grid-template-columns: 1fr 36px 1fr; align-items: center; gap: 8px; margin-bottom: 22px; padding: 14px; border-radius: 16px; background: #f3f6f1; }
.direction-side { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.direction-side:last-child { justify-content: flex-end; }
.coin { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 11px; color: #fff; font-size: 14px; font-weight: 800; }
.coin-wechat { background: #16a36a; }
.coin-alipay { background: #1677e8; }
.direction-arrow { color: var(--orange); }
.direction-arrow svg { width: 23px; height: 23px; margin: auto; }
.field-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #435b54; font-size: 13px; font-weight: 650; }
.field-label small { color: var(--muted); font-size: 11px; font-weight: 400; }
.amount-input { display: flex; height: 58px; align-items: center; overflow: hidden; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.amount-input:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(14, 91, 76, .08); }
.amount-input .currency-symbol { padding-left: 17px; color: var(--ink); font-size: 22px; font-weight: 700; }
.amount-input input { width: 100%; min-width: 0; height: 100%; padding: 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 24px; font-weight: 750; }
.amount-input input::placeholder { color: #a0aaa5; }
.amount-input input[type="number"]::-webkit-inner-spin-button, .amount-input input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; }
.amount-input input[type="number"] { appearance: textfield; }
.amount-input .unit { padding-right: 17px; color: var(--muted); font-size: 13px; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.quick-amount { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; }
.quick-amount:hover, .quick-amount.active { border-color: var(--mint); color: var(--forest); background: var(--forest-soft); }
.calculation-result { margin-bottom: 16px; padding: 17px 18px; border-radius: 16px; color: #fff; background: var(--forest); }
.result-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; color: #c5ded4; font-size: 12px; }
.result-amount { display: flex; align-items: baseline; gap: 5px; font-size: 32px; font-weight: 800; line-height: 1.3; }
.result-amount small { font-size: 15px; font-weight: 500; }
.fee-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 18px; color: var(--muted); font-size: 12px; }
.fee-row strong { color: var(--ink); font-weight: 650; }
.form-error { min-height: 20px; margin: -8px 0 10px; color: var(--danger); font-size: 12px; }
.calculator-note { display: flex; align-items: flex-start; gap: 7px; margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.calculator-note svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 3px; }

/* Steps */
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps-grid::before { position: absolute; top: 35px; right: 16%; left: 16%; border-top: 1px dashed #a5bdb2; content: ""; }
.step-card { position: relative; z-index: 1; padding: 0 20px; text-align: center; }
.step-number { display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; margin: 0 auto 24px; border: 8px solid #f0f4ee; border-radius: 50%; color: #fff; background: var(--forest); box-shadow: 0 0 0 1px #a5bdb2; font-size: 19px; font-weight: 800; }
.step-card:nth-child(2) .step-number { color: var(--forest-deep); background: var(--gold); }
.step-card:nth-child(3) .step-number { color: #3a2417; background: var(--orange); }
.step-card h3 { margin-bottom: 10px; font-size: 20px; }
.step-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.step-card small { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; color: var(--forest); background: rgba(255, 255, 255, .7); font-size: 11px; }

/* Features */
.feature-list { display: grid; gap: 84px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.feature-row:nth-child(even) .feature-art { order: 2; }
.feature-art { position: relative; display: flex; min-height: 340px; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--radius-lg); background: #e2eee6; }
.feature-row:nth-child(2) .feature-art { background: #f7eadb; }
.feature-row:nth-child(3) .feature-art { background: #e8e7f1; }
.feature-art::before { position: absolute; top: -70px; right: -60px; width: 200px; height: 200px; border: 1px solid rgba(14, 91, 76, .12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255, 255, 255, .15); content: ""; }
.feature-art svg { position: relative; width: 82%; max-height: 290px; }
.feature-copy .feature-index { display: block; margin-bottom: 14px; color: #a94f26; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.feature-copy h3 { margin-bottom: 17px; font-size: 30px; }
.feature-copy > p { margin-bottom: 23px; color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.check-list svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--forest); }

/* Rates */
.rate-section { position: relative; overflow: hidden; color: #fff; background: var(--forest-deep); }
.rate-section::after { position: absolute; top: -180px; right: -100px; width: 500px; height: 500px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255, 255, 255, .018); content: ""; }
.rate-section .container { position: relative; z-index: 1; }
.rate-section .section-heading p { color: #b7cec5; }
.rate-section .eyebrow { color: var(--gold); }
.rate-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rate-card { padding: 27px; border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--radius); background: rgba(255, 255, 255, .055); transition: background .2s ease, transform .2s ease; }
.rate-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .085); }
.rate-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.rate-card-head .coin { width: 40px; height: 40px; }
.rate-card-head span { color: #b7cec5; font-size: 11px; }
.rate-card h3 { margin-bottom: 12px; color: #d8e6e0; font-size: 15px; font-weight: 550; letter-spacing: 0; }
.rate-value { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; color: var(--gold); font-size: 40px; font-weight: 800; line-height: 1.2; }
.rate-value small { color: #b7cec5; font-size: 12px; font-weight: 450; }
.rate-card p { color: #a9c3b9; font-size: 12px; }
.rate-disclaimer { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #a9c3b9; font-size: 12px; }
.rate-disclaimer p { max-width: 760px; margin: 0; }
.rate-time { flex: 0 0 auto; white-space: nowrap; }

/* Scenarios */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scenario-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .55); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.scenario-card:hover { transform: translateY(-4px); border-color: #b6cdc1; box-shadow: var(--shadow-sm); }
.scenario-number { position: absolute; top: 12px; right: 20px; color: rgba(14, 91, 76, .06); font-size: 68px; font-weight: 850; line-height: 1; }
.scenario-icon { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 26px; border-radius: 16px; color: var(--forest); background: var(--forest-soft); }
.scenario-card:nth-child(2) .scenario-icon { color: var(--orange-deep); background: #f9e7da; }
.scenario-card:nth-child(3) .scenario-icon { color: #675987; background: #eae6f2; }
.scenario-icon svg { width: 26px; height: 26px; }
.scenario-card h3 { margin-bottom: 12px; font-size: 20px; }
.scenario-card p { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.scenario-meta { padding-top: 15px; border-top: 1px solid var(--line); color: var(--forest); font-size: 12px; font-weight: 700; }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.security-card { padding: 27px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(14, 91, 76, .06); }
.security-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid #cee0d6; border-radius: 50%; color: var(--forest); }
.security-icon svg { width: 23px; height: 23px; }
.security-card h3 { margin-bottom: 10px; font-size: 18px; }
.security-card p { color: var(--muted); font-size: 13px; }
.security-notice { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 22px; border: 1px solid #ebd6b1; border-radius: 14px; background: #fff8e9; }
.security-notice svg { width: 24px; height: 24px; flex: 0 0 auto; color: #a36717; }
.security-notice p { margin: 0; color: #755c36; font-size: 13px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 70px; }
.faq-aside { position: sticky; top: 116px; }
.faq-aside h2 { margin-bottom: 16px; font-size: 36px; }
.faq-aside p { margin-bottom: 25px; color: var(--muted); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-question { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; border: 0; text-align: left; background: transparent; cursor: pointer; font-size: 17px; font-weight: 750; }
.faq-question:hover { color: var(--forest); }
.faq-plus { position: relative; width: 28px; height: 28px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; transition: background .2s ease, transform .2s ease; }
.faq-plus::before, .faq-plus::after { position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--forest); content: ""; transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-item.active .faq-plus { background: var(--forest-soft); transform: rotate(180deg); }
.faq-item.active .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 48px 23px 0; color: var(--muted); font-size: 14px; }
.faq-answer[hidden] { display: none; }
.faq-answer a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

/* CTA and footer */
.cta-section { padding: 74px 0; }
.cta-box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; padding: 48px 54px; border-radius: var(--radius-lg); color: #fff; background: var(--forest); }
.cta-box::after { position: absolute; right: 22%; bottom: -110px; width: 220px; height: 220px; border: 40px solid rgba(255, 255, 255, .04); border-radius: 50%; content: ""; }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { margin-bottom: 10px; font-size: 32px; }
.cta-copy p { margin: 0; color: #c5ded4; font-size: 14px; }
.cta-box .btn { position: relative; z-index: 1; flex: 0 0 auto; }
.site-footer { padding: 68px 0 26px; color: #b8cbc3; background: #102f29; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 54px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-copy small { color: #91afa3; }
.footer-brand > p { max-width: 320px; margin: 20px 0; color: #91afa3; font-size: 13px; }
.footer-domain { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 12px; }
.footer-domain::before { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); content: ""; }
.footer-col h2 { margin-bottom: 20px; color: #fff; font-size: 14px; letter-spacing: .03em; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { color: #91afa3; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, .09); color: #9db5aa; font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { max-width: 590px; text-align: right; }

/* Dialog and back to top */
dialog { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 28px 90px rgba(0, 0, 0, .28); }
dialog::backdrop { background: rgba(5, 34, 28, .68); backdrop-filter: blur(4px); }
.dialog-body { padding: 30px; }
.dialog-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; color: var(--forest); background: var(--forest-soft); }
.dialog-icon svg { width: 24px; height: 24px; }
.dialog-body h2 { margin-bottom: 10px; font-size: 24px; }
.dialog-body > p { color: var(--muted); font-size: 13px; }
.dialog-summary { display: grid; gap: 10px; margin: 20px 0; padding: 17px; border-radius: 14px; background: #f3f6f1; }
.dialog-summary div { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.dialog-summary strong { font-size: 16px; }
.dialog-warning { padding-left: 12px; border-left: 3px solid var(--gold); color: #755c36 !important; }
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; }
.dialog-actions .btn { flex: 1; padding-inline: 14px; font-size: 13px; }
.back-top { position: fixed; z-index: 800; right: 24px; bottom: 24px; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top svg { width: 19px; height: 19px; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 62px 0 70px; color: #fff; background: var(--forest-deep); }
.page-hero::after { position: absolute; top: -130px; right: 8%; width: 360px; height: 360px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255, 255, 255, .018); content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: #a9c3b9; font-size: 12px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden="true"] { opacity: .5; }
.page-hero h1 { max-width: 790px; margin-bottom: 16px; font-size: clamp(36px, 5vw, 52px); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: #bdd4ca; font-size: 16px; }
.page-main { padding: 72px 0 100px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 70px; }
.article { min-width: 0; }
.article-section { scroll-margin-top: 110px; }
.article-section + .article-section { margin-top: 52px; padding-top: 48px; border-top: 1px solid var(--line); }
.article h2 { margin-bottom: 18px; font-size: 28px; }
.article h3 { margin: 28px 0 12px; font-size: 19px; }
.article p, .article li { color: #536a62; font-size: 15px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { display: grid; gap: 10px; margin: 14px 0 20px; }
.article ul li { position: relative; padding-left: 20px; }
.article ul li::before { position: absolute; top: .75em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); content: ""; }
.article ol { padding-left: 24px; }
.article ol li { list-style: decimal; padding-left: 6px; }
.article a:not(.btn) { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--ink); }
.article-callout { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--forest); border-radius: 0 14px 14px 0; background: #edf3ee; }
.article-callout.warning { border-left-color: var(--orange); background: #fff3e8; }
.article-callout p:last-child { margin-bottom: 0; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.info-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.info-card h3 { margin: 0 0 9px; font-size: 17px; }
.info-card p { margin: 0; font-size: 13px; }
.data-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: right; font-size: 14px; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table th { color: var(--ink); background: #edf3ee; font-size: 13px; }
.data-table td { color: #536a62; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong { color: var(--forest); }
.page-sidebar { position: sticky; top: 112px; display: grid; gap: 20px; }
.sidebar-card { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.sidebar-card h2 { margin-bottom: 15px; font-size: 16px; }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; color: var(--muted); font-size: 13px; }
.sidebar-nav a::after { content: "›"; color: #9aaca5; }
.sidebar-nav a:hover { color: var(--forest); }
.sidebar-cta { color: #fff; border: 0; background: var(--forest); }
.sidebar-cta h2 { color: #fff; font-size: 19px; }
.sidebar-cta p { margin-bottom: 18px; color: #c5ded4; font-size: 12px; }
.updated-time { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.plain-main .article { max-width: 850px; margin-inline: auto; }

.js .reveal { transform: translateY(18px); transition: transform .6s ease; }
.js .reveal.is-visible { transform: none; }
.mt-16 { margin-top: 16px; }
.error-page { min-height: 100vh; display: flex; align-items: center; }
.error-brand { margin-bottom: 42px; color: #fff; }
.error-brand small { color: #b8cbc3; }
.error-eyebrow { color: var(--gold); }
.error-actions { margin-top: 30px; }

@media (max-width: 1080px) {
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 13px; }
  .nav-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr 400px; gap: 40px; }
  .hero h1 { font-size: 48px; }
  .feature-row { gap: 48px; }
  .footer-grid { gap: 34px; }
  .page-layout { gap: 42px; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: flex; }
  .nav-actions .btn { display: inline-flex; }
  .nav-menu { position: fixed; z-index: 999; top: 80px; right: 0; left: 0; display: grid; align-content: start; gap: 0; height: calc(100dvh - 80px); padding: 22px 24px 40px; border-top: 1px solid var(--line); background: var(--paper); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-menu a::after { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .hero { padding: 62px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(42px, 8vw, 60px); }
  .exchange-card { width: min(100%, 560px); }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-art { min-height: 300px; }
  .rate-board { grid-template-columns: 1fr; }
  .rate-card { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 20px; }
  .rate-card-head { grid-column: 1 / -1; margin-bottom: 15px; }
  .rate-card h3 { margin: 0; }
  .rate-card p { grid-column: 1 / -1; margin-top: 10px; }
  .rate-value { margin: 0; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; max-width: 600px; }
  .cta-box { padding: 40px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container, .narrow { width: min(100% - 32px, var(--container)); }
  .section { padding: 64px 0; }
  .navbar { min-height: 70px; }
  .brand img { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 8px; }
  .nav-menu { top: 70px; height: calc(100dvh - 70px); }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { display: none; }
  .hero { padding: 46px 0 62px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(37px, 11.5vw, 50px); line-height: 1.18; }
  .hero-lead { font-size: 15px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-buttons .btn { padding-inline: 15px; font-size: 14px; }
  .hero-facts { margin-top: 32px; }
  .hero-fact { padding-right: 10px; }
  .hero-fact + .hero-fact { padding-left: 12px; }
  .hero-fact strong { font-size: 20px; }
  .hero-fact span { font-size: 10px; }
  .exchange-card { padding: 23px 20px; border-radius: 24px; }
  .exchange-card::before { display: none; }
  .calculator-head h2 { font-size: 20px; }
  .direction { grid-template-columns: 1fr 28px 1fr; padding: 12px 10px; }
  .direction-side { gap: 6px; font-size: 11px; }
  .coin { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { font-size: 15px; }
  .steps-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps-grid::before { top: 30px; bottom: 30px; left: 34px; width: 1px; height: auto; border-top: 0; border-left: 1px dashed #a5bdb2; }
  .step-card { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; padding: 0; text-align: left; }
  .step-number { grid-row: 1 / 4; width: 68px; height: 68px; margin: 0; border-color: #f0f4ee; }
  .step-card h3 { align-self: end; margin-bottom: 6px; }
  .step-card p { grid-column: 2; }
  .step-card small { grid-column: 2; justify-self: start; margin-top: 7px; }
  .feature-list { gap: 56px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-art { order: 0; }
  .feature-art { min-height: 260px; border-radius: 22px; }
  .feature-copy h3 { font-size: 26px; }
  .rate-card { padding: 22px; }
  .rate-value { font-size: 34px; }
  .rate-disclaimer { flex-direction: column; gap: 10px; }
  .rate-time { white-space: normal; }
  .scenario-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 22px; }
  .security-icon { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
  .security-card h3 { margin-bottom: 6px; }
  .security-card p { grid-column: 2; }
  .faq-aside h2 { font-size: 30px; }
  .faq-question { font-size: 15px; }
  .cta-section { padding: 34px 0 64px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 32px 26px; border-radius: 24px; }
  .cta-copy h2 { font-size: 27px; }
  .cta-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .footer-grid .footer-col:last-child li + li { margin-top: 0; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom p:last-child { text-align: left; }
  .dialog-body { padding: 25px 22px; }
  .dialog-actions { flex-direction: column-reverse; }
  .back-top { right: auto; left: 16px; bottom: 16px; }
  .site-footer { padding-bottom: 88px; }
  .page-hero { padding: 44px 0 50px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero p { font-size: 14px; }
  .page-main { padding: 50px 0 70px; }
  .page-layout { gap: 42px; }
  .article h2 { font-size: 25px; }
  .info-grid { grid-template-columns: 1fr; }
  .page-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero-buttons { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; }
}

@media (max-width: 900px) {
  html:not(.js) .navbar { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav-menu { position: static; display: flex; width: 100%; height: auto; flex-wrap: wrap; gap: 2px 18px; padding: 0 0 12px; border-top: 0; background: transparent; opacity: 1; transform: none; pointer-events: auto; }
  html:not(.js) .nav-menu a { padding: 7px 0; border-bottom: 0; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
