/* Doddletax sales site: fresh brand, light and clean, coral accent. */
:root {
  --ink: #14213a;
  --ink-soft: #46526a;
  --coral: #ff6a3d;
  --coral-dark: #e85628;
  --mint: #1fbf8f;
  --amber: #f5aa42;
  --red: #eb5757;
  --soft: #f7f8fb;
  --line: #e7ebf1;
  --grey: #6b7890;
  --white: #fff;
  --radius: 18px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(20, 33, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--coral); }
.muted { color: var(--grey); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; transition: transform .06s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; flex: 0 0 auto; }
.brand .dot { width: 28px; height: 28px; border-radius: 9px; background: var(--coral); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 64px 0 48px; background: linear-gradient(180deg, #fff5f1 0%, #ffffff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--coral); }
.hero .sub { font-size: 1.2rem; max-width: 30ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; }
.hero-phone { justify-self: center; max-width: 320px; filter: drop-shadow(0 24px 48px rgba(20,33,58,.18)); }
.reassure { font-size: .9rem; color: var(--grey); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.soft-bg { background: var(--soft); }

.step-num { width: 44px; height: 44px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* App showcase */
.app-show { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-show .phones { display: flex; gap: 18px; justify-content: center; }
.app-show .phones img { max-width: 230px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding: 8px 0 8px 32px; position: relative; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 999px; background: var(--mint); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 16px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--ink); color: #fff; font-weight: 700; }
.compare td.yes { color: var(--mint); font-weight: 700; }
.compare td.no { color: var(--grey); }
.compare .us { background: #fff6f2; font-weight: 700; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.tier.popular { border: 2px solid var(--coral); box-shadow: var(--shadow); }
.tier .badge { align-self: flex-start; background: #fff0ea; color: var(--coral-dark); font-weight: 700; font-size: .75rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.tier .price { font-size: 2rem; font-weight: 800; margin: 6px 0 2px; }
.tier .price small { font-size: .9rem; font-weight: 600; color: var(--grey); }
.tier ul { list-style: none; padding: 0; margin: 14px 0; flex: 1; }
.tier li { padding: 6px 0; color: var(--ink-soft); font-size: .95rem; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.calc .out { font-size: 2.6rem; font-weight: 800; color: var(--coral); line-height: 1; font-variant-numeric: tabular-nums; }
/* Swish calculator */
.calc label { display: block; font-weight: 700; margin: 16px 0 0; }
.calc label:first-of-type { margin-top: 0; }
.calc label .cval { color: var(--coral); font-weight: 800; }
.calc label .qual { color: var(--grey); font-weight: 600; font-size: .9em; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: #ece7e1; margin: 12px 0 4px; outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); border: 4px solid #fff; box-shadow: 0 2px 7px rgba(255,106,61,.5); cursor: pointer; transition: transform .12s; }
.calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--coral); border: 4px solid #fff; box-shadow: 0 2px 7px rgba(255,106,61,.5); cursor: pointer; }
.plan-toggle { display: flex; gap: 6px; margin-top: 22px; background: #f1ede8; padding: 5px; border-radius: 999px; }
.plan-opt { flex: 1; border: 0; background: transparent; padding: 11px 12px; border-radius: 999px; font-weight: 700; font-size: .94rem; color: var(--grey); cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.plan-opt.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.plan-opt .addon { font-size: .78rem; color: var(--coral); font-weight: 800; }
.calc-result { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; }
.calc-result .lbl { font-size: .85rem; color: var(--grey); }
.plan-name { font-weight: 800; font-size: 1.25rem; }
.calc-break { margin-top: 12px; font-size: .88rem; color: var(--ink-soft); }
.free-pill { display: inline-block; background: #eaf7f1; color: #0f7a52; font-weight: 700; font-size: .72rem; padding: 3px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* Forms */
.waitlist { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; }
.waitlist h2 { color: #fff; }
.waitlist p { color: #c7cedd; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: .85rem; font-weight: 600; color: #c7cedd; }
.field input, .field select { padding: 13px 14px; border-radius: 12px; border: 1px solid #2c3a57; background: #1c2a45; color: #fff; font-size: 1rem; }
.field input::placeholder { color: #7e8aa3; }
.form-note { font-size: .82rem; color: #9aa6bd; margin-top: 8px; }
.form-ok { background: var(--mint); color: #06291f; padding: 14px 18px; border-radius: 12px; font-weight: 700; }

/* Footer */
.footer { background: var(--soft); border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer a { color: var(--grey); display: block; padding: 4px 0; }
.footer a:hover { color: var(--coral); }
.footer .col span { font-weight: 700; color: var(--ink); display: block; margin-bottom: 8px; }
.copyright { color: var(--grey); font-size: .82rem; margin-top: 28px; }

/* App store badges (placeholder until published) */
.store-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 26px; font-weight: 700; min-width: 150px; }
.store-badge small { display: block; font-weight: 600; font-size: .68rem; color: #9aa6bd; margin-top: 2px; letter-spacing: .04em; text-transform: uppercase; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .grid-2, .app-show { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 420px; }
  .hero-phone { order: -1; max-width: 260px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* ============================================================
   MODERN LAYER 2.0: swish refresh (appended; overrides above)
   ============================================================ */
:root{
  --teal:#2A7A7A; --teal-deep:#1d5a5a; --teal-tint:#e8f3f2;
  --coral-tint:#fff0ea;
  --grad-coral: linear-gradient(135deg,#ff7a4d 0%,#ff5a2c 100%);
  --grad-teal: linear-gradient(135deg,#2f8a86 0%,#1d5a5a 100%);
  --ring: 0 1px 0 rgba(255,255,255,.6) inset;
  --shadow-lg: 0 24px 60px -18px rgba(20,33,58,.28);
  --shadow-sm: 0 6px 20px rgba(20,33,58,.07);
}
body{ font-size:17px; background:
  radial-gradient(60rem 40rem at 110% -10%, #fff3ee 0, transparent 55%),
  radial-gradient(50rem 40rem at -10% 8%, #eaf5f3 0, transparent 50%), #fff; background-attachment:fixed; }

/* Type */
h1{ font-size:clamp(2.4rem,5.2vw,4rem); letter-spacing:-.03em; }
h2{ font-size:clamp(1.8rem,3.6vw,2.6rem); letter-spacing:-.02em; }
.hero h1 span{ background:var(--grad-coral); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* Eyebrow as a pill */
.eyebrow{ display:inline-block; background:var(--coral-tint); color:var(--coral-dark);
  padding:6px 14px; border-radius:999px; font-size:.72rem; }
.eyebrow.teal{ background:var(--teal-tint); color:var(--teal-deep); }
section .center > .eyebrow{ margin-bottom:6px; }

/* Buttons: gradient + glow + lift */
.btn{ transition:transform .15s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease; }
.btn-primary{ background:var(--grad-coral); box-shadow:0 10px 24px -8px rgba(255,90,44,.6), var(--ring); }
.btn-primary:hover{ background:var(--grad-coral); transform:translateY(-2px); box-shadow:0 16px 34px -10px rgba(255,90,44,.7), var(--ring); }
.btn-ghost{ background:rgba(255,255,255,.7); backdrop-filter:blur(6px); }
.btn-ghost:hover{ transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.btn-teal{ background:var(--grad-teal); color:#fff; box-shadow:0 10px 24px -8px rgba(29,90,90,.5), var(--ring); }
.btn-teal:hover{ transform:translateY(-2px); }

/* Hero: layered glow */
.hero{ position:relative; overflow:hidden; padding:88px 0 64px; background:transparent; }
.hero::before{ content:""; position:absolute; inset:-30% -10% auto auto; width:46rem; height:46rem;
  background:radial-gradient(circle at 70% 30%, rgba(255,106,61,.22), transparent 60%); pointer-events:none; }
.hero .sub{ font-size:1.25rem; max-width:34ch; color:var(--ink-soft); }
.hero-phone{ filter:drop-shadow(0 34px 60px rgba(20,33,58,.24)); animation:floaty 6s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-12px) } }

/* Cards: lift + hairline */
.card{ border-radius:22px; box-shadow:var(--shadow-sm); transition:transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, border-color .2s ease; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:#dfe6ef; }

/* Two-product layout */
.products{ display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-top:40px; }
.product{ position:relative; background:#fff; border:1px solid var(--line); border-radius:26px; padding:34px 30px;
  box-shadow:var(--shadow-sm); overflow:hidden; transition:transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.product:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.product::before{ content:""; position:absolute; top:0; left:0; right:0; height:5px; background:var(--accent,var(--grad-coral)); }
.product .chip{ width:52px; height:52px; border-radius:15px; display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; background:var(--chip-bg,var(--coral-tint)); margin-bottom:16px; color:var(--coral); }
.product.teal .chip{ color:#0f766e; }
.product .chip svg{ display:block; width:26px; height:26px; }
/* Showcase frame for product screenshots (designed mockups, no client data) */
.shot{ border-radius:16px; border:1px solid var(--line); box-shadow:var(--shadow-lg); background:#fff; max-width:100%; display:block; }
.shot-wrap{ position:relative; }
.shot-wrap .shot-phone{ position:absolute; right:-6px; bottom:-18px; width:120px; border-radius:18px; box-shadow:var(--shadow-lg); border:4px solid #fff; }
#modules{ position:relative; }
#modules::before{ content:""; position:absolute; inset:auto auto -12% -8%; width:34rem; height:34rem; background:radial-gradient(circle,rgba(29,158,117,.10),transparent 60%); pointer-events:none; }
#modules .wrap{ position:relative; }
.product h3{ font-size:1.5rem; letter-spacing:-.02em; }
.product .role{ font-weight:700; font-size:.74rem; text-transform:uppercase; letter-spacing:.1em; color:var(--accent-ink,var(--coral-dark)); }
.product ul{ list-style:none; padding:0; margin:16px 0 22px; }
.product ul li{ position:relative; padding:7px 0 7px 26px; color:var(--ink-soft); font-size:.98rem; }
.product ul li::before{ content:"✓"; position:absolute; left:0; color:var(--accent-ink,var(--coral-dark)); font-weight:800; }
.product.teal{ --accent:var(--grad-teal); --chip-bg:var(--teal-tint); --accent-ink:var(--teal-deep); }

/* Better-together band */
.together{ position:relative; text-align:center; background:var(--grad-teal); color:#fff; border-radius:26px; padding:44px 28px; box-shadow:var(--shadow-lg); overflow:hidden; }
.together::after{ content:""; position:absolute; inset:auto -10% -60% auto; width:30rem; height:30rem; background:radial-gradient(circle,rgba(255,106,61,.35),transparent 60%); }
.together h2{ color:#fff; position:relative; }
.together p{ color:#eaf6f4; max-width:60ch; margin:0 auto 8px; position:relative; }
.together .plus{ display:inline-flex; align-items:center; gap:14px; font-weight:800; margin-bottom:14px; position:relative; }
.together .plus span{ background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:8px 18px; backdrop-filter:blur(6px); }
/* Left-aligned teal panel (e.g. the Tax Compliance core module): flush with the heading, readable ticks */
.together-left{ text-align:left; }
.together-left p{ margin-left:0; margin-right:0; max-width:66ch; }
.together .ticks li{ color:#eaf6f4; }
.together .ticks li::before{ background:rgba(255,255,255,.92); }
.together .ticks li::after{ border-left-color:#0f766e; border-bottom-color:#0f766e; }

/* Reveal on scroll */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in{ opacity:1; transform:none; }

/* Nav polish */
.nav-links a[href*="waitlist"], .nav-links a.btn{ box-shadow:0 8px 20px -8px rgba(255,90,44,.55); }

@media (max-width:900px){ .products{ grid-template-columns:1fr; } .hero{ padding:56px 0 40px; } }

.brand img { height: 30px; width: auto; display: block; }
.footer .brand img { height: 34px; }
