:root {
  --cream: #f3efe5;
  --paper: #faf7f0;
  --navy: #111c40;
  --blue: #1d3285;
  --gold: #a38a45;
  --ink: #191d26;
  --muted: #6f706f;
  --line: #dcd7cb;
  --radius: 6px;
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 23px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  cursor: pointer;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.2s;
}
button:hover,
.button:hover {
  background: var(--blue);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.secondary:hover {
  background: #e7e1d3;
}
.plain {
  background: none;
  color: inherit;
  border: 0;
  padding: 6px 12px;
  font-size: 26px;
}
.plain:hover {
  background: #e7e1d3;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  padding: 12px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
label input,
label textarea,
label select {
  margin-top: 6px;
}
form {
  display: grid;
  gap: 18px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 600;
}
h3 {
  font-size: 21px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 22px;
}
.small,
small {
  font-size: 13px;
  color: var(--muted);
}
.gold {
  color: var(--gold);
}
.section {
  padding: 85px 5.5%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ba943b;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 20;
  background: white;
  padding: 16px;
}
.skip:focus {
  top: 0;
}
.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  box-shadow: 0 4px 12px #10193625;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
footer .brand-logo {
  width: 66px;
  height: 66px;
}
@media (max-width: 760px) {
  .brand-logo {
    width: 60px;
    height: 60px;
  }
}
.wordmark {
  display: inline-block;
  font-weight: 950;
  font-size: 30px;
  letter-spacing: -2px;
  line-height: 1;
}
.wordmark span {
  font-weight: 800;
}
.wordmark i {
  display: block;
  font-style: normal;
  font-size: 8px;
  color: var(--gold);
  letter-spacing: 3px;
  text-align: center;
  margin-top: 8px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 5.5%;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.header nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}
.cart-toggle {
  background: none;
  color: var(--navy);
  border: 0;
  padding: 5px;
  gap: 9px;
}
.cart-toggle:hover {
  background: transparent;
}
.cart-toggle span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 12px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 35px 5.5%;
  background: var(--navy);
  color: var(--cream);
}
footer > span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #c7b66f;
}
footer small {
  color: #bbbfc9;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--cream);
  color: var(--ink);
  width: min(640px, 94vw);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #0b1229a8;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 28px;
  margin: 0;
}
.dialog-heading p {
  margin: 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  width: max-content;
  padding: 14px 24px;
  background: var(--navy);
  color: white;
  border: 1px solid var(--gold);
  border-radius: 6px;
  z-index: 100;
  box-shadow: 0 8px 40px #1114;
}
.empty {
  padding: 40px 16px;
  color: var(--muted);
  text-align: center;
}
.error {
  color: #9b3030;
}
.success {
  color: #216039;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.full {
  grid-column: 1/-1;
}
.page-main {
  max-width: 1100px;
  padding: 55px 24px 90px;
  margin: auto;
  min-height: 70vh;
}
.panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.panel h2 {
  font-size: 25px;
}
.back-link {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .header {
    padding: 20px 5%;
    flex-wrap: wrap;
    gap: 20px;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 28px;
  }
  .header-actions {
    gap: 12px;
  }
  .account-link {
    font-size: 12px;
  }
  .wordmark {
    font-size: 26px;
  }
  .section {
    padding: 55px 6%;
  }
  .row {
    grid-template-columns: 1fr;
  }
  footer {
    flex-wrap: wrap;
  }
  .page-main {
    padding: 35px 18px;
  }
  .panel {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
