:root {
  color-scheme: light;
  --ink: #302820;
  --muted: #776a5d;
  --paper: #f7f0df;
  --card: #fffaf0;
  --line: #d3c0a1;
  --primary: #875334;
  --primary-dark: #403126;
  --teal: #3f6f67;
  --soft: #eee4ce;
  --shadow: 0 24px 70px rgba(64, 49, 38, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(22px, 6vw, 88px);
  background: rgba(247,240,223,.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; letter-spacing: .04em; }
.brand span:last-child { display: grid; line-height: 1.08; }
.brand strong { font-size: 15px; letter-spacing: .16em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: linear-gradient(145deg, var(--primary), #b57a50);
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 21px;
  box-shadow: 0 8px 24px rgba(64,49,38,.22);
}
.site-header nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-header nav a { color: #5f5145; text-decoration: none; font-size: 14px; font-weight: 650; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--primary); }
.site-header nav a:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 4px;
  border-radius: 4px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--card);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { border-color: var(--primary); color: var(--primary); }
.button.primary { color: white; background: var(--primary); border-color: var(--primary); }
.button.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }
.button.compact { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.button.light { border-color: rgba(255,255,255,.5); background: white; color: var(--primary-dark); }
.button:disabled { opacity: .46; cursor: not-allowed; }
.button:focus-visible,
.brand:focus-visible,
.feature-card a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  border-radius: 5px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  min-height: 610px;
  padding: clamp(68px, 9vw, 124px) clamp(22px, 8vw, 120px);
  background:
    radial-gradient(circle at 83% 20%, rgba(135,83,52,.2), transparent 28%),
    linear-gradient(145deg, #fffaf0 0%, #eee4ce 58%, #e6ece7 100%);
}
.eyebrow { margin: 0 0 13px; color: var(--teal); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1 { max-width: 810px; margin-bottom: 23px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 76px); font-weight: 500; letter-spacing: -.035em; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; letter-spacing: -.02em; }
.lede { max-width: 770px; color: #5f5145; font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 20px; }
.fine-print { max-width: 720px; color: var(--muted); font-size: 13px; }
.hero-panel { padding: 29px; border: 1px solid rgba(135,83,52,.26); border-radius: 24px; background: rgba(255,250,240,.88); box-shadow: var(--shadow); }
.hero-panel ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hero-panel li { display: grid; grid-template-columns: 40px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--primary); background: var(--soft); font-weight: 850; }
.hero-panel li div { display: grid; gap: 3px; }
.hero-panel small { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 100px clamp(22px, 8vw, 120px); }
.section-heading { grid-column: 1 / -1; max-width: 780px; margin-bottom: 22px; }
.feature-card { display: flex; flex-direction: column; min-height: 310px; padding: 30px; border: 1px solid var(--line); border-radius: 19px; background: var(--card); box-shadow: 0 12px 40px rgba(64,49,38,.07); }
.feature-card .icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 40px; border-radius: 14px; color: var(--primary); background: var(--soft); font-size: 24px; }
.feature-card h3 { margin-bottom: 12px; font-size: 21px; }
.feature-card p { color: var(--muted); }
.feature-card a { margin-top: auto; color: var(--primary); font-weight: 750; text-decoration: none; }
.account-strip, .cross-promotion { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 0 clamp(22px, 8vw, 120px) 90px; padding: clamp(35px, 5vw, 62px); border-radius: 24px; }
.account-strip { color: white; background: linear-gradient(135deg, #403126, #875334 62%, #3f6f67); }
.account-strip .eyebrow { color: #ead7b8; }
.account-strip h2, .cross-promotion h2 { margin-bottom: 12px; }
.account-strip p:not(.eyebrow), .cross-promotion p:not(.eyebrow) { max-width: 800px; margin-bottom: 0; opacity: .88; }
.cross-promotion { border: 1px solid var(--line); background: var(--card); }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 38px clamp(22px, 8vw, 120px); border-top: 1px solid var(--line); background: var(--card); }
.site-footer > div { display: grid; }
.site-footer > div span { color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 19px; }
.site-footer nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.auth-card, .transfer-shell { width: min(920px, calc(100% - 36px)); margin: 70px auto; }
.auth-card { display: grid; gap: 18px; max-width: 580px; padding: clamp(28px, 6vw, 58px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.auth-card .brand { margin-bottom: 20px; color: var(--primary); font-weight: 850; }
.auth-card h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); }
.auth-card p { color: var(--muted); }
.auth-card .error, .status-message.error { color: #8c2f26; }
.transfer-heading { margin-bottom: 34px; }
.transfer-heading h1 { font-size: clamp(38px, 6vw, 62px); }
.transfer-heading p:last-child { max-width: 720px; color: var(--muted); }
.transfer-card { margin: 18px 0; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-radius: 19px; background: var(--card); box-shadow: 0 12px 42px rgba(64,49,38,.07); }
.step-label { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; font-size: 20px; }
.step-label span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--primary); font-size: 14px; }
.summary-list { display: grid; gap: 0; margin: 0 0 25px; }
.summary-list div { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; overflow-wrap: anywhere; font-weight: 680; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--teal); color: #4c5f58; background: #eaf1eb; }
.consent-row { display: flex; align-items: flex-start; gap: 12px; margin: 25px 0; padding: 18px; border-radius: 13px; background: var(--soft); }
.consent-row input { width: 19px; height: 19px; margin-top: 3px; }
.status-message { min-height: 26px; color: var(--teal); font-weight: 700; }
.result-card { border-color: rgba(22,127,122,.42); }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; padding-top: 8px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .account-strip, .cross-promotion, .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .site-header { gap: 12px; }
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    overflow-x: visible;
  }
  .site-header nav a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  h1 { font-size: 39px; }
  .summary-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 360px) {
  .site-header nav { grid-template-columns: 1fr; }
}
