/* Secleo site styles */
:root {
  --bg: #f7f3ee;
  --bg-alt: #efe8df;
  --surface: #ffffff;
  --ink: #1b1a19;
  --ink-soft: #55504a;
  --line: #ddd3c7;
  --accent: #a4472f;
  --accent-ink: #ffffff;
  --accent-soft: #f3ddd4;
  --ok: #2f6b4f;
  --radius: 18px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(27,26,25,.04), 0 12px 32px rgba(27,26,25,.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141312; --bg-alt: #1c1a18; --surface: #22201e; --ink: #f3eee8;
    --ink-soft: #b9b0a6; --line: #36322e; --accent: #e07a5f; --accent-ink: #141312;
    --accent-soft: #3a261f; --ok: #7cc39e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141312; --bg-alt: #1c1a18; --surface: #22201e; --ink: #f3eee8;
  --ink-soft: #b9b0a6; --line: #36322e; --accent: #e07a5f; --accent-ink: #141312;
  --accent-soft: #3a261f; --ok: #7cc39e; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--sans); overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 40em; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: inline-block; }
em.hl { font-style: italic; color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); 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; text-decoration: none; font: 600 1.35rem/1 var(--serif); letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 14px 24px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block, .aside-card .btn { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.small { font-size: .93rem; }
.nav .btn-primary { color: var(--accent-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.alt { background: var(--bg-alt); }
section.flush { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .93rem; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }

/* Phone mock reels */
.phones-fig { margin: 0 0 0 auto; width: 100%; max-width: 440px; }
.phones-fig figcaption { margin-top: 62px; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); text-align: center; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phones .reel:nth-child(2) { transform: translateY(40px); }
@media (max-width: 900px) { .phones-fig { margin: 0 auto; } .phones .reel:nth-child(2) { transform: translateY(24px); } .phones-fig figcaption { margin-top: 44px; } }
.reel { position: relative; aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #3a2a24, #1b1a19); box-shadow: var(--shadow); border: 1px solid var(--line); color: #fff; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .reel-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 14px 14px; background:
  radial-gradient(120% 70% at 20% 10%, rgba(224,122,95,.55), transparent 60%),
  radial-gradient(90% 60% at 90% 90%, rgba(181,84,60,.5), transparent 60%), #241c19; }
.reel .tag { font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.reel .hook { font: 600 clamp(.95rem, 2.2vw, 1.12rem)/1.2 var(--sans); background: rgba(0,0,0,.5); padding: 9px 11px; border-radius: 10px; }
.reel .cap { margin-top: auto; align-self: center; text-align: center; font: 600 .86rem/1.3 var(--sans); padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.55); }
.reel .cap b { color: #f2a48c; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.08em; }
.reel .bar { align-self: stretch; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.reel .bar i { display: block; height: 100%; width: 38%; background: #fff; border-radius: 3px; }
.reel:nth-child(2) .bar i { width: 72%; }

/* Reel anatomy */
.timeline { display: flex; gap: 4px; height: 10px; margin-bottom: 20px; }
.timeline span { border-radius: 999px; background: var(--accent); }
.timeline span:nth-child(1) { flex: 2; }
.timeline span:nth-child(2) { flex: 3; opacity: .8; }
.timeline span:nth-child(3) { flex: 17; opacity: .45; }
.timeline span:nth-child(4) { flex: 5; opacity: .8; }
.timeline span:nth-child(5) { flex: 3; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1040px) { .beats { grid-template-columns: repeat(2, 1fr); } .beats li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .beats { grid-template-columns: 1fr; } }
.beats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.beats .time { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }
.beats h3 { font-size: 1.15rem; }
.beats p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.work-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding: 28px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); }
.work-note > div { flex: 1 1 380px; max-width: 640px; }
.work-note h3 { margin-bottom: .35em; }
.work-note p { margin: 0; }
.work-h { margin: 56px 0 20px; font-size: 1.6rem; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.work-item { margin: 0; }
.work-item figcaption { margin-top: 12px; font-size: .93rem; }
.work-item figcaption span { display: block; color: var(--ink-soft); }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; display: block; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-h { font-size: 1.6rem; }
.card .num { font: 500 2.2rem/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--ink-soft); }

/* Offer stack */
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.offer-head h2 { margin: 0; }
.offer-sub { max-width: 26em; margin: 0; }
.offer-cta { margin-top: 28px; }
.offer-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }
.stack { list-style: none; margin: 0; padding: 0; }
.stack li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.stack li:first-child { border-top: 0; }
.stack .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.stack strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.guarantee { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: 16px; background: var(--accent-soft); }
.guarantee svg { width: 44px; height: 44px; color: var(--accent); }
.guarantee p { margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 1.6rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: 14px; }
.steps li p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.steps li h3 { font-size: 1.15rem; }

/* Fit list */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit ul { margin: 0; padding-left: 1.1em; }
.fit li { margin-bottom: 8px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary:hover { color: var(--accent); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 500 1.15rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 1.7rem/1 var(--sans); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 28px; padding: clamp(32px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: var(--bg); }
.cta-band .lead { color: color-mix(in srgb, var(--bg) 75%, transparent); margin: 0 auto 28px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta-band .btn-ghost:hover { border-color: var(--bg); }

/* Article / prose pages */
.page-hero { padding-bottom: 32px; }
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.after-faq { margin-top: 32px; }
.glance { padding-left: 1.1em; margin: 0 0 18px; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.tldr { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 20px 24px; margin: 0 0 32px; }
.tldr p:last-child { margin: 0; }
.byline { font-size: .9rem; color: var(--ink-soft); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; gap: 36px; } }
.aside-card { position: sticky; top: 92px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .85rem; margin-left: 4px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input::placeholder, textarea::placeholder { color: var(--ink-soft); opacity: .75; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 1px; border-radius: 12px; }
input[aria-invalid="true"] { border-color: #c0392b; }
.err { color: #c0392b; font-size: .88rem; margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #ff9c8f; } :root:not([data-theme="light"]) input[aria-invalid="true"] { border-color: #ff9c8f; } }
.form-status { margin: 14px 0 0; font-size: .93rem; color: var(--ink-soft); min-height: 1px; }
.form-status:empty { display: none; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.next-steps { list-style: none; counter-reset: ns; margin: 0 0 28px; padding: 0; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 18px 46px; color: var(--ink-soft); }
.next-steps li strong { color: var(--ink); display: block; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 .9rem/1 var(--sans); }
.prefer { margin-bottom: 4px; }
.email-link { font: 500 clamp(1.1rem, 2.6vw, 1.5rem)/1.3 var(--serif); word-break: break-all; color: var(--accent); }
.cal-embed { width: 100%; min-height: 640px; border: 0; border-radius: 16px; background: var(--surface); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .93rem; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-blurb { margin-top: 14px; max-width: 30em; }
.site-footer .foot-h { font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.legal { margin-top: 36px; font-size: .85rem; }

/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .mobile-cta .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: .95rem; }
  body { padding-bottom: 84px; }
  .page-contact .mobile-cta { display: none; }
  body.page-contact { padding-bottom: 0; }
}

/* Scroll reveal: only applied by JS to sections that start below the fold */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card-link:hover { transform: none; }
}

@media print {
  .site-header, .mobile-cta, .nav-toggle, .cta-band { display: none; }
  body { background: #fff; color: #000; padding: 0; }
}
