:root {
  color-scheme: light;
  --paper: #f4f3ed;
  --card: #fffef9;
  --ink: #142b35;
  --muted: #65716f;
  --line: #d9dcd2;
  --lime: #d2e784;
  --lime-light: #e9efda;
  --error: #9c3d2c;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: "Times New Roman", Georgia, serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
button, a, input, select, summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid #66813b; }
button { color: inherit; }
button, input, select { border-radius: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.page-width { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 9; left: 24px; top: -100px; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 650; letter-spacing: -.9px; white-space: nowrap; }
.brand-light { font-weight: 400; }
.brand-period { color: #739144; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark svg { width: 26px; height: 26px; }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-location { color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.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; }
.language-select { min-width: 112px; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid #bfc7be; border-radius: 6px; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.language-select:hover { background: #e7eadf; border-color: #8c9a8c; }
.language-select:focus-visible { outline: 2px solid #739144; outline-offset: 3px; }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 76px; align-items: start; padding-block: 76px 78px; }
.hero-copy { min-width: 0; padding-top: 35px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 31px; font-size: 11px; font-weight: 650; letter-spacing: .13em; }
.eyebrow-line { display: block; width: 29px; height: 2px; background: var(--ink); margin-right: 2px; }
.eyebrow-divider { color: #9aa692; margin-inline: 2px; }
h1 { margin: 0; max-width: 550px; font-family: var(--serif); font-size: clamp(52px, 5.4vw, 74px); line-height: 1.06; letter-spacing: -3.4px; font-weight: 400; text-wrap: balance; }
.hero-description { max-width: 420px; margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-bottom { margin-top: 93px; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 400px; }
.hero-coordinate { color: #879185; font-size: 9px; letter-spacing: .09em; font-variant-numeric: tabular-nums; }
.direction-drawing { margin-right: -15px; color: #8a997b; transform: rotate(-9deg); }
.direction-drawing svg { width: 78px; height: 40px; }

.quote-card { min-width: 0; padding: 28px; background: var(--card); border: 1px solid #dce0d4; border-radius: 14px; box-shadow: 0 5px 10px #142b3503, 0 16px 32px #142b3505; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.asset-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 20px; background: #eef1e6; border-radius: 9px; }
.asset-picker button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 15px; font-weight: 650; }
.asset-picker button[aria-pressed="true"] { background: var(--card); border-color: #9cab83; box-shadow: 0 2px 4px #142b3509; }
.asset-dot { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; font-size: 16px; color: white; }
.asset-dot-usdt { background: #397359; }
.asset-dot-usdc { background: #2775ca; }
.small-caps { font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.conversion-symbol { display: grid; place-items: center; width: 28px; height: 28px; background: var(--lime-light); border-radius: 50%; color: #4e6940; }
.conversion-symbol svg { width: 21px; height: 21px; }
.amount-field label, .field-label { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 500; color: #68736a; }
.amount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#amountInput { width: 100%; min-width: 0; padding: 0 0 3px; background: transparent; color: var(--ink); border: 0; font-family: var(--serif); font-size: 42px; line-height: 1.15; letter-spacing: -1.3px; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
#amountInput::-webkit-inner-spin-button, #amountInput::-webkit-outer-spin-button { appearance: none; -webkit-appearance: none; margin: 0; }
#amountInput:focus-visible { border-radius: 2px; }
.currency-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; letter-spacing: -.2px; }
.currency-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.usdt-icon { color: #fff; background: #49705d; }
.usdt-icon svg { width: 19px; height: 19px; }
.field-hint { margin: 8px 0 0; color: #606e60; font-size: 12px; line-height: 1.5; }
.quick-amounts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; }
.quick-caption { margin-right: 3px; color: #899285; font-size: 10px; }
.quick-amounts button { min-width: 64px; min-height: 44px; padding: 8px 12px; border: 1px solid #cbd3bf; background: transparent; border-radius: 6px; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; transition: background .16s ease, border-color .16s ease; }
.quick-amounts button:hover { background: #edf1e4; border-color: #b3c28f; }
.quick-amounts button[aria-pressed="true"], .quick-amounts button.is-active, .quick-amounts button.active { background: var(--lime-light); border-color: #d0ddad; }
.flow-divider { height: 28px; display: flex; align-items: center; gap: 0; margin: 14px 0 13px; }
.flow-divider::before, .flow-divider::after { content: ""; height: 1px; background: #e3e6dc; flex: 1; }
.flow-divider span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e3e6dc; border-radius: 50%; color: #748267; }
.flow-divider svg { width: 15px; height: 15px; }
.receive-field { padding-bottom: 21px; }
.payout-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
#payoutValue { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(32px, 3vw, 41px); line-height: 1.1; letter-spacing: -1.4px; font-variant-numeric: tabular-nums; }
.payout-currency { flex-shrink: 0; font-size: 14px; font-weight: 650; }
.estimate-note { margin: 10px 0 0; font-size: 12px; color: #606e60; line-height: 1.55; }
.rate-box { padding: 15px 14px 12px; background: #f0f2e9; border-radius: 6px; }
.rate-main { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 10px; color: #66715e; }
.rate-main > span { max-width: 50%; }
.rate-main strong { text-align: right; color: var(--ink); font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.rate-unit { white-space: nowrap; font-size: 9px; font-weight: 400; }
.rate-update { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.rate-status-group { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #85907c; font-size: 8px; line-height: 1.5; }
.status-dot { height: 4px; width: 4px; flex-shrink: 0; border-radius: 50%; background: #86917e; }
.quote-card[data-state="error"] .status-dot { background: var(--error); }
.quote-card[data-state="loading"] .status-dot { background: #92691c; }
#rateTime { color: #85907c; font-variant-numeric: tabular-nums; }
.refresh-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 44px; padding: 8px; background: transparent; border: 1px solid #cbd3bf; border-radius: 6px; font-size: 12px; font-weight: 550; color: #43583e; }
.refresh-button:hover { color: var(--ink); }
.refresh-button svg { width: 12px; height: 12px; }
.form-error { margin: 13px 0 0; padding: 10px 12px; color: var(--error); background: #f6e8e1; border-radius: 4px; font-size: 12px; line-height: 1.5; }
.form-error:empty { display: none; }

.quote-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; padding-block: 20px; border-block: 1px solid var(--line); }
.quote-notes article { min-width: 0; }
.quote-notes article + article { border-left: 1px solid var(--line); padding-left: 16px; }
.note-number { display: block; color: #65765a; font-size: 10px; font-variant-numeric: tabular-nums; }
.quote-notes h2 { margin: 10px 0 8px; font-family: var(--sans); font-size: 15px; line-height: 1.4; font-weight: 650; letter-spacing: -.15px; overflow-wrap: anywhere; text-wrap: balance; }
.quote-notes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }

.disclaimer { padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); }
.disclaimer h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.disclaimer p { max-width: 920px; margin: 0; font-size: 13px; line-height: 1.75; }
.disclaimer p + p { margin-top: 10px; }

.contact-section, .locations-section { padding-block: 24px 32px; border-top: 1px solid var(--line); }
.contact-section h2, .locations-section h2 { margin: 0; font-family: var(--sans); font-size: clamp(21px, 3vw, 28px); font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 20px 0 0; padding: 0; }
.contact-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 88px; padding: 16px; border: 1px solid #dce0d4; border-radius: 8px; background: var(--card); overflow-wrap: anywhere; }
.contact-name { font-size: 16px; font-weight: 600; line-height: 1.4; }
.contact-status { color: var(--muted); font-size: 12px; line-height: 1.5; }
.hotel-search { max-width: 620px; margin-top: 20px; }
.hotel-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.hotel-search-row { display: flex; align-items: center; gap: 8px; }
.hotel-search input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; background: var(--card); color: var(--ink); border: 1px solid #aebba6; border-radius: 6px; font-size: 16px; }
.hotel-clear { min-height: 48px; flex-shrink: 0; padding: 10px 14px; border: 1px solid #b6c1aa; border-radius: 6px; background: transparent; font-size: 14px; }
.locations-note { max-width: 850px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.hotel-count { margin: 20px 0 12px; color: #53634c; font-size: 13px; }
.hotel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.hotel-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; background: var(--card); border: 1px solid #dce0d4; border-radius: 8px; }
.hotel-card h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.hotel-address { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.hotel-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px; margin-top: auto; padding-top: 10px; }
.hotel-links a, .hotel-links button { display: inline-flex; align-items: center; min-width: 0; min-height: 44px; color: #365640; text-align: left; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; font-weight: 550; line-height: 1.45; overflow-wrap: anywhere; }
.hotel-links button { border: 0; padding: 0; background: transparent; }
.hotel-links a:hover, .hotel-links button:hover { color: var(--ink); }
.hotel-copy-status { margin: 0; color: #365640; font-size: 12px; line-height: 1.5; }
.hotel-copy-status:not(:empty) { margin-top: 6px; }
.hotel-copy-status[data-state="error"] { color: var(--error); }
.hotel-empty { padding: 22px 16px; margin: 0; border: 1px dashed #b4c09f; border-radius: 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hotel-more { display: block; min-height: 48px; min-width: 180px; max-width: 100%; margin: 20px auto 0; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--card); font-size: 15px; font-weight: 600; }
.hotel-more:hover { background: #24434b; }

@media (max-width: 600px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { padding: 14px; }
  .hotel-list { grid-template-columns: minmax(0, 1fr); }
  .hotel-card { padding: 16px; }
  .hotel-search { margin-top: 16px; }
  .hotel-more { width: 100%; }
}

.preview-settings { padding: 28px; margin-bottom: 50px; border: 1px dashed #b1bf97; background: #eef0e5; border-radius: 8px; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.preview-eyebrow { margin: 0 0 10px; color: #7e8a68; font-size: 9px; }
.preview-header h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.5px; }
.preview-header p:not(.preview-eyebrow) { margin: 10px 0 0; color: #748067; font-size: 12px; line-height: 1.7; }
.reset-button { flex-shrink: 0; min-height: 38px; padding: 8px 12px; background: transparent; border: 1px solid #c1cbb1; border-radius: 4px; font-size: 11px; }
.reset-button:hover { background: #e2e8d5; }
.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.settings-grid label { display: block; margin-bottom: 8px; color: #617052; font-size: 11px; }
.settings-grid input, .settings-grid select { width: 100%; min-height: 42px; padding: 10px 11px; background: #fffef8; color: var(--ink); border: 1px solid #cad3bd; border-radius: 4px; font-size: 13px; }
.site-footer { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: #87907f; font-size: 10px; }
.site-footer > span { color: #74806a; font-family: var(--serif); font-size: 14px; }

@media (min-width: 1440px) {
  .page-width { width: min(1240px, calc(100% - 120px)); }
  .hero { gap: 100px; padding-top: 88px; }
  .hero-copy { padding-top: 39px; }
  h1 { font-size: 80px; }
  .hero-description { font-size: 16px; }
  .quote-card { padding: 32px; }
  #payoutValue { font-size: 45px; }
}

@media (max-width: 1080px) {
  .page-width { width: calc(100% - 64px); }
  .hero { gap: 40px; padding-top: 58px; }
  h1 { font-size: 61px; letter-spacing: -2.8px; }
  .hero-description { font-size: 14px; }
  .quote-card { padding: 23px; }
  .hero-bottom { margin-top: 72px; }
}

@media (max-width: 850px) {
  .page-width { width: calc(100% - 48px); max-width: 650px; }
  .site-header { min-height: 88px; }
  .header-actions { gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 41px 45px; }
  .hero-copy { padding-top: 0; }
  .eyebrow { margin-bottom: 21px; }
  h1 { max-width: 580px; font-size: 62px; line-height: 1.04; letter-spacing: -2.8px; }
  .hero-description { max-width: 510px; margin-top: 22px; font-size: 14px; line-height: 1.75; }
  .hero-bottom { display: none; }
  .quote-card { padding: 28px; }
  #payoutValue { font-size: 44px; }
  .rate-main { font-size: 11px; }
  .rate-main strong { font-size: 12px; }
  .rate-unit { font-size: 10px; }
  .rate-status-group { font-size: 9px; }
  .refresh-button { font-size: 10px; }
}

@media (max-width: 540px) {
  .page-width { width: auto; margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .site-header { min-height: 68px; gap: 10px; }
  .brand { font-size: 18px; gap: 7px; letter-spacing: -.7px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 23px; height: 23px; }
  .header-location { display: none; }
  .language-select { min-width: 108px; min-height: 44px; padding-inline: 7px; font-size: 16px; }
  .hero { padding-block: 20px 28px; gap: 18px; }
  .eyebrow { display: none; }
  .eyebrow-line { width: 21px; }
  h1 { font-size: clamp(34px, 9.5vw, 46px); letter-spacing: -1.4px; line-height: 1.1; }
  .hero-description { margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .quote-card { margin-inline: 0; padding: 16px; border-radius: 12px; }
  .card-heading { margin-bottom: 10px; }
  .small-caps { font-size: 11px; letter-spacing: .08em; }
  .asset-picker { margin-bottom: 16px; }
  .amount-field label, .field-label { margin-bottom: 6px; font-size: 14px; color: #53634c; }
  #amountInput { font-size: 36px; min-height: 44px; }
  .currency-badge { gap: 6px; font-size: 15px; }
  .currency-icon { width: 23px; height: 23px; }
  .field-hint { font-size: 12px; margin-top: 4px; }
  .quick-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; gap: 8px; }
  .quick-caption { display: none; }
  .quick-amounts button { min-height: 44px; min-width: 0; font-size: 14px; }
  .flow-divider { height: 22px; margin-block: 10px; }
  .flow-divider span { width: 24px; height: 24px; }
  #payoutValue { font-size: clamp(29px, 8.5vw, 39px); letter-spacing: -.8px; line-height: 1.2; }
  #payoutValue.is-long { font-size: clamp(23px, 6.9vw, 32px); letter-spacing: -1px; }
  .payout-currency { font-size: 14px; }
  .receive-field { padding-bottom: 16px; }
  .rate-box { padding: 12px; }
  .rate-main { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 13px; }
  .rate-main > span { max-width: 100%; }
  .rate-main strong { text-align: left; font-size: 18px; }
  .rate-unit { font-size: 12px; }
  .rate-status-group { gap: 4px; font-size: 12px; color: #53634c; }
  #rateTime { display: block; flex-basis: 100%; color: #53634c; }
  .rate-update { align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .refresh-button { margin: 0; font-size: 12px; min-height: 44px; }
  .quote-notes { margin-top: 18px; padding-block: 14px; gap: 10px; }
  .quote-notes article + article { padding-left: 10px; }
  .note-number { font-size: 10px; }
  .quote-notes h2 { margin: 8px 0 6px; font-size: 13px; line-height: 1.4; }
  .quote-notes p { font-size: 12px; line-height: 1.5; }
  .preview-settings { padding: 21px 18px; margin: 10px 0 30px; }
  .preview-header { align-items: flex-start; flex-direction: column; gap: 17px; }
  .preview-header h2 { font-size: 25px; line-height: 1.2; }
  .settings-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .settings-grid input, .settings-grid select { min-height: 46px; font-size: 16px; }
  .site-footer { min-height: 76px; align-items: flex-start; padding-block: 22px; gap: 14px; }
  .site-footer p { max-width: 210px; font-size: 12px; line-height: 1.6; }
  .site-footer > span { flex-shrink: 0; padding-top: 1px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

h1 { white-space: pre-line; }
html[lang="zh-CN"] { --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif; --serif: var(--sans); }
html[lang="ko"] { --sans: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; --serif: var(--sans); }
html[lang="zh-CN"] h1, html[lang="ko"] h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.25; letter-spacing: -.035em; word-break: keep-all; }
@media (max-width: 540px) {
  html[lang="zh-CN"] h1, html[lang="ko"] h1 { font-size: clamp(29px, 8.3vw, 38px); line-height: 1.25; }
}
