/* Quickloop site styles. Flat tinted fields (stone, sky, blue) on white; one blue for every primary action. */
:root {
  --paper: #FFFFFF;
  --stone: #F4F2EE;      /* quiet field */
  --sky: #CADDF3;        /* pale blue field */
  --sky-soft: #E6EFFA;
  --blue: #1D5BE0;       /* actions and the blue field; white text on it is 5.8:1 */
  --blue-press: #174BC0;
  --navy: #0B1F47;       /* closing block */
  --ink: #0D1B2E;
  --ink-2: #44536A;      /* secondary text on white and stone */
  --on-sky: #2B3F5C;     /* secondary text on sky */
  --on-blue: #DCE7FB;    /* secondary text on blue and navy */
  --line: #DEDAD3;
  --line-sky: #A9C4E4;
  --max: 1200px;
  --pad: 24px;
  --r-card: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-1: 0 1px 2px rgba(13,27,46,.06), 0 6px 16px -6px rgba(13,27,46,.14);
  --shadow-2: 0 2px 4px rgba(13,27,46,.05), 0 28px 56px -24px rgba(13,27,46,.35);
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #9DB0C9 var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; font-stretch: 125%; line-height: 1.05; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
svg { display: block; flex-shrink: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 20; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.try :focus-visible, .cta-box :focus-visible { outline-color: #fff; }
.try-form :focus-visible { outline-color: var(--blue); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header: sticky so "Book a call" is always one tap away */
header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 1.3rem/1 var(--head); font-stretch: 112%; text-decoration: none; letter-spacing: -0.03em; }
.nav ul { display: flex; gap: 36px; list-style: none; margin: 0 auto 0 32px; padding: 0; }
.nav ul a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 1rem; padding: 10px 0; transition: color .2s; }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); box-shadow: 0 2px 0 var(--blue); }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: .95rem; }

/* Hero: two full-height fields. Copy on stone, the reply loop on sky. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
.hero-copy { background: var(--stone); display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 104px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 104px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.hero-show { background: var(--sky); display: grid; place-items: center; padding: clamp(48px, 6vw, 88px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.5rem, 4.4vw + .6rem, 4.6rem); line-height: 1.02; margin: 0 0 28px; }
.hero .lede { color: var(--ink-2); font-size: 1.2rem; max-width: 31em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-ctas .btn-primary { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.hero-ctas .btn-ghost { min-height: 58px; }
.hero-sub { margin-top: 22px; font-size: .95rem; color: var(--ink-2); }

/* The reply loop: what happens after a form is sent, in order. Each step hangs off the one before it. */
.loop { --step: 52px; margin: 0; width: 100%; max-width: 580px; }
.loop ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; justify-items: start; }
.loop li { position: relative; animation: arrive .6s var(--ease) backwards; }
.loop li:nth-child(2) { margin-left: var(--step); animation-delay: .15s; }
.loop li:nth-child(3) { margin-left: calc(var(--step) * 2); margin-top: 14px; animation-delay: .3s; }
.loop li:nth-child(4) { margin-left: calc(var(--step) * 3); animation-delay: .45s; }
.loop li + li::before { content: ""; position: absolute; left: calc(var(--step) / -2); bottom: calc(100% - 23px); width: calc(var(--step) / 2); height: 53px; border: solid var(--blue); border-width: 0 0 1.5px 1.5px; border-radius: 0 0 0 16px; }
.loop li:nth-child(2)::before { bottom: calc(100% - 34px); height: 64px; }
.loop li:nth-child(3)::before { height: 67px; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } }
.step { display: inline-block; background: var(--paper); border-radius: 14px; padding: 12px 18px; font-size: .95rem; line-height: 1.35; box-shadow: var(--shadow-1); }
.step b { display: inline-block; min-width: 2.6em; margin-right: 6px; color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.mail { background: var(--paper); border-radius: 16px; padding: 22px 24px 26px; font-size: .95rem; line-height: 1.5; box-shadow: var(--shadow-2); max-width: 400px; }
.mail p + p { margin-top: 11px; }
.mail-from { font-size: .85rem; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mail-from b { color: var(--ink); }
.mail-subj { font-weight: 600; }
.step.sent { position: absolute; right: -28px; bottom: -22px; white-space: nowrap; background: var(--ink); color: #fff; }
.step.sent b { color: #9CC0FF; }
.loop figcaption { margin-top: 28px; font-size: .875rem; color: var(--on-sky); max-width: 34em; }

/* Sections */
section { padding: 112px 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
section:not(.hero) h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { color: var(--ink-2); margin-top: 18px; font-size: 1.125rem; max-width: 36em; }
.field-stone { background: var(--stone); }
.more-link { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Try it: the site's own contact form runs on the product. A blue field so it reads as the thing to do. */
.try { background: var(--blue); color: #fff; }
.try .section-head p { color: var(--on-blue); }
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.try-form { display: grid; gap: 16px; background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow-2); }
.try-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.try-form input, .try-form textarea { font: 400 1rem/1.4 var(--body); padding: 13px 14px; border: 1px solid #8A98AD; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.try-form input:focus-visible, .try-form textarea:focus-visible { outline-offset: 0; border-color: var(--blue); }
.try-form ::placeholder { color: #5D6B80; }
.try-form button { justify-self: start; }
.try-status { font-weight: 600; font-variant-numeric: tabular-nums; }
.try-status:empty { display: none; }
.try-fine { font-size: .875rem; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; }

/* Demo videos */
.demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo { margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-1); scroll-margin-top: 96px; }
.try .demo { box-shadow: var(--shadow-2); }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0F172A; }
.demo figcaption { padding: 16px 20px 20px; font-size: .95rem; color: var(--ink-2); }
.demo figcaption b { display: block; color: var(--ink); font: 600 1.1rem/1.3 var(--head); font-stretch: 112%; letter-spacing: -0.02em; margin-bottom: 4px; }

/* Without it / with it: two plain lists, no ticks or crosses */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.side { border-radius: var(--r-card); padding: 36px; }
.side h3 { font-size: 1.25rem; font-stretch: 112%; margin-bottom: 10px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: 15px 0; border-top: 1px solid var(--line); }
.side.before { background: var(--stone); color: var(--ink-2); }
.side.before h3 { color: var(--ink-2); }
.side.after { background: var(--sky); font-weight: 500; }
.side.after li { border-top-color: var(--line-sky); }

/* Packages: flat tinted panels. The one to start with is sky. */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.card { background: var(--stone); border-radius: var(--r-card); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.field-stone .card { background: var(--paper); }
.card.featured, .field-stone .card.featured { background: var(--sky); }
.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.card.wide > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.card.featured:not(.wide) > div { display: contents; }
.card h2, .card h3 { font-size: 1.5rem; }
.card .for { color: var(--ink-2); margin: 10px 0 26px; font-size: 1rem; }
.card.featured .for, .card.featured .monthly, .card.featured .price small, .card.featured .stat, .card.featured .worth { color: var(--on-sky); }
.price { font: 600 2.5rem/1 var(--head); font-stretch: 125%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font: 500 .95rem/1 var(--body); color: var(--ink-2); letter-spacing: 0; }
.monthly { color: var(--ink-2); font-size: 1rem; margin-top: 10px; font-variant-numeric: tabular-nums; }
.worth { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-sky); }
.worth b { display: block; font: 600 1.25rem/1.2 var(--head); font-stretch: 112%; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.card ul { align-self: stretch; list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 1rem; }
.card.featured ul { border-top-color: var(--line-sky); }
.card.wide ul { margin-top: 0; border-top: 0; padding-top: 4px; }
.card li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.card li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; background: var(--blue); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.impact { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; }
.impact strong { white-space: nowrap; font: 600 1.6rem/1 var(--head); font-stretch: 112%; letter-spacing: -0.02em; color: var(--blue); }
.impact span { color: var(--ink-2); font-size: .975rem; }
.est { margin-left: 4px; font-size: .8rem; color: inherit; }
.stat { margin-top: 12px; font-size: .925rem; color: var(--ink-2); }
.stat a { color: inherit; }
.more { margin-top: 16px; align-self: stretch; }
.more summary { cursor: pointer; font-weight: 600; font-size: .975rem; width: max-content; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more summary::marker { color: var(--blue); }
.card .more ul { margin-top: 0; padding-top: 14px; border-top: 0; }
.deal { align-self: stretch; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: .925rem; }
.field-stone .card:not(.featured) .deal { background: var(--stone); }
.watch { margin-top: auto; padding-top: 26px; font-weight: 600; font-size: 1rem; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ask { margin-top: 16px; display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .975rem; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.ask:hover { background: var(--ink); color: #fff; }
.card.featured .ask { background: var(--blue); border-color: var(--blue); color: #fff; }
.card.featured .ask:hover { background: var(--blue-press); border-color: var(--blue-press); }
.note { margin-top: 32px; color: var(--ink-2); font-size: 1rem; max-width: 52em; }
.estimates { margin-top: 20px; color: var(--ink-2); font-size: .925rem; max-width: 60em; }
.estimates summary { cursor: pointer; font-weight: 600; color: var(--ink); width: max-content; }
.estimates summary::marker { color: var(--blue); }
.estimates ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* How it works (about page): a sky field */
.how { background: var(--sky); }
.how .section-head { margin-bottom: 24px; }
.how-text { color: var(--on-sky); font-size: 1.2rem; max-width: 40em; }
.how + .contact { padding-top: 112px; }

/* About */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: center; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-card); background: var(--stone); }
.about h1, .about h2 { margin-bottom: 22px; }
.about p { color: var(--ink-2); max-width: 36em; font-size: 1.1rem; }
.about p + p { margin-top: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.facts span { background: var(--stone); border-radius: 999px; padding: 9px 16px; font-size: .95rem; font-weight: 500; }

/* Questions */
.faq h2 { margin-bottom: 28px; }
.faq details { max-width: 46em; border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font: 600 1.15rem/1.4 var(--body); cursor: pointer; }
.faq summary::marker { color: var(--blue); }
.faq details p { color: var(--ink-2); margin-top: 12px; }

/* Closing call to action: one navy block */
.contact { padding-top: 0; }
.cta-box { background: var(--navy); color: #fff; border-radius: 32px; padding: 72px 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-box p { color: var(--on-blue); margin-top: 18px; font-size: 1.125rem; max-width: 30em; }
.cta-actions { display: grid; gap: 16px; }
.cta-actions .btn { min-height: 60px; font-size: 1.05rem; background: #fff; color: var(--ink); }
.cta-actions .btn:hover { background: var(--sky); }
.cta-actions .alt { text-align: center; margin-top: 0; font-size: 1rem; }
.cta-actions .alt a { color: #fff; font-weight: 600; text-decoration-color: #9CC0FF; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Plain text pages: privacy and the 404 */
.prose { max-width: 44rem; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 1.35rem; font-stretch: 112%; margin: 44px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 10px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.prose .hero-ctas { margin-top: 32px; }

footer { color: var(--ink-2); padding: 48px 0; font-size: .925rem; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer address { font-style: normal; }
footer .logo { color: var(--ink); font-size: 1.1rem; }

@media (max-width: 1040px) {
  .loop { --step: 32px; }
  .step.sent { right: -12px; }
}
@media (max-width: 960px) { .demos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero, .about-grid, .cta-box, .compare, .try-grid, .cards, .card.wide { grid-template-columns: 1fr; }
  .hero-copy, .hero-show { padding: 56px var(--pad); }
  .hero-show { place-items: start; }
  .card.wide ul { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
  .card.featured.wide ul { border-top-color: var(--line-sky); }
  .about-grid { gap: 36px; }
  .portrait { width: 220px; }
  .cta-box { padding: 44px 28px; border-radius: 24px; }
  section, .how + .contact { padding: 80px 0; }
  .contact { padding-top: 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  /* Phone header: logo and button on one row, page links on a second */
  html { scroll-padding-top: 128px; }
  .nav { flex-wrap: wrap; height: auto; row-gap: 0; }
  .nav .logo, .nav .btn { margin-top: 12px; }
  .nav ul { order: 3; width: 100%; gap: 28px; margin: 0; }
  .nav ul a { display: inline-block; padding: 12px 0; }
  .demos { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --pad: 16px; }
  .hero-copy { padding-top: 40px; }
  .hero .lede { font-size: 1.1rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .loop { --step: 18px; }
  .loop li + li::before { border-radius: 0 0 0 9px; }
  .step.sent { right: 10px; }
  .side, .card, .try-form { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn svg, .ask { transition: none; }
  .loop li { animation: none; }
}
