/* ============================================================
   TOKENS
============================================================ */
:root {
  --color-primary:    #0276f1;
  --color-navy:       #1a3755;
  --color-text-mid:   #535d6e;
  --color-surface-low:#f2f4fa;
  --color-bg-light:   #fafafa;
  --color-white:      #ffffff;

  --font-body: 'Inter', sans-serif;

  --text-sm:  14px;
  --text-md:  16px;
  --text-lg:  18px;
  --text-xl:  24px;
  --text-2xl: 32px;
  --text-3xl: 48px;

  --lh-sm:  21px;
  --lh-md:  24px;
  --lh-lg:  27px;
  --lh-xl:  36px;
  --lh-2xl: 48px;
  --lh-3xl: 72px;

  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 40px;
  --sp-3xl: 64px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--color-navy);
  background: var(--color-white);
}

a { text-decoration: none; color: inherit; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-2xl);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

/* Logo */
.logo { display: block; }

.logo-wrapper {
  display: flex;
  align-items: center;
  height: 32px;
  gap: 6px;
}

.logo-icon    { height: 32px; width: auto; }
.logo-wordmark{ height: 15px; width: auto; }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  height: 32px;
}

.main-nav a {
  font-size: var(--text-md);
  font-weight: 700;
  line-height: var(--lh-md);
  color: var(--color-navy);
  white-space: nowrap;
  transition: opacity .15s;
}

.main-nav a:hover { opacity: .7; }

/* CTA button */
.btn-header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: var(--lh-sm);
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity .15s;
}

.btn-header-cta:hover { opacity: .85; }

/* ============================================================
   MAIN CONTENT — TERMS OF USE
============================================================ */
.page-content {
  padding: var(--sp-3xl) var(--sp-2xl);
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
}

/* Page title */
.page-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--lh-2xl);
  color: var(--color-navy);
  text-align: center;
}

/* Each TOS section */
.tos-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

/* Section heading + line */
.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.section-header h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--lh-xl);
  color: var(--color-navy);
}

.section-line {
  width: 230px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* Section body text */
.section-body {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: var(--lh-sm);
  color: var(--color-navy);
}

.section-body p { line-height: 21px; }

.section-body ol,
.section-body ul {
  padding-left: 21px;
}

.section-body ol { list-style: decimal; }
.section-body ul { list-style: disc; }

.section-body li { line-height: 21px; }

.section-body ol + ul,
.section-body ul + ol {
  margin-top: var(--sp-sm);
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section {
  background: var(--color-bg-light);
  padding: var(--sp-3xl) var(--sp-2xl);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3xl);
}

/* Left side */
.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  color: var(--color-navy);
  text-align: center;
}

.contact-left h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--lh-3xl);
}

.contact-left p {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: var(--lh-sm);
}

/* Right side — form card */
.contact-right { flex: 1; }

.contact-form {
  background: var(--color-white);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-form h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--lh-2xl);
  color: var(--color-navy);
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--color-surface-low);
  border: none;
  border-radius: 8px;
  padding: var(--sp-sm) var(--sp-md);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: var(--lh-md);
  color: var(--color-text-mid);
  outline: none;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-mid);
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.recaptcha-placeholder {
  display: flex;
  justify-content: center;
}

.btn-submit {
  width: 100%;
  padding: var(--sp-md) var(--sp-2xl);
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: normal;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity .15s;
}

.btn-submit:hover { opacity: .85; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--color-navy);
  padding: var(--sp-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
}

/* Seals strip */
.footer-certs {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-lg);
  background: var(--color-white);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 1000px;
}

.certs-label {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: var(--lh-lg);
  color: var(--color-navy);
  white-space: nowrap;
}

.footer-certs img {
  object-fit: contain;
}

/* Bottom row */
.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  max-width: 844px;
}

.footer-nav-links,
.footer-copyright {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: var(--lh-sm);
  color: var(--color-white);
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-lg);
}

.footer-social a {
  display: block;
  width: 40px;
  height: 40px;
  transition: opacity .15s;
}

.footer-social a:hover { opacity: .75; }

.footer-social img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ============================================================
   RESPONSIVE — basic narrowing for smaller screens
============================================================ */
@media (max-width: 900px) {
  .contact-inner {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-xl);
    align-items: flex-start;
  }

  .main-nav { display: none; }
}
