:root {
  --bg:        #f4f3ef;
  --bg-2:      #ffffff;
  --bg-3:      #eae9e3;
  --ink:       #15141a;
  --ink-2:     #3a3944;
  --ink-3:     #74737e;
  --line:      rgba(21,20,26,0.09);
  --line-2:    rgba(21,20,26,0.16);
  --brand:     #1b2a4a;
  --brand-mid: #233661;
  --brand-lt:  #e8ecf5;
  --font:      'Plus Jakarta Sans', sans-serif;
  --mono:      'JetBrains Mono', monospace;
  --r:         10px;
  --r-sm:      8px;
  --r-lg:      16px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: var(--font); color: var(--ink); min-height: 100vh; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ————— Nav ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,243,239,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--bg-3); }
@media (max-width: 520px) {
  .nav-link { display: none; }
}
.btn-nav {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: transparent;
  border: 1.5px solid var(--line-2);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
  white-space: nowrap;
  min-height: 38px;
}
.btn-nav:hover { background: var(--bg-3); }

/* ————— Account Page ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
.account-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.account-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 480px) {
  .account-card { padding: 32px 24px; }
}

/* Logo mark centered */
.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-logo-mark {
  width: 52px;
  height: 52px;
  background: var(--brand);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Heading block */
.card-heading {
  text-align: center;
  margin-bottom: 28px;
}
.card-heading h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.card-heading p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* Primary CTA */
.btn-primary-full {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border: none;
  cursor: pointer;
  width: 100%;
  height: 52px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
  margin-bottom: 20px;
}
.btn-primary-full:hover { background: var(--brand-mid); }

/* Divider */
.divider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider-text {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  flex-shrink: 0;
}

/* Track input row */
.track-row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.track-input {
  flex: 1;
  height: 48px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 0;
}
.track-input::placeholder {
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 400;
}
.track-input:focus {
  border-color: var(--brand);
  background: var(--bg-2);
}
.btn-track {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-lt);
  border: none;
  cursor: pointer;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.btn-track:hover { background: #d4dced; }

/* Ops link */
.ops-link-row {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ops-link-row a {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  transition: color 0.15s;
}
.ops-link-row a:hover { color: var(--brand); }

/* ————— Footer ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
footer.footer-multi {
  border-top: 1px solid var(--line);
  padding: 52px 20px 32px;
  background: var(--bg-2);
}
.footer-multi-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-multi-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-multi-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-col-brand .logo-mark-sm {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-col-brand .brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.footer-col-brand .brand-tagline {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 200px;
}
.footer-col h4 {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.footer-contact-list li a {
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer-contact-list li a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--ink-3); }

@media (max-width: 720px) {
  footer > div > div:first-child { grid-template-columns: 1fr !important; gap: 18px !important; }
  footer > div > div:last-child { flex-direction: column !important; align-items: flex-start !important; text-align: left !important; }
}
