/* LoopLead homepage (2026-10-19 redesign). Layout from the Codex redesign preview,
   colours from brand/brand-reference-2026-10-16.png. Other pages still use styles.css. */
:root {
  --brand-orange: #DE5019; --brand-red: #DC2D15;
  --black: #1A1A1A; --black-800: #242424; --black-700: #3A3A3A;
  --paper: #F7F5F2; --sand: #ECE7E1; --white: #FFFFFF;
  --signal: #C8441A;       /* buttons: white text passes contrast */
  --signal-dark: #A93A14;
  --signal-text: #B8380F;  /* orange text on paper */
  --signal-hi: #F0703F;    /* orange text on black */
  --signal-tint: #FCEDE6;
  --ink: #1A1A1A; --muted: #4C4C50; --on-dark: #CFCAC4; --line: #E2DDD6;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], #demo { scroll-margin-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--brand-orange); color: var(--white); }
a { color: inherit; text-underline-offset: 5px; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: default; opacity: .5; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 54px); font-weight: 800; margin-bottom: 18px; }
p { max-width: 66ch; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow { width: 22px; height: 22px; flex-shrink: 0; }
.wrap { max-width: 1200px; width: calc(100% - 96px); margin-inline: auto; }
.small { font-size: 13px; line-height: 1.5; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--signal-text); margin-bottom: 14px; }
.skip { position: absolute; left: 15px; top: -100px; background: var(--white); color: var(--ink); z-index: 30; padding: 12px; }
.skip:focus { top: 10px; }

/* Buttons */
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; padding: 16px 22px; min-height: 54px;
  border-radius: 10px; font-weight: 700; text-decoration: none; line-height: 1.3; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.btn-orange { background: var(--signal); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-line { border: 1.5px solid currentColor; }
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); }
  .btn-orange:hover { background: var(--signal-dark); }
  .btn-black:hover { background: var(--black-700); }
}
.button:active { transform: scale(.98); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 242, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { height: 72px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo-word { height: 24px; width: auto; }
.wm-loop { stroke: currentColor; }
.wm-lead { fill: var(--brand-red); }
.on-dark .wm-lead { fill: var(--brand-orange); }
.header nav { display: flex; gap: 28px; margin-left: auto; }
.header nav a { text-decoration: none; font-size: 15px; }
.header .button { min-height: 44px; padding: 10px 16px; gap: 10px; font-size: 15px; }
.header .button .arrow { width: 18px; height: 18px; }
@media (hover: hover) { .header nav a:hover { color: var(--signal-text); } }

/* Hero: headline + the demo video, big, playing by itself */
.hero { background: var(--black); color: var(--paper); padding: 64px 0 72px; border-bottom-right-radius: 140px; }
.hero-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(54px, 6.6vw, 96px); line-height: .95; letter-spacing: -.045em; font-weight: 900; margin: 0; }
.hero h1 .kicker { display: block; font-size: 15px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--signal-hi); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--brand-orange); }
.hero-sub { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; color: var(--white); }
.hero-side > p { color: var(--on-dark); font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-ctas .btn-line { color: var(--paper); }
.hero-note { font-size: 13px; color: var(--on-dark); margin: 16px 0 0; }
.hero-note b { color: var(--white); font-weight: 700; }
.video-frame { position: relative; margin-top: 48px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--black-800); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.45); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 14px 26px 14px 20px; border-radius: 14px; background: var(--signal); color: var(--white); font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 8px rgba(222, 80, 25, .25), 0 18px 40px rgba(0, 0, 0, .4); transition: transform .2s, background-color .2s; }
.video-play svg { width: 30px; height: 30px; fill: currentColor; }
.video-play:hover { background: var(--signal-dark); transform: translate(-50%, -50%) scale(1.04); }
.video-frame.playing .video-play { display: none; }
.sound-on { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: 99px; background: var(--signal); color: var(--white); font-weight: 800; font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.sound-on svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound-on:hover { background: var(--signal-dark); }
.sound-on[hidden] { display: none; }
.demo-note { font-size: 13px; color: var(--on-dark); margin: 14px 0 0; max-width: none; }

/* How it works */
.how { padding-block: 104px 96px; }
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8%; }
.intro h2 span { color: var(--signal-text); }
.intro-detail p { font-size: 18px; color: var(--muted); }
.how-steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.how-steps li { border-top: 2px solid var(--ink); padding-top: 18px; counter-increment: step; }
.how-steps li::before { content: "0" counter(step); display: block; font-weight: 800; color: var(--signal-text); font-size: 14px; letter-spacing: .1em; margin-bottom: 10px; }
.how-steps h3 { font-size: 21px; margin-bottom: 8px; }
.how-steps p { font-size: 15px; color: var(--muted); margin: 0; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 14px; }
@media (hover: hover) { .text-link:hover { color: var(--signal-text); } }

/* Try it with your business name */
.try-section { background: var(--sand); padding: 88px 0; border-radius: 60px 0 60px 0; }
.try-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8%; align-items: center; }
.try-copy > p { color: var(--muted); }
.try-copy label, legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
input, select { width: 100%; border: 1px solid #BDB5AB; border-radius: 8px; background: var(--white); color: var(--ink); padding: 12px 14px; min-height: 48px; }
input::placeholder { color: #75706A; }
input { caret-color: var(--brand-orange); }
.try-copy input { max-width: 390px; }
.try-copy fieldset { border: 0; margin: 24px 0 18px; padding: 0; }
.scenarios { display: flex; gap: 8px; flex-wrap: wrap; }
.scenarios button { padding: 10px 13px; border: 1px solid #A89F95; background: transparent; color: var(--ink); border-radius: 8px; font-size: 14px; min-height: 42px; }
.scenarios button[aria-pressed=true] { background: var(--black); border-color: var(--black); color: var(--white); }
@media (hover: hover) { .scenarios button:hover { border-color: var(--black); } }
.interactive { background: var(--white); border-radius: 16px; box-shadow: 0 14px 40px rgba(26, 26, 26, .1); overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); font-weight: 700; }
.demo-head > span:first-child { overflow-wrap: anywhere; }
.example-tag { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--sand); padding: 3px 9px; border-radius: 99px; }
.progress { display: flex; justify-content: space-between; gap: 10px; list-style: none; padding: 18px 24px; margin: 0; font-size: 13px; color: var(--muted); }
.progress li { padding-bottom: 7px; border-bottom: 2px solid transparent; }
.progress li.active { color: var(--ink); border-color: var(--brand-orange); font-weight: 700; }
.conversation { min-height: 270px; padding: 12px 24px 20px; display: flex; align-items: center; }
.conversation > div { width: 100%; }
.event { padding: 20px 0; }
.event svg { width: 28px; height: 28px; display: block; margin-bottom: 12px; color: var(--signal-text); }
.event h3 { font-size: 26px; margin-bottom: 10px; }
.event p { font-size: 15px; color: var(--muted); }
.bubble { background: var(--signal-tint); padding: 15px 18px; border-radius: 16px 16px 16px 3px; font-size: 16px; overflow-wrap: anywhere; }
.bubble.customer { background: var(--sand); margin: 14px 0 0 50px; border-radius: 16px 16px 3px 16px; }
.bubble-label { font-size: 12px; margin: 0 0 6px; color: var(--muted); }
.demo-controls { border-top: 1px solid var(--line); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-controls .button { font-size: 14px; padding: 11px 16px; gap: 12px; min-height: 46px; }
.quiet-button { background: none; color: var(--muted); font-size: 13px; padding: 10px 0; }
@media (hover: hover) { .quiet-button:hover { text-decoration: underline; } }
.sample-booking { margin-top: 15px; display: block; width: 100%; background: var(--black); color: var(--white); padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.example-confirm { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* Missed-call cost calculator */
.calc { padding-block: 104px 40px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8%; align-items: center; }
.calc-grid > div > p { color: var(--muted); font-size: 18px; }
.calc-card { background: var(--black); color: var(--paper); border-radius: 20px; padding: 32px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--on-dark); }
.calc-card input { background: var(--black-800); border-color: var(--black-700); color: var(--white); font-size: 20px; font-weight: 700; }
.calc-out { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--black-700); }
.calc-out b { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--signal-hi); }
.calc-out small { display: block; margin-top: 8px; font-size: 15px; color: var(--on-dark); }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 104px; }
.founder-title img { width: 132px; height: 132px; object-fit: cover; border-radius: 16px; margin: 10px 0 14px; border: 3px solid var(--brand-orange); }
.founder-title > p { font-size: 15px; font-weight: 700; }
.founder-title p span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.founder-copy .large { font-size: 25px; font-weight: 600; line-height: 1.35; }
.founder-copy > p { color: var(--muted); }
.plain-list { list-style: none; padding: 0; margin: 28px 0; }
.plain-list li { padding: 17px 0; border-top: 1px solid var(--line); }
.plain-list b, .plain-list span { display: block; }
.plain-list span { font-size: 15px; color: var(--muted); margin-top: 3px; }

/* Who it's for */
.industries { padding-bottom: 96px; }
.ind-row { display: grid; grid-template-columns: 1.2fr 2fr; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px; }
.ind-row h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0; }
.ind-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ind-list li { padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.ind-list li.live { background: var(--black); color: var(--white); border-color: var(--black); }
.ind-list li.live small { color: var(--signal-hi); font-weight: 700; margin-left: 6px; }

/* Pricing */
.pricing { padding: 96px 0; background: var(--sand); }
.section-top { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
.section-top p { color: var(--muted); margin: 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--white); padding: 36px; border-radius: 18px; display: flex; flex-direction: column; position: relative; }
.plan.growth { background: var(--black); color: var(--paper); }
.plan-badge { position: absolute; top: 36px; right: 36px; background: var(--brand-orange); color: var(--black); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; }
.plan h3 { font-size: 28px; margin: 0 0 10px; }
.plan > p { color: var(--muted); font-size: 15px; }
.plan.growth > p { color: var(--on-dark); }
.plan .price { font-weight: 800; font-size: 56px; letter-spacing: -.04em; margin: 12px 0 22px; line-height: 1; }
.price span { font-weight: 400; font-size: 16px; letter-spacing: 0; margin-left: 6px; }
.plan ul { padding: 0; list-style: none; margin: 0 0 30px; }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan.growth li { border-color: var(--black-700); }
.plan li b { font-weight: 700; }
.plan .includes { margin: 0 0 4px; font-weight: 700; color: inherit; }
.plan .button { margin-top: auto; }
.guarantee { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; text-align: center; font-size: 15px; margin-top: 30px; }
.guarantee svg { width: 22px; height: 22px; color: var(--signal-text); }
.guarantee p { margin: 0; }
.plans-foot { text-align: center; font-size: 14px; color: var(--muted); margin: 12px 0 0; max-width: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8%; padding-block: 104px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 34px 20px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 15px; font-size: 26px; font-weight: 400; color: var(--signal-text); }
details[open] summary::after { content: "\2212"; }
details p { font-size: 16px; color: var(--muted); padding-right: 25px; margin-bottom: 22px; }

/* Contact + the real lead form (Netlify Forms, SMS consent) */
.contact { background: var(--black); color: var(--paper); padding: 88px 0; border-top-left-radius: 90px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.contact-grid > div > p { color: var(--on-dark); font-size: 17px; }
.contact-info { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--on-dark); font-size: 15px; }
.contact-info a { color: var(--white); font-weight: 700; }
.form-card { padding: 30px; background: var(--white); border-radius: 18px; color: var(--ink); }
.form-card h3 { font-size: 25px; margin-bottom: 4px; }
.form-card > p.small { color: var(--muted); margin-bottom: 4px; }
.form-card label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute; left: -9999px; }
.form-card .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 18px; }
.consent input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--signal); }
.consent a { color: var(--ink); }
.form-card .button { width: 100%; margin-top: 20px; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* Footer */
.footer { padding-block: 48px 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer .tagline { font-weight: 700; margin: 14px 0 6px; }
.footer p, .footer li { font-size: 14px; color: var(--muted); }
.footer h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--muted); }

/* Tablet */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header nav { gap: 18px; }
  .hero-top, .intro, .try-grid, .calc-grid, .contact-grid { gap: 5%; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .header nav a.opt { display: none; } }

/* Phone */
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  section[id] { scroll-margin-top: 64px; }
  .header .wrap { height: 62px; gap: 12px; }
  .logo-word { height: 20px; }
  .logo-mark { width: 28px; height: 28px; }
  .header nav { display: none; }
  .header .button { margin-left: auto; font-size: 14px; padding: 9px 13px; }
  .hero { padding: 40px 0 44px; border-bottom-right-radius: 64px; }
  .hero-top { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: clamp(46px, 13vw, 72px); }
  .hero h1 .kicker { font-size: 12px; margin-bottom: 16px; }
  .hero-side > p { font-size: 16px; }
  .hero-ctas .button { flex: 1 1 100%; }
  .video-frame { margin-top: 30px; border-radius: 12px; }
  .video-play span { display: none; }
  .video-play { padding: 16px; border-radius: 50%; }
  .how { padding-block: 64px; }
  .intro, .try-grid, .calc-grid, .founder, .faq, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .intro h2 { margin-bottom: 0; }
  .intro-detail p, .calc-grid > div > p { font-size: 16px; }
  .how-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .try-section { padding: 56px 0; border-radius: 36px 0; }
  .try-copy input { max-width: none; }
  .demo-head, .progress { padding-inline: 18px; }
  .conversation { padding: 8px 18px 20px; min-height: 250px; }
  .demo-controls { padding: 14px 18px; }
  .calc { padding-block: 64px 24px; }
  .calc-card { padding: 22px; }
  .founder { padding-block: 64px; }
  .founder-title img { width: 100px; height: 100px; float: left; margin: 0 16px 12px 0; }
  .founder-title > p { padding-top: 18px; }
  .founder-copy { clear: both; }
  .founder-copy .large { font-size: 22px; }
  .industries { padding-bottom: 64px; }
  .ind-row { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .section-top { display: block; }
  .section-top p { margin-top: 8px; }
  .pricing { padding: 60px 0; }
  .plans { grid-template-columns: 1fr; gap: 18px; }
  .plan { padding: 26px; }
  .plan-badge { top: 26px; right: 26px; }
  .plan .price { font-size: 48px; }
  .faq { padding-block: 64px; gap: 8px; }
  .contact { padding: 60px 0; border-top-left-radius: 48px; }
  .form-card { padding: 22px; }
  .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Phone, lighter read (2026-10-20): long copy stays in the HTML for search engines, hidden visually on small screens only */
@media (max-width: 760px) {
  .hero-side > p:nth-of-type(2), .demo-note { display: none; }
  .intro-detail p:nth-of-type(2) { display: none; }
  .how-steps li p { display: none; }
  .how-steps { gap: 14px; margin-top: 28px; }
  .founder-copy > p:not(.large), .plain-list li span { display: none; }
  .plain-list { gap: 10px; }
  .section-top > p { display: none; }
  .plan ul li:nth-child(n+4) { display: none; }
  .plan > p:nth-of-type(1) { margin-bottom: 4px; }
  .contact-grid > div > p { display: none; }
  .how, .founder, .calc { padding-block: 44px; }
  .industries { padding-bottom: 44px; }
  .pricing, .contact { padding-block: 48px; }
  .faq { padding-block: 48px; }
  .plans-foot { display: none; }
}
