@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap");

:root {
  --sky: #0ea5e9;
  --sky-deep: #0369a1;
  --ocean: #0c4a6e;
  --foam: #f0f9ff;
  --sand: #fff7ed;
  --coral: #f97316;
  --ink: #0c4a6e;
  --ink-soft: #475569;
  --line: rgba(12, 74, 110, 0.12);
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(3, 105, 161, 0.12);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(14, 165, 233, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(249, 115, 22, 0.14), transparent 50%),
    linear-gradient(180deg, #e0f2fe 0%, var(--foam) 42%, #fff 100%);
  line-height: 1.6;
}

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

a:hover {
  color: var(--coral);
}

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

.wrap {
  width: min(960px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  padding: 1.25rem 0 0.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--sky-deep); }

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ocean);
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 65%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin: 0 0 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ocean);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 600; }

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover { color: #fff; }

.btn-ghost {
  background: rgba(14, 165, 233, 0.08);
  color: var(--ocean);
  border-color: rgba(14, 165, 233, 0.2);
}

.btn-ghost:hover { background: rgba(14, 165, 233, 0.14); color: var(--ocean); }

/* Sections */
.section {
  padding: 1.5rem 0 2.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 28px rgba(3, 105, 161, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 12px 32px rgba(3, 105, 161, 0.1);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card h3 { margin-bottom: 0.4rem; }

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

/* Prose / privacy */
.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li { margin-bottom: 0.35rem; }

.prose h2 {
  margin-top: 1.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  border-top: 0;
  margin-top: 1rem;
  padding-top: 0;
}

.prose a { font-weight: 500; }

/* Support form */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row.two-col {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .form-row.two-col { grid-template-columns: 1fr; }
}

.form-row label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ocean);
  margin-bottom: 0.4rem;
}

.form-row .req {
  color: var(--coral);
}

.form-row .optional {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.form-actions .btn {
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.form-success .success-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 0.5rem;
}

.form-success p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--ocean);
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--sky);
  font-weight: 700;
}

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

.faq details p {
  margin: 0.75rem 0 0.15rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}

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

@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 2rem; }
}
