/* ============================================================
   1 On 1 Internet Marketing — design system
   "Franchise Bold" · heritage tech · est. 2001
   Edit the tokens below to re-theme the entire site.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- Color tokens ---- */
  --paper:      #F7F4ED;   /* warm ecru page background      */
  --paper-deep: #EFEAE0;   /* alternating section background */
  --white:      #FFFFFF;
  --ink:        #14213D;   /* charcoal-navy text             */
  --ink-soft:   #4C566E;   /* secondary text                 */
  --teal:       #0E5F5B;   /* primary brand                  */
  --teal-deep:  #0E2A2A;   /* dark band sections             */
  --teal-mist:  #DCE9E5;   /* tinted panels / chips          */
  --verm:       #E2492F;   /* vermilion accent + CTAs        */
  --verm-deep:  #C03A24;   /* CTA hover                      */
  --gold:       #E9B44C;   /* seal / star color (sparing)    */
  --line:       #D8D2C4;   /* hairline rules on paper        */
  --line-dark:  rgba(247,244,237,.18);

  /* ---- Type ---- */
  --font-head: 'Sora', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* ---- Shape & rhythm ---- */
  --radius: 6px;
  --rule: 3px solid var(--ink);          /* the editorial thick rule */
  --shadow: 0 14px 40px -18px rgba(20,33,61,.25);
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--verm); }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.5vw, 76px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--alt { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--teal-deep); color: #EDF2EC; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #FBF9F3; }
.section--dark p { color: #C8D6CE; }

/* Editorial kicker: mono eyebrow + thick rule */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--verm-deep);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--verm); }
.section--dark .kicker { color: var(--gold); }
.section--dark .kicker::before { background: var(--gold); }

.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 64ch; }
.section--dark .lede { color: #C8D6CE; }

/* Vermilion underline sweep for key words */
.sweep { position: relative; white-space: nowrap; }
.sweep::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: .04em;
  height: .16em; background: var(--verm); z-index: -1;
  transform-origin: left center; border-radius: 2px;
}
html:not(.qa-static) .sweep[data-sweep]::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.7,0,.2,1) .35s; }
html:not(.qa-static) .sweep[data-sweep].in::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .sweep[data-sweep]::after { transform: none !important; transition: none !important; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  padding: 16px 30px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  min-height: 52px;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--verm { background: var(--verm-deep); color: #fff; }
.btn--verm:hover { background: #A53120; color: #fff; }
.btn--ink { background: var(--ink); color: #FBF9F3; }
.btn--ink:hover { background: var(--teal); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn--ghost { border-color: #FBF9F3; color: #FBF9F3; }
.section--dark .btn--ghost:hover { background: #FBF9F3; color: var(--teal-deep); }
.btn--block { width: 100%; }

/* ============ Header ============ */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: var(--rule); }
.site-head.scrolled { box-shadow: 0 10px 30px -18px rgba(20,33,61,.35); }
.topbar { background: var(--teal-deep); color: #C8D6CE; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #EDF2EC; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; }
.tb-note { font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; color: var(--gold); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-badge {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--teal); color: #fff; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: -.04em;
}
.brand-txt { line-height: 1.15; }
.brand-txt b { font-family: var(--font-head); font-weight: 800; font-size: 18px; display: block; letter-spacing: -.01em; }
.brand-txt span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }

.nav-links { display: flex; list-style: none; gap: 6px; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--ink); padding: 10px 13px; border-radius: var(--radius);
}
.nav-links > li > a:hover { background: var(--teal-mist); color: var(--teal); }
.nav-links svg { width: 15px; height: 15px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 330px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.drop a { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--radius); color: var(--ink); }
.drop a:hover { background: var(--teal-mist); }
.drop .di { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--teal-mist); color: var(--teal); border-radius: var(--radius); }
.drop .di svg { width: 19px; height: 19px; }
.drop b { font-family: var(--font-head); font-size: 14.5px; display: block; }
.drop small { color: var(--ink-soft); font-size: 12.5px; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.nav-phone .pi { width: 40px; height: 40px; display: grid; place-items: center; background: var(--teal-mist); color: var(--teal); border-radius: 50%; }
.nav-phone .pi svg { width: 17px; height: 17px; }
.nav-phone span:last-child { line-height: 1.1; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }
.nav-phone small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--ink-soft); }
.nav-cta .btn { padding: 12px 20px; min-height: 46px; font-size: 14.5px; }
.burger { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.burger svg { width: 22px; height: 22px; margin: auto; }

/* ============ Mobile drawer ============ */
.drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(14,42,42,.55); opacity: 0; transition: opacity .25s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: var(--paper); border-left: var(--rule);
  padding: 22px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.7,0,.2,1);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.dh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: var(--rule); }
.drawer-close { background: none; border: 2px solid var(--ink); border-radius: var(--radius); width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.drawer-close svg { width: 20px; height: 20px; margin: auto; }
.dl { display: block; padding: 13px 6px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.dl:hover { color: var(--verm); }
.dl--sub { font-size: 15px; padding-left: 18px; font-weight: 500; color: var(--ink-soft); }

/* ============ Page hero (inner pages) ============ */
.page-hero { background: var(--teal-deep); color: #EDF2EC; padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(rgba(247,244,237,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(247,244,237,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #FBF9F3; font-size: clamp(34px, 5vw, 58px); max-width: 18ch; }
.page-hero .lede { color: #C8D6CE; margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; }
.crumbs a { color: var(--gold); }
.crumbs span[aria-hidden] { color: rgba(237,242,236,.4); }
.crumbs strong { color: #EDF2EC; font-weight: 500; }

/* ============ AEO: quick answer + key facts ============ */
.quick-answer {
  background: var(--white); border: 2px solid var(--ink); border-left: 8px solid var(--verm);
  border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow);
}
.quick-answer h2 { font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.quick-answer h2 svg { width: 20px; height: 20px; color: var(--verm); }
.quick-answer p { color: var(--ink-soft); font-size: 16.5px; }
.facts-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.facts-table th, .facts-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { font-family: var(--font-head); font-weight: 700; white-space: nowrap; width: 38%; color: var(--teal); }
.toc { background: var(--teal-mist); border-radius: var(--radius); padding: 22px 26px; }
.toc h2 { font-size: 16px; font-family: var(--font-mono); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 8px; }
.toc a { font-weight: 500; color: var(--ink); display: inline-flex; gap: 10px; }
.toc a:hover { color: var(--verm); }
.toc .n { font-family: var(--font-mono); color: var(--verm-deep); font-size: 14px; }

/* ============ Cards & grids ============ */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 30px; position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ci { width: 52px; height: 52px; display: grid; place-items: center; background: var(--teal); color: #fff; border-radius: var(--radius); margin-bottom: 18px; }
.card .ci svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--verm-deep); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .more svg { transform: translateX(5px); }
.card--num::before {
  content: attr(data-num); position: absolute; top: 18px; right: 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1;
  color: var(--paper-deep); -webkit-text-stroke: 1.5px var(--line); z-index: 0;
}

/* Check list */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks svg { width: 21px; height: 21px; flex: none; color: var(--teal); margin-top: 2px; }
.section--dark .checks svg { color: var(--gold); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ink); border: var(--rule); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 30px 22px; text-align: center; }
.stat b { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 52px); display: block; color: var(--teal); letter-spacing: -.03em; }
.stat b .accent { color: var(--verm); }
.stat > span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* Guarantee seal */
.seal {
  width: 150px; height: 150px; border-radius: 50%; position: relative;
  display: grid; place-items: center; text-align: center;
  background: var(--verm-deep); color: #fff; flex: none;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 9px var(--verm-deep);
}
.seal b { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1; display: block; }
.seal small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; display: block; padding: 0 18px; line-height: 1.5; }
html:not(.qa-static) .seal--spin::before { animation: spin 26s linear infinite; }
.seal::before {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 2px dashed var(--verm); opacity: .55;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal::before { animation: none !important; } }

/* ============ FAQ accordion ============ */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink);
  padding: 20px 24px; min-height: 60px;
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--verm); transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }
.faq-a a { font-weight: 600; }

/* ============ Forms ============ */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field label .req { color: var(--verm); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 13px 15px; min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal-mist); border-color: var(--teal); }
.field .err { display: none; color: var(--verm-deep); font-size: 13.5px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--verm); }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--ink-soft); }
.form-success { display: none; background: var(--teal-mist); border: 2px solid var(--teal); border-radius: var(--radius); padding: 22px; }
.form-success.show { display: block; }
.form-success b { font-family: var(--font-head); color: var(--teal); }

/* ============ CTA band ============ */
.cta-band { background: var(--verm-deep); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 44px); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 8px; }
.cta-band .btn--ink { background: var(--teal-deep); }
.cta-band .btn--ink:hover { background: var(--ink); }

/* ============ Footer ============ */
.site-foot { background: var(--teal-deep); color: #C8D6CE; border-top: 6px solid var(--verm); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(52px, 7vw, 84px) 0 44px; }
.site-foot .brand { color: #FBF9F3; }
.site-foot .brand-txt span { color: var(--gold); }
.foot-brand p { font-size: 15px; margin: 16px 0 22px; max-width: 36ch; }
.foot-col h4 { color: #FBF9F3; font-size: 14px; font-family: var(--font-mono); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; color: #C8D6CE; padding: 6px 0; font-size: 15px; }
.foot-col a:hover { color: var(--gold); }
.foot-contact { list-style: none; padding: 0; display: grid; gap: 13px; font-size: 15px; }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 3px; }
.foot-contact a { color: #EDF2EC; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 22px 0 30px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
.badges { display: inline-flex; gap: 18px; }
.badges span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.badges svg { width: 15px; height: 15px; }

/* ============ Reveal animation ============ */
html:not(.qa-static) [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html:not(.qa-static) [data-reveal].in { opacity: 1; transform: none; }
html:not(.qa-static) [data-reveal="left"] { transform: translateX(-30px); }
html:not(.qa-static) [data-reveal="right"] { transform: translateX(30px); }
html:not(.qa-static) [data-reveal].in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============ Utilities ============ */
.hide-sm { }
.center { text-align: center; }
.mt-1 { margin-top: 14px; } .mt-2 { margin-top: 26px; } .mt-3 { margin-top: 44px; }
.mb-2 { margin-bottom: 26px; } .mb-3 { margin-bottom: 44px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.img-frame { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--duo::after { content: ""; position: absolute; inset: 0; background: var(--teal); mix-blend-mode: color; opacity: .35; pointer-events: none; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 999; }
.skip:focus { left: 12px; top: 12px; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .burger { display: block; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-cta .btn { display: none; }
}
