:root {
    --bg: #f6f8f9;
    --bg-warm: #f1f4f6;
    --bg-glow: #ffffff;
    --bg-shade: #e9eef1;
    --text: #303947;
    --ink: #111827;
    --muted: #5d6877;
    --muted-soft: #7d8794;
    --line: #c7cfd7;
    --line-soft: #e0e5e9;
    --link: #14233a;
    --link-hover: #050b14;
    --accent: #d75249;
    --accent-dark: #b23b35;
    --paper: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 88% -8%, rgba(215, 82, 73, 0.09), transparent 30rem),
        linear-gradient(180deg, #ffffff 0, var(--bg) 38rem);
    background-repeat: no-repeat;
    min-height: 100vh;
}

.page {
    width: min(680px, 92vw);
    margin: 0 auto;
    padding: 2.6rem 0 1.6rem;
}

.hero {
    text-align: center;
    padding: 0.5rem 0 1.5rem;
    animation: fadeInUp 0.8s ease both;
}

.hero-logo {
    width: 116px;
    height: auto;
    margin: 0 auto 1.05rem;
    display: block;
    opacity: 0.92;
}

.brand-name {
    font-size: 0.7rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.7rem;
    margin-right: -0.34em;
}

.hero h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.85rem, 4.4vw, 2.65rem);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -0.018em;
    max-width: 18ch;
    margin: 0 auto;
    color: var(--ink);
}

.subtitle {
    max-width: 46ch;
    margin: 1.05rem auto 0;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.35rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    color: var(--paper);
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0 auto;
    padding: 1.6rem 0 0.2rem;
    animation: fadeInUp 0.7s ease 0.25s both;
}

.ornament-line {
    width: 66px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}

.ornament-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line);
}

.closing {
    padding: 1rem 0 1.4rem;
    text-align: center;
    animation: fadeInUp 0.7s ease 0.35s both;
}

.contact-line {
    max-width: 46ch;
    margin: 0 auto;
    color: var(--muted);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.003em;
}

.email-link {
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--link);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.008em;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.email-link:hover {
    color: var(--link-hover);
    border-color: var(--link);
}

footer {
    margin-top: 1.6rem;
    padding-top: 1.05rem;
    border-top: 1px solid var(--line-soft);
    animation: fadeInUp 0.6s ease 0.5s both;
}

footer p {
    text-align: center;
    color: var(--muted-soft);
    font-size: 0.72rem;
    letter-spacing: 0.025em;
    line-height: 1.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .page {
        padding-top: 1.9rem;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    .hero-logo {
        width: 94px;
    }

    .hero {
        padding-top: 0.4rem;
    }

    .ornament-line {
        width: 48px;
    }
}

/* ============================================================
   Retainers page
   ============================================================ */

.brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.brand-link:hover {
    opacity: 0.7;
}

.hero-retainers h1 {
    max-width: 20ch;
}

.tier-band {
    width: min(1080px, 92vw);
    margin: 0 auto;
    padding: 1.4rem 0 0;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.tier {
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 1.7rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.tier-head {
    margin-bottom: 0.9rem;
}

.tier-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.tier-tag {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 0.98rem;
    color: var(--muted);
    margin-top: 0.35rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

.tier-price {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.8rem 0;
    margin-bottom: 1rem;
}

.tier-price-lead {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.3;
}

.tier-price-lead strong {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.55rem;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin: 0 0.1em;
}

.tier-range {
    font-size: 0.78rem;
    color: var(--muted-soft);
    margin-top: 0.25rem;
    letter-spacing: 0.015em;
}

.tier-for {
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.55;
    margin-bottom: 0.95rem;
}

.step-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--link);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.step-link:hover {
    color: var(--link-hover);
    border-color: var(--link);
}

.tier-footnote {
    margin-top: 1.5rem;
    text-align: center;
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--muted);
}

.tier-footnote a {
    color: var(--link);
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.tier-footnote a:hover {
    color: var(--link-hover);
    border-color: var(--link);
}

.tier-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.tier-list li {
    padding: 0.32rem 0 0.32rem 0.95rem;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px dotted var(--line-soft);
}

.tier-list li:last-child {
    border-bottom: none;
}

.tier-list li::before {
    content: "·";
    position: absolute;
    left: 0.2rem;
    top: 0.2rem;
    color: var(--line);
    font-weight: 700;
    font-size: 1.1rem;
}

/* prose sections after tier band */

.prose-section {
    padding: 2.1rem 0 0.4rem;
}

.section-h {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.012em;
    margin-bottom: 0.95rem;
    text-align: center;
    line-height: 1.2;
}

.section-intro {
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.7;
    max-width: 56ch;
    margin: 0 auto 1.4rem;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0.4rem auto;
    max-width: 56ch;
}

.steps > li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.steps > li:last-child {
    border-bottom: none;
}

.step-head {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.step-num {
    color: var(--muted-soft);
    font-style: italic;
    margin-right: 0.4rem;
}

.step-meta {
    color: var(--muted-soft);
    font-style: italic;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    margin-left: 0.15rem;
}

.step-body {
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.6;
}

.plain-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem auto;
    max-width: 56ch;
    font-size: 0.93rem;
    color: var(--text);
}

.plain-list li {
    padding: 0.5rem 0 0.5rem 1.1rem;
    position: relative;
    line-height: 1.55;
    border-bottom: 1px dotted var(--line-soft);
}

.plain-list li:last-child {
    border-bottom: none;
}

.plain-list li::before {
    content: "·";
    position: absolute;
    left: 0.25rem;
    top: 0.4rem;
    color: var(--line);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Black-and-white editorial treatment for the Laravel offer page */
.offer-page {
    --bg: #ffffff;
    --bg-warm: #f4f4f4;
    --bg-glow: #ffffff;
    --bg-shade: #eeeeee;
    --text: #202020;
    --ink: #050505;
    --muted: #555555;
    --muted-soft: #767676;
    --line: #171717;
    --line-soft: #d4d4d4;
    --link: #050505;
    --link-hover: #000000;
    --accent: #050505;
    --accent-dark: #050505;
    --paper: #ffffff;
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--paper);
}

.offer-page .page {
    width: min(720px, 92vw);
    padding: 2.8rem 0 1.6rem;
}

.offer-page .hero {
    padding: 0.5rem 0 2.25rem;
    animation: none;
}

.offer-page .brand-link,
.offer-page .cta-button,
.offer-page .tier-range,
.offer-page .step-meta,
.offer-page .step-link,
.offer-page footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.offer-page .hero-logo {
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    color: var(--ink);
    opacity: 1;
}

.offer-page .brand-name {
    margin-bottom: 2.4rem;
    color: var(--ink);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.offer-page .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 7vw, 4.6rem);
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.offer-page .subtitle {
    max-width: 52ch;
    margin-top: 1.4rem;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.7;
}

.offer-page .cta-button {
    margin-top: 1.8rem;
    padding: 0.72rem 1rem;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    transition: background 0.2s ease, color 0.2s ease;
}

.offer-page .cta-button:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
    transform: none;
}

.offer-page .ornament {
    padding-top: 1.2rem;
    animation: none;
}

.offer-page .ornament-line {
    background: var(--line);
}

.offer-page .ornament-dot {
    border-radius: 0;
    background: var(--ink);
}

.offer-page .tier-band {
    padding-top: 3rem;
    animation: none;
}

.offer-page .section-h {
    margin-bottom: 1.4rem;
    padding-top: 1.1rem;
    border-top: 4px solid var(--ink);
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    text-align: left;
}

.offer-page .tier-grid {
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.offer-page .tier {
    padding: 1.8rem 1.5rem 1.6rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.offer-page .tier + .tier {
    border-left: 1px solid var(--line);
}

.offer-page .tier-name {
    font-size: 1.7rem;
}

.offer-page .tier-tag {
    color: var(--text);
}

.offer-page .tier-price {
    border-color: var(--line);
}

.offer-page .tier-range {
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.offer-page .tier-for,
.offer-page .tier-list,
.offer-page .section-intro,
.offer-page .step-body,
.offer-page .plain-list {
    color: var(--text);
}

.offer-page .tier-list li,
.offer-page .plain-list li {
    border-color: #aaaaaa;
}

.offer-page .tier-list li::before,
.offer-page .plain-list li::before {
    color: var(--ink);
}

.offer-page .prose-section {
    padding-top: 3.8rem;
}

.offer-page .steps {
    border-top: 1px solid var(--line);
}

.offer-page .steps > li {
    border-color: var(--line-soft);
}

.offer-page .step-num,
.offer-page .step-meta {
    color: var(--muted);
}

.offer-page .step-link,
.offer-page .email-link {
    color: var(--ink);
    border-color: var(--ink);
}

.offer-page .closing {
    margin-top: 3.5rem;
    padding: 2.5rem 0 2rem;
    border-top: 4px solid var(--ink);
    animation: none;
}

.offer-page .contact-line {
    color: var(--ink);
    font-size: 1.35rem;
}

.offer-page footer {
    border-color: var(--line);
    animation: none;
}

.offer-page footer p {
    color: var(--muted);
}

@media (max-width: 1020px) {
    .tier-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tier-band {
        width: min(680px, 92vw);
        padding-top: 0.6rem;
    }

    /* equal-height tagline alignment only matters in the 3-column grid */
    .tier-tag {
        min-height: 0;
    }

    .offer-page .tier-grid {
        gap: 0;
    }

    .offer-page .tier + .tier {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

/* ============================================================
   Homepage landing page
   ============================================================ */

.home-page {
    --bg: #ffffff;
    --bg-warm: #f4f4f4;
    --bg-glow: #ffffff;
    --bg-shade: #eeeeee;
    --text: #202020;
    --ink: #050505;
    --muted: #555555;
    --muted-soft: #767676;
    --line: #171717;
    --line-soft: #d4d4d4;
    --link: #050505;
    --link-hover: #000000;
    --accent: #050505;
    --accent-dark: #050505;
    --paper: #ffffff;
    overflow-x: hidden;
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--bg);
}

.landing-shell {
    width: min(1080px, 92vw);
    margin-inline: auto;
}

.site-header {
    width: min(1080px, 92vw);
    margin: 0 auto;
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    color: var(--ink);
    text-decoration: none;
    flex: 0 1 auto;
}

.site-brand span {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.24rem;
    font-weight: 500;
    letter-spacing: -0.018em;
    white-space: nowrap;
}

.site-brand-short {
    display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.nav-link,
.nav-cta {
    color: var(--link);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-decoration: none;
}

.nav-link {
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
    color: var(--link-hover);
    border-color: var(--line);
}

.nav-cta {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--ink);
    color: var(--link);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
    color: var(--muted);
    border-color: var(--muted);
}

.landing-hero {
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.eyebrow,
.section-label,
.panel-kicker,
.callout-kicker {
    color: var(--accent-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow span {
    color: var(--line);
    margin-inline: 0.25em;
}

.landing-hero h1 {
    max-width: 19ch;
    margin-top: 1rem;
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(3.35rem, 5.5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.96;
}

.hero-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 4rem;
    align-items: start;
    margin-top: 1.7rem;
}

.hero-illustration {
    display: block;
    width: 240px;
    height: auto;
}

.landing-lead {
    max-width: 54ch;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-actions,
.closing-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-top: 2rem;
}

.button-primary,
.button-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.button-primary:hover,
.button-light:hover {
    background: var(--ink);
    color: var(--paper);
}

.button-primary span,
.button-light span {
    margin-left: 0.35em;
}

.text-link,
.service-link,
.direct-email {
    color: var(--link);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover,
.service-link:hover,
.direct-email:hover {
    color: var(--link-hover);
    border-color: var(--link-hover);
}

/* Motifs are placed with scaled <g> transforms; vector-effect does not
   inherit, so it has to be set on the shapes themselves. */

.panel-note {
    margin-top: 1.25rem;
    color: var(--muted);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
}

.expectation-strip {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.82);
}

.expectation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expectation-grid article {
    padding: 1.55rem 2rem;
}

.expectation-grid article + article {
    border-left: 1px solid var(--line-soft);
}

.expectation-title {
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.2;
}

.expectation-grid article > p:last-child {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.landing-section,
.product-section,
.services-section,
.process-section {
    padding-block: clamp(4.5rem, 8vw, 7rem);
    scroll-margin-top: 1rem;
}

.product-section,
.services-section > .landing-shell {
    display: grid;
    grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.product-section {
    row-gap: 1.5rem;
}

.section-aside {
    position: sticky;
    top: 2.25rem;
}

.section-note {
    margin-top: 0.7rem;
    color: var(--muted);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.5;
}

.section-body > h2 + .section-intro-line,
.product-section-heading > .section-intro-line {
    max-width: 60ch;
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.section-body > .product-feature,
.section-body > .service-list {
    margin-top: 3rem;
}

.section-body > h2,
.product-section-heading > h2,
.process-section h2,
.laravel-callout h2,
.landing-closing h2 {
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.process-section > header > p:last-child {
    max-width: 60ch;
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.situation-grid article {
    padding-top: 1.35rem;
    border-top: 2px solid var(--accent);
}

.situation-number {
    color: var(--accent);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.situation-grid h3,
.service-row h3,
.process-steps h3 {
    margin-top: 0.85rem;
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.28rem;
    font-weight: 400;
    line-height: 1.2;
}

.situation-grid article > p:last-child {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

.product-feature {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
}

.product-section > .section-body {
    display: contents;
}

.product-section > .section-aside {
    position: static;
}

.product-section-heading {
    grid-column: 2;
}

.product-section .product-feature {
    margin-top: 0;
}

.product-intro {
    grid-column: 2;
    grid-row: 1;
}

.product-screenshot {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    width: 100%;
    max-width: 180px;
    margin-top: 0;
}

.product-screenshot a {
    display: block;
}

.product-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line-soft);
}

.product-screenshot figcaption {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.product-intro h3 {
    margin-top: 0;
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
}

.product-intro > p:not(.panel-kicker) {
    margin-top: 0.6rem;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.7;
}

.product-intro .service-link {
    display: inline-block;
    margin-top: 0.75rem;
}

.product-visual {
    min-width: 0;
}

.product-points {
    list-style: none;
    border-top: 1px solid var(--line);
}

.product-visual .product-points {
    border-top: 0;
}

.product-points li {
    display: grid;
    grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.15rem 0;
    border-bottom: 1px dotted var(--line);
}

.product-points span {
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.25;
}

.product-points p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.services-section {
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.2fr);
    gap: 2rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid var(--line);
}

.service-row h3 {
    margin-top: 0;
    font-size: 1.55rem;
}

.service-tag {
    margin-top: 0.45rem;
    color: var(--muted);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.4;
}

.service-detail > p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.65;
}

.service-detail ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem 1.25rem;
    list-style: none;
    margin: 1rem 0 1.15rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.service-detail li {
    position: relative;
    padding: 0.35rem 0 0.35rem 0.85rem;
    line-height: 1.5;
}

.service-detail li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.commercial-note {
    display: grid;
    grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.commercial-detail {
    max-width: 70ch;
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.7;
}

.commercial-detail .service-link {
    display: inline-block;
    margin-top: 1rem;
}

.call-note {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.commercial-note strong {
    color: var(--ink);
    font-weight: 600;
}

.process-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.3fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.process-section .commercial-note {
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.3fr);
    gap: clamp(3rem, 8vw, 7rem);
    margin-top: 0;
}

.process-section > header {
    position: sticky;
    top: 2rem;
}

.process-section h2 {
    margin-top: 1rem;
}

.process-steps {
    list-style: none;
    border-top: 1px solid var(--line);
}

.process-steps li {
    display: grid;
    grid-template-columns: minmax(150px, 0.6fr) minmax(0, 1.4fr);
    gap: 1rem;
    align-items: start;
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.process-steps h3 {
    margin-top: 0;
}

.process-steps li > p:last-child {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.laravel-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: clamp(2.5rem, 8vw, 7rem);
    padding: clamp(2.5rem, 6vw, 4.25rem);
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: var(--paper);
}

.laravel-callout .callout-kicker,
.laravel-callout h2 {
    color: var(--paper);
}

.laravel-callout h2 {
    max-width: 18ch;
    margin-top: 0.8rem;
}

.laravel-callout > div:last-child > p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.button-light {
    margin-top: 1.4rem;
    border-color: var(--paper);
    color: var(--paper);
}

.button-light:hover {
    background: var(--paper);
    color: var(--ink);
}

.landing-closing {
    padding-block: 0 clamp(4.5rem, 8vw, 7rem);
    text-align: center;
}

.closing-illustration {
    display: block;
    width: clamp(280px, 38vw, 420px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 1.8rem;
    mix-blend-mode: multiply;
}

.landing-closing h2 {
    margin-top: 0;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.landing-closing > p:not(.section-label) {
    max-width: 52ch;
    margin: 1.2rem auto 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.closing-actions {
    justify-content: center;
}

.landing-closing .direct-email {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(0.85rem, 3.8vw, 1.15rem);
    letter-spacing: -0.005em;
    padding-bottom: 4px;
    border-bottom-width: 2px;
}

.site-footer {
    margin-top: 0;
    padding: 1.25rem 0 2rem;
    border-top: 1px solid var(--line);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    animation: none;
}

.site-footer p {
    font-size: 0.76rem;
}

.consent-settings {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.consent-settings:hover {
    color: var(--link-hover);
}

.consent-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 26rem;
    margin-left: auto;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    line-height: 1.55;
}

.consent-banner[hidden] {
    display: none;
}

.consent-actions {
    display: flex;
    gap: 0.6rem;
}

.consent-actions button {
    flex: 1;
    padding: 0.55rem 1rem;
    border: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.consent-actions button:hover {
    background: var(--ink);
    color: var(--paper);
}

/* Current marketing typography: warmer display serif, simpler sans body */
.home-page,
.offer-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.home-page .landing-hero h1,
.home-page .section-body > h2,
.home-page .product-section-heading > h2,
.home-page .product-intro h3,
.home-page .product-points span,
.home-page .service-row h3,
.home-page .service-tag,
.home-page .process-section h2,
.home-page .process-steps h3,
.home-page .laravel-callout h2,
.home-page .landing-closing h2,
.offer-page .hero h1,
.offer-page .tier-name,
.offer-page .tier-tag,
.offer-page .tier-price-lead strong,
.offer-page .section-h,
.offer-page .step-head,
.offer-page .contact-line {
    font-family: 'Fraunces', Georgia, serif;
}

.home-page a:focus-visible,
.brand-link:focus-visible,
.cta-button:focus-visible,
.step-link:focus-visible,
.email-link:focus-visible,
.tier-footnote a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

@media (max-width: 980px) {
    .process-section .commercial-note {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .product-section-heading {
        grid-column: 1;
    }

    .hero-details {
        display: block;
    }

    .hero-illustration {
        display: none;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .landing-hero h1 {
        max-width: 19ch;
    }

    .product-section,
    .services-section > .landing-shell {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .section-aside {
        position: static;
    }

    .section-body > .product-feature,
    .section-body > .service-list {
        margin-top: 2rem;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .process-section,
    .laravel-callout {
        grid-template-columns: 1fr;
    }

    .process-section > header {
        position: static;
    }
}

@media (max-width: 980px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem 1rem;
        padding-bottom: 0.5rem;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0 1.25rem;
        margin-left: 0;
    }

    .nav-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .nav-cta {
        grid-column: 2;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        white-space: nowrap;
    }
}

@media (max-width: 720px) {
    .landing-hero {
        padding: 2.5rem 0 3rem;
    }

    .landing-hero h1 {
        font-size: clamp(2.65rem, 8vw, 3.1rem);
    }

    .landing-lead {
        font-size: 1rem;
    }

    .expectation-grid,
    .situation-grid {
        grid-template-columns: 1fr;
    }

    .expectation-grid article {
        padding: 1.15rem 0;
    }

    .expectation-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--line-soft);
    }

    .landing-section,
    .product-section,
    .services-section,
    .process-section {
        padding-block: 4rem;
    }

    .product-feature {
        grid-template-columns: 1fr;
    }

    .product-intro {
        grid-column: 1;
    }

    .product-screenshot {
        grid-row: 2;
        margin-top: 0;
    }

    .commercial-note {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .situation-grid {
        gap: 1.8rem;
    }

    .service-row {
        gap: 1rem;
        padding: 1.8rem 0;
    }

    .service-detail ul {
        grid-template-columns: 1fr;
    }

    .process-steps li {
        grid-template-columns: 2.25rem 1fr;
        gap: 0.75rem;
    }

    .process-steps h3,
    .process-steps li > p:last-child {
        grid-column: 2;
    }

    .laravel-callout {
        width: min(100% - 1.5rem, 680px);
        padding: 2.25rem 1.5rem;
    }

    .landing-closing {
        padding-block: 0 5rem;
    }
}

@media (max-width: 480px) {
    .site-brand span {
        font-size: 1.02rem;
        letter-spacing: -0.012em;
    }

    .nav-cta {
        font-size: 0.7rem;
    }

    .eyebrow {
        max-width: 30ch;
    }

    .hero-actions,
    .closing-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-primary,
    .button-light {
        width: 100%;
    }

    .text-link,
    .direct-email {
        align-self: center;
    }

    .product-feature {
        padding: 1.25rem;
    }

    .product-points li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .service-row {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-column: 1;
    }

}

@media (max-width: 360px) {
    .site-brand-full {
        display: none;
    }

    .site-brand-short {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
    }
}

/* Homepage capability list */
.capability-section {
    padding-block: clamp(2rem, 4vw, 3rem) clamp(4.5rem, 8vw, 7rem);
    background: var(--paper);
    scroll-margin-top: 1rem;
}

.capability-section > .landing-shell::before {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--line-soft);
}

.capability-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: end;
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.capability-heading h2 {
    color: var(--ink);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
}

.capability-heading > p {
    max-width: 42ch;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid var(--line-soft);
    border-left: 1px solid var(--line-soft);
}

.capability {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    transition: background-color 0.25s ease;
}

.capability::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.capability:hover {
    background: var(--bg);
}

.capability:hover::before {
    width: 100%;
}

.capability-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.capability-illustration {
    display: block;
    width: 104px;
    height: 104px;
    flex: 0 0 auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.capability-num {
    color: var(--muted-soft);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
}

.capability h3 {
    color: var(--ink);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.capability p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.capability .service-link {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 900px) {
    .capability-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .capability-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .capability {
        border-right: 0;
        padding-inline: 0;
    }

    .capability:hover {
        background: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .capability,
    .capability::before {
        transition: none;
    }
}

.landing-values {
    max-width: 54ch;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--line-soft);
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pricing page */
.pricing-main {
    width: min(720px, 92vw);
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.pricing-main h1,
.pricing-main h2,
.pricing-main h3,
.pricing-main .price-amount {
    color: var(--ink);
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pricing-main h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.pricing-intro {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pricing-main p,
.pricing-main li {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
}

.pricing-main h2 {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.15;
    scroll-margin-top: 1.25rem;
}

.pricing-main h2 + p,
.pricing-main h2 + .pricing-list {
    margin-top: 1rem;
}

.pricing-list {
    margin-top: 1rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.pricing-list li + li {
    margin-top: 0.65rem;
}

.price-group {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
}

.price-offer {
    padding: 1.5rem 0 1.65rem;
    border-bottom: 1px solid var(--line-soft);
}

.price-offer-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1.5rem;
}

.pricing-main h3 {
    font-size: 1.55rem;
    line-height: 1.2;
}

.pricing-main .price-amount {
    font-size: 1.35rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.price-offer > p,
.price-offer > .pricing-list {
    margin-top: 0.85rem;
}

.price-label {
    font-weight: 600;
}

.pricing-main a {
    color: var(--link);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    overflow-wrap: anywhere;
}

.pricing-main a:hover {
    color: var(--link-hover);
}

.nav-link[aria-current="page"] {
    border-bottom-color: var(--ink);
}

@media (max-width: 600px) {
    .pricing-main {
        width: min(720px, 100% - 2rem);
    }

    .price-offer-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-main .price-amount,
    .pricing-main h3 {
        font-size: 1.35rem;
    }
}
