:root {
  --ink: #14213d;
  --ink-soft: #3d4a66;
  --muted: #6b7690;
  --paper: #fbf9f5;
  --card: #ffffff;
  --line: #e6e1d8;
  --accent: #e07a2f;
  --accent-soft: #fdf0e4;
  --radius: 14px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none; letter-spacing: -0.01em;
}
.logo img { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--ink); color: #fff !important;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #0b1428; transform: translateY(-1px); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #c96a23; }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff !important; }

/* Hero */
.hero { padding: 96px 0 80px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 68px); max-width: 15ch; }
h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 58ch; margin: 24px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.channels {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center;
  color: var(--muted); font-size: 14px;
}
.channels span.label { margin-right: 6px; font-weight: 600; color: var(--ink-soft); }
.chip {
  background: var(--card); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 16px 0 0; }
.alt { background: var(--ink); color: #eef1f7; }
.alt .section-head p, .alt p { color: #c4cbdb; }
.alt .eyebrow { color: #f4a259; }

/* Services */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: #d8cfc0; box-shadow: 0 10px 30px rgba(20, 33, 61, .07); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0 0 14px; font-size: 16px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin: 4px 0; }

/* AEO feature */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.feature h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 18px; }
.answer-box {
  background: #1e2d50; border: 1px solid #2d3f68; border-radius: var(--radius);
  padding: 26px; font-size: 15px;
}
.answer-box .q { color: #9aa6c2; margin-bottom: 14px; }
.answer-box .q strong { color: #fff; font-weight: 600; }
.answer-box .a { color: #e3e8f2; line-height: 1.65; }
.answer-box .cite {
  display: inline-block; margin-top: 16px;
  background: rgba(244, 162, 89, .15); color: #f4a259;
  border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 600;
}
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding-left: 30px; position: relative; margin: 12px 0; color: #dbe1ec; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #f4a259;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 15px; color: var(--accent); font-weight: 600;
}
.step h3 { font-size: 21px; margin: 8px 0 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(30px, 3.6vw, 42px); }
.about p { color: var(--ink-soft); margin: 0 0 16px; }
.principles { display: grid; gap: 14px; margin-top: 24px; }
.principle { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.principle strong { display: block; margin-bottom: 2px; }
.principle span { color: var(--muted); font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; }
.contact-meta { margin-top: 28px; display: grid; gap: 10px; color: var(--ink-soft); font-size: 16px; }
.contact-meta a { color: var(--ink); font-weight: 600; }
form.card { padding: 32px; }
form.card:hover { transform: none; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-group label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-weight: 500; font-size: 14.5px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
}
.checkbox-group input { width: auto; margin: 0; accent-color: var(--accent); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Thank you */
.thanks { min-height: calc(100vh - 68px - 110px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks .mark {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 28px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.thanks h1 { margin: 0 auto; max-width: 16ch; }
.thanks p { color: var(--ink-soft); font-size: 19px; max-width: 48ch; margin: 20px auto 34px; }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  section { padding: 64px 0; }
  .grid, .steps, .row { grid-template-columns: 1fr; }
  .lede { font-size: 18px; }
  form.card { padding: 22px; }
}

/* Form sits on the dark contact band */
.alt form.card p.form-note { color: var(--muted); }
.alt .contact-meta { color: #c4cbdb; }

/* Legal pages */
.legal { padding: 72px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); max-width: none; }
.legal .updated { color: var(--muted); font-size: 15px; margin: 14px 0 40px; }
.legal h2 { font-size: 26px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--ink); font-weight: 600; }
.legal address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
