/*
 * godmail.dk landing site — Lovable v3 design port.
 *
 * Design tokens (colors, typography, spacing, radii, shadows) are transcribed
 * from the Lovable reference at godmail-design-v3.lovable.app. Colors are
 * expressed as hex approximations of the source oklch() values so we don't
 * take on a modern-color-function dependency; the visual difference is
 * imperceptible for this palette.
 *
 * Fonts are loaded from Google Fonts (Fraunces + Inter). Future improvement:
 * self-host the WOFF2 files so no IP is sent to fonts.gstatic.com. Google
 * Fonts sets no cookies; the only privacy consideration is the fetch itself.
 */

/* ---- design tokens --------------------------------------------------- */

:root {
    --brand-orange:      #CA7E3F;   /* primary CTA, hero underline accent */
    --brand-orange-25:   rgba(202, 126, 63, 0.25);
    --brand-orange-40:   rgba(202, 126, 63, 0.40);
    --brand-blue:        #1C3A8C;   /* section labels, italic accent text */
    --brand-blue-15:     rgba(28, 58, 140, 0.15);

    --bg:                #FDFCFB;   /* page background */
    --bg-cream:          #F9F8F6;   /* alternating band sections */
    --card:              #FFFFFF;
    --input-bg:          #F5F3F0;
    --muted:             #EEE9E4;

    --ink:               #1F1F2E;   /* headings, body dark */
    --ink-muted:         #7A7A8E;   /* secondary body text */
    --border:            #E8E5E0;
    --border-soft:       rgba(232, 229, 224, 0.70);

    --ok:                #388E3C;
    --warn:              #B71C1C;

    --font-serif:        "Fraunces", "Instrument Serif", ui-serif, Georgia, serif;
    --font-sans:         "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm:         0.5rem;    /* 8px */
    --radius:            1rem;      /* 16px — cards, inputs */
    --radius-lg:         1.5rem;    /* 24px — hero card, pricing */
    --radius-pill:       9999px;

    --shadow-soft:       0 1px 2px rgba(31,31,46,.05), 0 8px 24px -6px rgba(31,31,46,.08);
    --shadow-card:       0 1px 3px rgba(31,31,46,.05), 0 24px 48px -24px rgba(31,31,46,.18);

    --page-max:          72rem;     /* 1152px */
    --pad:               1.5rem;
}

/* ---- reset + base ---------------------------------------------------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.625;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

/* ---- layout primitives ---------------------------------------------- */

.container {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.section { padding: 6rem 0; }
.section--cream { background: var(--bg-cream); }
.section--bg    { background: var(--bg); }

.eyebrow {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-blue);
    font-weight: 600;
    margin: 0 0 1rem;
}
.section-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    max-width: 20ch;
    margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--brand-blue); font-weight: 500; }
.section-lede {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 42em;
    margin-bottom: 2.5rem;
}

/* ---- header --------------------------------------------------------- */

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(253, 252, 251, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 0;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
}
.brand {
    display: inline-flex; align-items: center; gap: 0.65rem;
    text-decoration: none; color: var(--ink);
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500;
    letter-spacing: -0.01em;
}
.brand__logo {
    display: block;
    height: 2rem;
    width: auto;
}

.site-nav {
    display: none;                  /* hidden on mobile */
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--ink-muted);
}
.site-nav a { text-decoration: none; color: inherit; }
.site-nav a:hover { color: var(--ink); }
@media (min-width: 768px) { .site-nav { display: flex; } }

.header-actions { display: inline-flex; align-items: center; gap: 0.75rem; }
.header-phone {
    display: none;                  /* hidden on small screens */
    align-items: center; gap: 0.4rem;
    text-decoration: none; color: var(--ink);
    font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500;
}
@media (min-width: 640px) { .header-phone { display: inline-flex; } }
.header-phone svg { width: 1rem; height: 1rem; color: var(--brand-blue); }

/* ---- buttons -------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem; font-weight: 600;
    line-height: 1.2;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 150ms ease, transform 60ms ease, box-shadow 150ms ease, color 150ms ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--primary {
    background: var(--brand-orange);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}
.btn--primary:hover:not(:disabled) { filter: brightness(0.96); color: var(--ink); }

.btn--dark {
    background: var(--ink);
    color: var(--bg);
    box-shadow: var(--shadow-soft);
}
.btn--dark:hover:not(:disabled) { background: #10101a; color: var(--bg); }

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--outline:hover:not(:disabled) { background: var(--ink); color: var(--bg); }

.btn--ghost {
    background: rgba(255,255,255,0.5);
    color: var(--ink);
    border-color: var(--border);
}
.btn--ghost:hover:not(:disabled) { background: var(--card); }

.btn--wide { width: 100%; }
.btn--lg   { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn svg   { width: 1rem; height: 1rem; }

/* ---- hero ----------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background: linear-gradient(160deg, #F9F5EE 0%, #F0DCC3 60%, #EED4B4 100%);
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
}
.hero::before {
    top: -10%; right: -10%;
    width: 40rem; height: 40rem;
    background: var(--brand-orange-40);
    opacity: 0.55;
}
.hero::after {
    bottom: -20%; left: -20%;
    width: 40rem; height: 40rem;
    background: var(--brand-blue-15);
    opacity: 0.85;
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
    .hero      { padding: 7rem 0 5rem; }
}

.hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero__badge svg { width: 0.9rem; height: 0.9rem; color: var(--brand-orange); }

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.02;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; color: var(--brand-blue); font-weight: 500; }
.hero__title .accent {
    color: var(--brand-orange); font-style: normal; position: relative;
    display: inline-block;
}
.hero__title .accent::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -0.35em;
    height: 0.35em;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q 50 -2 100 6 T 198 6' fill='none' stroke='%23CA7E3F' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
    pointer-events: none;
}

.hero__lede {
    font-size: 1.15rem;
    color: var(--ink-muted);
    max-width: 32em;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__bullets {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 0.75rem;
}
@media (min-width: 640px) {
    .hero__bullets { grid-template-columns: repeat(2, 1fr); gap: 0.85rem 1.5rem; }
}
.hero__bullets li {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--ink);
}
.hero__bullets .check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.5rem; height: 1.5rem;
    background: var(--brand-orange-25); color: var(--brand-blue);
    border-radius: 50%;
    flex: 0 0 auto;
}
.hero__bullets .check svg { width: 0.85rem; height: 0.85rem; }

/* ---- signup card ---------------------------------------------------- */

.signup {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .signup { padding: 2.5rem; } }

.signup__step {
    display: inline-block;
    background: var(--brand-orange-25); color: var(--brand-blue);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
    font-weight: 600;
}
.signup__progress {
    display: inline-flex; gap: 0.4rem;
    margin-left: 0.75rem;
    vertical-align: middle;
}
.signup__progress span {
    display: inline-block; width: 2rem; height: 0.3rem;
    border-radius: var(--radius-pill);
    background: var(--border);
}
.signup__progress span.active { background: var(--brand-orange); }

.signup__title {
    font-size: 1.75rem;
    margin: 1rem 0 0.5rem;
    line-height: 1.15;
}
.signup__lede {
    color: var(--ink-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.signup label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 1rem 0 0.35rem;
    color: var(--ink);
}

.signup input[type="text"],
.signup input[type="email"],
.signup input[type="password"],
.signup input[type="tel"] {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.signup input:focus {
    outline: none;
    border-color: var(--brand-orange);
    background: #fff;
    box-shadow: 0 0 0 4px var(--brand-orange-25);
}
.signup input.error { border-color: var(--warn); }

/* email + @godmail.dk suffix */
.signup__email-row {
    display: flex; align-items: stretch;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    overflow: hidden;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.signup__email-row:focus-within {
    border-color: var(--brand-orange);
    background: #fff;
    box-shadow: 0 0 0 4px var(--brand-orange-25);
}
.signup__email-row input {
    border: 0 !important; box-shadow: none !important;
    flex: 1; background: transparent;
    padding: 0.85rem 1rem;
    font-size: 1rem;
}
.signup__email-suffix {
    display: inline-flex; align-items: center;
    padding: 0 1.25rem;
    background: var(--muted);
    color: var(--ink-muted);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    border-left: 1px solid var(--border);
}

.signup__submit {
    margin-top: 1.5rem;
}
.signup__trust {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
    text-align: center;
}
.signup__trust svg { width: 0.85rem; height: 0.85rem; }

/* password rules list */
.pw-rules {
    list-style: none; padding: 0;
    margin: 0.5rem 0 0.75rem;
    font-size: 0.85rem;
}
.pw-rules li {
    color: var(--ink-muted);
    padding-left: 1.5rem;
    position: relative;
    margin: 0.25rem 0;
    line-height: 1.4;
}
.pw-rules li::before {
    content: ''; position: absolute; left: 0; top: 0.35em;
    width: 0.85rem; height: 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    transition: all 150ms ease;
}
.pw-rules li.pass { color: var(--ink); }
.pw-rules li.pass::before {
    background: var(--ok); border-color: var(--ok);
}
.showpw-row {
    margin-top: 0.75rem; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.showpw-row input { margin: 0; }
.showpw-row label {
    display: inline; font-weight: normal; margin: 0;
    color: var(--ink-muted);
}

.msgbox {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    line-height: 1.4;
}
.msgbox.show { display: block; }
.msgbox.ok   { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.msgbox.warn { background: #ffebee; color: #b71c1c; border: 1px solid #ef9a9a; }

.signup__reset {
    display: inline-block;
    margin-top: 1rem;
    background: none; border: 0; padding: 0;
    color: var(--ink-muted);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

/* ---- features (Fordele) --------------------------------------------- */

.features {
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.feature__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}
.feature__icon svg { width: 1.35rem; height: 1.35rem; }
.feature__icon--soft { background: var(--brand-orange-25); color: var(--brand-blue); }
.feature__icon--strong { background: var(--brand-blue); color: var(--bg); }
.feature h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.feature p  { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* ---- steps (Sådan) -------------------------------------------------- */

.steps-header {
    display: flex; flex-direction: column; gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .steps-header { flex-direction: row; align-items: flex-end; }
}
.steps-header .r-side { flex: 1; }
.steps-header p.hint {
    color: var(--ink-muted);
    max-width: 28em;
    margin: 0;
}

.steps {
    display: grid; gap: 1.75rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.step__num {
    position: absolute;
    top: -1.1rem; left: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem;
    background: var(--ink); color: var(--bg);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.15rem; font-weight: 600;
}
.step__icon {
    color: var(--brand-blue);
    margin-bottom: 0.75rem;
}
.step__icon svg { width: 1.5rem; height: 1.5rem; }
.step h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.step p  { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* ---- pricing -------------------------------------------------------- */

.pricing {
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
    max-width: 62rem; margin: 0 auto;
}
@media (min-width: 768px) { .pricing { grid-template-columns: 1fr 1fr; } }

.plan {
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column;
    position: relative;
}
.plan h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}
.plan__pill {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: var(--muted); color: var(--ink-muted);
    border-radius: var(--radius-pill);
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}
.plan__price {
    display: flex; align-items: baseline; gap: 0.4rem;
    margin: 0.5rem 0 1.5rem;
}
.plan__price .amt {
    font-family: var(--font-serif);
    font-size: 3.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
}
.plan__price .unit { color: var(--ink-muted); font-size: 1.1rem; }
.plan__sub { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.plan__perks {
    list-style: none; padding: 0; margin: 0 0 2rem;
    flex: 1;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.plan__perks li {
    display: flex; align-items: flex-start; gap: 0.65rem;
    font-size: 0.95rem;
}
.plan__perks .tick {
    color: var(--ok);
    flex: 0 0 auto;
    margin-top: 0.15rem;
}
.plan__perks .tick svg { width: 1rem; height: 1rem; }

.plan--featured {
    background: linear-gradient(135deg, #2a2d5c 0%, #1F1F2E 100%);
    color: var(--bg);
    border-color: var(--ink);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.plan--featured h3 { color: var(--bg); }
.plan--featured .plan__pill {
    background: var(--brand-orange); color: var(--ink);
}
.plan--featured .plan__price .unit { color: rgba(255,255,255,0.8); }
.plan--featured .plan__sub { color: rgba(255,255,255,0.75); }
.plan--featured .plan__perks .tick { color: var(--brand-orange); }
.plan--featured::before {
    content: ''; position: absolute;
    top: -4rem; right: -4rem;
    width: 14rem; height: 14rem;
    background: var(--brand-orange-40);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.plan--featured > * { position: relative; }

/* ---- phone banner --------------------------------------------------- */

.phone-banner {
    background: var(--bg-cream);
    padding: 5rem 0;
}
.phone-banner .container {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 768px) {
    .phone-banner .container { grid-template-columns: auto 1fr auto; }
}
.phone-banner__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 5rem; height: 5rem;
    background: var(--brand-orange-25); color: var(--brand-blue);
    border-radius: var(--radius);
}
.phone-banner__icon svg { width: 2.25rem; height: 2.25rem; }
.phone-banner h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 0.5rem; }
.phone-banner p  { color: var(--ink-muted); margin: 0; }
.phone-banner__hours {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 0.5rem; font-size: 0.85rem;
    color: var(--ink-muted);
}
.phone-banner__hours svg { width: 0.9rem; height: 0.9rem; }
.phone-banner__num {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.75rem; font-weight: 500;
    background: var(--ink); color: var(--bg);
    padding: 1rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-soft);
}
.phone-banner__num:hover { background: #10101a; color: var(--bg); }

/* ---- FAQ ------------------------------------------------------------ */

.faq-grid {
    display: grid; gap: 3rem;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }

.faq-list {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:first-child { border-top: 0; }
.faq-list summary {
    padding: 1.35rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.05rem; font-weight: 500;
    color: var(--ink);
    list-style: none;
    transition: color 150ms ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { display: none; }
.faq-list summary:hover { color: var(--brand-blue); }
.faq-list summary::after {
    content: '+';
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.25rem; color: var(--ink-muted);
    transition: all 200ms ease;
    flex: 0 0 auto;
}
.faq-list details[open] summary::after {
    content: '×'; font-size: 1.5rem;
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: rgba(202, 126, 63, 0.08);
}
.faq-list details[open] summary { color: var(--brand-blue); }
.faq-list details p {
    padding: 0 1.5rem 1.35rem;
    color: var(--ink-muted);
    font-size: 0.95rem;
    max-width: 42em;
    margin: 0;
}

/* ---- footer --------------------------------------------------------- */

.site-footer {
    background: var(--bg-cream);
    padding: 3.5rem 0 2rem;
    color: var(--ink-muted);
    font-size: 0.9rem;
}
.site-footer .brand { color: var(--ink); }
.site-footer__grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.site-footer h4 {
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
    font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.5rem 0; }
.site-footer a  { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.site-footer__addr { line-height: 1.7; margin-top: 1.25rem; }
.site-footer__legal {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: rgba(122, 122, 142, 0.85);
}

/* ---- policy pages --------------------------------------------------- */

.policy {
    max-width: 46rem;
    margin: 0 auto;
    padding: 4rem 0;
}
.policy h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
}
.policy .updated {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}
.policy h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}
.policy h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.policy p, .policy ul, .policy table { margin: 0.85rem 0; }
.policy ul { padding-left: 1.5rem; }
.policy li { margin: 0.4rem 0; line-height: 1.6; }
.policy table {
    width: 100%; border-collapse: collapse;
    font-size: 0.95rem;
}
.policy th, .policy td {
    text-align: left; padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.policy th { background: var(--muted); font-weight: 600; }

/* ---- support portal ------------------------------------------------- */

.support-cards {
    display: grid; gap: 1.25rem;
    grid-template-columns: 1fr;
    margin: 2rem 0 3rem;
}
@media (min-width: 700px) { .support-cards { grid-template-columns: repeat(3, 1fr); } }

.support-card {
    display: flex; flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    color: inherit; text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: var(--brand-blue);
}
.support-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
    background: var(--brand-orange-25); color: var(--brand-blue);
    margin-bottom: 1rem;
}
.support-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.support-card p  { margin: 0 0 1.25rem; color: var(--ink-muted); font-size: 0.95rem; line-height: 1.5; flex: 1; }
.support-card__cta {
    display: inline-flex; align-items: center; gap: 0.35rem;
    color: var(--brand-blue); font-weight: 600; font-size: 0.95rem;
}
.support-card__cta svg { width: 0.9rem; height: 0.9rem; }

.support-card--featured {
    position: relative;
    background: linear-gradient(135deg, #2a2d5c 0%, #1F1F2E 100%);
    color: var(--bg);
    border-color: var(--ink);
    overflow: hidden;
}
.support-card--featured::before {
    content: ''; position: absolute;
    top: -3rem; right: -3rem;
    width: 10rem; height: 10rem;
    background: var(--brand-orange-40);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}
.support-card--featured > * { position: relative; }
.support-card--featured h3 { color: var(--bg); }
.support-card--featured .support-card__icon {
    background: var(--brand-orange); color: var(--ink);
}
.support-card--featured p { color: rgba(255,255,255,0.85); }
.support-card--featured .support-card__cta { color: var(--brand-orange); }
.support-card--featured:hover { border-color: var(--ink); filter: brightness(1.08); }

/* ---- support hero --------------------------------------------------- */

.support-hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3rem;
    background: linear-gradient(160deg, #F9F5EE 0%, #F0DCC3 60%, #EED4B4 100%);
}
.support-hero::before, .support-hero::after {
    content: ''; position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
}
.support-hero::before {
    top: -30%; right: -10%;
    width: 30rem; height: 30rem;
    background: var(--brand-orange-40);
    opacity: 0.5;
}
.support-hero::after {
    bottom: -50%; left: -10%;
    width: 28rem; height: 28rem;
    background: var(--brand-blue-15);
    opacity: 0.75;
}
.support-hero__inner { position: relative; z-index: 1; }
.support-hero__title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 1rem 0 0.75rem;
}
.support-hero__title em { font-style: italic; color: var(--brand-blue); font-weight: 500; }
.support-hero__lede {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 42em;
    margin: 0;
}
.support-hero__lede a { color: var(--brand-blue); }
@media (min-width: 1024px) {
    .support-hero { padding: 4.5rem 0 3.5rem; }
}

/* Reduce top padding on the .policy container when it follows a hero. */
.support-hero + main.policy { padding-top: 2rem; }

/* ---- setup guide focus cards --------------------------------------- */

.setup-cards {
    display: grid; gap: 1.25rem;
    grid-template-columns: 1fr;
    margin: 1.5rem 0 3rem;
}
@media (min-width: 700px) { .setup-cards { grid-template-columns: repeat(2, 1fr); } }

.setup-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--brand-orange);
    border-radius: 1rem;
    padding: 1.75rem 1.75rem 1.5rem;
    color: inherit; text-decoration: none;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.setup-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.setup-card__badge {
    display: inline-flex; align-items: center;
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--brand-orange-25);
    color: var(--brand-blue);
    font-size: 0.8rem; font-weight: 600;
    margin-bottom: 0.9rem;
    letter-spacing: 0.01em;
}
.setup-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.setup-card p  { margin: 0 0 1.25rem; color: var(--ink-muted); font-size: 0.95rem; line-height: 1.5; flex: 1; }
.setup-card__cta {
    display: inline-flex; align-items: center; gap: 0.35rem;
    color: var(--brand-orange); font-weight: 600; font-size: 0.95rem;
}
.setup-card__cta svg { width: 0.9rem; height: 0.9rem; }

.setup-card--apple   { border-left-color: var(--brand-blue); }
.setup-card--apple .setup-card__badge { background: var(--brand-blue-15); color: var(--brand-blue); }
.setup-card--apple .setup-card__cta   { color: var(--brand-blue); }

/* ---- setup guide layout -------------------------------------------- */

.guide-lede {
    font-size: 1.05rem;
    color: var(--ink-muted);
    margin: 1rem 0 2rem;
    line-height: 1.65;
}
.guide-settings {
    background: var(--bg-cream);
    border-radius: 0.75rem;
    padding: 1rem 1.4rem;
    margin: 1rem 0 2rem;
}
.guide-settings h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.guide-settings ul { margin: 0; padding-left: 1.25rem; }
.guide-settings li { line-height: 1.55; }

.guide-steps {
    list-style: none; counter-reset: step;
    padding: 0; margin: 0 0 2rem;
}
.guide-steps > li {
    counter-increment: step;
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    margin-bottom: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.85rem;
}
.guide-steps > li::before {
    content: counter(step);
    position: absolute;
    left: 1rem; top: 1.2rem;
    width: 2.25rem; height: 2.25rem;
    background: var(--brand-blue);
    color: var(--bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1rem;
    font-family: 'Fraunces', serif;
}
.guide-steps > li h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}
.guide-steps > li p  { margin: 0.3rem 0; line-height: 1.6; }
.guide-steps > li ul { margin: 0.4rem 0; padding-left: 1.25rem; }
.guide-steps > li ul li { margin: 0.25rem 0; line-height: 1.55; }

.guide-steps__img {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 1rem 0 0.25rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--bg);
}
.guide-steps__img--icon {
    max-width: 96px;
    border: none;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 1.2rem;
}

.guide-table {
    width: 100%; border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.95rem;
}
.guide-table td, .guide-table th {
    text-align: left; padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border);
}
.guide-table th { background: var(--muted); font-weight: 600; }
.guide-table td:first-child { color: var(--ink-muted); width: 40%; }

.guide-callout {
    background: var(--bg-cream);
    border-left: 4px solid var(--brand-orange);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.guide-callout h3 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.guide-callout .guide-table { margin-top: 0.5rem; }

/* ---- ticket form --------------------------------------------------- */

.ticket-form {
    display: flex; flex-direction: column; gap: 1.25rem;
    max-width: 42rem;
    margin: 1rem 0 2rem;
}
.ticket-form__row { display: flex; flex-direction: column; gap: 0.4rem; }
.ticket-form__row label {
    font-weight: 600; font-size: 0.95rem;
}
.ticket-form__row label .req { color: var(--brand-orange); font-weight: 400; }
.ticket-form__row label .opt { color: var(--ink-muted); font-weight: 400; font-size: 0.85rem; }
.ticket-form__row input,
.ticket-form__row textarea {
    font: inherit;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card);
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ticket-form__row input:focus,
.ticket-form__row textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px var(--brand-blue-15);
}
.ticket-form__row textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }
.ticket-form__hint { font-size: 0.85rem; color: var(--ink-muted); }
.ticket-form__err  { font-size: 0.85rem; color: #B03A2E; font-weight: 500; }

.ticket-form__actions {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-top: 0.5rem;
}
.ticket-form__cancel {
    color: var(--ink-muted); text-decoration: none; font-size: 0.95rem;
}
.ticket-form__cancel:hover { color: var(--brand-blue); text-decoration: underline; }

.ticket-alert {
    padding: 0.9rem 1.1rem;
    border-radius: 0.6rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}
.ticket-alert p { margin: 0.25rem 0; }
.ticket-alert--warn {
    background: #FDECEA;
    color: #78261F;
    border-left: 4px solid #B03A2E;
}

.ticket-success {
    text-align: center;
    padding: 2rem 1rem 1rem;
    max-width: 36rem;
    margin: 1rem auto;
}
.ticket-success__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 4rem; height: 4rem;
    background: var(--brand-orange-25);
    color: var(--brand-blue);
    border-radius: 50%;
    margin-bottom: 1rem;
}
.ticket-success h2 { margin: 0 0 0.75rem; font-size: 1.5rem; }
.ticket-success p  { color: var(--ink-muted); line-height: 1.6; }

/* ---- knowledge base ------------------------------------------------- */

.crumbs {
    font-size: 0.9rem; color: var(--ink-muted);
    margin: 0 0 1.5rem;
    display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
}
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-blue); text-decoration: underline; }
.crumbs span { color: var(--ink-muted); }

.kb-sections {
    display: grid; gap: 1rem;
    grid-template-columns: 1fr;
    margin: 1.5rem 0 3rem;
}
@media (min-width: 700px)  { .kb-sections { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kb-sections { grid-template-columns: repeat(3, 1fr); } }

.kb-section {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    padding: 1.25rem 1.4rem;
    color: inherit; text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.kb-section:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.kb-section h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.kb-section p  { margin: 0 0 0.75rem; color: var(--ink-muted); font-size: 0.9rem; }
.kb-section__cta {
    display: inline-flex; align-items: center; gap: 0.3rem;
    color: var(--brand-blue); font-weight: 600; font-size: 0.9rem;
}
.kb-section__cta svg { width: 0.85rem; height: 0.85rem; }

.kb-list {
    list-style: none; padding: 0; margin: 1rem 0 2rem;
    border-top: 1px solid var(--border);
}
.kb-list li { margin: 0; border-bottom: 1px solid var(--border); }
.kb-list a {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.9rem 0.25rem;
    color: var(--ink); text-decoration: none;
    transition: color 0.15s ease, padding 0.15s ease;
}
.kb-list a:hover { color: var(--brand-blue); padding-left: 0.5rem; }
.kb-list svg { color: var(--brand-blue); width: 0.85rem; height: 0.85rem; flex-shrink: 0; }

.kb-article {
    max-width: none;
}
.kb-article h1 { margin-bottom: 0.5rem; }
.kb-article p, .kb-article ul, .kb-article ol { margin: 0.85rem 0; line-height: 1.65; }
.kb-article ul, .kb-article ol { padding-left: 1.5rem; }
.kb-article li { margin: 0.35rem 0; }
.kb-article img {
    max-width: 100%; height: auto;
    border: 1px solid var(--border); border-radius: 0.5rem;
    margin: 1rem 0;
}
.kb-article a { color: var(--brand-blue); }
.kb-article h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.6rem; }
.kb-article h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.kb-article em, .kb-article i { font-style: italic; }
.kb-article strong, .kb-article b { font-weight: 600; }
/* Neutralise legacy Zendesk wysiwyg classes so imported HTML looks native. */
.kb-article .wysiwyg-font-size-small  { font-size: 0.9rem; }
.kb-article .wysiwyg-font-size-large  { font-size: 1.1rem; }
.kb-article .wysiwyg-color-black20,
.kb-article .wysiwyg-color-black10    { color: var(--ink-muted); }
.kb-article .wysiwyg-underline        { text-decoration: underline; }

.kb-article__back {
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.kb-article__back a { color: var(--brand-blue); text-decoration: none; font-weight: 600; }
.kb-article__back a:hover { text-decoration: underline; }

.kb-article__cta {
    background: var(--brand-orange-25);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.kb-article__cta p { margin: 0; }
.kb-article__cta a { color: var(--brand-blue); font-weight: 600; }

/* ---- utility -------------------------------------------------------- */

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