/* lawfirm.digitalfootprintsolutions.com: DFS law-firm banner palette (deep navy, DFS orange, electric blue),
   Manrope type. Light default, dark theme mirrors the Facebook banner. */
:root,
[data-theme="light"] {
  --bg: #F7F9FC;
  --bg-1: #EDF1F7;
  --card: #FFFFFF;
  --ink: #031325;
  --ink-2: #3A4A60;
  --ink-3: #5D6B80;
  --line: rgba(3, 19, 37, 0.08);
  --line-2: rgba(3, 19, 37, 0.16);
  --v: #E45609;            /* accent: DFS orange */
  --v-2: #B84200;
  --v-soft: rgba(228, 86, 9, 0.10);
  --v-ink: #C24100;        /* orange for text on light (5.2:1) */
  --blue: #1F5FA8;
  --grad-text: linear-gradient(92deg, #E45609 0%, #C24100 100%);
  --glow: rgba(31, 95, 168, 0.14);
  --glow-2: rgba(247, 108, 11, 0.10);
  --shadow: 0 1px 2px rgba(3, 19, 37, 0.05), 0 14px 34px -14px rgba(3, 19, 37, 0.22);
  --field: #FFFFFF;
  --err: #C2283B;
  --ok: #0F8A5F;
  --sara-bg: linear-gradient(155deg, #0D3462 0%, #06182E 55%, #031325 100%);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #031325;
  --bg-1: #06182E;
  --card: #0A2038;
  --ink: #F9F9F9;
  --ink-2: #B8C4D4;
  --ink-3: #8597AD;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --v: #F76C0B;
  --v-2: #E45609;
  --v-soft: rgba(247, 108, 11, 0.14);
  --v-ink: #FF8A3D;        /* 8:1 on navy */
  --blue: #2E7BD6;
  --grad-text: linear-gradient(92deg, #FF8A3D 0%, #F76C0B 100%);
  --glow: rgba(46, 123, 214, 0.26);
  --glow-2: rgba(247, 108, 11, 0.14);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px -16px rgba(0, 0, 0, 0.65);
  --field: #0D2540;
  --err: #FF8593;
  --ok: #34D399;
  --sara-bg: linear-gradient(155deg, #0F3D72 0%, #0A2340 55%, #061A31 100%);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .3s ease, color .3s ease;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--v-ink); }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--v); outline-offset: 3px; border-radius: 8px; }

/* Header: logo centred, theme toggle on the right */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .25s ease; }
.top.scrolled { box-shadow: 0 8px 24px -18px rgba(3, 19, 37, 0.45); }
.top-in { width: min(1180px, 100% - 32px); margin-inline: auto; height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.top-right { display: flex; justify-content: flex-end; }
.brand { display: block; line-height: 0; }
.logo { height: 34px; width: auto; }
.logo-on-dark { display: none; }
[data-theme="dark"] .logo-on-light { display: none; }
[data-theme="dark"] .logo-on-dark { display: block; }
.theme-toggle { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.theme-toggle:hover { border-color: var(--v); }
.theme-toggle:active { transform: scale(0.96); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* Shared type */
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font: 500 .74rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v); box-shadow: 0 0 0 4px var(--v-soft); }
.label { display: inline-flex; align-items: center; gap: 12px; font: 500 .76rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--v-ink); margin-bottom: 18px; }
.label::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--v); }
h1 { font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; margin-top: 22px; }
h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.035em; max-width: 20ch; }
h2 .dim { color: var(--ink-3); font-weight: 600; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }

/* Buttons (v3 pill + knob) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 10px 0 26px; border-radius: 999px; border: 0; font: 700 1.02rem/1.2 "Manrope", sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn-p { color: #fff; background: linear-gradient(135deg, #D9520A 0%, #B84200 100%); box-shadow: 0 10px 28px -10px rgba(228, 86, 9, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-p:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 34px -10px rgba(247, 108, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-p:active { transform: translateY(0) scale(0.99); }
.knob { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; flex: none; }
.knob svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-full { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.micro { margin-top: 12px; font-size: .92rem; color: var(--ink-3); }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.glow { position: absolute; inset: 0; background: radial-gradient(55% 50% at 78% 28%, var(--glow), transparent 70%), radial-gradient(38% 38% at 6% 72%, var(--glow-2), transparent 70%); pointer-events: none; z-index: -1; }
/* Electric-blue light streak from the banner, behind the video */
.hero::before { content: ""; position: absolute; z-index: -1; top: 6%; right: 18%; width: 3px; height: 78%; background: linear-gradient(180deg, transparent, var(--blue) 35%, color-mix(in srgb, var(--blue) 60%, #fff) 55%, transparent); transform: rotate(24deg); filter: blur(1px); box-shadow: 0 0 24px 6px color-mix(in srgb, var(--blue) 45%, transparent); opacity: .55; pointer-events: none; }
[data-theme="dark"] .hero::before { opacity: .9; }
.hero { isolation: isolate; overflow: clip; }
.glow-b { inset: 0; background: radial-gradient(55% 60% at 25% 70%, var(--glow), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "copy video" "lede video" "cta video"; grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-lede { grid-area: lede; }
.hero-copy { grid-area: copy; }
.hero-video { grid-area: video; margin: 0; }
.hero-cta { grid-area: cta; margin-top: 34px; }

.vid { position: relative; border-radius: 28px; overflow: hidden; background: #EFE9DC; outline: 1px solid color-mix(in srgb, var(--v) 30%, transparent); outline-offset: 6px; aspect-ratio: 1 / 1; box-shadow: var(--shadow); border: 1px solid var(--line); }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid-btn { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: rgba(3, 19, 37, 0.86); color: #fff; font: 700 .95rem/1 "Manrope", sans-serif; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .2s ease, background-color .2s ease; }
.vid-btn:hover { background: rgba(3, 19, 37, 0.95); transform: translateY(-1px); }
.vid-btn svg { width: 22px; height: 22px; fill: #fff; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vid-btn svg .w { fill: none; }
.vid.has-sound .vid-btn { opacity: 0; pointer-events: none; }
.hero-video figcaption { margin-top: 14px; font-size: .86rem; line-height: 1.5; color: var(--ink-3); max-width: 56ch; }

/* Sections */
.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.story { background: var(--bg-1); }

.timeline { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: tl; }
.tl-card { position: relative; padding: 30px 28px 28px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tl-step { font: 500 .74rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tl-card blockquote { margin: 18px 0 0; flex: 1; }
.tl-card blockquote p { font-size: 1.16rem; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.tl-note { margin-top: 20px; font-size: .92rem; color: var(--ink-3); }
.tl-now { background: var(--sara-bg); border-color: rgba(46, 123, 214, 0.35); }
.tl-now .tl-step { color: #FF8A3D; }
.tl-now blockquote p { color: #F9F9F9; }
.tl-now .tl-note { color: #B8C4D4; }
.source { margin-top: 18px; font-size: .84rem; color: var(--ink-3); }
.mid-cta { margin-top: 44px; }

/* Offer */
.packs { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pack { padding: clamp(28px, 3.4vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.pack-ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #F76C0B, #B84200); display: grid; place-items: center; }
.pack-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pack h3 { margin-top: 22px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.025em; }
.pack-lede { margin-top: 10px; color: var(--ink-2); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--v-soft) var(--check) center / 13px no-repeat; }
.pack-sara { background: var(--sara-bg); border-color: rgba(46, 123, 214, 0.35); }
.pack-sara h3 { color: #F9F9F9; }
.pack-sara .pack-lede { color: #C3CEDC; }
.pack-sara .checks li { color: #E6ECF3; }
.pack-sara .checks li::before { background-color: rgba(247, 108, 11, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* Booking */
.book { background: var(--bg-1); overflow: clip; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; color: var(--ink-2); }
.steps strong { color: var(--ink); }
.steps .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--v-soft); color: var(--v-ink); font: 700 1rem/1 "JetBrains Mono", monospace; }

.form { padding: clamp(24px, 3.2vw, 36px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink); font: 500 1rem/1.2 "Manrope", sans-serif; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:hover { border-color: color-mix(in srgb, var(--v) 45%, var(--line-2)); }
.field input:focus { outline: none; border-color: var(--v); box-shadow: 0 0 0 4px var(--v-soft); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err { min-height: 0; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--err); }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 600; font-size: .95rem; }
.form-msg:empty { display: none; }
.form-msg.is-err { color: var(--err); }
.fine { font-size: .84rem; color: var(--ink-3); }

/* Footer */
.foot { padding: 36px 0 48px; }
.foot-in { display: grid; gap: 6px; font-size: .86rem; color: var(--ink-3); }

/* Reveal on scroll (armed by JS only; content is visible without it) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "video" "lede" "cta"; grid-template-rows: none; }
  .hero-video { margin-top: 26px; max-width: 620px; }
  .hero-cta { margin-top: 28px; }
  .timeline { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 62px; }
  .logo { height: 24px; }
  h1 { margin-top: 18px; }
  .btn { width: 100%; justify-content: space-between; min-height: 60px; }
  .vid { border-radius: 22px; }
  .tl-card, .pack { border-radius: 22px; }
  .form { border-radius: 22px; }
}
