/* Waronga public site — standalone stylesheet (no framework) */

:root {
    --brand: #ee4a2f;
    --brand-dark: #c93a22;
    --brand-soft: #fdece8;
    --ink: #16181d;
    --ink-2: #3d424d;
    --muted: #6b7180;
    --line: #e7e3df;
    --bg: #fbf9f7;
    --surface: #ffffff;
    --navy: #1b2033;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 8px 24px rgba(22, 24, 29, .06);
    --wrap: 1160px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font: 400 17px/1.65 var(--font);
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.5em;
    border: 1.5px solid transparent; border-radius: 999px;
    font: 600 .95rem/1 var(--font);
    cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand); }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 249, 247, .85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 32px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.is-active { color: var(--ink); background: rgba(22, 24, 29, .05); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: .7em 1.2em; }

.nav-toggle {
    display: none; margin-left: auto;
    width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: transparent; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; margin: 0 auto;
    background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .site-header .wrap { flex-wrap: wrap; height: auto; min-height: 64px; gap: 0; }
    .nav, .header-actions { display: none; width: 100%; }
    .site-header.is-open .nav { display: flex; flex-direction: column; align-items: stretch; padding: 8px 0; }
    .site-header.is-open .header-actions { display: flex; padding: 0 0 16px; }
    .site-header.is-open .header-actions .btn { flex: 1; }
    .nav a { padding: 12px 14px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .75); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-head { max-width: 680px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(255, 255, 255, .65); }

.eyebrow {
    display: inline-block; margin-bottom: 16px;
    color: var(--brand); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 540px; margin-bottom: 32px; }
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-media::before {
    content: ""; position: absolute; inset: 8% 0 0;
    background: radial-gradient(closest-side, var(--brand-soft), transparent);
    z-index: -1;
}
.hero-media img { max-height: 560px; width: auto; }
.hero-note { margin-top: 20px; font-size: .9rem; color: var(--muted); }

.page-hero { padding: 72px 0 48px; }
.page-hero .lead { max-width: 640px; }

@media (max-width: 880px) {
    .hero { padding: 48px 0 64px; }
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero-media img { max-height: 420px; }
    .section { padding: 72px 0; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.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: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px;
}
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }

.card-media { padding: 0; overflow: hidden; }
.card-media > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-media .card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; }
.card-media .card-body .btn { margin-top: auto; }

a.card { color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }

.icon {
    display: inline-grid; place-items: center; flex: none;
    width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 14px; background: var(--brand-soft); color: var(--brand);
}
.icon svg { width: 24px; height: 24px; }

.feature h3 { font-size: 1.1rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.section-dark .feature p { color: rgba(255, 255, 255, .6); }
.section-dark .icon { background: rgba(238, 74, 47, .15); }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse > :first-child { order: 2; }
.split-media { display: flex; justify-content: center; background: var(--brand-soft); border-radius: var(--radius-lg); padding: 48px 24px 0; overflow: hidden; }
.split-media img { max-height: 460px; width: auto; }
@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split.reverse > :first-child { order: 0; }
    .split + .split { margin-top: 72px; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .2em;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee4a2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-size: .85rem; font-weight: 700; color: var(--brand);
    padding: 6px 12px; border-radius: 999px; background: var(--brand-soft);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.stat strong { display: block; color: var(--ink); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Quotes ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 20px; color: var(--ink); font-size: 1.1rem; font-weight: 500; line-height: 1.5; }
.quote figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }

/* ---------- Pricing ---------- */
.price-card { max-width: 440px; margin: 0 auto; text-align: center; padding: 48px 40px; border: 2px solid var(--ink); }
.price { font-size: 3.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: 12px 0; }
.price-card .checklist { text-align: left; display: inline-block; margin: 24px 0 32px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .8rem; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 24px 0; color: var(--ink); font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; flex: none; display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
    font-weight: 400; font-size: 1.3rem; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 56px 24px 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
    position: relative; overflow: hidden;
    padding: 72px 56px; border-radius: 32px;
    background: var(--brand); color: rgba(255, 255, 255, .85);
    display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta::after {
    content: ""; position: absolute; right: -80px; top: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    border: 56px solid rgba(255, 255, 255, .08);
}
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; max-width: 520px; font-size: 1.1rem; }
.cta > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .cta { padding: 48px 28px; } }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores img { height: 48px; width: auto; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
    font: inherit; font-size: 1rem; color: var(--ink);
    transition: border-color .15s, background .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Prose (legal etc.) ---------- */
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Integrations ---------- */
.integration .logo { height: 72px; display: flex; align-items: center; margin-bottom: 20px; }
.integration .logo img { max-height: 56px; width: auto; max-width: 160px; object-fit: contain; }
.integration .btn { margin-top: auto; }
.integration .linked { background: #e8f6ee; color: #1d7a46; }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list .icon { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; background: var(--ink); color: rgba(255, 255, 255, .6); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .6); }
.site-footer a:hover { color: #fff; }
.site-footer .stores { margin-top: 24px; }
.site-footer .stores img { height: 42px; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Angular notify (help/agent forms) sits above sticky header */
[notifybar] { z-index: 10030; }
.cg-notify-message { font-family: var(--font); border-radius: 12px; }
.section-dark .quote blockquote { color: #fff; }
.price-card h3 { margin-top: 16px; }
.pt-0 { padding-top: 0; }
.cta a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.split.align-start { align-items: start; }
.hero-stores { margin-top: 24px; }
.screenshot { border-radius: 32px; box-shadow: var(--shadow); }
.hero-media img.screenshot { max-height: 520px; }
.split .screenshot { margin-top: 32px; }

/* Let grid children shrink below their content width on small screens */
.hero .wrap > *, .split > *, .grid > * { min-width: 0; }
@media (max-width: 880px) {
    .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .btn-group .btn-lg { width: 100%; }
    .btn { white-space: normal; text-align: center; }
}
@media (max-width: 640px) { .faq details > div { padding-right: 0; } }
