/* Pehal Gig marketing site. One stylesheet, no framework.
   Brand: teal #00b59c -> blue #0284c7 (from the live site). Text/buttons use darker
   shades (#007a6a, #0369a1) so contrast passes WCAG 2.1 AA. */
:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #475569;
  --bg: #f8fafc;
  --white: #ffffff;
  --line: #e2e8f0;
  --teal: #00b59c;
  --teal-dark: #007a6a;
  --teal-tint: #e6f7f4;
  --blue: #0284c7;
  --blue-dark: #0369a1;
  --blue-tint: #e8f3fb;
  --navy: #0b0f19;
  --grad: linear-gradient(135deg, #00806f, #0369a1);
  --grad-soft: linear-gradient(135deg, #00b59c, #0284c7);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
section { padding: 72px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.util-bar { background: var(--navy); color: #cbd5e1; font-size: .85rem; }
.util-bar .container { display: flex; justify-content: flex-end; gap: 20px; padding-top: 6px; padding-bottom: 6px; }
.util-bar a { color: #e2e8f0; text-decoration: none; }
.util-bar a:hover { color: #5eead4; text-decoration: underline; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; max-width: var(--max); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 48px; width: auto; display: block; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--grad); color: #fff; opacity: .92; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .util-bar .container { justify-content: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem; padding: 13px 24px; border-radius: 10px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn:hover { color: #fff; opacity: .92; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 11px 22px; }
.btn-ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: 72px 0 56px; background:
  radial-gradient(900px 420px at 88% -10%, rgba(2, 132, 199, .15), transparent 60%),
  radial-gradient(700px 380px at 4% 0%, rgba(0, 181, 156, .17), transparent 60%), var(--bg); }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 8px; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: left; }
.stat strong { display: block; font-size: 1.75rem; line-height: 1.1; color: var(--ink); font-weight: 800; }
.stat span { font-size: .92rem; color: var(--muted); }
.stats-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 700; text-decoration: none; margin-top: 4px; }
.card .more::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cbd5e1; }
a.card h3 { color: var(--ink); }
a.card .more { color: var(--blue-dark); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps strong { display: block; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--teal-tint); color: var(--ink); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--ink); caption-side: top; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding-bottom: 8px; color: var(--text); }

/* Breadcrumbs, page header */
.crumbs { font-size: .9rem; color: var(--muted); padding: 20px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #94a3b8; }
.crumbs a { color: var(--muted); }
.page-head { padding: 24px 0 48px; background: radial-gradient(800px 300px at 90% -20%, rgba(2, 132, 199, .12), transparent 60%), radial-gradient(600px 260px at 0% 0%, rgba(0, 181, 156, .13), transparent 60%), var(--bg); }
.page-head h1 { max-width: 24ch; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 2.8rem); }
.answer-box { background: var(--white); border-left: 5px solid var(--teal); border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow); margin: 24px 0 0; max-width: 780px; color: var(--ink); font-size: 1.1rem; }
.updated { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* Prose (guides, legal) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose table { margin: 1em 0; }
.prose .table-wrap { margin: 1.2em 0; }
.prose blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 4px solid var(--blue); background: var(--blue-tint); border-radius: 0 12px 12px 0; }
.prose .sources li { font-size: .95rem; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 110px; }
.aside-card h3 { font-size: 1.05rem; }
.aside-card ul { padding-left: 1.1em; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 5px; background: var(--teal-tint); border: 2px solid var(--teal-dark); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.pill-list li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* CTA band and form */
.cta-band { background: var(--navy); color: #cbd5e1; }
.cta-band h2 { color: #fff; }
.cta-band a { color: #5eead4; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .cta-grid { grid-template-columns: 1fr; } }
.quote-form { background: var(--white); border-radius: var(--radius); padding: 28px; color: var(--text); }
.quote-form h3 { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; padding: 11px 12px; border: 1.5px solid #94a3b8; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-dark); outline: 3px solid rgba(2, 132, 199, .25); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: #b91c1c; }
.quote-form .btn { margin-top: 18px; width: 100%; }

/* Footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #5eead4; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; margin-bottom: 14px; }
.site-footer address strong { color: #e2e8f0; display: block; }
.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .util-bar { display: none; } body { background: #fff; } }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* layout refinements */
.two-col .steps { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .two-col .steps { grid-template-columns: 1fr; } }
.page-head + section { padding-top: 48px; }
.two-col > .prose > h2:first-child { margin-top: 0; }
.stat strong { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.75rem); overflow-wrap: anywhere; }

/* tables: row headers wrap and are quieter than column headers */
tbody th { white-space: normal; background: var(--bg); font-weight: 700; min-width: 9em; }
.table-wrap table { min-width: 600px; }
caption { text-align: left; padding: 14px 16px; font-weight: 700; color: var(--ink); }

/* grid children may shrink below their content so wide tables scroll inside .table-wrap */
.two-col > * { min-width: 0; }
