/* ============================================================
   Waypoint Software Co.
   Aesthetic: Editorial consulting firm. Serif headings,
   sharp geometry, ruled lines, dark hero, no emojis.
   ============================================================ */

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

:root {
  --ink:        #111318;
  --ink-lt:     #3a3a3a;
  --muted:      #6e6b64;
  --bg:         #ffffff;
  --bg-warm:    #f7f6f3;
  --rule:       #dddad4;
  --accent:     #1e3a5f;
  --accent-lt:  #eaf0f7;
  --nav-h:      72px;
  --max-w:      1140px;
  --transition: 200ms ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
strong { font-weight: 600; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
p  { color: var(--muted); line-height: 1.8; }

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }
section.warm { background: var(--bg-warm); }

.ruled-top    { border-top: 1px solid var(--rule); }
.ruled-bottom { border-bottom: 1px solid var(--rule); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: var(--bg-warm); }

.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-arrow::after { content: ' →'; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-logo span {
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .825rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 1.25rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 65% 90% at 10% 60%, rgba(80, 140, 210, 0.22) 0%, transparent 100%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(155deg, #162d4a 0%, #1e3f6a 50%, #265280 100%);
  background-size: auto, 64px 64px, 64px 64px, 100% 100%;
  padding: 8rem 0 7rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6rem;
  align-items: end;
}
.hero-content { }
.hero-content .eyebrow { color: rgba(160, 200, 240, 0.7); letter-spacing: .18em; }
.hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 620px;
}
.hero-content p {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-sidebar {
  border-left: 1px solid rgba(160, 200, 240, 0.15);
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: .5rem;
}
.hero-sidebar-item {}
.hero-sidebar-item .label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(160, 200, 240, 0.6);
  margin-bottom: .5rem;
}
.hero-sidebar-item .value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-sidebar-item .sub {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .25rem;
}

/* ---------- Section Header ---------- */
.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 540px; font-size: 1.025rem; }

.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ---------- Service Rows ---------- */
.service-list { border-top: 1px solid var(--rule); }
.service-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  transition: var(--transition);
  cursor: default;
}
.service-row:hover .service-row-arrow { color: var(--ink); transform: translateX(4px); }
.service-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  padding-top: .15rem;
}
.service-row-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: .4rem;
  color: var(--ink);
}
.service-row-body p { font-size: .9rem; max-width: 560px; }
.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}
.service-row-tags span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-warm);
  padding: .2rem .6rem;
  border: 1px solid var(--rule);
}
.service-row-arrow {
  font-size: 1.25rem;
  color: var(--rule);
  transition: var(--transition);
  padding-top: .1rem;
  align-self: center;
}

/* ---------- Service Cards (Services page) ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
}
.service-detail-card {
  padding: 2.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background var(--transition);
}
.service-detail-card:hover { background: var(--bg-warm); }
.service-detail-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.service-detail-card p { font-size: .9rem; margin-bottom: 1.25rem; }
.service-detail-card ul { display: flex; flex-direction: column; gap: .4rem; }
.service-detail-card ul li {
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.service-detail-card ul li::before {
  content: '—';
  color: var(--rule);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Pricing Tables ---------- */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.pricing-table th {
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 1.5rem 1rem 0;
  border-bottom: 2px solid var(--ink);
}
.pricing-table td {
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.pricing-table td:last-child { text-align: right; white-space: nowrap; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .service-name { font-weight: 600; color: var(--ink); }
.pricing-table .service-desc { font-size: .825rem; color: var(--muted); margin-top: .2rem; }
.pricing-table .price { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.pricing-table .price-note { font-size: .75rem; color: var(--muted); display: block; margin-top: .15rem; }
.custom-row td { background: var(--bg-warm); }
.custom-row .price { color: var(--muted); font-style: italic; font-size: 1rem; }

/* ---------- Support Plan Cards ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
}
.support-card {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.support-card:last-child { border-right: none; }
.support-card.featured {
  background: linear-gradient(155deg, #162d4a 0%, #1e3f6a 50%, #265280 100%);
}
.support-card h3 { font-size: 1rem; color: var(--ink); }
.support-card.featured h3 { color: #fff; }
.support-card .plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.support-card .plan-price span { font-size: .875rem; font-weight: 400; color: var(--muted); font-family: 'Inter', sans-serif; }
.support-card.featured .plan-price { color: #fff; }
.support-card.featured .plan-price span { color: rgba(255,255,255,.45); }
.support-card .plan-desc { font-size: .825rem; color: var(--muted); }
.support-card.featured .plan-desc { color: rgba(255,255,255,.5); }
.plan-rule { border: none; border-top: 1px solid var(--rule); margin: .25rem 0; }
.support-card.featured .plan-rule { border-color: rgba(255,255,255,.12); }
.support-features { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.support-features li { font-size: .825rem; color: var(--muted); display: flex; align-items: flex-start; gap: .5rem; }
.support-features li::before { content: '—'; color: var(--rule); flex-shrink: 0; font-weight: 700; }
.support-card.featured .support-features li { color: rgba(255,255,255,.6); }
.support-card.featured .support-features li::before { color: rgba(255,255,255,.2); }
.support-card .btn { margin-top: .5rem; font-size: .8rem; padding: .6rem 1.25rem; }
.support-card.featured .btn-white:hover { background: rgba(255,255,255,.85); }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
}
.process-step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--rule);
  padding-right: 2rem;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step .step-n {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #c8d8e8;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: .5rem; }
.process-step p { font-size: .875rem; }

/* ---------- Values / About ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.profile-block { border-top: 2px solid var(--ink); padding-top: 2rem; }
.profile-block h3 { margin-bottom: .2rem; }
.profile-block .title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.profile-block p { font-size: .9rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.skill-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-warm);
  border: 1px solid var(--rule);
  padding: .25rem .65rem;
}
.value-rows { border-top: 1px solid var(--rule); }
.value-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.value-row h4 { font-size: .8rem; padding-top: .2rem; }
.value-row p { font-size: .9rem; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
}
.stat-block {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--rule);
}
.stat-block:last-child { border-right: none; }
.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .775rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-detail-item { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.contact-detail-item h4 { font-size: .75rem; margin-bottom: .4rem; }
.contact-detail-item p, .contact-detail-item a { font-size: .9rem; color: var(--muted); }
.contact-detail-item a:hover { color: var(--ink); }

.contact-form-wrap { border-top: 2px solid var(--ink); padding-top: 2rem; }
.contact-form-wrap h3 { font-size: 1.1rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 0;
  border: none;
  border-bottom: 1.5px solid var(--rule);
  border-radius: 0;
  font-size: .9rem;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }
.form-group textarea { min-height: 120px; }
.form-group select { cursor: pointer; }
.form-submit { width: 100%; justify-content: center; padding: .85rem; font-size: .9rem; margin-top: .5rem; }
.checkbox-label {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  cursor: pointer;
}
.checkbox-label input { margin-top: .2rem; flex-shrink: 0; }
.checkbox-label span { font-size: .85rem; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Page Hero ---------- */
.page-hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--rule);
}
.page-hero .eyebrow { color: var(--muted); }
.page-hero h1 { max-width: 680px; }
.page-hero p { font-size: 1.05rem; max-width: 520px; margin-top: 1rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(155deg, #162d4a 0%, #1e3f6a 50%, #265280 100%);
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-banner h2 { color: #fff; max-width: 480px; }
.cta-banner-right { flex-shrink: 0; text-align: right; }
.cta-banner p { color: rgba(255,255,255,.5); margin-bottom: 1.5rem; }

/* ---------- Inline note ---------- */
.inline-note {
  border-left: 3px solid var(--rule);
  padding: .75rem 1.25rem;
  font-size: .875rem;
  color: var(--muted);
  margin: 2rem 0;
  background: var(--bg-warm);
}
.inline-note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); padding: 1.75rem 0; }
.faq-item h3 { font-size: 1rem; margin-bottom: .6rem; }
.faq-item p { font-size: .9rem; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  padding: 4rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: .75rem;
  display: block;
}
.footer-logo span { font-weight: 400; font-style: italic; color: rgba(255,255,255,.4); }
.footer-brand p { font-size: .85rem; max-width: 220px; }
.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: .775rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-card { border-bottom: 1px solid var(--rule); }
  .support-card:nth-child(2) { border-right: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .about-split { grid-template-columns: 1fr; gap: 4rem; }
  .contact-split { grid-template-columns: 1fr; gap: 3rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-top: 1px solid var(--rule); }
  .stat-block:nth-child(4) { border-top: 1px solid var(--rule); border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3.5rem 2.5rem; }
  .cta-banner-right { text-align: left; }
}
@media (max-width: 680px) {
  section { padding: 4.5rem 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { border-right: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 36px 1fr; }
  .service-row-arrow { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 3rem 1.5rem; }
  .value-row { grid-template-columns: 1fr; gap: .5rem; }
  .pricing-table th:nth-child(2),
  .pricing-table td:nth-child(2) { display: none; }
}
