:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --bg-tint: #eef7f5;
  --line: #e5e9ee;
  --line-soft: #eef1f5;
  --text: #0f1a23;
  --text-soft: #50627a;
  --text-mute: #8696a8;
  --teal: #00a8a8;
  --teal-deep: #007d7d;
  --teal-soft: #2dc4c4;
  --teal-tint: #e6faf8;
  --mint: #54ae94;
  --gold: #fac800;
  --red: #ff4848;
  --red-tint: #ffecec;
  --green: #19b97a;
  --shadow-sm: 0 2px 8px rgba(15, 26, 35, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 26, 35, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 26, 35, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; color: var(--text); }
p { margin: 0; color: var(--text-soft); }
.muted { color: var(--text-mute); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s;
  font-family: inherit;
}
.btn--sm  { padding: 9px 16px; font-size: 13px; }
.btn--lg  { padding: 16px 28px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-soft) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 168, 168, 0.30);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0, 168, 168, 0.38); }
.btn--outline {
  background: #fff;
  color: var(--teal-deep);
  border: 1.5px solid var(--teal);
}
.btn--outline:hover { background: var(--teal-tint); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-soft); }

/* ============= Top Bar ============= */
.topbar {
  background: #0f1a23;
  color: #c2cdd9;
  font-size: 12.5px;
}
.topbar__inner {
  display: flex; align-items: center; gap: 16px;
  padding: 8px 24px; min-height: 34px;
}
.topbar__status { display: flex; align-items: center; gap: 8px; }
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(25, 185, 122, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}
.topbar__links { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar__links a { color: #c2cdd9; transition: color .15s; }
.topbar__links a:hover { color: var(--teal-soft); }
.topbar__sep { color: #354556; }

/* ============= Header ============= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); }
.logo span {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo--light span { color: var(--text); background: none; -webkit-background-clip: initial; }
.nav { display: flex; gap: 28px; margin-left: 12px; }
.nav a { font-size: 14.5px; color: var(--text-soft); font-weight: 600; transition: color 0.15s; position: relative; }
.nav a:hover { color: var(--teal-deep); }
.header__cta { margin-left: auto; display: flex; gap: 8px; }

/* ============= Hero ============= */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 168, 168, 0.10), transparent 55%),
    radial-gradient(circle at 92% 22%, rgba(45, 196, 196, 0.08), transparent 55%),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero__copy h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; margin: 18px 0 18px; }
.grad {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 16px; color: var(--text-soft); max-width: 540px; }
.hero__cta { display: flex; gap: 10px; margin: 28px 0 24px; flex-wrap: wrap; }
.hero__bullets { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-soft); }
.hero__bullets .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-right: 8px;
  border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep);
  font-size: 11px; font-weight: 800;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--teal-tint);
  border: 1px solid rgba(0, 168, 168, 0.25);
  color: var(--teal-deep);
  font-size: 12.5px; font-weight: 700;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px rgba(0, 168, 168, 0.55); }

/* ============= Rate card ============= */
.rate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.rate-card__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.rate-card__title { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.rate-card__sub { display: block; font-size: 12px; color: var(--text-mute); margin-top: 3px; }
.pulse {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red-tint); color: var(--red);
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.05em;
}
.pulse__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }

.rate-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate-card__cell {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 4px;
}
.rate-card__cell span { font-size: 12px; color: var(--text-mute); font-weight: 600; }
.rate-card__cell strong { font-size: 22px; font-variant-numeric: tabular-nums; font-weight: 800; }
.rate-card__cell small { font-size: 11px; color: var(--text-mute); }
.rate-card__cell--buy { background: var(--teal-tint); border-color: rgba(0, 168, 168, 0.18); }
.rate-card__cell--buy strong { color: var(--teal-deep); }
.rate-card__cell--sell { background: #fff7e0; border-color: #ffe9a3; }
.rate-card__cell--sell strong { color: #b87a00; }

.rate-card__ref {
  margin-top: 12px; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-soft);
  border-radius: 10px;
}
.rate-card__ref span { color: var(--text-mute); font-size: 13px; font-weight: 600; }
.rate-card__ref strong { font-variant-numeric: tabular-nums; font-size: 16px; }

.rate-card__hl {
  display: flex; gap: 12px; align-items: center;
  margin-top: 10px; padding: 10px 14px; border-radius: 8px;
  font-size: 12.5px; color: var(--text-mute);
}
.rate-card__hl strong { color: var(--text); font-variant-numeric: tabular-nums; margin-left: 4px; font-weight: 700; }
.rate-change { margin-left: auto; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; }
.rate-change--up   { background: rgba(25, 185, 122, 0.14); color: #0f8a5a; }
.rate-change--down { background: var(--red-tint); color: var(--red); }
.rate-change--flat { background: #eef1f5; color: var(--text-mute); }
.rate-card__meta { display: flex; justify-content: space-between; margin: 12px 0; font-size: 12px; color: var(--text-mute); }

/* ============= Ticker strip ============= */
.ticker {
  background: #0f1a23;
  color: #d8e1ec;
  padding: 14px 0;
}
.ticker__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ticker__label { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--teal-soft); }
.ticker__list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.ticker__item strong { color: var(--teal-soft); font-weight: 800; font-size: 12px; }
.ticker__item span { color: #fff; font-variant-numeric: tabular-nums; }
.ticker__item .muted { color: #8a96a4; }
.ticker__sep { width: 1px; height: 16px; background: rgba(255,255,255,0.12); }
.ticker__note { font-size: 12px; color: #8a96a4; margin-left: auto; }

/* ============= Sections ============= */
.section { padding: 90px 0; position: relative; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; margin: 0 auto 50px; max-width: 720px; }
.kicker {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--teal-tint); color: var(--teal-deep);
  font-size: 11.5px; letter-spacing: 0.18em; font-weight: 800;
  margin-bottom: 14px;
}
.section__head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin-bottom: 12px; }
.section__head p { color: var(--text-soft); font-size: 15px; }

/* ============= Service cards ============= */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card--buy  { border-top: 4px solid var(--teal); }
.service-card--sell { border-top: 4px solid #f0a000; }
.service-card__head { display: flex; align-items: center; gap: 12px; }
.service-card__tag {
  display: inline-flex; padding: 4px 10px; border-radius: 6px;
  background: var(--teal-tint); color: var(--teal-deep);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
}
.service-card__tag--sell { background: #fff3d6; color: #b87a00; }
.service-card__head h3 { font-size: 22px; }
.service-card__lead { color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }
.service-card__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px dashed var(--line); padding-top: 20px;
}
.service-card__list li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--text-soft);
}
.service-card__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.service-card--sell .service-card__list li::before { border-color: #f0a000; }

/* ============= Rate table ============= */
.rate-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rate-table__row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 12px; padding: 18px 24px; align-items: center;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.rate-table__row:last-child { border-bottom: none; }
.rate-table__row span { font-variant-numeric: tabular-nums; }
.rate-table__row em { color: var(--gold); font-style: normal; font-weight: 800; font-size: 11px; padding: 2px 8px; background: #fff7d6; border-radius: 4px; margin-left: 6px; color: #b87a00; }
.rate-table__row--head {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.rate-table__row--head span { color: var(--teal-deep); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.rate-table__row--vip { background: linear-gradient(90deg, #fff8e3, #fff); }
.rate-table__note { font-size: 12.5px; color: var(--text-mute); margin-top: 14px; text-align: right; }

/* ============= Pillars (security) ============= */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar__icon--green { background: var(--teal-tint); color: var(--teal-deep); }
.pillar__icon--red   { background: var(--red-tint); color: var(--red); }
.pillar h3 { font-size: 16px; margin-bottom: 10px; }
.pillar p { font-size: 13.5px; line-height: 1.6; }

/* ============= Steps ============= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 10px;
  font-weight: 800; font-size: 14px;
  text-align: center; line-height: 38px;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; }

/* ============= Notice ============= */
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.notice__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.notice__head .kicker { margin-bottom: 0; }
.notice__head h2 { font-size: 22px; margin: 0; }
.notice__more { margin-left: auto; color: var(--teal-deep); font-size: 13px; font-weight: 700; }
.notice__list { list-style: none; padding: 0; margin: 0; }
.notice__list li {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: 16px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.notice__list li:last-child { border-bottom: none; }
.notice__list a { color: var(--text); font-weight: 600; transition: color .15s; }
.notice__list a:hover { color: var(--teal-deep); }
.notice__list time { color: var(--text-mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.notice__tag {
  display: inline-flex; justify-content: center;
  font-size: 11.5px; font-weight: 800;
  padding: 3px 10px; border-radius: 6px;
  background: var(--red-tint); color: var(--red);
}
.notice__tag--info { background: var(--teal-tint); color: var(--teal-deep); }
.notice__tag--warn { background: #fff3d6; color: #b87a00; }
.notice__loading, .notice__empty { padding: 28px 0; text-align: center; color: var(--text-mute); font-size: 14px; }

/* ============= Modal ============= */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalIn 0.18s ease-out;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 26, 35, 0.55);
  backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(15, 26, 35, 0.30);
  padding: 32px 32px 24px;
  max-height: 86vh; overflow-y: auto;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none; background: transparent;
  font-size: 24px; line-height: 1; cursor: pointer;
  color: var(--text-mute); border-radius: 8px;
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--bg-soft); color: var(--text); }
.modal__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.modal__head time { color: var(--text-mute); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.modal__title { font-size: 20px; line-height: 1.4; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.modal__body { font-size: 14.5px; color: var(--text-soft); line-height: 1.75; white-space: pre-wrap; }
.modal__foot { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

.modal__panel--wide { max-width: 680px; }

/* ============= Topbar highlight link ============= */
.topbar__hl { color: #ffe600 !important; font-weight: 700; }
.topbar__hl:hover { color: #fff !important; }

/* ============= History (my-inquiries) modal ============= */
.history-form__desc { color: var(--text-soft); font-size: 13.5px; margin: 0 0 16px; }
.history-results__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px;
  font-size: 13.5px; color: var(--text-soft);
}
.history-results__head strong { color: var(--teal-deep); font-size: 16px; margin-right: 4px; }
.history-list { list-style: none; padding: 0; margin: 0; max-height: 440px; overflow-y: auto; }
.history-list__empty { padding: 40px 0; text-align: center; color: var(--text-mute); font-size: 14px; }
.history-item {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px;
  align-items: center;
}
.history-item:last-child { border-bottom: none; }
.history-item__type {
  display: inline-flex; padding: 4px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em;
}
.history-item__type--buy  { background: var(--teal-tint); color: var(--teal-deep); }
.history-item__type--sell { background: #fff3d6; color: #b87a00; }
.history-item__amount { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; color: var(--text); }
.history-item__amount span { font-size: 12px; color: var(--text-mute); font-weight: 600; margin-left: 4px; }
.history-item__status {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
}
.history-item__status--pending   { background: #fff3d6; color: #b87a00; }
.history-item__status--done      { background: rgba(25, 185, 122, 0.14); color: #0f8a5a; }
.history-item__status--cancelled { background: var(--red-tint); color: var(--red); }
.history-item__meta {
  grid-column: 1 / -1;
  display: flex; gap: 14px;
  font-size: 12.5px; color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.history-item__memo {
  grid-column: 1 / -1;
  background: var(--bg-soft); border-radius: 8px; padding: 10px 12px;
  font-size: 13px; color: var(--text-soft);
  white-space: pre-wrap; word-break: break-all;
}

/* ============= Reviews ============= */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--gold); font-size: 16px; letter-spacing: 1.5px; margin-bottom: 12px; }
.review p { font-size: 15px; color: var(--text); line-height: 1.65; }
.review footer { margin-top: 14px; color: var(--text-mute); font-size: 13px; }

/* ============= Contact ============= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__copy h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 14px; }
.contact__lead { font-size: 14.5px; }
.warn {
  margin-top: 24px;
  background: #fff8eb;
  border: 1px solid #ffe1a3;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
}
.warn strong { display: block; color: #b87a00; margin-bottom: 8px; }
.warn ul { margin: 0; padding-left: 18px; color: var(--text-soft); display: flex; flex-direction: column; gap: 4px; }

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.contact__form h3 { font-size: 19px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; font-weight: 700; }
.field__opt { color: var(--text-mute); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px; color: var(--text);
  font-size: 14.5px; font-family: inherit;
  transition: border 0.15s, background 0.15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.agree {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-soft);
  margin: 0 0 16px;
}
.agree input { accent-color: var(--teal); }

.quote {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--teal-tint);
  border: 1px solid rgba(0, 168, 168, 0.22);
  border-radius: 12px;
}
.quote__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.quote__row span { font-size: 13px; color: var(--teal-deep); font-weight: 700; }
.quote__row strong {
  font-size: 22px; font-weight: 800; color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}
.quote__meta {
  display: flex; justify-content: space-between;
  margin-top: 6px; font-size: 12px; color: var(--text-mute);
}
.quote.is-sell {
  background: #fff7e0;
  border-color: #ffe1a3;
}
.quote.is-sell .quote__row span,
.quote.is-sell .quote__row strong { color: #b87a00; }

.bank-fields {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px 18px 6px;
  margin: 0 0 16px;
  background: var(--bg-soft);
}
.bank-fields legend {
  padding: 2px 8px; font-size: 13px; font-weight: 800;
  color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
}
.bank-fields__warn {
  font-size: 12.5px; color: #b87a00;
  margin: 4px 0 12px;
}

/* ============= Wallet registration ============= */
.wallet-fields {
  border: 1.5px solid rgba(0, 168, 168, 0.30);
  background: var(--teal-tint);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 16px;
}
.wallet-fields legend {
  padding: 2px 10px; font-size: 13px; font-weight: 800;
  color: var(--teal-deep); background: #fff;
  border: 1px solid rgba(0, 168, 168, 0.30); border-radius: 6px;
}
.wallet-fields__help {
  font-size: 12.5px; color: var(--text-soft);
  margin: 0 0 12px; line-height: 1.6;
}
.wallet-row {
  display: flex; gap: 8px; align-items: stretch;
}
.wallet-row input {
  flex: 1; padding: 12px 14px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; color: var(--text);
  font-size: 13.5px; font-family: 'Inter', monospace, inherit;
  font-variant-numeric: tabular-nums;
}
.wallet-row input[readonly] { color: var(--text-mute); cursor: default; }
.wallet-row input.is-verified {
  background: #f0faf7; border-color: var(--teal); color: var(--text);
}
.wallet-row .btn { white-space: nowrap; }
.wallet-status {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 12.5px; color: var(--text-soft);
}
.wallet-status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffb000;
  animation: pulse 1.6s ease-in-out infinite;
}
.wallet-status.is-ok .wallet-status__dot   { background: var(--green); animation: none; }
.wallet-status.is-err .wallet-status__dot  { background: var(--red); animation: none; }
.wallet-status.is-ok  { color: #0f8a5a; font-weight: 700; }
.wallet-status.is-err { color: var(--red); font-weight: 700; }
.form-msg {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  font-size: 14px; text-align: center; font-weight: 600;
}
.form-msg.ok  { background: rgba(25, 185, 122, 0.10); color: #0f8a5a; border: 1px solid rgba(25, 185, 122, 0.30); }
.form-msg.err { background: var(--red-tint); color: var(--red); border: 1px solid rgba(255, 72, 72, 0.30); }

/* ============= FAQ ============= */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
  transition: border-color .15s, box-shadow .15s;
}
.faq__item[open] { border-color: rgba(0, 168, 168, 0.40); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 18px 0; font-weight: 700; font-size: 15px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; color: var(--teal); font-size: 24px; font-weight: 300; transition: transform 0.2s;
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p { padding: 0 0 18px; font-size: 14px; color: var(--text-soft); border-top: 1px dashed var(--line-soft); padding-top: 14px; }

/* ============= Footer ============= */
.footer { background: #0f1a23; color: #c2cdd9; padding: 48px 0 0; }
.footer__inner { display: flex; align-items: center; gap: 18px; }
.footer__inner--simple { justify-content: space-between; flex-wrap: wrap; }
.footer .logo { color: #fff; }
.footer .logo span { color: #fff; background: none; -webkit-background-clip: initial; }
.footer__about { font-size: 13.5px; color: #8a96a4; line-height: 1.7; margin: 0; }
.footer__bottom { border-top: 1px solid #1f2b37; margin-top: 36px; padding: 18px 0; }
.footer__bottom small { color: #6c7a8a; font-size: 12px; }

/* ============= Animations ============= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.flash {
  animation: flash 0.6s ease;
}
@keyframes flash {
  0%   { background: rgba(0, 168, 168, 0.18); }
  100% { background: transparent; }
}

/* ============= Responsive ============= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .rate-table__row { grid-template-columns: 1.4fr 1fr 1fr; }
  .rate-table__row span:nth-child(4) { display: none; }
  .ticker__note { display: none; }
}
@media (max-width: 600px) {
  .topbar__links a:not(:last-child), .topbar__sep { display: none; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .notice { padding: 24px 20px; }
  .notice__list li { grid-template-columns: 60px 1fr; }
  .notice__list li time { grid-column: 1 / -1; padding-left: 76px; margin-top: -8px; }
  .rate-table__row { grid-template-columns: 1.2fr 1fr 1fr; padding: 14px 16px; font-size: 13.5px; }
}
