@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Inter-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Inter-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Inter-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Inter-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/Inter-800.ttf) format('truetype');
}

:root {
  --wine: #570016; --wine-deep: #38000d; --wine-light: #8f1234;
  --ink: #171416; --muted: #655d61; --gold: #eac363;
  --white: #fff; --pale: #faf7f7; --line: #e8dfe2; --max: 1440px;
  --surface: #fff; --tint: #f6e9ed; --accent: #570016; --action: #570016;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #aa4666; outline-offset: 4px; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { line-height: 1.1; }
.wrap { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 200; top: -100px; left: 16px; padding: 14px 20px; background: var(--action); color: #fff; }
.skip-link:focus { top: 12px; }
.topline { background: var(--wine-deep); color: #fff; font-size: 12px; }
.topline-inner { min-height: 36px; display: flex; align-items: center; gap: 24px; }
.topline a:hover { text-decoration: underline; }
.top-help { margin-left: auto; }
.site-header { position: sticky; z-index: 40; top: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px #21000a08; }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { display: grid; line-height: 1.1; gap: 7px; }
.brand b { font-size: 25px; letter-spacing: -.5px; }
.brand small { font-size: 8px; font-weight: 700; letter-spacing: 1.6px; }
.header-inner nav { display: flex; align-items: center; justify-content: center; gap: 15px; flex: 1; }
.header-inner nav > a, .nav-more > summary { min-height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-inner nav a:hover, .header-inner nav a[aria-current="page"] { color: var(--wine-light); }
.header-inner nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.nav-more { position: relative; }
.nav-more summary { cursor: pointer; gap: 5px; }
.nav-more summary::after { content: '⌄'; }
.nav-more > div { position: absolute; top: 48px; right: 0; min-width: 170px; display: grid; padding: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 30px #1d061326; }
.nav-more > div a { min-height: 44px; padding: 10px; font-size: 14px; }
.login-btn { display: inline-flex; gap: 16px; align-items: center; justify-content: center; min-height: 46px; background: var(--action); color: #fff; border-radius: 4px; padding: 11px 18px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.login-btn:hover { background: var(--wine-light); }
.menu-toggle { display: none; min-height: 44px; background: var(--surface); color: var(--accent); border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.service-notice { background: var(--tint); color: var(--accent); border-bottom: 1px solid var(--line); font-size: 12px; }
.service-notice .wrap { padding-block: 10px; }
.hero { position: relative; overflow: hidden; color: #fff; background: #16080c; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, #11070af2, #1b070cdc 48%, #20081180), url('images/hero-products.webp') center / cover no-repeat; }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 70px; min-height: 630px; align-items: center; padding-block: 42px; }
.hero-copy { max-width: 800px; padding-block: 38px; }
.eyebrow { color: var(--accent); letter-spacing: 2.6px; font-size: 11px; font-weight: 700; margin-bottom: 18px; }
.hero .eyebrow, .subhero .eyebrow { color: var(--gold); }
.hero h1 { margin-bottom: 24px; font: 700 clamp(50px, 5.3vw, 82px)/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -2px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.lead { font-size: 18px; line-height: 1.7; }
.hero-copy .lead { max-width: 630px; color: #f0e5e9; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; border: 1px solid transparent; border-radius: 4px; padding: 12px 22px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn.primary { background: var(--action); color: #fff; }
.btn.primary:hover { background: var(--wine-light); }
.btn.white { background: var(--surface); color: var(--accent); }
.btn.white:hover, .btn.outline:hover { background: var(--tint); }
.btn.outline { background: var(--surface); border-color: #c9aeb7; color: var(--accent); }
.btn.full { width: 100%; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: #eadce1; font-size: 12px; }
.hero-notes span::before { content: '·'; color: var(--gold); margin-right: 8px; }
.quote-panel { color: var(--ink); background: var(--surface); border-radius: 8px; padding: 28px; box-shadow: 0 16px 48px #0005; }
.quote-head { display: flex; justify-content: space-between; align-items: center; }
.quote-head .eyebrow { color: var(--accent); font-size: 9px; margin-bottom: 6px; }
.quote-head h2 { font-size: 24px; margin-bottom: 0; }
.quote-mark { background: var(--tint); color: var(--accent); border-radius: 6px; width: 46px; height: 46px; display: grid; place-items: center; font-weight: 700; }
.quote-intro { margin-block: 15px; font-size: 12px; color: var(--muted); }
.quote-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 4px; background: var(--tint); gap: 4px; margin-bottom: 16px; }
.quote-tabs button { min-height: 44px; cursor: pointer; border: 0; border-radius: 3px; background: transparent; color: var(--accent); font-size: 13px; }
.quote-tabs button.selected { color: #fff; background: var(--action); }
.quote-panel label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.quote-panel input, .quote-panel select { width: 100%; min-height: 44px; border: 1px solid #d3c6cc; border-radius: 3px; padding: 9px 10px; background: var(--surface); color: var(--ink); font-size: 14px; }
.quote-panel input[aria-invalid="true"] { border-color: #a5002e; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
#weight-help { display: block; font-size: 10px; color: var(--muted); margin-top: 7px; }
.estimate { margin-block: 16px; padding: 14px; background: var(--tint); border-radius: 4px; }
.estimate small, .estimate span { display: block; font-size: 11px; color: var(--muted); }
.estimate strong { display: block; font-size: 24px; color: var(--accent); }
.form-message { min-height: 18px; margin-block: 9px; color: var(--accent); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.quote-panel .text-link { font-size: 12px; }
.ticker { border-bottom: 1px solid var(--line); background: var(--pale); }
.ticker-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; align-items: center; gap: 24px; padding-block: 24px; }
.ticker small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .8px; }
.ticker strong { display: block; font-size: 19px; color: var(--accent); }
.ticker span, .ticker p { font-size: 11px; color: var(--muted); margin: 0; }
.section { padding-block: 76px; background: var(--surface); }
.section.soft { background: var(--pale); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -1px; margin-bottom: 16px; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.product-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); transition: box-shadow .2s ease; }
.product-card:hover { box-shadow: 0 14px 34px #42001617; }
.product-card img { display: block; width: 100%; height: 210px; object-fit: cover; }
.product-card > div { padding: 24px; }
.product-card h3 { margin-bottom: 10px; font-size: 20px; }
.product-card p { color: var(--muted); font-size: 14px; }
.product-card > div > span { color: var(--accent); font-size: 13px; font-weight: 700; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.info-card { border: 1px solid var(--line); border-radius: 6px; padding: 30px; background: var(--surface); min-width: 0; }
.card-number { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 700; margin-bottom: 26px; }
.info-card h3 { font-size: 22px; margin-bottom: 15px; line-height: 1.2; }
.info-card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.policy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.policy-grid a { min-height: 100px; border: 1px solid var(--line); border-radius: 5px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--accent); font-size: 15px; font-weight: 700; }
.policy-grid a::after { content: '↗'; }
.policy-grid a:hover { background: var(--pale); border-color: #bd8395; }
.portal-actions, .contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact-links > a:not(.text-link) { color: var(--accent); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.subhero { color: #fff; background: linear-gradient(115deg, #38000d, #69001d); padding-block: 72px; }
.subhero-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.subhero-layout:not(:has(img)) { grid-template-columns: 1fr; }
.subhero h1 { margin-bottom: 26px; font: 700 clamp(42px, 4.8vw, 70px)/1.08 Georgia, 'Times New Roman', serif; letter-spacing: -1.5px; }
.subhero .lead { max-width: 760px; color: #f2e4e9; margin-bottom: 0; }
.subhero-image { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 6px; }
.weight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.weight-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.weight-grid img { display: block; width: 100%; height: 190px; object-fit: cover; }
.weight-grid h3 { font-size: 18px; padding-inline: 20px; margin-block: 20px 8px; }
.weight-grid p { padding: 0 20px 20px; color: var(--muted); font-size: 13px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-value { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.contact-grid p { margin-top: 16px; }
address { font-style: normal; }
.help-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.help-index { border: 1px solid var(--line); background: var(--pale); border-radius: 5px; padding: 26px; }
.help-index h2 { font-size: 23px; margin-bottom: 20px; }
.help-index a { display: flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--accent); border-bottom: 1px solid var(--line); padding-block: 8px; }
.help-index a:last-child { border-bottom: 0; }
.help-index a:hover { text-decoration: underline; }
.help-topic { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 34px; scroll-margin-top: 115px; }
.help-topic h2 { font-size: 29px; margin-bottom: 18px; }
.help-topic .eyebrow { font-size: 10px; margin-bottom: 12px; }
.help-topic p:not(.eyebrow) { color: var(--muted); }
.entry-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.entry-card { border: 1px solid var(--line); border-radius: 5px; padding: 30px; display: block; }
.entry-card:hover { background: var(--pale); }
.entry-card h2 { font-size: 27px; }
.entry-card p { color: var(--muted); }
.entry-card span { font-size: 28px; color: var(--accent); }
.legal-document { max-width: 940px; }
.legal-document section { padding-block: 20px; }
.legal-document h2 { font-size: 24px; margin-bottom: 18px; color: var(--accent); line-height: 1.3; }
.legal-document h3 { font-size: 18px; }
.legal-document p { color: var(--muted); }
.notice { border-left: 4px solid var(--wine); padding: 28px; background: var(--pale); margin-block: 0 28px; }
.document-date { font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.field { display: inline-block; width: min(230px, 100%); border-bottom: 1px solid #9b8490; }
.schedule { border-top: 1px solid var(--line); }
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.signature-line { border-top: 1px solid #9b8490; margin-top: 40px; padding-top: 8px; font-size: 13px; }
.footer-ref { background: #20070f; color: #fff; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); gap: 36px; padding-bottom: 44px; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px; }
.footer-brand p { font: 700 25px/1.15 Georgia, 'Times New Roman', serif; margin-block: 18px; }
.footer-brand small { display: block; max-width: 230px; font-size: 12px; color: #d5c1c9; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; }
.footer-grid h2 { font-size: 14px; line-height: 1.4; margin-block: 0 18px; }
.footer-grid a { font-size: 12px; color: #e2cfd6; min-height: 40px; padding-block: 9px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { border-block: 1px solid #ffffff24; padding-block: 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.footer-disclaimer strong { font: 700 26px/1.2 Georgia, 'Times New Roman', serif; }
.footer-disclaimer p { color: #e2cfd6; font-size: 12px; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; color: #d5c1c9; font-size: 12px; }
@media (max-width: 1240px) {
  .header-inner { flex-wrap: wrap; gap: 16px; padding-block: 16px; }
  .brand { margin-right: auto; }
  html[data-public-js="true"] .menu-toggle { display: inline-flex; align-items: center; gap: 10px; }
  .header-inner nav { display: flex; order: 4; width: 100%; flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-top: 8px; border-top: 1px solid var(--line); }
  html[data-public-js="true"] .header-inner nav { display: none; }
  html[data-public-js="true"] .header-inner nav.open { display: flex; }
  .header-inner nav > a { padding-inline: 12px; border-bottom: 1px solid var(--line); }
  .nav-more > summary { padding: 10px 12px; }
  .nav-more > div { position: static; box-shadow: none; border: 0; padding: 0 12px; }
  .hero-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) 350px; }
  .product-cards, .weight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card img { height: 260px; }
  .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); gap: 22px; }
}
@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 40px), var(--max)); }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; padding-block: 42px; }
  .hero-copy { padding-block: 8px; }
  .hero h1 { font-size: clamp(48px, 9vw, 70px); }
  .quote-panel { width: 100%; max-width: 550px; }
  .ticker-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ticker-inner > p { grid-column: 1 / -1; }
  .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .subhero-layout { grid-template-columns: 1fr; gap: 32px; }
  .subhero-image { max-width: 680px; height: 300px; }
  .help-layout { grid-template-columns: 1fr; gap: 40px; }
  .help-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .help-index h2 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand small { max-width: 460px; }
  .footer-disclaimer { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .topline-inner { flex-wrap: wrap; gap: 6px 16px; padding-block: 8px; font-size: 11px; }
  .topline-inner > span { display: none; }
  .top-help { margin-left: 0; }
  .header-inner { min-height: 80px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 44px; height: 44px; }
  .brand b { font-size: 20px; }
  .brand small { font-size: 6px; letter-spacing: 1px; }
  .menu-toggle { padding: 8px 10px; }
  .login-btn { width: 100%; min-height: 44px; order: 3; }
  .hero h1 { font-size: 49px; letter-spacing: -1px; }
  .lead { font-size: 16px; }
  .hero-notes { gap: 10px 18px; }
  .quote-panel { padding: 22px; }
  .section, .subhero { padding-block: 48px; }
  .section-heading h2 { font-size: 32px; }
  .product-cards, .weight-grid, .policy-grid, .entry-options { grid-template-columns: 1fr; }
  .product-card img { height: 240px; }
  .subhero h1 { font-size: 42px; letter-spacing: -1px; }
  .subhero-image { height: 250px; }
  .help-index { grid-template-columns: 1fr; padding: 20px; }
  .help-topic h2 { font-size: 26px; }
  .footer-grid { gap: 22px 18px; }
  .footer-disclaimer strong { font-size: 24px; }
  .signatures { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .topline, .service-notice, .footer-ref, .skip-link, .subhero .actions { display: none; }
  .subhero { background: var(--surface); color: #171416; padding-block: 20px; }
  .subhero .lead, .subhero .eyebrow { color: #171416; }
  .section { padding-block: 10px; }
  .wrap { width: 100%; }
  .notice { background: var(--surface); }
}

/* Shared public appearance: a display preference only, never account state. */
html[data-theme="dark"] {
  color-scheme: dark;
  --white: #151316; --surface: #211e23; --pale: #1b181d;
  --ink: #f6f1f4; --muted: #c9bec5; --line: #554851;
  --tint: #35232d; --accent: #f2a9c1; --action: #791c3b; --wine-light: #b64c71;
}
.theme-control { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.theme-control select { min-height: 44px; max-width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .header-inner nav a:hover,
html[data-theme="dark"] .header-inner nav a[aria-current="page"] { color: var(--accent); }
html[data-theme="dark"] .quote-panel input, html[data-theme="dark"] .quote-panel select { border-color: var(--line); }
html[data-theme="dark"] .quote-panel input[aria-invalid="true"] { border-color: #ff9eb6; }
html[data-theme="dark"] :focus-visible { outline-color: #f2a9c1; }
@media (max-width: 1240px) {
  .theme-control { flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); }
}
@media print {
  :root, html[data-theme="dark"] { color-scheme: light; --white: #fff; --surface: #fff; --pale: #fff; --ink: #171416; --muted: #4e454b; --line: #bbb; --accent: #570016; --tint: #fff; }
  .theme-control { display: none; }
}

/* Installed TEST platform remains usable at narrow mobile widths. */
.platform-nav { display:flex;flex-wrap:wrap;gap:12px; }
@media(max-width:600px){.header-inner:has(a[href="/platform/"]){flex-wrap:wrap;}.batch1-grid .actions{display:grid;}.batch1-grid .btn{white-space:normal;}}

/* HKKO GOLD — Compact mobile header */
@media (max-width: 540px) {
  .topline-inner {
    padding-block: 4px;
    gap: 4px 12px;
  }

  .header-inner {
    min-height: 0;
    padding-block: 8px;
    gap: 6px 10px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand b {
    font-size: 18px;
  }

  .menu-toggle,
  .login-btn {
    min-height: 44px;
  }
}


/* Inter consistency from feature/inter-live-charts-header-20261027 */
html,body,button,input,select,textarea,nav,h1,h2,h3,h4,h5,h6,.hero h1,.subhero h1,.footer-ref .footer-disclaimer strong,.customer-price-ticker{font-family:'Inter',Arial,Helvetica,sans-serif!important}
.chart-move{color:#d0c9cc}.chart-move.up{color:#64e3a4}.chart-move.down{color:#ff8b96}
.customer-price-ticker.is-paused .customer-price-track{animation:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.customer-price-track{animation:none!important;transform:none!important}.customer-price-viewport{overflow-x:auto!important}}
