/* PuttNova marketing site (puttnova.com / puttnova.nl) - a separate static
   site from the game itself (src/, public/): plain HTML/CSS, no build step,
   deployable anywhere. Header/footer markup is duplicated across the five
   pages on purpose (see each page's own top comment) - simplest thing that
   works for five pages with no tooling. */

:root {
  --bg: #071427;
  --bg-deep: #04101f;
  --header-bg: #051225;
  --surface: #0c2038;
  --surface-2: #0e2543;
  --border: rgba(93, 176, 226, 0.22);
  --border-strong: rgba(93, 176, 226, 0.45);
  --cyan: #55c8f2;
  --green: #2fbf67;
  --green-deep: #1c9a52;
  --teal: #0b3a46;
  --teal-border: rgba(93, 200, 220, 0.35);
  --text: #eef4fb;
  --text-dim: #93a8c2;
  --text-faint: #6c81a0;
  --warn-bg: rgba(227, 179, 78, 0.12);
  --warn-border: #e3b34e;
  --warn-text: #f3d78a;
  --pill-bg: #eaf6ff;
  --pill-text: #0b1a30;
  --focus: #7fd4ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------------------------------------------------------------- header */

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex: none;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  justify-content: center;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  background: var(--pill-bg);
  color: var(--pill-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  white-space: nowrap;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--green);
  color: #06251a;
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-header {
  flex: none;
  padding: 11px 22px;
}

.nav-toggle {
  display: none;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero-bg.jpg") center / cover no-repeat;
  filter: blur(2px) saturate(0.9);
  transform: scale(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.62) 0%, rgba(4, 12, 24, 0.78) 55%, var(--bg) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero h1 {
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.hero p.lede {
  color: #d3e0f0;
  font-size: 17px;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 0 30px;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ----------------------------------------------------------------- cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px 28px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(93, 176, 226, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.cta-banner {
  background: var(--teal);
  border: 1.5px solid var(--teal-border);
  border-radius: 20px;
  padding: 34px 32px;
  margin-block: 48px;
}

.cta-banner h2 {
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}

.cta-banner p {
  color: #bfe4ea;
  margin: 0;
  font-size: 15px;
}

.section {
  padding-block: 44px;
}

/* ---------------------------------------------------- support page cards */

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
}

.support-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}

.support-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0 0 16px;
}

.support-card a.reveal {
  color: var(--cyan);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.support-card a.reveal:hover {
  text-decoration: underline;
}

.faq-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* --------------------------------------------------------- legal-doc pages */

.page-header {
  padding-block: 56px 8px;
}

.page-header h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(30px, 4.6vw, 42px);
  font-weight: 800;
  margin: 4px 0 10px;
}

.page-header p.lede {
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 62ch;
  margin: 0;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 34px 40px;
  margin-block: 30px 60px;
}

.concept-banner {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 26px;
}

.updated-pill {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 16px;
  margin-top: 20px;
}

.doc-card h2 {
  font-family: "Sora", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 34px 0 10px;
}

.doc-card p {
  color: #cddaea;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 4px;
}

.doc-card ol.steps {
  color: #cddaea;
  font-size: 15px;
  line-height: 1.7;
  padding-left: 22px;
}

.doc-card ol.steps li {
  margin-bottom: 6px;
}

.placeholder {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
  border-radius: 4px;
  padding: 0 6px;
  font-weight: 700;
  font-size: 0.95em;
  white-space: nowrap;
}

.doc-actions {
  margin-top: 30px;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-block: 40px 22px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 13.5px;
  margin: 0;
  max-width: 32ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 26px 0 16px;
}

.footer-bottom {
  color: var(--text-faint);
  font-size: 12.5px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  /* The mobile header is just the logo (see the player's own mobile
     mockup) - the nav pills and "Download de app" move into the hero
     and footer instead, where they already repeat. */
  .site-nav,
  .btn-header {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 18px;
  }

  .hero {
    padding-block: 44px 36px;
  }

  .feature-grid {
    margin-top: 24px;
  }

  .doc-card {
    padding: 4px 20px 28px;
  }

  .footer-top {
    flex-direction: column;
  }
}
