:root {
  --primary: #FDD02D;
  --primary-soft: rgba(253, 208, 45, 0.08);
  --bg: #0A0A0A;
  --card: #1A1A1A;
  --card-border: #262626;
  --text: #FFFFFF;
  --subtext: #888888;
  --body: #C9C9C9;
  --black: #000000;
  --nav-height: 76px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--primary); color: var(--black); }

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 48px; width: auto; }
.btn-primary {
  background: var(--primary);
  color: var(--black);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(253, 208, 45, 0.35); }

/* Page content */
main { flex: 1; padding: 64px 0 80px; }
.page { max-width: 820px; margin: 0 auto; }
.page.wide { max-width: 980px; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.updated { color: var(--subtext); font-size: 0.9rem; margin-bottom: 32px; }
.intro { color: var(--body); font-size: 1.05rem; margin-bottom: 32px; }
h2 { font-size: 1.3rem; font-weight: 600; color: var(--primary); margin: 36px 0 10px; }
p, li { color: var(--body); }
p + p { margin-top: 12px; }
ul { padding-left: 22px; margin-top: 8px; }
li + li { margin-top: 6px; }
main a { color: var(--primary); }
main a:hover { text-decoration: underline; }

/* Price tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: 14px; background: var(--card); margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--card-border); color: var(--body); }
th { color: var(--text); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); font-weight: 500; }
td.price, th.price { text-align: right; white-space: nowrap; }
td.price { color: var(--primary); font-weight: 600; }
.note { margin-top: 12px; font-size: 0.9rem; color: var(--subtext); }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.contact-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 24px; }
.contact-card h2 { margin: 0 0 6px; font-size: 1.05rem; }
.contact-card p { overflow-wrap: anywhere; }

/* Footer */
.footer { background: var(--black); border-top: 1px solid #1a1a1a; padding-top: 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-bottom: 24px; }
.footer-logo img { height: 40px; width: auto; }
.footer-copy { color: var(--subtext); font-size: 0.85rem; text-align: center; }
.footer-copy a { font-weight: 700; }
.footer-copy p + p { margin-top: 0; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; color: #ccc; }
.footer-contact a:hover, .footer-links a:hover { color: var(--primary); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 16px 24px; border-top: 1px solid #1a1a1a; font-size: 0.9rem; color: #ccc; }
.footer-address { text-align: center; color: var(--subtext); font-size: 0.85rem; padding: 0 24px 16px; }
.footer-strip { height: 4px; background: var(--primary); }

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .container { padding: 0 16px; }
  .nav-logo img { height: 40px; }
  .nav .btn-primary { padding: 10px 18px; font-size: 0.88rem; }
  main { padding: 40px 0 56px; }
  .contact-grid { grid-template-columns: 1fr; }
  /* Stack price tables so the price never needs sideways scrolling */
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table, tbody, tr, td { display: block; }
  tr { padding: 12px 16px; border-bottom: 1px solid var(--card-border); }
  tr:last-child { border-bottom: 0; }
  td, td.price { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; text-align: right; white-space: normal; }
  td::before { content: attr(data-label); color: var(--subtext); font-weight: 400; text-align: left; }
  td:first-child { display: block; padding-bottom: 6px; font-size: 1rem; text-align: left; }
  td:first-child::before { content: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact { justify-content: center; }
}
