/* Shared styles for the static legal pages (Privacy, Terms, Contact). Mirrors the landing page Coral + Navy theme. */
:root {
  --navy: #0b1f3a;
  --navy-2: #163456;
  --coral: #ff6b6b;
  --coral-2: #ff8585;
  --coral-bg: #ffe8e4;
  --page: #fff5f2;
  --soft: #fff0ec;
  --white: #fff;
  --text: #0b1f3a;
  --body: #334155;
  --secondary: #64748b;
  --border: #f1d9d5;
  --shadow: 0 16px 45px rgba(11, 31, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--page);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #e5484d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

main {
  flex: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}

.nav-in {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.4px;
  color: var(--navy);
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
  background: linear-gradient(135deg, #d66b80, #7e55db);
}

.logo-word span {
  background: linear-gradient(90deg, var(--coral), var(--coral-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-2));
  box-shadow: 0 10px 24px rgba(255, 107, 107, 0.25);
}

.btn-light {
  background: #fff;
  border-color: #ddd;
  color: #333;
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 107, 107, 0.12), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(11, 31, 58, 0.06), transparent 26%),
    linear-gradient(180deg, #fff, var(--page));
}

.kicker {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px auto 14px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--navy);
}

.gradient {
  background: linear-gradient(90deg, var(--coral), var(--coral-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 720px;
  margin: auto;
  color: var(--secondary);
  font-size: 17px;
}

.updated {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--coral-bg);
  color: #b4383c;
  font-size: 13px;
  font-weight: 600;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 12px 0 88px;
}

.layout.single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.toc {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.toc h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 5px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  color: var(--body);
  font-size: 14px;
}

.toc a:hover {
  color: var(--coral);
  background: var(--soft);
  text-decoration: none;
}

/* Content card */
.content {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.content section {
  padding-top: 30px;
  scroll-margin-top: 96px;
}

.content section:first-of-type {
  padding-top: 0;
}

.content .intro + section {
  padding-top: 30px;
}

.content h2 {
  position: relative;
  padding-left: 16px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  color: var(--navy);
}

.content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--coral), var(--coral-2));
}

.content h3 {
  font-size: 17px;
  margin: 20px 0 8px;
  color: var(--navy-2);
}

.content p {
  margin-bottom: 13px;
  color: var(--body);
}

.content ul {
  margin: 10px 0 16px;
  padding: 0;
  list-style: none;
  color: var(--body);
}

.content li {
  position: relative;
  margin: 8px 0;
  padding-left: 22px;
}

.content li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.content strong {
  color: var(--navy);
}

.intro,
.callout {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--body);
}

.intro {
  border: 1px solid var(--border);
  margin-bottom: 30px;
}

.callout {
  border-left: 4px solid var(--coral);
  margin: 18px 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 16px 0;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 14px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  background: var(--soft);
  color: var(--navy);
  font-weight: 700;
}

td {
  color: var(--body);
}

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

.contact {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, var(--soft));
  color: var(--body);
}

.contact strong {
  font-size: 17px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 24px;
}

.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, var(--soft));
}

.contact-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--coral-bg);
  color: var(--coral);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
}

.contact-card a {
  font-weight: 700;
  word-break: break-word;
}

.company {
  color: var(--secondary);
  font-size: 14px;
}

.legal-links {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

.legal-links a {
  color: var(--secondary);
  font-weight: 600;
}

.legal-links a:hover {
  color: var(--coral);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b8c1d1;
  padding: 40px 0;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.site-footer .logo {
  color: #fff;
}

.foot-links {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  font-size: 13px;
}

.foot-links a {
  color: #d5dbe6;
}

.foot-links a:hover {
  color: #fff;
}

.disclaimer {
  margin-top: 22px;
  max-width: 930px;
  font-size: 12px;
  line-height: 1.65;
  color: #8b97ab;
}

.copyright {
  margin-top: 10px;
  font-size: 12px;
  color: #8b97ab;
}

@media (max-width: 880px) {
  .layout,
  .layout.single {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
  }

  .toc-links {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav-in {
    height: 66px;
  }

  .logo {
    font-size: 23px;
  }

  .nav-actions .btn-light {
    display: none;
  }

  .btn {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    padding: 48px 0 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .content {
    padding: 24px 18px;
  }

  .content h2 {
    font-size: 21px;
  }

  .toc-links {
    columns: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .foot {
    display: block;
  }

  .foot-links {
    margin-top: 17px;
  }
}
