/* DialHouse styles. Plain CSS, mobile first. Brand: brand-sheet.md (Dial Orange + Ink, Barlow Condensed + Barlow). */
:root {
  --orange: #C03E0C;
  --orange-dark: #9E330A;
  --ink: #16181C;
  --ink-2: #232529; /* Taste --p-inv-surface */
  --paper: #FFFFFF;
  --band: #F2F2F2; /* Taste start.mjs brand --p-surface for bg #FFF, ink #16181C, accent #C03E0C */
  --white: #FFFFFF;
  --muted: #4B4F58;
  --line: #D9D2C6;
  --field: #6B6F78;
  --on-dark: #ECE8E1;
  --on-dark-muted: #BDB8AE;
  --on-dark-link: #F6A47F;
  --sample: #1F4E79;
  --max: 1240px;
  --section: 56px;
  --r: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bar: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--paper); accent-color: var(--orange); }
::selection { background: var(--orange); color: var(--white); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  caret-color: var(--orange);
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
@media (max-width: 767px) { html { scroll-padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom) + 16px); } }
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  :root { --section: 88px; }
}

h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1; color: var(--ink); margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(52px, 13vw, 96px); text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(36px, 7vw, 56px); text-transform: uppercase; }
h3 { font-size: 26px; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { font-weight: 600; }

a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease); }
a:hover { color: var(--orange-dark); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section) 0; }
section[id] { scroll-margin-top: 76px; }
.section-white { background: var(--band); }
.lede { color: var(--muted); font-size: 20px; max-width: 640px; margin-bottom: 0; }

.skip { position: absolute; left: 8px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }

/* Buttons: one solid, one outline. Hover steps up 1px, press sinks. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px;
  border-radius: var(--r); border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), translate 150ms var(--ease), scale 90ms var(--ease);
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .btn:hover { translate: 0 -1px; } }
.btn:active { translate: 0 1px; scale: .985; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.section-dark .btn:focus-visible { outline-color: var(--white); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 20px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { translate: none; scale: none; } }

/* Header: a door stripe on top, the Option 1 wordmark, the phone. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-top: 6px solid var(--orange); border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo svg { display: block; height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.nav a:hover { color: var(--orange-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.nav .call-link { font-family: var(--head); font-weight: 700; font-size: 22px; white-space: nowrap; }
.nav .call-link span { color: var(--orange); margin-right: 6px; }
.nav .btn { display: none; color: var(--white); text-decoration: none; }
.nav .btn:hover { color: var(--white); text-decoration: none; }
@media (max-width: 1023px) { .nav .nav-link { display: none; } }
@media (max-width: 767px) { .nav .call-link { padding-right: 0; } }
@media (max-width: 359px) { .logo svg { height: 18px; } .nav .call-link { font-size: 19px; } }
@media (min-width: 768px) {
  .header-inner { min-height: 74px; }
  .logo svg { height: 28px; }
  .nav { gap: 8px; }
  .nav .btn { display: inline-flex; margin-left: 8px; }
}

/* Phone bottom bar */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ink);
}
.bottom-bar .btn { flex: 1; }
@media (min-width: 768px) { .bottom-bar { display: none; } }

/* Hero */
.hero { padding: 36px 0 var(--section); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 48px; }
}
.tag {
  display: inline-block; background: var(--ink); color: var(--white);
  font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 2px; margin-bottom: 20px; white-space: nowrap;
}
.tag-short { display: none; }
@media (max-width: 520px) { .tag-long { display: none; } .tag-short { display: inline; } }
.hero h1 .hl { color: var(--orange); display: block; }
.hero .sub { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 560px; }
@media (min-width: 768px) { .hero .sub { font-size: 22px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; font-size: 17px; }
.facts li { margin: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.facts a { display: inline-flex; align-items: center; min-height: 44px; }
.facts li::before { content: ""; width: 8px; height: 8px; background: var(--orange); }

/* Low motion: one short entrance for the hero copy, then it stands. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .sub, .hero-actions { animation: rise 620ms var(--ease-enter) both; }
  .hero .sub { animation-delay: 80ms; }
  .hero-actions { animation-delay: 160ms; }
}
@keyframes rise { from { opacity: .2; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* Sample site on a phone */
.mockup { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone { width: 270px; max-width: 100%; background: var(--ink); border-radius: 34px; padding: 10px; box-shadow: 0 18px 36px rgba(22, 24, 28, .18); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; margin-left: -32px; width: 64px; height: 16px; background: var(--ink); border-radius: 10px; z-index: 2; }
.screen { background: var(--white); border-radius: 26px; overflow: hidden; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 13px; line-height: 1.45; color: #1B2430; }
.s-top { display: flex; justify-content: space-between; align-items: center; padding: 38px 16px 10px; border-bottom: 1px solid #E3E7EC; }
.s-brand { font-weight: 700; font-size: 14px; color: var(--sample); }
.s-menu { width: 18px; height: 12px; border-top: 2px solid #1B2430; border-bottom: 2px solid #1B2430; position: relative; }
.s-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #1B2430; }
.s-hero { background: #EEF3F8; padding: 16px; }
.s-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--sample); background: var(--white); border: 1px solid #C9D7E6; border-radius: 4px; padding: 2px 8px; margin-bottom: 8px; }
.s-title { font-weight: 700; font-size: 18px; line-height: 1.2; margin: 0 0 6px; }
.s-text { color: #4A5563; margin: 0 0 12px; }
.s-btns { display: grid; gap: 8px; }
.s-btn { display: block; text-align: center; border-radius: 6px; padding: 9px 10px; font-weight: 700; font-size: 13px; }
.s-btn-call { background: var(--sample); color: var(--white); }
.s-btn-quote { background: var(--white); color: #1B2430; border: 1px solid #C9D2DC; }
.s-list { padding: 14px 16px 6px; }
.s-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4A5563; margin: 0 0 8px; }
.s-item { display: flex; justify-content: space-between; align-items: center; border: 1px solid #E3E7EC; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; font-weight: 600; }
.s-item span:last-child { color: var(--sample); }
.s-foot { padding: 8px 16px 18px; color: #4A5563; font-size: 11px; }
.mockup figcaption { margin-top: 14px; font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; text-align: center; }
@media (max-width: 767px) {
  .phone { width: 240px; }
  .s-list, .s-foot { display: none; }
}

/* How we work */
.work-grid { max-width: 860px; }
.work-grid h2 { margin: 0; }
.work-lines { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.work-lines li { font-family: inherit; font-weight: 400; font-size: 18px; line-height: 1.5; padding: 12px 0 12px 22px; margin: 0; border-bottom: 1px solid var(--line); position: relative; }
.work-lines strong { font-family: var(--head); font-weight: 700; font-size: 22px; }
.work-lines li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 10px; background: var(--orange); }

/* Problem: three plain rows, no cards */
.rows { display: grid; gap: 0 32px; margin-top: 28px; }
@media (min-width: 768px) { .rows { grid-template-columns: repeat(3, 1fr); } }
.rows > div { border-top: 4px solid var(--ink); padding: 18px 0 12px; }
.rows h3 { margin-bottom: 10px; }
.rows p { color: var(--muted); margin: 0; }

/* Pricing */
.grid-2 { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.price-card { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 0 24px 24px; }
.price-card h3 { margin: 0 -24px; padding: 12px 24px; background: var(--ink); color: var(--white); font-size: 26px; text-transform: uppercase; letter-spacing: 0.03em; }
.price { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 11vw, 72px); line-height: 1; margin: 20px 0 8px; letter-spacing: -0.01em; }
.price-card .for { color: var(--muted); min-height: 3.1em; }
.checks { list-style: none; padding: 0; margin: 8px 0 24px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 10px 0 10px 30px; margin: 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 14px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); rotate: -45deg; }
.price-card .btn { margin-top: auto; }
.promise-band { margin-top: 20px; background: var(--ink); color: var(--on-dark); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 8px 32px; align-items: center; }
@media (min-width: 768px) { .promise-band { grid-template-columns: auto 1fr; } }
.promise-band h3 { color: var(--white); text-transform: uppercase; margin: 0; }
.promise-band p { margin: 0; font-size: 19px; }
.promise-band a { color: var(--on-dark-link); }
.promise-band a:hover { color: var(--white); }
.pricing-more { margin: 20px 0 0; color: var(--muted); }

/* How it works: three steps on one line */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { margin: 0; border-top: 4px solid var(--ink); padding-top: 14px; }
.steps .num { display: block; font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--orange); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* Dealt moment (Taste word-highlight): words turn from half ink to ink as they cross the screen. Color only. */
.statement-sec { background: var(--paper); }
.statement { font-size: clamp(40px, 7.5vw, 84px); line-height: 1.02; max-width: 16ch; margin: 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement span {
      color: #74767B;
      animation: ink linear both;
      animation-timeline: view();
      animation-range: cover calc(25% + var(--i) * 1.5%) cover calc(30% + var(--i) * 1.5%);
    }
    .statement .hit { animation-name: ink-hit; }
  }
}
@keyframes ink { to { color: var(--ink); } }
@keyframes ink-hit { to { color: var(--orange); } }

/* FAQ */
.faq { margin-top: 28px; max-width: 860px; border-top: 2px solid var(--ink); padding-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 16px 48px 16px 0; min-height: 44px;
  font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-dark); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; margin-top: -1.5px; width: 18px; height: 3px; background: var(--orange); }
.faq summary::after { rotate: 90deg; transition: rotate 150ms var(--ease); }
.faq details[open] summary::after { rotate: 0deg; }
.faq .answer { padding: 0 0 20px; max-width: 72ch; }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer ul { padding-left: 20px; }

/* Final call to action */
.section-dark { background: var(--ink); color: var(--on-dark); border-top: 6px solid var(--orange); }
.section-dark h2 { color: var(--white); }
.section-dark .lede { color: var(--on-dark-muted); }
.section-dark a { color: var(--on-dark-link); }
.section-dark a:hover { color: var(--white); }
.cta-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } }
.next { list-style: none; padding: 0; margin: 24px 0; }
.next li { padding: 10px 0 10px 22px; margin: 0; border-top: 1px solid #3A3D44; position: relative; }
.next li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 10px; background: var(--orange); }
.cta-call { font-family: var(--head); font-weight: 700; font-size: 26px; margin: 0; }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 24px; }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.fields { display: grid; gap: 18px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 12px;
  font: inherit; font-size: 18px; color: var(--ink);
  background: var(--white); border: 2px solid var(--field); border-radius: var(--r);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(192, 62, 12, .25); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--orange-dark); border-style: dashed; }
.err { display: none; margin: 6px 0 0; font-size: 16px; font-weight: 600; color: var(--orange-dark); }
.field input:user-invalid + .err, .field select:user-invalid + .err { display: block; }
.honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 22px; }
.form-note { font-size: 16px; color: var(--muted); margin: 14px 0 0; }
.section-dark .form-card a { color: var(--ink); }
.section-dark .form-card a:hover { color: var(--orange-dark); }
.fallback { margin: 16px 0 0; font-size: 17px; }

/* Footer */
.site-footer { background: var(--paper); border-top: 2px solid var(--ink); padding: 40px 0 32px; font-size: 17px; color: var(--muted); }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer p { margin-bottom: 6px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .footer-name { color: var(--ink); font-weight: 600; }
.site-footer .logo svg { height: 22px; }
.footer-small { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; font-size: 16px; display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }
.footer-small p { margin: 0; }

/* Simple pages (thanks, privacy) */
.simple { min-height: 60vh; display: flex; align-items: center; }
.simple .panel { max-width: 640px; margin: 0 auto; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 32px 24px; text-align: center; }
.simple h1 { font-size: clamp(40px, 9vw, 64px); }
.prose { max-width: 68ch; }
.prose h1 { font-size: clamp(44px, 10vw, 72px); }
.prose h2 { font-size: 32px; margin-top: 36px; }
