@import '../assets/tokens.css';

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

/* ── Base ───────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); }
a:hover { opacity: 0.8; }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.375rem; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section         { padding: 5rem 0; background: var(--bg); }
.section--white  { background: var(--surface); }
.section--navy   { background: #071A2F; }

/* ── Header / Nav ───────────────────────────────────── */
.site-header {
  background: #071A2F;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.wordmark {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wordmark .ai          { color: var(--clay); }
.wordmark .productivity { color: #ffffff; }

.nav-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 0;
}
.nav-links li { margin: 0; }

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: #ffffff; opacity: 1; }
.nav-links a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--clay);
}

.nav-cta {
  background: var(--clay) !important;
  color: #ffffff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px;
  border-bottom: none !important;
  line-height: 1.4 !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.88 !important; }
.nav-portal {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.875rem !important;
  border-bottom: none !important;
  transition: color 0.15s !important;
}
.nav-portal:hover { color: rgba(255,255,255,0.9) !important; opacity: 1 !important; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 70%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,42,71,0.92) 0%, rgba(15,42,71,0.75) 50%, rgba(15,42,71,0.45) 100%);
  z-index: 1;
}
.hero h1 {
  color: #ffffff;
  max-width: 680px;
  margin-bottom: 1.5rem;
}
.hero .lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.1875rem;
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-cta-note {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  max-width: 420px;
  line-height: 1.55;
  margin-bottom: 0;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-mark {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.trust-bar {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}
.trust-item strong { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }

.btn-primary  { background: var(--electric); color: #ffffff; }
.btn-outline  { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: #ffffff; }
.btn-clay     { background: var(--clay); color: #ffffff; }
.btn-navy     { background: #071A2F; color: #ffffff; }

/* ── Section labels ─────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clay);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Intro text ─────────────────────────────────────── */
.intro-text {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.intro-text h2 { margin-bottom: 0.875rem; }
.intro-text p  { color: var(--text); }

/* ── Pillar cards ───────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}
.pillar-mark {
  width: 32px;
  height: 3px;
  background: var(--clay);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.pillar h3 { margin-bottom: 0.625rem; }
.pillar p  { font-size: 0.9375rem; color: var(--text); margin: 0; }

/* ── Service cards ──────────────────────────────────── */
.service-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.service-card--featured {
  border-color: var(--clay);
  border-width: 2px;
}

.service-card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay);
  margin-bottom: 0.875rem;
  display: block;
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-card > div:first-child p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.service-includes {
  font-size: 0.875rem;
  color: var(--text);
  list-style: none;
  padding: 0;
}
.service-includes li {
  padding: 0.3rem 0;
  padding-left: 1.125rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.service-includes li:last-child { border-bottom: none; }
.service-includes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clay);
  font-size: 0.75rem;
  top: 0.35rem;
}

.service-meta {
  background: var(--bg);
  border-radius: 4px;
  padding: 1.5rem;
}
.service-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  gap: 1rem;
}
.service-meta-row:last-of-type { border-bottom: none; }
.service-meta-row .label { color: var(--text); }
.service-meta-row .value { font-weight: 600; color: var(--heading); text-align: right; }
.price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--font-mono);
}

/* ── Proof / case study ─────────────────────────────── */
.case-study {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--clay);
  border-radius: 0 6px 6px 0;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.case-study-header {
  margin-bottom: 1.25rem;
}
.case-study-header h3 {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

.case-study-body {
  font-size: 0.9375rem;
  line-height: 1.75;
}
.case-study-body p { margin-bottom: 0.875rem; }

.case-study-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.stat-item { }
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
  font-family: var(--font-mono);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text);
  margin-top: 0.25rem;
}

.case-study--placeholder {
  background: var(--bg);
  border-left-color: var(--mist);
  opacity: 0.75;
}
.case-study--placeholder h3 { color: var(--text); }

/* ── Proof points ───────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.proof-point {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}
.proof-point h4 {
  color: var(--heading);
  font-weight: 600;
  margin-bottom: 0.375rem;
}
.proof-point p {
  font-size: 0.875rem;
  margin: 0;
}

/* ── About ──────────────────────────────────────────── */
.founder-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}
.founder-avatar {
  background: var(--mist);
  border-radius: 6px;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.founder-name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.founder-role { color: var(--clay); font-size: 0.9375rem; margin-bottom: 1.5rem; }

.credentials { list-style: none; padding: 0; margin-top: 1.5rem; }
.credentials li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  margin: 0;
}
.credentials li:last-child { border-bottom: none; }
.credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.what-we-are-not { list-style: none; padding: 0; }
.what-we-are-not li {
  padding: 0.875rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  margin: 0;
}
.what-we-are-not li:last-child { border-bottom: none; }
.what-we-are-not li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--clay);
  font-size: 0.75rem;
  top: 0.9rem;
  font-weight: 700;
}

/* ── Contact ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}
.contact-item-text a, .contact-item-text span {
  font-size: 1rem;
  color: var(--heading);
  text-decoration: none;
  font-weight: 500;
}
.contact-item-text a:hover { color: var(--link); opacity: 1; }

.contact-prompt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}
.contact-prompt h3 { margin-bottom: 1rem; }
.contact-prompt ul {
  list-style: none;
  padding: 0;
}
.contact-prompt ul li {
  padding: 0.4rem 0;
  padding-left: 1.125rem;
  position: relative;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.contact-prompt ul li:last-child { border-bottom: none; }
.contact-prompt ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clay);
  font-size: 0.75rem;
  top: 0.45rem;
}

/* ── Page header ────────────────────────────────────── */
.page-header {
  background: #071A2F;
  padding: 4.5rem 0 3.5rem;
}
.page-header h1   { color: #ffffff; }
.page-header .lead {
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ── CTA strip ──────────────────────────────────────── */
.cta-strip {
  background: #071A2F;
  text-align: center;
  padding: 5rem 0;
}
.cta-strip h2 { color: #ffffff; margin-bottom: 1rem; }
.cta-strip p  {
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  font-size: 1.0625rem;
}

/* ── Two-col text ───────────────────────────────────── */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: #071A2F;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-wordmark {
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.footer-wordmark .ai          { color: var(--clay); }
.footer-wordmark .productivity { color: #ffffff; }

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  flex-wrap: wrap;
}
.footer-links li { margin: 0; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: #ffffff; opacity: 1; }

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}

/* ── Hero layout ─────────────────────────────────────── */
.hero > .container {
  width: 100%;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 3rem;
}

/* ── Section intro with image ────────────────────────── */
.intro-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.section-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ── Concerns grid ──────────────────────────────────── */
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.concern-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
}
.concern-heading {
  margin-bottom: 0.75rem;
}
.concern-icon {
  display: block;
  margin: 0 auto 0.875rem;
}
.concern-item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.45;
  margin-bottom: 0;
  padding: 0.625rem 0.875rem;
  background: rgba(193, 95, 60, 0.15);
  border-left: 3px solid var(--clay);
  border-radius: 0 4px 4px 0;
}
.concern-item p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ── Steps ───────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mist);
  line-height: 1;
  padding-top: 0.25rem;
}
.step-body h3 { margin-bottom: 0.875rem; }
.step-body p  { font-size: 0.9375rem; margin-bottom: 0.75rem; }
.step-body p:last-child { margin-bottom: 0; }
.step-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--clay);
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* ── Scroll offset for sticky nav ──────────────────── */
[id] { scroll-margin-top: 72px; }

/* ── Pillar meta line ───────────────────────────────── */
.pillar-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--clay);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── Why grid ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.why-item h3 { margin-bottom: 0.5rem; }
.why-item p  { font-size: 0.9375rem; margin: 0; }

/* ── Outcome block ──────────────────────────────────── */
.outcome-block {
  max-width: 640px;
}
.outcome-block p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}
.outcome-block p:last-child { margin-bottom: 0; }

/* ── Contact one-page layout ────────────────────────── */
.contact-onepage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-prompt--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 2rem;
}
.contact-list-dark {
  list-style: none;
  padding: 0;
}
.contact-list-dark li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}
.contact-list-dark li:last-child { border-bottom: none; }
.contact-list-dark li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clay);
  font-size: 0.75rem;
  top: 0.55rem;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .intro-with-image  { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-img       { height: 220px; }
  .service-card      { grid-template-columns: 1fr; }
  .founder-section   { grid-template-columns: 1fr; }
  .contact-layout    { grid-template-columns: 1fr; }
  .two-col-text      { grid-template-columns: 1fr; }
  .contact-onepage   { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 580px) {
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-number { font-size: 1.5rem; }
  .concerns-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero::before {
    background: rgba(15,42,71,0.88);
  }
}

@media (max-width: 640px) {
  .nav-links         { display: none; }
  .section           { padding: 3.5rem 0; }
  .page-header       { padding: 3rem 0 2.5rem; }
  .cta-strip         { padding: 3.5rem 0; }
  .footer-inner      { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-links      { display: none; }
  .case-study-stats  { gap: 1.5rem; }
}
