/* Penny Search Support */

:root {
  color-scheme: dark;
  --background: #071426;
  --surface: #0d2038;
  --surface-strong: #122b49;
  --text: #f4f8ff;
  --muted: #aab9cc;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #39a8ff;
  --accent-hover: #68bdff;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 5%, rgba(57, 168, 255, 0.16), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 38, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #56baff, #0879d1);
  color: white;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(57, 168, 255, 0.25);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: 112px 0 104px;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 850px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 82px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 44px);
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--accent);
  color: #04111f;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
summary:focus-visible,
.brand:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgba(57, 168, 255, 0.5);
  outline-offset: 4px;
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 14px;
}

.text-link {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 38px;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 32, 56, 0.78);
  overflow: hidden;
}

details[open] {
  background: var(--surface);
}

summary {
  position: relative;
  padding: 23px 64px 23px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 760;
}

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

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(57, 168, 255, 0.13);
  color: var(--accent);
  font-size: 21px;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "–";
}

.answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

.answer p {
  margin: 0 0 12px;
}

.answer p:last-child {
  margin-bottom: 0;
}

.answer ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(57, 168, 255, 0.3);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(57, 168, 255, 0.13), rgba(57, 168, 255, 0.03)),
    var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.contact-card p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.disclaimer-section {
  padding-top: 0;
}

.disclaimer {
  padding: 26px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 0 14px 14px 0;
}

.disclaimer h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.disclaimer p {
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-content {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

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

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header .button {
    display: none;
  }

  .hero {
    padding: 82px 0 76px;
  }

  .section {
    padding: 68px 0;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card .button {
    width: 100%;
  }

  .footer-content {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

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

  .button {
    transition: none;
  }
}

/* Legal pages and navigation */
.header-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link,
.footer-links a,
.legal-card a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.footer-links a:hover,
.legal-card a:hover {
  color: var(--accent-hover);
}

.legal-hero {
  padding: 84px 0 58px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 68px);
}

.legal-hero .hero-copy {
  margin: 0;
  font-size: 17px;
}

.legal-container {
  max-width: 860px;
}

.legal-section {
  padding-top: 56px;
}

.legal-card {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 32, 56, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.legal-card > p:first-child {
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-card h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(24px, 4vw, 31px);
  letter-spacing: -0.025em;
}

.legal-card h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-links a {
  color: var(--accent);
}

@media (max-width: 720px) {
  .header-links .nav-link {
    display: inline;
  }

  .header-links .button {
    display: none;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-hero {
    padding: 64px 0 44px;
  }

  .legal-section {
    padding-top: 36px;
  }
}


/* Enhanced Privacy Policy styling */
.privacy-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(57, 168, 255, 0.15), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(93, 72, 255, 0.1), transparent 32rem),
    var(--background);
}

.privacy-page .legal-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 68px;
  background: linear-gradient(180deg, rgba(57, 168, 255, 0.07), transparent);
}

.privacy-page .legal-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(57, 168, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(57, 168, 255, 0.035),
    0 0 0 92px rgba(57, 168, 255, 0.02);
  pointer-events: none;
}

.privacy-page .legal-hero .legal-container {
  position: relative;
  z-index: 1;
}

.privacy-page .legal-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 14rem),
    rgba(13, 32, 56, 0.9);
}

.privacy-page .legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #7dd3fc, #5d48ff);
}

.privacy-page .legal-card > p:first-child {
  padding: 20px 22px;
  border: 1px solid rgba(57, 168, 255, 0.18);
  border-radius: 16px;
  background: rgba(57, 168, 255, 0.065);
  color: #c8d7e8;
}

.privacy-page .legal-card h2 {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.privacy-page .legal-card > p:first-child + h2 {
  padding-top: 0;
  border-top: 0;
}

.privacy-page .legal-card h3 {
  color: #dfeaff;
}

.privacy-page .legal-card p,
.privacy-page .legal-card li {
  font-size: 16px;
  line-height: 1.75;
}

.privacy-page .legal-card ul {
  margin: 16px 0 24px;
  padding: 18px 22px 18px 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.privacy-page .legal-card li::marker {
  color: var(--accent);
}

.privacy-page .legal-card strong {
  color: var(--text);
}

.privacy-page .legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(57, 168, 255, 0.35);
  text-underline-offset: 4px;
}

.privacy-page .legal-card a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

.privacy-page .legal-links {
  list-style: none;
  padding-left: 18px;
}

.privacy-page .legal-links li {
  position: relative;
  padding-left: 20px;
}

.privacy-page .legal-links li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.privacy-page .footer-links a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 720px) {
  .privacy-page .legal-hero {
    padding: 72px 0 48px;
  }

  .privacy-page .legal-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .privacy-page .legal-card > p:first-child {
    padding: 16px;
    font-size: 16px;
  }

  .privacy-page .legal-card h2 {
    margin-top: 34px;
    padding-top: 24px;
  }

  .privacy-page .legal-card p,
  .privacy-page .legal-card li {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .privacy-page .legal-card ul {
    padding: 16px 16px 16px 36px;
  }
}
