:root {
    --ink: #10241f;
    --paper: #f5f1e8;
    --panel: #fffdf7;
    --accent: #e65d3b;
    --muted: #66736e;
    --line: #c7d1c5;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Georgia, serif; }
a { color: inherit; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px max(5vw, 24px); }
.site-header nav { display: flex; gap: 24px; font-family: Arial, sans-serif; font-size: 14px; }
.brand { display: flex; align-items: baseline; gap: 12px; font-family: Arial, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0; text-decoration: none; }
.brand-tagline { color: var(--muted); font-size: 12px; font-weight: 400; }
.login-link, .contact-link { font-family: Arial, sans-serif; font-weight: 700; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 48px; padding: 92px max(5vw, 24px); background: linear-gradient(120deg, #d6e5d0 0%, var(--paper) 60%, #f0c79f 100%); }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 16px; color: #aa3f25; font: 700 13px Arial, sans-serif; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: 0; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.45; }
.exchange-panel { align-self: center; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 8px 8px 0 #10241f; font-family: Arial, sans-serif; }
.exchange-panel h2 { margin-top: 0; font-size: 22px; }
.notice { padding: 14px; color: #812c1d; border-left: 3px solid var(--accent); background: #ffe8dc; line-height: 1.4; }
label { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; font-weight: 700; }
input, select, button { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; font: inherit; }
button { border-color: var(--accent); background: var(--accent); color: white; font-weight: 700; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
.market-rates { padding: 56px max(5vw, 24px); background: #14131b; color: #f8f7f0; }
.rates-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.rates-heading .eyebrow { color: #f0c79f; }
.rates-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); }
.rates-heading > p { max-width: 380px; margin: 0; color: #b7b6bb; font: 14px/1.5 Arial, sans-serif; }
.rate-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rate-card { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; min-height: 104px; padding: 16px; border: 1px solid #35333e; border-radius: 8px; background: #222028; font-family: Arial, sans-serif; }
.rate-card strong, .rate-card span { display: block; }
.rate-card strong { font-size: 13px; }
.rate-card div span { margin-top: 4px; color: #aaa8b0; font-size: 11px; }
.rate-card b { grid-column: 1 / -1; color: #56c393; font-size: 13px; }
.asset-symbol { display: grid !important; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: white; font-size: 10px; font-weight: 800; }
.asset-btc { background: #db8126; }
.asset-eth { background: #5f6d9f; }
.asset-ltc { background: #5579a9; }
.asset-bch { background: #27a976; }
.asset-usdt { background: #20a57e; }
.steps { padding: 72px max(5vw, 24px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading h2, .assurance h2 { max-width: 620px; margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }
.section-heading > p { max-width: 360px; margin: 0; color: var(--muted); font-family: Arial, sans-serif; line-height: 1.5; }
.steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; align-content: start; gap: 14px; min-height: 250px; padding: 20px 0 0; border-top: 2px solid var(--ink); font-family: Arial, sans-serif; }
.steps li strong { font-size: 18px; }
.steps li > span:not(.step-icon) { color: var(--muted); line-height: 1.45; }
.step-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #b5c8bd; border-radius: 50%; color: #356a57; background: #e2ede3; font-size: 12px; font-weight: 700; }
.steps li a { align-self: end; color: #aa3f25; font-weight: 700; }
.assurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 72px max(5vw, 24px); background: #f7f8f3; }
.assurance article { display: grid; align-content: start; min-height: 220px; padding: 32px 26px; border: 2px solid var(--ink); border-radius: 32px; background: var(--panel); text-align: center; }
.assurance h2 { margin: 0 0 26px; font: 700 22px/1.25 Arial, sans-serif; }
.assurance p { margin: 0; font: 17px/1.55 Arial, sans-serif; }
.site-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 48px max(5vw, 24px); border-top: 1px solid var(--line); background: #e2ede3; font-family: Arial, sans-serif; font-size: 14px; }
.site-footer h2 { margin: 0 0 16px; font-size: 13px; letter-spacing: 0; text-transform: uppercase; }
.site-footer p, .site-footer a { display: block; margin: 0 0 8px; line-height: 1.4; }
.site-footer a { text-underline-offset: 3px; }
.auth-page { display: grid; min-height: calc(100vh - 85px); padding: 64px max(5vw, 24px) 88px; background: linear-gradient(120deg, #d6e5d0 0%, var(--paper) 52%, #f0c79f 100%); }
.auth-content { width: min(100%, 460px); margin: auto; }
.auth-content h1 { margin-bottom: 32px; font-size: clamp(36px, 5vw, 56px); }
.auth-content form { font-family: Arial, sans-serif; }
.auth-content label { margin: 0 0 18px; }
.auth-content input { border-color: var(--ink); }
.auth-content button { margin-top: 10px; }
.auth-content > p:last-child { margin: 24px 0 0; font-family: Arial, sans-serif; font-size: 14px; }
.auth-content > p:last-child a, .consent a { color: #812c1d; font-weight: 700; text-underline-offset: 3px; }
.form-error { width: min(100%, 900px); margin: 0 0 20px; padding: 14px; color: #812c1d; border-left: 3px solid var(--accent); background: #ffe8dc; font: 14px/1.45 Arial, sans-serif; }
.code-description { margin: 0 0 28px; color: var(--muted); font: 16px/1.5 Arial, sans-serif; }
.auth-content .verification-code { max-width: 220px; letter-spacing: 4px; font-size: 22px; text-align: center; }
.consent { grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); font-weight: 400; line-height: 1.45; }
.consent input { width: 18px; min-height: 18px; margin: 1px 0 0; }
.notification-link, .profile-link { display: inline-flex; align-items: center; gap: 8px; font: 700 14px Arial, sans-serif; }
.notification-link span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.dashboard-page { padding: 64px max(5vw, 24px) 88px; background: #f7f8f3; }
.dashboard-heading, .request-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.dashboard-heading h1 { font-size: clamp(40px, 5vw, 64px); }
.profile-link { color: #812c1d; text-underline-offset: 3px; }
.verification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 42px 0 72px; }
.verification-card { min-height: 248px; padding: 30px; border: 1px solid var(--ink); border-radius: 8px; background: var(--panel); font-family: Arial, sans-serif; }
.card-label { margin: 0 0 28px; color: #aa3f25; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.verification-card h2 { margin: 0 0 16px; font-size: 25px; }
.verification-card p:not(.card-label) { max-width: 470px; color: var(--muted); line-height: 1.5; }
.verification-card a { display: inline-block; margin-top: 12px; color: #812c1d; font-weight: 700; text-underline-offset: 3px; }
.request-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.request-heading button, .request-button { width: auto; min-width: 168px; min-height: 48px; padding: 13px 18px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: white; font: 700 14px Arial, sans-serif; text-align: center; text-decoration: none; }
.request-heading button:disabled { border-color: #a4aaa6; background: #a4aaa6; }
.dashboard-notice { margin: 24px 0; padding: 14px; color: #812c1d; border-left: 3px solid var(--accent); background: #ffe8dc; font: 14px/1.45 Arial, sans-serif; }
.request-table { margin-top: 28px; overflow-x: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-family: Arial, sans-serif; }
.request-row { display: grid; min-width: 760px; grid-template-columns: 1.1fr .8fr 1.2fr repeat(3, 1fr) .9fr; gap: 16px; padding: 16px 4px; }
.request-header { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.request-table > p { margin: 0; padding: 26px 4px; color: var(--muted); font-size: 14px; }
.admin-table { margin-top: 42px; overflow-x: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-family: Arial, sans-serif; }
.admin-row { display: grid; min-width: 850px; grid-template-columns: 70px 1.8fr 1.2fr 1fr 1.3fr 80px; gap: 16px; align-items: center; padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-row:last-child { border-bottom: 0; }
.admin-header { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.admin-table > p { padding: 26px 4px; color: var(--muted); }
.admin-row a { color: #812c1d; font-weight: 700; text-underline-offset: 3px; }
.status-label { width: fit-content; padding: 4px 8px; border-radius: 4px; background: #ffe8dc; color: #812c1d; font-size: 12px; font-weight: 700; }
.status-approved { background: #e2ede3; color: #1d6246; }
.identification-page { padding: 64px max(5vw, 24px) 88px; background: #f7f8f3; }
.identification-heading { max-width: 700px; }
.identification-heading h1 { font-size: clamp(40px, 5vw, 64px); }
.identification-heading > p:last-child { color: var(--muted); font: 17px/1.5 Arial, sans-serif; }
.customer-type { display: flex; width: fit-content; margin: 38px 0 32px; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; }
.type-button { width: auto; min-width: 185px; border: 0; border-radius: 0; background: var(--panel); color: var(--ink); }
.type-button + .type-button { border-left: 1px solid var(--ink); }
.type-button.is-active { background: var(--ink); color: var(--panel); }
.kyc-form { width: min(100%, 900px); }
.kyc-form fieldset { margin: 0 0 22px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-family: Arial, sans-serif; }
.kyc-form legend { padding: 0 8px; font-size: 21px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.kyc-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; resize: vertical; }
.kyc-submit { width: auto; min-width: 220px; }
.kyc-success { margin: 20px 0 0; padding: 14px; color: #1d6246; border-left: 3px solid #56c393; background: #e2ede3; font: 14px/1.45 Arial, sans-serif; }
.exchange-form { width: min(100%, 720px); margin-top: 34px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-family: Arial, sans-serif; }
.exchange-form .consent { margin-top: 26px; }
.exchange-rates { width: min(100%, 900px); margin-top: 34px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.exchange-rates-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.exchange-rates-heading h2 { margin: 0; font: 700 26px/1.1 "Space Grotesk", "Segoe UI", sans-serif; }
.exchange-rates-heading > p { max-width: 380px; margin: 0; color: var(--muted); font: 13px/1.45 Arial, sans-serif; }
.exchange-rate-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.exchange-rate { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.exchange-rate span { color: var(--accent-strong); font: 700 12px Arial, sans-serif; letter-spacing: .08em; }
.exchange-rate strong { font: 700 17px "Space Grotesk", "Segoe UI", sans-serif; }
.exchange-rate small { color: var(--muted); font: 11px Arial, sans-serif; }
.exchange-form select { min-height: 48px; }
.exchange-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px; align-items: start; width: min(100%, 1160px); margin-top: 34px; }
.exchange-layout .exchange-form, .exchange-layout .exchange-rates { width: auto; margin-top: 0; }
.exchange-layout .exchange-rates-heading { display: block; }
.exchange-layout .exchange-rates-heading > p { margin-top: 14px; }
.exchange-layout .exchange-rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
    .exchange-rates-heading { display: grid; align-items: start; }
    .exchange-rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .exchange-layout { grid-template-columns: 1fr; }
}
.stop-page { grid-template-rows: 1fr auto; place-items: stretch; padding: 0; }
.stop-page .stop-content { width: min(100%, 1160px); margin: 0 auto; padding: 72px max(5vw, 24px); align-self: center; }
.stop-page .site-footer { width: 100%; }
.dashboard-page > .kyc-success { margin: 0 0 32px; }
.kyc-view { width: min(100%, 900px); margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-family: Arial, sans-serif; }
.kyc-view h2 { margin: 0 0 24px; font-size: 24px; }
.kyc-view dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.kyc-view dl div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kyc-view dt { margin-bottom: 5px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.kyc-view dd { margin: 0; overflow-wrap: anywhere; line-height: 1.4; }
.kyc-view ul { margin: 0; padding-left: 20px; }
.kyc-view li { margin: 10px 0; }
.kyc-view li span { color: var(--muted); font-size: 13px; }
.stop-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg, #10241f, #244c3e); color: #f5f1e8; }
.stop-content { max-width: 700px; }
.stop-content .brand { display: inline-block; margin-bottom: 96px; }
.stop-content .eyebrow { color: #f0c79f; }
.stop-content .lead { color: #d6e5d0; }
@media (max-width: 720px) { .site-header nav, .brand-tagline { display: none; } .hero, .assurance, .verification-grid { grid-template-columns: 1fr; padding-block: 64px; } .rates-heading, .dashboard-heading, .request-heading { display: grid; align-items: start; } .rate-grid { grid-template-columns: repeat(2, 1fr); } .section-heading { display: grid; align-items: start; } .steps ol, .site-footer { grid-template-columns: 1fr; margin-top: 32px; } .site-footer { gap: 28px; margin-top: 0; } .steps li { min-height: 0; padding-bottom: 20px; } .auth-page { min-height: auto; padding-block: 48px 64px; } .dashboard-page, .identification-page { padding-block: 48px 64px; } .verification-grid { margin: 32px 0 56px; gap: 16px; } .verification-card { min-height: 0; } .customer-type { width: 100%; } .type-button { min-width: 0; flex: 1; } .form-grid, .kyc-view dl { grid-template-columns: 1fr; } .kyc-form fieldset, .kyc-view { padding: 20px; } .kyc-submit { width: 100%; } h1 { font-size: 48px; } }

/* Shared light interface theme. Gold is for actions; darker gold is for text. */
:root {
    color-scheme: light;
    --ink: #202630;
    --paper: #ffffff;
    --panel: #ffffff;
    --accent: #f0b90b;
    --accent-strong: #856300;
    --accent-hover: #f8d33a;
    --muted: #626a78;
    --line: #e2e5e9;
    --surface: #f7f8fa;
    --warning: #a66d08;
    --danger: #bc3049;
    --positive: #087f5b;
}

html { background: var(--paper); }
body { color: var(--ink); background: var(--paper); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; }
a { color: var(--ink); transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
a:hover { color: var(--accent-strong); }
.site-header { min-height: 82px; padding: 20px max(5vw, 24px); border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header nav { color: var(--muted); font-size: 13px; }
.site-header nav a, .login-link, .contact-link { text-decoration: none; }
.brand { color: var(--ink); font-family: "Space Grotesk", "Segoe UI", sans-serif; letter-spacing: .04em; }
.brand:hover { color: var(--accent-strong); }
.brand-tagline { color: var(--muted); }
.hero { position: relative; padding-block: 104px; background: radial-gradient(ellipse at 90% 10%, #fff8df, transparent 55%), var(--paper); }
.hero-copy, .exchange-panel { position: relative; z-index: 1; }
.hero-copy h2 { max-width: 760px; margin: 0; font-family: "Space Grotesk", "Segoe UI", sans-serif; font-size: clamp(42px, 6vw, 78px); line-height: 1.02; letter-spacing: -.035em; }
.eyebrow { color: var(--accent-strong); letter-spacing: .14em; }
.lead, .section-heading > p, .code-description { color: var(--muted); }
.exchange-panel, .verification-card, .kyc-form fieldset, .kyc-view, .exchange-form { border-color: var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 4px 20px rgba(32, 38, 48, .035); }
.exchange-panel { box-shadow: 0 16px 48px rgba(32, 38, 48, .07); }
.exchange-panel h2, .section-heading h2, .rates-heading h2, .request-heading h2, .verification-card h2, .kyc-view h2 { font-family: "Space Grotesk", "Segoe UI", sans-serif; letter-spacing: -.02em; }
label { color: var(--ink); }
input, select, button, .kyc-form textarea { border-color: #b8bec7; border-radius: 4px; background: var(--paper); color: var(--ink); }
input::placeholder, textarea::placeholder { color: #717986; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-color: var(--accent-strong); }
input[type="checkbox"] { accent-color: var(--accent); }
input[readonly] { background: var(--surface); color: var(--muted); }
button, .request-button { border-color: var(--accent); background: var(--accent); color: var(--ink); }
button:hover, .request-button:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: var(--ink); }
.market-rates { background: var(--surface); color: var(--ink); border-block: 1px solid var(--line); }
.rates-heading .eyebrow { color: var(--accent-strong); }
.rates-heading > p, .rate-card div span { color: var(--muted); }
.rate-card { border-color: var(--line); border-radius: 6px; background: var(--panel); }
.rate-card b { color: var(--ink); }
.asset-btc { background: #a56c35; }
.asset-eth { background: #586b8e; }
.asset-ltc { background: #587c91; }
.asset-bch { background: #238c73; }
.asset-usdt { background: #238c73; }
.steps { background: var(--paper); }
.steps li { border-color: var(--line); }
.steps li > span:not(.step-icon), .verification-card p:not(.card-label) { color: var(--muted); }
.step-icon { border-color: #f1dda0; color: var(--ink); background: #fff5cf; }
.steps li a, .verification-card a, .profile-link, .auth-content > p:last-child a, .consent a, .admin-row a { color: var(--accent-strong); }
.assurance { background: var(--surface); }
.assurance article { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.assurance p { color: var(--muted); }
.site-footer { border-color: var(--line); background: var(--paper); color: var(--muted); }
.site-footer h2 { color: var(--ink); }
.site-footer a:hover { color: var(--accent-strong); }
.auth-page, .dashboard-page, .identification-page { background: var(--surface); }
.auth-content h1, .dashboard-heading h1, .identification-heading h1 { font-family: "Space Grotesk", "Segoe UI", sans-serif; letter-spacing: -.035em; }
.auth-content input { border-color: #b8bec7; }
.notice, .dashboard-notice { border-color: var(--warning); background: #fff7df; color: #78520c; }
.form-error { border-color: var(--danger); background: #fff0f2; color: #a5283e; }
.kyc-success { border-color: var(--positive); background: #eaf7f0; color: #096b4e; }
.notification-link span { background: var(--warning); }
.card-label, .status-label { color: var(--accent-strong); }
.verification-card { min-height: 248px; }
.request-table, .admin-table { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.request-row, .admin-row { padding-inline: 20px; }
.request-header, .admin-header { background: var(--surface); }
.request-table > p, .admin-table > p { padding-inline: 20px; }
.request-header, .admin-header { color: var(--muted); }
.request-table > p, .admin-table > p { color: var(--muted); }
.status-label { border-radius: 5px; background: #fff4d3; color: #78520c; }
.status-submitted { background: #eef2f6; color: #4d596b; }
.status-approved { background: #eaf7f0; color: #096b4e; }
.status-rejected { background: #fff0f2; color: #a5283e; }
.customer-type { border-color: var(--line); }
.type-button { background: var(--panel); color: var(--ink); }
.type-button + .type-button { border-color: var(--line); }
.type-button.is-active { background: var(--accent); color: var(--ink); }
.kyc-form legend { color: var(--ink); }
.stop-page { color: var(--ink); background: radial-gradient(circle at 80% 20%, #fff4cf, transparent 50%), var(--paper); }
.stop-content .eyebrow { color: var(--accent-strong); }
.stop-content .lead { color: var(--muted); }

@media (max-width: 720px) {
    .hero { padding-block: 72px; }
    .hero-copy h2 { font-size: 46px; }
    .site-header { min-height: 70px; }
}

/* Brand and layout refinements. */
.home-login .eyebrow { color: var(--accent-strong); font-size: 12px; }
.home-login form { margin-top: 24px; }
.home-login form button { margin-top: 8px; }
.home-login .login-register { margin: 20px 0 0; font-size: 13px; }
.login-register a { color: var(--accent-strong); font-weight: 700; text-underline-offset: 3px; }
.fiat-rates { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.fiat-rates h3 { margin: 0; font: 650 clamp(24px, 3vw, 32px)/1.2 "Segoe UI", sans-serif; letter-spacing: -.02em; }
.fiat-rates .rates-heading .eyebrow { font-size: 11px; line-height: 1.5; }
.asset-usd { background: #e3f3eb; color: #18734c; }
.asset-eur { background: #e9edff; color: #3956a6; }
.asset-rub { background: #edf0f4; color: #536176; }
.asset-kzt { background: #ddf5f7; color: #087b89; }
.asset-cny { background: #fff0e8; color: #ad482b; }
.ui-icon { display: block; width: 25px; height: 25px; }
.assurance-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border: 1px solid #f1dda0; border-radius: 12px; background: #fff5cf; color: var(--ink); }
.rate-card { grid-template-columns: 38px minmax(0, 1fr); }
.rate-card strong { overflow-wrap: anywhere; }
.rate-disclaimer { margin: 18px 0 0; color: var(--muted); font: 12px/1.5 Arial, sans-serif; }
.notifications-list { display: grid; gap: 20px; max-width: 900px; margin-top: 32px; }
.notification-card { min-height: 0; }
.notification-card.is-unread { border-left: 3px solid var(--accent); }
.notification-actions, .review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.notification-actions a { margin: 0; }
.notification-actions form { margin-left: auto; }
.review-actions button { width: auto; }
.review-actions .reject-button { color: var(--danger); background: transparent; border-color: var(--danger); }
.kyc-view textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; resize: vertical; }
.kyc-event { padding: 16px 0; border-top: 1px solid var(--line); }
.kyc-event time { display: block; color: var(--muted); font-size: 13px; }
.review-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-count { min-width: 22px; padding: 2px 6px; border-radius: 6px; background: #fff0b3; color: var(--ink); font-size: 12px; text-align: center; }
.admin-kyc-access { margin-top: 32px; min-height: 0; border-color: #e8cc72; }
.admin-kyc-access .card-label { margin-bottom: 16px; }
.logout-form { margin: 0; flex-shrink: 0; }
.logout-button { width: auto; padding: 10px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 700 14px Arial, sans-serif; }
.logout-button:hover { border-color: var(--accent); background: #fff8df; color: var(--accent-strong); }

body { line-height: 1.5; }
.site-header { gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; letter-spacing: -.035em; }
.brand-mark { display: block; flex-shrink: 0; }
.brand-copy { display: grid; gap: 2px; }
.brand-name { font-size: 22px; font-weight: 750; line-height: 1.15; }
.brand-name > span { color: var(--ink); }
.brand-tagline { font-size: 10px; letter-spacing: .015em; }
.site-header nav { margin-left: auto; }
.login-link { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.login-link:hover { border-color: var(--accent); background: #fff8df; }
.hero { gap: clamp(32px, 5vw, 80px); padding-block: 88px; }
.hero-copy h1 { font: 650 clamp(42px, 5.2vw, 76px)/1.08 "Segoe UI", sans-serif; letter-spacing: -.045em; }
.hero-copy h1 > span { color: var(--ink); background: linear-gradient(transparent 75%, #ffeaa0 75%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-copy .lead { max-width: 540px; margin: 26px 0; font-size: 17px; line-height: 1.75; }
.hero-guide { display: inline-flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; text-underline-offset: 6px; }
.hero-guide span { font-size: 22px; color: var(--accent); }
.exchange-panel { padding: 32px; border-radius: 18px; border-top: 3px solid var(--accent); background: var(--panel); }
.exchange-panel > p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.exchange-panel .request-button { display: block; margin-top: 28px; }
.exchange-pair { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; font: 700 12px "Segoe UI", sans-serif; letter-spacing: .06em; }
.exchange-pair > span:not(:nth-child(2)) { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.exchange-pair > span:nth-child(2) { color: var(--accent-strong); font-size: 24px; }
.rate-card { padding: 20px; border-radius: 12px; }
.rate-card b { margin-top: 10px; font-size: 18px; font-variant-numeric: tabular-nums; }
.steps li { padding: 24px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.steps li strong { line-height: 1.35; }
.assurance article { text-align: left; border-radius: 14px; }
.assurance h2 { margin-bottom: 18px; }
.assurance p { font-size: 15px; }
.site-footer .brand { display: inline-flex; margin-bottom: 28px; }
.site-footer .brand-tagline { display: none; }
.site-footer .brand-mark { width: 36px; height: 36px; }
.site-footer .brand-name { font-size: 20px; }
.auth-page { background: var(--surface); }
.auth-content { width: min(100%, 500px); padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 12px 40px rgba(32, 38, 48, .05); }
.auth-content h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
input, select, button, .request-button, .kyc-form textarea { border-radius: 8px; }
input, select { min-height: 48px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 5px; }
button:disabled:hover { background: var(--accent); border-color: var(--accent); }
.stop-page { grid-template-rows: 1fr auto; place-items: stretch; padding: 0; }
.stop-content .brand { display: inline-flex; margin-bottom: 64px; }
.stop-content h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; overflow-wrap: anywhere; }
@media (max-width: 1080px) {
    .site-header .brand-tagline { display: none; }
    .site-header nav { gap: 16px; }
    .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .site-header { flex-wrap: wrap; gap: 16px; padding: 16px 24px; }
    .site-header .brand { margin-right: auto; }
    .site-header nav { display: flex; order: 3; width: 100%; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
    .brand-name { font-size: 19px; }
    .brand-mark { width: 36px; height: 36px; }
    .login-link { font-size: 12px; padding: 8px 10px; }
    .hero { padding-block: 56px; }
    .hero-copy h1 { font-size: clamp(36px, 7.6vw, 52px); }
    .exchange-panel { padding: 24px; }
    .rate-card { padding: 14px; }
    .rate-card b { font-size: 15px; }
    .steps ol { grid-template-columns: 1fr; }
    .auth-content { padding: 26px 20px; }
    .stop-content .brand { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    a { transition: none; }
}

.exchange-form [hidden] { display: none; }
.exchange-rate-panels { display: grid; gap: 24px; min-width: 0; }
.date-picker { position: relative; display: block; min-width: 0; }
.date-picker > input[type="text"] { width: 100%; padding-right: 52px; }
.date-picker .date-picker-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.date-picker-button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--ink); font-size: 24px; }
.exchange-amount-row { align-items: start; }
.exchange-amount-row > label { min-width: 0; align-content: start; }
.exchange-amount-row input, .exchange-amount-row select { height: 48px; }
.exchange-amount-row.crypto-only { grid-template-columns: minmax(0, 1fr); }
.exchange-form small, .exchange-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.exchange-form > button { width: 100%; margin-top: 12px; }
.exchange-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.exchange-result h2 { margin: 0 0 16px; font-size: 20px; }
.exchange-result output { display: block; font-size: clamp(22px, 4vw, 32px); font-weight: 700; overflow-wrap: anywhere; }
