/* =========================================================
   AUSTRALIAN GOLD CAPITAL — Client & Investor Website
   Design system: warm cream, charcoal, Australian gold.
   Written for maximum clarity: large type, large buttons,
   generous spacing, high contrast.
   ========================================================= */

:root {
  --gold:        #C39A2B;
  --gold-bright: #E3B84A;
  --gold-deep:   #8A6A1E;
  --gold-pale:   #F6EFD9;
  --ink:         #17161B;
  --char:        #1C1B21;
  --char-2:      #26242C;
  --body:        #2E2C33;
  --muted:       #6F6A5F;
  --line:        #E7E1D2;
  --bg:          #FDFBF6;
  --bg-2:        #F6F1E4;
  --white:       #FFFFFF;
  --green:       #1E7A53;
  --green-pale:  #E3F3EB;
  --red:         #B4442F;
  --red-pale:    #FBEAE5;
  --blue:        #1E5A8A;
  --blue-pale:   #E7F0F8;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 2px 6px rgba(23, 22, 27, .06), 0 18px 40px rgba(23, 22, 27, .08);
  --shadow-sm:   0 2px 4px rgba(23, 22, 27, .07);
  --max:         1200px;
  --font-head:   "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:   "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--char); color: #E9E5DA; }
.section-dark h2, .section-dark h3 { color: #FCF7EA; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-pale);
  border: 1px solid #EADFB8;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-dark .eyebrow { background: rgba(227, 184, 74, .12); border-color: rgba(227, 184, 74, .35); color: var(--gold-bright); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { font-size: 1.14rem; color: var(--muted); }
.section-dark .section-head p { color: #B9B3A5; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.lead { font-size: 1.2rem; color: var(--muted); }

.small { font-size: .92rem; }
.tiny { font-size: .82rem; }
.center { text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #241C05; border-color: var(--gold); }
.btn-gold:hover { color: #241C05; }

.btn-dark { background: var(--ink); color: #F5EEDC; }
.btn-dark:hover { background: #000; color: var(--gold-bright); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #F5EEDC; }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

.btn-lg { font-size: 1.18rem; padding: 20px 40px; }
.btn-sm { font-size: .95rem; padding: 11px 22px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------------- Top bar + header ---------------- */
.topbar {
  background: var(--ink);
  color: #CFC9BB;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.topbar strong { color: var(--gold-bright); font-weight: 600; }
.topbar a { color: #CFC9BB; }
.topbar a:hover { color: var(--gold-bright); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 251, 246, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.16rem; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  color: var(--body);
  font-size: .93rem;
  font-weight: 500;
  padding: 9px 11px;
  border-radius: 10px;
  white-space: nowrap;
}
.main-nav a.btn { display: none; }
.main-nav a:hover { background: var(--gold-pale); color: var(--gold-deep); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 12px;
  width: 52px; height: 52px;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ink);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(227, 184, 74, .35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(195, 154, 43, .18), transparent 60%),
    linear-gradient(180deg, #FFFDF7, var(--bg));
  overflow: hidden;
  padding: 96px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero p.lead { color: #57534A; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--body);
}
.trust-chip svg { width: 17px; height: 17px; color: var(--green); flex: none; }

.hero-card {
  background: var(--char);
  color: #EFEBE0;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}
.hero-card h3 { color: #FCF7EA; font-size: 1.3rem; margin-bottom: 4px; }
.hero-card .sub { font-size: .85rem; color: #A9A396; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 22px; }

.price-big { font-size: 3rem; font-weight: 700; color: var(--gold-bright); font-family: var(--font-body); letter-spacing: -.02em; }
.price-big span { font-size: 1.1rem; color: #A9A396; font-weight: 500; }
.price-change { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: rgba(30, 122, 83, .22); color: #7BD9AE; font-weight: 600; font-size: .95rem; padding: 5px 12px; border-radius: 8px; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; border-top: 1px solid #3A3841; padding-top: 22px; }
.hero-stats div span { display: block; font-size: .78rem; color: #A9A396; text-transform: uppercase; letter-spacing: .1em; }
.hero-stats div strong { font-size: 1.3rem; color: #FCF7EA; font-weight: 600; }

/* ---------------- Ticker strip ---------------- */
.ticker-strip {
  background: var(--ink);
  border-top: 1px solid #33313A;
  border-bottom: 1px solid #33313A;
  color: #CFC9BB;
  padding: 14px 0;
  font-size: .9rem;
  overflow: hidden;
}
.ticker-track { display: flex; gap: 44px; justify-content: center; flex-wrap: wrap; }
.ticker-item { display: flex; align-items: center; gap: 8px; }
.ticker-item b { color: var(--gold-bright); font-weight: 600; }
.ticker-up { color: #7BD9AE; }
.ticker-down { color: #E9A89C; }

/* ---------------- Grids & cards ---------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--gold-pale);
  border: 1px solid #EADFB8;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-deep);
}
.card-icon svg { width: 28px; height: 28px; }

.card.highlight {
  background: linear-gradient(160deg, #26242C, #17161B);
  border-color: #3A3841;
}
.card.highlight h3 { color: #FCF7EA; }
.card.highlight p { color: #B5AF9F; }
.card.highlight .card-icon { background: rgba(227, 184, 74, .14); border-color: rgba(227, 184, 74, .35); color: var(--gold-bright); }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #241C05; font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------------- Tables ---------------- */
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 18px 22px; text-align: left; font-size: .98rem; }
th { background: var(--bg-2); color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
td { border-bottom: 1px solid var(--line); color: var(--body); }
tr:last-child td { border-bottom: none; }
td.num { font-weight: 600; color: var(--ink); }
td strong { color: var(--ink); }

.badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-gold { background: var(--gold-pale); color: var(--gold-deep); border: 1px solid #EADFB8; }
.badge-green { background: var(--green-pale); color: var(--green); }
.badge-red { background: var(--red-pale); color: var(--red); }
.badge-blue { background: var(--blue-pale); color: var(--blue); }

/* ---------------- Countries ---------------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.country {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: .97rem;
  font-weight: 500;
  color: var(--body);
}
.country .flag { font-size: 1.5rem; line-height: 1; }
.country.is-off { opacity: .5; }

.note {
  background: var(--gold-pale);
  border: 1px solid #EADFB8;
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: .97rem;
  color: #574B26;
}
.note strong { color: #241C05; }
.note-dark { background: rgba(227, 184, 74, .1); border-color: rgba(227, 184, 74, .3); border-left-color: var(--gold-bright); color: #D9D3C4; }
.note-dark strong { color: var(--gold-bright); }

/* ---------------- Testimonials ---------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote p { font-family: var(--font-head); font-size: 1.13rem; font-style: italic; color: var(--body); margin: 0; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  color: #241C05; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem; flex: none;
}
.who b { display: block; color: var(--ink); font-size: 1rem; }
.who span { display: block; color: var(--muted); font-size: .87rem; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }

/* ---------------- FAQ ---------------- */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-q .chev { font-size: 1.5rem; color: var(--gold-deep); transition: transform .2s; flex: none; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 26px 24px; color: var(--muted); font-size: 1rem; }
.faq-item.open .faq-a { display: block; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
.contact-block { background: var(--char); color: #EFEBE0; border-radius: var(--radius-lg); padding: 36px; border-top: 5px solid var(--gold); }
.contact-block h3 { color: #FCF7EA; margin-bottom: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; font-size: 1rem; }
.contact-line svg { width: 22px; height: 22px; color: var(--gold-bright); flex: none; margin-top: 3px; }
.contact-line b { display: block; color: #FCF7EA; }
.contact-line span { color: #B5AF93; font-size: .93rem; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 1rem; }
.field .hint { font-size: .87rem; color: var(--muted); margin-bottom: 9px; display: block; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="date"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 15px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(195, 154, 43, .15); }
textarea { min-height: 130px; resize: vertical; }
label.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--body); font-weight: 400; }
label.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--gold-deep); }

.form-note { font-size: .85rem; color: var(--muted); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #B5AF9F; padding: 70px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #33313A; }
.site-footer h4 { color: #FCF7EA; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer a { color: #B5AF9F; display: block; padding: 6px 0; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-brand .brand-name { color: #FCF7EA; }
.footer-legal { padding-top: 30px; font-size: .83rem; color: #8A8579; line-height: 1.7; }
.footer-legal strong { color: #C9C3B4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-size: .85rem; }

/* ---------------- Auth pages ---------------- */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  background:
    radial-gradient(700px 500px at 20% 20%, rgba(227, 184, 74, .3), transparent 60%),
    linear-gradient(160deg, #26242C, #131217);
  color: #EFEBE0;
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.auth-side h2 { color: #FCF7EA; margin-bottom: 14px; }
.auth-side p { color: #B5AF9F; }
.auth-side ul { list-style: none; margin-top: 10px; }
.auth-side li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: #D9D3C4; font-size: 1.02rem; }
.auth-side li svg { width: 20px; height: 20px; color: var(--gold-bright); flex: none; margin-top: 4px; }

.auth-main { background: var(--bg); padding: 56px 48px; display: flex; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 480px; }
.auth-card h1 { font-size: 2.2rem; margin-bottom: 8px; }
.auth-card .lead { font-size: 1.05rem; margin-bottom: 28px; }

.demo-box {
  background: var(--gold-pale);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: .93rem;
  color: #574B26;
  margin-bottom: 24px;
}
.demo-box b { color: #241C05; }
.demo-box code { background: #fff; padding: 2px 8px; border-radius: 6px; font-family: inherit; font-weight: 600; border: 1px solid #EADFB8; }

.auth-switch { text-align: center; margin-top: 22px; font-size: 1rem; color: var(--muted); }
.auth-switch a { font-weight: 600; }
.hidden { display: none !important; }

.error-msg {
  background: var(--red-pale);
  border: 1px solid #F0C4B9;
  color: var(--red);
  padding: 13px 17px;
  border-radius: 10px;
  font-size: .95rem;
  margin-bottom: 18px;
}

/* ---------------- Dashboard ---------------- */
.dash { min-height: 100vh; background: var(--bg); }

.dash-top {
  background: var(--char);
  border-bottom: 3px solid var(--gold);
  padding: 0;
}
.dash-top .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.dash-user { display: flex; align-items: center; gap: 16px; }
.dash-user .who b { color: #FCF7EA; }
.dash-user .who span { color: #A9A396; }
.avatar-sm {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  color: #241C05; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}

.dash-tabs { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.dash-tabs .container { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.tab-btn {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--body);
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 9px;
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.tab-btn.active { background: var(--ink); border-color: var(--ink); color: #F5EEDC; }

.dash-body { padding: 40px 0 70px; }
.dash-section { display: none; }
.dash-section.active { display: block; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-title h2 { font-size: 1.9rem; }
.section-title .sub { color: var(--muted); font-size: 1rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 30px; }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.stat span { display: block; font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.stat strong { display: block; font-size: 2rem; font-weight: 700; color: var(--ink); font-family: var(--font-body); letter-spacing: -.02em; }
.stat small { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); }
.stat.stat-gold { background: linear-gradient(160deg, #26242C, #17161B); border-color: #3A3841; }
.stat.stat-gold span { color: #A9A396; }
.stat.stat-gold strong { color: var(--gold-bright); }
.stat.stat-gold small { color: #8F8A7D; }
.stat .up { color: var(--green); font-weight: 600; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.panel h3 { margin-bottom: 6px; }
.panel .panel-sub { color: var(--muted); font-size: .97rem; margin-bottom: 22px; }

.panel-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }

/* Chart */
.chart-box { position: relative; }
.chart-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.chart-legend b { color: var(--ink); }
.chart-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); margin-right: 7px; }
.chart svg { width: 100%; height: auto; }

/* Holdings list */
.holding {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.holding:last-child { border-bottom: none; }
.holding .h-left { display: flex; gap: 15px; align-items: center; }
.holding .h-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-pale); border: 1px solid #EADFB8;
  display: flex; align-items: center; justify-content: center; color: var(--gold-deep);
}
.holding .h-icon svg { width: 24px; height: 24px; }
.holding b { display: block; color: var(--ink); }
.holding small { color: var(--muted); }
.holding .h-right { text-align: right; }
.holding .h-right b { font-size: 1.15rem; }

/* Tables on dashboard */
.dash-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.dash-table th { font-size: .8rem; }
.dash-table td { padding: 16px 22px; }

/* Two column layout helper */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

/* Fee calculator */
.calc-result {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-top: 8px;
}
.calc-row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 1.03rem; border-bottom: 1px dashed var(--line); }
.calc-row:last-child { border-bottom: none; }
.calc-row span { color: var(--muted); }
.calc-row b { color: var(--ink); }
.calc-row.total { font-size: 1.2rem; }
.calc-row.total b { color: var(--green); font-size: 1.35rem; }
.calc-row.fee b { color: var(--red); }

/* Toast / modal */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #F5EEDC;
  border-left: 5px solid var(--gold);
  padding: 18px 28px;
  border-radius: 14px;
  font-size: 1.02rem;
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: 92vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 19, 24, .65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--gold);
  padding: 34px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
}
.modal h3 { margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: 1rem; }
.modal-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

/* Timeline of shipments */
.timeline { list-style: none; }
.timeline li { position: relative; padding: 0 0 26px 34px; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: -9px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline b { display: block; color: var(--ink); }
.timeline small { color: var(--muted); font-size: .9rem; }

.help-banner {
  background: linear-gradient(160deg, #26242C, #17161B);
  color: #EFEBE0;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  border-left: 6px solid var(--gold);
}
.help-banner h3 { color: #FCF7EA; margin-bottom: 4px; }
.help-banner p { color: #B5AF9F; margin-bottom: 0; }
.help-banner .phone { font-size: 2rem; font-weight: 700; color: var(--gold-bright); font-family: var(--font-body); }

/* ---------------- Page hero (sub pages) ---------------- */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 70px 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 22px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.1rem; padding: 14px 16px; }
  .nav-toggle { display: block; }
  .header-actions .btn { padding: 12px 20px; font-size: .95rem; }
  .grid-3, .grid-2, .steps, .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding: 40px 22px; }
  .hero { padding: 60px 0 50px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.6rem; }
  .table-wrap { box-shadow: none; }
}