/* Linkway Partners — site styles */

:root {
  --navy: #1F3864;
  --navy-dark: #172a4b;
  --navy-tint: #e9edf5;
  --text: #2b2f36;
  --muted: #5b6270;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --border: #e2e5ea;
  --radius: 12px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--navy); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 8px;
  font: 600 1rem/1 var(--font); text-decoration: none;
  border: 1.5px solid var(--navy); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy-tint); }
.btn-sm { padding: 10px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.125rem; color: var(--navy);
  text-decoration: none; letter-spacing: -0.01em;
}
.logo-light { color: #fff; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; top: 68px; left: 0; right: 0;
  flex-direction: column; gap: 4px;
  padding: 12px 20px 20px;
  background: #fff; border-bottom: 1px solid var(--border);
}
.site-nav.open { display: flex; }
.site-nav a:not(.btn) {
  padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav .btn { margin-top: 12px; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 28px; padding: 0; border: 0; background: none;
  }
  .site-nav a:not(.btn) { padding: 0; border: 0; font-size: .9375rem; }
  .site-nav .btn { margin: 0 0 0 8px; }
}

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-inner { max-width: 820px; }
.eyebrow {
  font-size: .875rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px;
}
.lead { font-size: clamp(1.0625rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 640px; margin-bottom: 32px; }
@media (min-width: 860px) { .hero { padding: 120px 0 128px; } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 860px) { .section { padding: 104px 0; } }

.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.section-alt .card { border-color: #e6e8ec; }

.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 10px; background: var(--navy-tint); color: var(--navy);
}
.icon svg, .contact-info svg, .social svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps .icon { margin-bottom: 20px; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: block; font-size: .8125rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Split layout: Brands / Creators */
.split { display: grid; gap: 40px; }
.split-intro p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 28px; }
.tag {
  display: inline-block; font-size: .8125rem; font-weight: 600; color: var(--navy);
  background: var(--navy-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.section-alt .tag { background: #fff; }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.benefits li { display: flex; gap: 18px; }
.benefits h3 { margin-bottom: .25em; }
.benefits p { color: var(--muted); margin: 0; }

@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
}

.placeholder {
  margin-top: 56px; padding: 32px; text-align: center;
  border: 1.5px dashed #c8cdd6; border-radius: var(--radius);
  color: var(--muted); font-weight: 500;
}

/* Niches */
.niches { display: grid; gap: 20px; }
.niche .icon { margin-bottom: 20px; }
.niche p { color: var(--muted); margin: 0; }
.niche-empty { background: transparent; border-style: dashed; border-color: #c8cdd6; }
.niche-empty h3 { color: var(--muted); }
@media (min-width: 600px) { .niches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .niches { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact { max-width: 760px; }
.contact-form { display: grid; gap: 20px; padding: 24px; }
@media (min-width: 600px) { .contact-form { padding: 36px; } }

.field-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font); color: var(--text);
  background: #fff; border: 1px solid #cdd2da; border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6270' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 56, 100, .15);
}
.field input::placeholder { color: #9aa1ad; }

.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .9375rem; }
.form-status.success { color: #1d6b3a; }
.form-status.error { color: #a12a2a; }
.form-status:empty { display: none; }

.contact-info {
  display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 28px; color: var(--muted);
}
.contact-info a, .contact-info span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.contact-info a { color: var(--navy); font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }
.contact-info svg { width: 20px; height: 20px; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d1e0; padding: 56px 0 28px; font-size: .9375rem; }
.site-footer a { color: #c9d1e0; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-inner { display: grid; gap: 32px; }
.footer-brand { display: grid; gap: 12px; justify-items: start; }
.site-footer .logo-light { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
}
.social svg { width: 20px; height: 20px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15); font-size: .875rem;
}

@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: center; gap: 48px; }
}
