:root {
  --cream: #FFF8EC;
  --cream-deep: #F3E6D0;
  --paper: #FFFDF8;
  --ink: #2B2118;
  --muted: #6B5A4A;
  --gold: #E8B04A;
  --gold-deep: #C4922E;
  --line: #E8D9C4;
  --shadow: 0 10px 30px rgba(43, 33, 24, 0.08);
  --radius: 18px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
  color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 1.25rem;
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(43, 33, 24, 0.12);
  background: var(--cream-deep);
}

.brand-name {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.28em;
}

main {
  flex: 1;
}

.wrap {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 3.5rem;
}

/* Landing */
.hero {
  width: min(38rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 5.5rem);
}

.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--cream-deep);
  margin-bottom: 1.4rem;
}

.hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 10vw, 4.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

.pitch {
  margin: 1.15rem 0 0;
  font-size: clamp(1.1rem, 2.8vw, 1.28rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 28rem;
}

.soon {
  margin: 1.6rem 0 0;
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(232, 176, 74, 0.16);
}

.hero-links {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.4rem;
  padding: 0;
  list-style: none;
}

.hero-links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--gold);
}

/* Legal / support typography */
.page-kicker {
  margin: 0 0 0.35rem;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-size: 0.85rem;
}

.page-title {
  margin: 0 0 0.4rem;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.15rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal h2,
.faq h2 {
  margin: 2.15rem 0 0.65rem;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.legal h3,
.faq h3 {
  margin: 1.4rem 0 0.4rem;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.legal p,
.faq p,
.legal li {
  margin: 0 0 0.85rem;
}

.legal ul,
.legal ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li + li,
.faq li + li {
  margin-top: 0.35rem;
}

.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: #FBF3E4;
}

tr:last-child td {
  border-bottom: 0;
}

.cta-mail {
  display: inline-block;
  margin: 0.25rem 0 1.25rem;
  padding: 0.7rem 1.15rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--gold-deep);
}

.cta-mail:hover {
  color: var(--ink);
  filter: brightness(1.05);
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg) translateY(-1px);
}

.faq details[open] summary::before {
  transform: rotate(45deg) translateY(-2px);
}

.faq details p:last-child {
  margin-bottom: 0.15rem;
}

.faq details summary + * {
  margin-top: 0.7rem;
}

/* 404 */
.not-found {
  text-align: center;
  padding-top: 3rem;
}

.not-found .hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.home-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--gold);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

@media (max-width: 560px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap th,
  .table-wrap td,
  .table-wrap tr {
    display: block;
    width: 100%;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tr {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 0 0 0.65rem;
    padding: 0.75rem 0.9rem 0.85rem;
  }

  .table-wrap td {
    border: 0;
    padding: 0.12rem 0;
  }

  .table-wrap td:first-child {
    font-weight: 600;
  }

  .table-wrap td:nth-child(2) {
    color: var(--muted);
    font-size: 0.9rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
    padding: 0.7rem 0.9rem 0.7rem 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.045em;
  }

  .site-nav {
    flex-wrap: nowrap;
    padding-top: 0;
    gap: 0.7rem;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .wrap {
    width: min(42rem, calc(100% - 2rem));
  }

  .hero {
    width: min(38rem, calc(100% - 2rem));
    padding-top: 2.4rem;
    min-height: calc(100vh - var(--header-h) - 6rem);
  }

  .soon {
    font-size: 0.84rem;
    padding: 0.45rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
