:root {
  /* Brand palette */
  --deep-navy: #14243c;
  --muted-gold: #fecf5e;
  --deep-graphite: #78b8d3;
  --ice-cyan: #76e1f6;
  --cream: #f8f6ef;

  /* Semantic tokens */
  --color-bg: var(--cream);
  --color-fg: var(--deep-navy);
  --color-muted: rgba(20, 36, 60, 0.6);
  --color-border: rgba(20, 36, 60, 0.18);
  --color-accent: var(--muted-gold);

  /* Fonts */
  --font-headline: "Anton", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Decorative corner stripes ---- */
.corner {
  position: fixed;
  width: 700px;
  height: 700px;
  pointer-events: none;
  z-index: 0;
}

.corner-tr {
  top: -120px;
  right: -120px;
}

.corner-bl {
  bottom: -120px;
  left: -120px;
}

.corner .bar {
  position: absolute;
  display: block;
  border-radius: 6px;
}

/* Top-right corner: bars rotated -45deg, anchored to top-right */
.corner-tr .bar {
  height: 900px;
  transform-origin: top center;
  transform: rotate(-45deg);
  top: 0;
}
.corner-tr .bar-1 {
  background: var(--ice-cyan);
  right: 160px;
  width: 150px;
}
.corner-tr .bar-2 {
  background: var(--muted-gold);
  right: 290px;
  width: 150px;
}
.corner-tr .bar-3 {
  background: var(--deep-graphite);
  right: 40px;
  width: 170px;
}
.corner-tr .bar-4 {
  background: var(--deep-navy);
  right: -50px;
  width: 150px;
}

/* Bottom-left corner: mirrored */
.corner-bl .bar {
  height: 900px;
  transform-origin: bottom center;
  transform: rotate(-45deg);
  bottom: 0;
}
.corner-bl .bar-1 {
  background: var(--muted-gold);
  left: -50px;
  width: 150px;
}
.corner-bl .bar-2 {
  background: var(--deep-graphite);
  left: 80px;
  width: 170px;
}
.corner-bl .bar-3 {
  background: var(--ice-cyan);
  left: 230px;
  width: 150px;
}
.corner-bl .bar-4 {
  background: var(--deep-navy);
  left: -140px;
  width: 150px;
}

/* ---- Main layout ---- */
main.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

/* Robot mascot */
.robot {
  width: clamp(130px, 26vw, 180px);
  height: auto;
  margin-bottom: 0.25rem;
}

/* Wordmark: CALL- in navy, e in gold */
.wordmark {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.wm-call {
  color: var(--deep-navy);
}

.wm-e {
  color: var(--muted-gold);
  text-transform: lowercase;
}

/* Tagline */
.tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-fg);
  margin-bottom: 0.75rem;
}

/* Body text */
.lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 28rem;
}

/* CTA link */
.primary {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: 8px;
  background: var(--deep-navy);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.1s ease;
  white-space: nowrap;
}

.primary:hover {
  background: #1a3050;
}

.primary:active {
  transform: scale(0.98);
}

/* Fine print */
.fineprint {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--color-muted);
  opacity: 0.6;
}

.legal-links {
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.legal-links a {
  color: var(--color-fg);
  font-weight: 500;
  text-underline-offset: 2px;
}

.legal-links a:hover {
  color: #1a3050;
}

/* ---- Privacy policy page ---- */
.policy-page {
  overflow-x: auto;
}

main.policy-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.policy-header {
  margin-bottom: 1.5rem;
}

.policy-kicker {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.policy-kicker a {
  color: var(--color-fg);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.policy-kicker a:hover {
  border-bottom-color: var(--color-fg);
}

.policy-title {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.policy-meta {
  margin-top: 0.4rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.policy-content {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.25rem;
}

.policy-content h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.policy-content h3 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
  line-height: 1.4;
}

.policy-content h2:first-of-type {
  margin-top: 1rem;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
  margin-bottom: 0.8rem;
}

.policy-content ul,
.policy-content ol {
  padding-left: 1.2rem;
}

.policy-content li + li {
  margin-top: 0.5rem;
}

.policy-content a {
  color: var(--color-fg);
}

.policy-content a:hover {
  color: #1a3050;
}

/* ---- Responsive: scale corners on small screens ---- */
@media (max-width: 600px) {
  .corner {
    width: 400px;
    height: 400px;
  }
  .corner-tr {
    top: -80px;
    right: -80px;
  }
  .corner-bl {
    bottom: -80px;
    left: -80px;
  }
  .corner .bar {
    height: 550px;
  }
  .corner-tr .bar-1 {
    right: 90px;
    width: 85px;
  }
  .corner-tr .bar-2 {
    right: 165px;
    width: 85px;
  }
  .corner-tr .bar-3 {
    right: 20px;
    width: 100px;
  }
  .corner-tr .bar-4 {
    right: -30px;
    width: 85px;
  }
  .corner-bl .bar-1 {
    left: -30px;
    width: 85px;
  }
  .corner-bl .bar-2 {
    left: 45px;
    width: 100px;
  }
  .corner-bl .bar-3 {
    left: 130px;
    width: 85px;
  }
  .corner-bl .bar-4 {
    left: -80px;
    width: 85px;
  }

  .policy-content {
    padding: 1rem;
  }
}
