/* Shared styles for the veltaraworks.com sub-pages (terms, privacy, refunds,
   contact). Mirrors the palette, type and nav/footer of index.html. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --gold:       #F5A623;
  --charcoal:   #141414;
  --surface:    #1c1c1c;
  --surface2:   #242424;
  --border:     rgba(245,166,35,0.18);
  --text:       #e8e4dc;
  --text-muted: #8a8070;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --px: 1.5rem;
}

body {
  background: var(--charcoal);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--px);
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; z-index: 101; }
.nav-logo img { height: 30px; width: auto; flex-shrink: 0; display: block; }
.nav-wordmark { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text); }
.nav-wordmark span { color: var(--gold); }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 101;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-muted); transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-menu {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(20,20,20,0.97); backdrop-filter: blur(16px);
  padding: 5.5rem var(--px) 2.5rem;
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 99;
}
.nav-menu.open { transform: translateY(0); }
.nav-menu a {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; padding: 1rem 0;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.nav-menu a:last-child { border-bottom: none; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--gold); }
@media (min-width: 768px) {
  nav { padding: 1.4rem 4rem; }
  .nav-logo img { height: 34px; }
  .nav-wordmark { font-size: 1.25rem; }
  .nav-toggle { display: none; }
  .nav-menu { position: static; transform: none; flex-direction: row; gap: 2.5rem; background: none; backdrop-filter: none; padding: 0; border-bottom: none; }
  .nav-menu a { padding: 0; border-bottom: none; letter-spacing: 0.12em; }
}

/* ── PAGE BODY ── */
main { max-width: 760px; margin: 0 auto; padding: 7.5rem var(--px) 4rem; }
@media (min-width: 768px) { main { padding: 9rem 2rem 6rem; } }
.eyebrow { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.1; margin-bottom: 1rem; }
.lead { color: var(--text); font-size: 1.05rem; margin-bottom: 0.75rem; }
.updated { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2.5rem; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; line-height: 1.2; margin: 2.5rem 0 0.75rem; color: var(--text); }
h3 { font-size: 0.95rem; font-weight: 500; margin: 1.5rem 0 0.4rem; color: var(--text); }
p, li { color: #cfc9be; font-size: 0.97rem; }
p { margin-bottom: 0.9rem; }
ul { margin: 0 0 1rem 1.2rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(245,166,35,0.35); }
a:hover { border-bottom-color: var(--gold); }
strong { font-weight: 500; color: var(--text); }
.note { border-left: 2px solid var(--gold); padding: 0.6rem 0 0.6rem 1rem; margin: 1.5rem 0; background: rgba(245,166,35,0.04); }

/* product table */
.products { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.92rem; }
.products th, .products td { text-align: left; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--border); vertical-align: top; color: #cfc9be; }
.products th { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 400; }
@media (max-width: 560px) {
  .products thead { display: none; }
  .products tr { display: block; border-bottom: 1px solid var(--border); padding: 0.6rem 0; }
  .products td { display: block; border: none; padding: 0.15rem 0; }
  .products td:first-child { font-weight: 500; color: var(--text); }
}

/* ── CONTACT FORM ── */
form.contact { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
form.contact label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid rgba(232,228,220,0.14); border-radius: 4px;
  padding: 0.75rem 0.85rem; font: inherit; font-size: 0.97rem;
}
form.contact textarea { min-height: 170px; resize: vertical; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: none; border-color: var(--gold); }
form.contact button {
  justify-self: start; background: var(--gold); color: #141414; border: none; border-radius: 4px;
  padding: 0.8rem 1.6rem; font: inherit; font-weight: 500; letter-spacing: 0.06em; cursor: pointer;
}
form.contact button:hover { filter: brightness(1.08); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { display: none; padding: 0.9rem 1rem; border-radius: 4px; margin: 1.5rem 0 0; font-size: 0.95rem; }
.status.show { display: block; }
.status.ok { background: rgba(120,190,120,0.10); border: 1px solid rgba(120,190,120,0.4); color: #cfe8cf; }
.status.err { background: rgba(230,110,90,0.10); border: 1px solid rgba(230,110,90,0.45); color: #f1cfc8; }
.small { font-size: 0.8rem; color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem var(--px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
}
@media (min-width: 768px) { footer { padding: 3rem 4rem; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; } }
.footer-brand { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em; color: var(--text-muted); }
.footer-brand span { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; }
@media (min-width: 768px) { .footer-links { gap: 2rem; } }
.footer-links li { margin: 0; }
.footer-links a { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; border: none; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: var(--text-muted); width: 100%; margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; } }
