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

:root {
  /* Palette — warm ink + electric blue */
  --ink:        #0a0a0f;
  --ink-90:     #16161e;
  --ink-80:     #1f1f2a;
  --ink-70:     #2e2e3d;
  --ink-50:     #6b6b82;
  --ink-30:     #9d9db3;
  --ink-10:     #e4e4ed;
  --ink-05:     #f1f1f6;
  --white:      #fafafa;

  --blue:       #1a6bff;
  --blue-soft:  rgba(26,107,255,0.1);
  --blue-mid:   #4d8dff;
  --amber:      #f59e0b;
  --amber-soft: rgba(245,158,11,0.12);

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  --max-w:      700px;
  --max-w-wide: 1140px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }

/* ===========================
   Scroll reveal
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===========================
   Utilities
=========================== */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
}
.container--wide {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(26,107,255,0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.pill--amber {
  color: var(--amber);
  border-color: rgba(245,158,11,0.3);
}
.pill--amber::before { background: var(--amber); }

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 2px 12px rgba(10,10,15,0.2);
}
.btn--primary:hover {
  background: var(--ink-80);
  box-shadow: 0 8px 28px rgba(10,10,15,0.25);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 2px 12px rgba(26,107,255,0.3);
}
.btn--blue:hover {
  background: #0f5ce6;
  box-shadow: 0 8px 28px rgba(26,107,255,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-10);
}
.btn--outline:hover {
  border-color: var(--ink-50);
  background: var(--ink-05);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}

/* ===========================
   NAV
=========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--ink-10);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(10,10,15,0.07); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav__logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,107,255,0.18);
  flex-shrink: 0;
  transition: box-shadow var(--transition);
}
.nav__logo:hover .nav__logo-dot { box-shadow: 0 0 0 6px rgba(26,107,255,0.15); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); opacity: 1; }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__cta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 9px 20px;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: var(--radius-xs);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.01em;
}
.nav__cta:hover {
  background: var(--ink-80);
  box-shadow: 0 4px 16px rgba(10,10,15,0.2);
  transform: translateY(-1px);
  opacity: 1;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  padding-block: 118px 96px;
  overflow: hidden;
}

.hero__bg-shape {
  position: absolute;
  top: -40px; right: -80px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(26,107,255,0.07) 0deg, transparent 180deg, rgba(245,158,11,0.04) 280deg, transparent 360deg);
  pointer-events: none;
  animation: slow-spin 50s linear infinite;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 50%, black 0%, transparent 100%);
  pointer-events: none;
}
@keyframes slow-spin { to { transform: rotate(360deg); } }

.hero__content { position: relative; z-index: 1; }

.hero .pill { animation: fadeUp 0.6s ease both; }
.hero h1 { animation: fadeUp 0.75s 0.05s ease both; }
.hero .hero__sub { animation: fadeUp 0.75s 0.12s ease both; }
.hero .hero__caveat { animation: fadeUp 0.75s 0.18s ease both; }
.hero .hero__actions { animation: fadeUp 0.75s 0.24s ease both; }
.hero .hero__proof { animation: fadeUp 0.75s 0.32s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  max-width: 700px;
  margin-bottom: 26px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--ink-50);
  max-width: 500px;
  margin-bottom: 10px;
  line-height: 1.75;
}

.hero__caveat {
  font-size: 0.75rem;
  color: var(--ink-30);
  margin-bottom: 48px;
  line-height: 1.65;
  max-width: 460px;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 60px;
}

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-10);
  width: fit-content;
  box-shadow: 0 2px 12px rgba(10,10,15,0.04);
}
.hero__proof-stars {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--amber);
}
.hero__proof-divider {
  width: 1px; height: 28px;
  background: var(--ink-10);
  flex-shrink: 0;
}
.hero__proof-text { font-size: 0.8125rem; color: var(--ink-50); line-height: 1.5; }
.hero__proof-text strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

/* legacy compat */
.hero__social-proof { display: none; }

/* ===========================
   Clients
=========================== */
.clients {
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  padding-block: 20px;
  overflow: hidden;
  position: relative;
}
.clients::before, .clients::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.clients::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.clients__label {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-30);
  text-align: center;
  margin-bottom: 14px;
}

/* Marquee behavior */
.clients__row {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-30);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-inline: 28px;
  transition: color var(--transition);
}
.clients__name:hover { color: var(--ink-70); }
.clients__divider {
  color: var(--ink-10);
  font-size: 0.875rem;
  user-select: none;
  flex-shrink: 0;
}

/* ===========================
   Section shared
=========================== */
.section { padding-block: 100px; }
.section--tinted { background: #f7f7fc; }
.section--dark { background: var(--ink); color: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px; height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.section--dark h2.section-title { color: var(--white); }

.section-intro {
  font-size: 1.0625rem;
  color: var(--ink-50);
  max-width: 500px;
  line-height: 1.78;
  margin-bottom: 56px;
}
.section--dark .section-intro { color: rgba(255,255,255,0.5); }

/* ===========================
   Problem section
=========================== */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.problem__card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.problem__card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.problem__card:hover {
  box-shadow: 0 8px 32px rgba(10,10,15,0.07);
  border-color: rgba(26,107,255,0.2);
  transform: translateY(-2px);
}
.problem__card:hover::after { transform: scaleX(1); }

.problem__card-icon { font-size: 1.25rem; margin-bottom: 14px; }
.problem__card p { font-size: 0.9375rem; color: var(--ink-50); line-height: 1.68; }

.problem__close-card {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 30px 36px;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.problem__close-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,255,0.18), transparent 70%);
  pointer-events: none;
}
.problem__close-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.problem__close-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}
.problem__close-card p { font-size: 0.9375rem; color: rgba(255,255,255,0.65); line-height: 1.72; }

/* ===========================
   What I Do
=========================== */
.what__items { display: flex; flex-direction: column; }
.what__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 30px 12px;
  border-bottom: 1px solid var(--ink-10);
  align-items: start;
  border-radius: var(--radius-sm);
  margin-inline: -12px;
  transition: background var(--transition);
}
.what__item:first-child { border-top: 1px solid var(--ink-10); }
.what__item:hover { background: var(--ink-05); }

.what__num {
  width: 40px; height: 40px;
  border-radius: var(--radius-xs);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.what__item:hover .what__num { background: var(--blue); color: var(--white); }

.what__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.what__item p { font-size: 0.9375rem; color: var(--ink-50); line-height: 1.68; }

.what__close {
  margin-top: 36px;
  padding: 22px 28px 22px 44px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--ink-10);
  font-size: 0.9375rem;
  color: var(--ink-50);
  line-height: 1.72;
  position: relative;
}
.what__close::before {
  content: '';
  position: absolute;
  left: 18px; top: 16px;
  width: 4px; bottom: 16px;
  background: var(--blue);
  border-radius: 2px;
}

/* ===========================
   Process
=========================== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process__step {
  background: #f7f7fc;
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}
.process__step:hover { background: var(--white); }
.process__step::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.process__step:hover::after { transform: scaleX(1); }

.process__step-num {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
  color: var(--ink-10);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.06em;
}
.process__step-tag {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.process__step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.process__step p { font-size: 0.875rem; color: var(--ink-50); line-height: 1.7; }

/* ===========================
   Services Preview
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.service-card {
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--ink-30);
  box-shadow: 0 16px 48px rgba(10,10,15,0.08);
  transform: translateY(-4px);
}
.service-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.service-card--featured::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at bottom right, rgba(26,107,255,0.2), transparent 70%);
  pointer-events: none;
}
.service-card--featured:hover {
  border-color: var(--ink-70);
  box-shadow: 0 16px 48px rgba(10,10,15,0.3);
}
.service-card__badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
  width: fit-content;
}
.service-card--featured .service-card__badge {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}
.service-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.05em;
  margin-bottom: 4px;
  color: var(--ink);
  line-height: 1;
}
.service-card--featured .service-card__price { color: var(--white); }
.service-card__price-note {
  font-size: 0.6875rem;
  color: var(--ink-30);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.service-card--featured .service-card__price-note { color: rgba(255,255,255,0.35); }
.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.service-card--featured h3 { color: var(--white); }
.service-card p { font-size: 0.875rem; color: var(--ink-50); line-height: 1.7; flex: 1; }
.service-card--featured p { color: rgba(255,255,255,0.52); }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
  letter-spacing: 0.01em;
}
.service-card__link:hover { gap: 10px; opacity: 1; }
.service-card--featured .service-card__link { color: var(--blue-mid); }

/* ===========================
   Why section
=========================== */
.why__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.why__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.why__item:hover { background: var(--white); }
.why__icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--ink-10);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 1px 4px rgba(10,10,15,0.05);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.why__item:hover .why__icon {
  box-shadow: 0 4px 12px rgba(10,10,15,0.1);
  border-color: var(--ink-30);
}
.why__item p { font-size: 0.9375rem; color: var(--ink-50); line-height: 1.72; padding-top: 8px; }

/* ===========================
   CTA Band
=========================== */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding-block: 108px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 80%; height: 200%;
  background: conic-gradient(from 90deg at 40% 50%, rgba(26,107,255,0.12), transparent 60%);
  animation: ctaSpin 18s linear infinite;
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: conic-gradient(from 270deg at 60% 50%, rgba(245,158,11,0.07), transparent 60%);
  animation: ctaSpinR 22s linear infinite;
  pointer-events: none;
}
@keyframes ctaSpin  { to { transform: rotate(360deg); } }
@keyframes ctaSpinR { to { transform: rotate(-360deg); } }

.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.125rem);
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: -0.03em;
}
.cta-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.52);
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 44px;
  line-height: 1.78;
}
.cta-band .btn--primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: 0 4px 24px rgba(255,255,255,0.12);
}
.cta-band .btn--primary:hover {
  background: var(--ink-05);
  box-shadow: 0 8px 36px rgba(255,255,255,0.18);
}

/* ===========================
   Page Header
=========================== */
.page-header {
  padding-block: 88px 72px;
  border-bottom: 1px solid var(--ink-10);
  background: #f7f7fc;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 100%;
  background: radial-gradient(ellipse at right, rgba(26,107,255,0.05), transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.page-header p { font-size: 1.0625rem; color: var(--ink-50); max-width: 520px; line-height: 1.75; }

/* ===========================
   Service Detail
=========================== */
.service-detail { padding-block: 88px; }
.service-detail + .service-detail { border-top: 1px solid var(--ink-10); }

.service-detail__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ink-10);
}
.service-detail__header-left { display: flex; flex-direction: column; gap: 10px; }

.service-detail__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.service-detail__tag::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
}
.service-detail__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.service-detail__price-block { text-align: right; }
.service-detail__price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--ink);
  line-height: 1;
}
.service-detail__price-sub {
  font-size: 0.6875rem;
  color: var(--ink-30);
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.service-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
}
.service-detail__block h4 {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 14px;
}
.service-detail__block p, .service-detail__block li {
  font-size: 0.9375rem;
  color: var(--ink-50);
  line-height: 1.75;
}
.service-detail__block ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.service-detail__block ul li { padding-left: 22px; position: relative; }
.service-detail__block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}
.service-detail__cta {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--ink-10);
}

/* ===========================
   Writing / Articles
=========================== */
.articles-list { display: flex; flex-direction: column; }
.article-row {
  padding-block: 52px;
  border-bottom: 1px solid var(--ink-10);
  transition: background var(--transition);
  border-radius: var(--radius-sm);
  margin-inline: -12px;
  padding-inline: 12px;
}
.article-row:first-child { border-top: 1px solid var(--ink-10); }
.article-row:hover { background: var(--ink-05); }
.article-row-inner { }
.article-row__meta {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.article-row h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.article-row h3 a:hover { opacity: 1; color: var(--blue); }
.article-row p { font-size: 0.9375rem; color: var(--ink-50); max-width: 580px; line-height: 1.75; }
.article-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
  letter-spacing: 0.01em;
}
.article-row__cta:hover { gap: 10px; opacity: 1; }

/* ===========================
   Footer
=========================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.32);
  padding-block: 60px;
  font-size: 0.8125rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer__brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.04em;
}
.footer__brand-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(26,107,255,0.5);
}
.footer__links { display: flex; gap: 28px; list-style: none; }
.footer__links a {
  color: rgba(255,255,255,0.32);
  font-weight: 600;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); opacity: 1; }

/* ===========================
   Responsive
=========================== */
@media (max-width: 900px) {
  .process__steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-detail__body { grid-template-columns: 1fr; gap: 36px; }
  .service-detail__header { grid-template-columns: 1fr; }
  .service-detail__price-block { text-align: left; }
}

@media (max-width: 640px) {
  .section { padding-block: 72px; }
  .hero { padding-block: 80px 64px; }
  .hero h1 { font-size: 2.25rem; }
  .problem__grid { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ink-10);
    padding: 24px 28px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(10,10,15,0.1);
  }
  .nav.open .nav__links a { font-size: 0.9375rem; }
  .nav.open .nav__cta { display: inline-block; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__proof { flex-wrap: wrap; }
  .hero__proof-divider { display: none; }
  .service-detail { padding-block: 64px; }
  .page-header { padding-block: 64px 52px; }
  .cta-band { padding-block: 80px; }
}