@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

:root {
    --bg: #f4f8f3;
    --bg-soft: #ffffff;
    --panel: rgba(255, 255, 255, 0.84);
    --ink: #101714;
    --muted: #52635c;
    --line: rgba(16, 23, 20, 0.13);
    --green: #155f3f;
    --green-bright: #20a86b;
    --sky: #2687ff;
    --yellow: #f3c74b;
    --graphite: #101413;
    --shadow: 0 18px 48px rgba(20, 53, 39, 0.12);
    --radius-xl: 8px;
    --radius-lg: 8px;
    --radius-md: 8px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 0%, rgba(38, 135, 255, 0.18), transparent 34%),
        radial-gradient(circle at 84% 16%, rgba(32, 168, 107, 0.18), transparent 26%),
        linear-gradient(180deg, #fbfdf9 0%, #eef6ee 56%, #e7f1e9 100%);
    font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 47px,
            rgba(21, 95, 63, 0.026) 47px,
            rgba(21, 95, 63, 0.026) 48px
        );
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
}

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

.site-shell {
    width: min(var(--max), calc(100vw - 32px));
    margin: 0 auto;
}

.topbar {
    padding: 18px 0 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--green) 0%, #0c3020 100%);
    color: #f8fff8;
    display: grid;
    place-items: center;
    font-family: "Iowan Old Style", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-copy strong,
.eyebrow,
.section-label,
.mini-kicker,
.eyebrow-link {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.brand-copy strong {
    display: block;
}

.brand-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.topnav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.topnav .topnav-cta {
    color: #f8fff8;
    background: var(--green);
    border-radius: 8px;
    padding: 7px 11px;
    font-weight: 700;
}

.topnav a:hover,
.eyebrow-link:hover {
    color: var(--green);
}

.topnav .topnav-cta:hover {
    color: #f8fff8;
    background: #0d4a30;
}

.hero {
    padding: 34px 0 36px;
}

.hero-panel,
.content-card,
.feature-card,
.stat-card,
.faq-item,
.article-card,
.strip,
.quote-card,
.fact-grid,
.pricing-card,
.screenshot-card,
.breadcrumb,
.article-hero,
.fact-card,
.cta-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-panel {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(21, 95, 63, 0.96) 0%, rgba(21, 95, 63, 0.74) 40%, rgba(38, 135, 255, 0.18) 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 26px;
    padding: 44px;
}

.hero-copy {
    color: #f9f5ea;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(249, 245, 234, 0.82);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    line-height: 1.04;
}

h1 {
    margin-top: 18px;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    max-width: 10ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    max-width: 14ch;
}

h3 {
    font-size: 1.45rem;
}

.lede,
.hero-copy p,
.content-card p,
.article-copy p,
.faq-answer,
.fact-card p,
.pricing-card p {
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-copy p {
    color: rgba(249, 245, 234, 0.82);
    max-width: 54ch;
    margin: 20px 0 0;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: #f8fff8;
    color: var(--green);
}

.button-secondary {
    border-color: rgba(248, 255, 248, 0.28);
    color: #f8fff8;
}

.button-dark {
    background: var(--green);
    color: #f8fff8;
}

.button-ghost {
    border-color: var(--line);
    color: var(--green);
}

.hero-aside {
    display: grid;
    gap: 16px;
    align-content: end;
}

.stat-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    color: #f8fff8;
    background: linear-gradient(180deg, rgba(17, 44, 33, 0.78), rgba(17, 44, 33, 0.56));
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-family: "Iowan Old Style", Georgia, serif;
}

.stat-card span {
    color: rgba(248, 242, 228, 0.78);
}

.hero-shot {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(248, 255, 248, 0.18);
}

.hero-shot img,
.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main section,
.page-main {
    padding: 36px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head p {
    max-width: 54ch;
    margin: 0;
    color: var(--muted);
}

.section-label,
.mini-kicker {
    display: inline-block;
    color: var(--green);
    margin-bottom: 12px;
}

.stats-grid,
.features-grid,
.article-grid,
.faq-grid,
.fact-grid,
.screenshot-grid,
.pricing-grid {
    display: grid;
    gap: 18px;
}

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

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

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

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

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

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

.content-card,
.feature-card,
.faq-item,
.article-card,
.quote-card,
.fact-card,
.pricing-card,
.screenshot-card,
.cta-panel {
    border-radius: var(--radius-xl);
    padding: 24px;
}

.home-main {
    width: min(var(--max), calc(100vw - 32px));
    margin: 0 auto;
}

.landing-hero {
    min-height: min(760px, calc(100vh - 112px));
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(34px, 6vw, 72px) 0 42px;
}

.landing-copy .eyebrow {
    color: var(--green);
}

.landing-copy .eyebrow::before {
    background: var(--green);
}

.landing-copy h1 {
    margin-top: 16px;
    max-width: none;
    font-size: clamp(4.3rem, 9vw, 7.4rem);
    letter-spacing: 0;
}

.landing-copy .lede {
    max-width: 58ch;
    margin: 18px 0 0;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-proof span {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.landing-media {
    position: relative;
    min-height: clamp(520px, 62vw, 760px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.landing-media::before {
    content: "";
    position: absolute;
    inset: 10% 5% 8% 12%;
    background:
        linear-gradient(135deg, rgba(32, 168, 107, 0.26), rgba(38, 135, 255, 0.24)),
        url("assets/screenshots/v3/phone-mockup.webp") center / cover;
    border-radius: 8px;
    filter: saturate(1.08);
    box-shadow: var(--shadow);
}

.hero-phone {
    position: absolute;
    width: clamp(178px, 25vw, 305px);
    height: auto;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(10, 20, 16, 0.28);
}

.hero-phone-main {
    left: 10%;
    top: 0;
    transform: rotate(-4deg);
}

.hero-phone-side {
    right: 4%;
    bottom: 1%;
    transform: rotate(5deg);
}

.feature-strip {
    margin-top: -10px;
}

.screenshot-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.screenshot-card {
    padding: 10px;
    overflow: hidden;
}

.screenshot-card img {
    border-radius: 8px;
    aspect-ratio: 1242 / 2688;
}

.showcase-row {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
}

.showcase-copy p,
.home-cta p {
    color: var(--muted);
    max-width: 58ch;
    font-size: 1.06rem;
}

.ipad-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ipad-pair img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.home-cta {
    margin-top: 28px;
    background:
        linear-gradient(135deg, rgba(21, 95, 63, 0.96), rgba(16, 20, 19, 0.96)),
        linear-gradient(90deg, rgba(38, 135, 255, 0.2), transparent);
    color: #f8fff8;
}

.home-cta p,
.home-cta .mini-kicker {
    color: rgba(248, 255, 248, 0.76);
}

.home-cta .button-dark {
    background: #f8fff8;
    color: var(--green);
}

.home-cta .button-ghost {
    border-color: rgba(248, 255, 248, 0.28);
    color: #f8fff8;
}

.feature-card ul,
.pricing-card ul,
.article-copy ul {
    padding-left: 18px;
    margin: 14px 0 0;
    color: var(--muted);
}

.strip {
    border-radius: 8px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.price-callout {
    text-align: right;
}

.price-callout strong {
    display: block;
    font-family: "Iowan Old Style", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--green);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pill {
    border-radius: 8px;
    border: 1px solid var(--line);
    padding: 9px 12px;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.36);
}

.quote-card {
    background: linear-gradient(180deg, rgba(23, 76, 56, 0.96), rgba(12, 44, 32, 0.96));
    color: #f8fff8;
}

.quote-card p,
.quote-card small {
    color: rgba(248, 255, 248, 0.82);
}

.quote-card a {
    color: #f8fff8;
}

.faq-answer {
    margin-top: 10px;
}

.article-card a,
.eyebrow-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.article-card h3 {
    margin-top: 10px;
}

.article-meta,
.breadcrumb,
.page-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumb {
    padding: 14px 18px;
    border-radius: 8px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.page-main {
    width: min(900px, calc(100vw - 32px));
    margin: 0 auto;
}

.article-hero,
.cta-panel {
    border-radius: 8px;
    padding: 28px;
}

.article-hero h1 {
    margin-top: 12px;
    max-width: 12ch;
    color: var(--ink);
}

.article-copy h2 {
    margin: 32px 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.article-copy h3 {
    margin-top: 24px;
}

.article-copy p,
.article-copy li {
    color: var(--muted);
    font-size: 1.02rem;
}

.article-copy a {
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.article-copy .button-dark {
    color: #f8fff8;
    text-decoration: none;
}

.article-copy .button-ghost {
    text-decoration: none;
}

.article-copy strong {
    color: var(--ink);
}

.article-byline {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.article-byline a {
    color: var(--green);
    font-weight: 700;
    text-underline-offset: 0.16em;
}

.product-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin: 18px 0 4px;
    padding: 20px 22px;
    border: 1px solid rgba(21, 95, 63, 0.24);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(229, 244, 234, 0.9));
    box-shadow: 0 12px 32px rgba(20, 53, 39, 0.09);
}

.product-cta strong,
.product-cta span {
    display: block;
}

.product-cta strong {
    color: var(--ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.25rem;
}

.product-cta span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.94rem;
}

.product-cta .button {
    white-space: nowrap;
}

.author-profile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 4px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.author-profile h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    max-width: none;
}

.author-profile p {
    margin: 0;
}

.article-copy ul {
    margin-bottom: 0;
}

.article-copy ol {
    padding-left: 22px;
    color: var(--muted);
}

.article-figure {
    margin: 28px 0;
}

.article-figure img {
    width: min(100%, 420px);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.article-figure-wide img {
    width: 100%;
    max-width: 720px;
}

.article-figure figcaption {
    max-width: 68ch;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.article-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.article-media-grid .article-figure {
    margin: 0;
}

.evidence-note,
.author-note {
    margin: 28px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    background: rgba(255, 255, 255, 0.66);
    color: var(--muted);
}

.author-note strong,
.evidence-note strong {
    color: var(--ink);
}

.comparison-table-wrap {
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    color: var(--ink);
    background: rgba(21, 95, 63, 0.08);
}

.comparison-table td {
    color: var(--muted);
}

.camera-setup-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin: 28px 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.camera-point,
.golfer-point {
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
}

.camera-point strong,
.golfer-point strong {
    display: block;
    color: var(--ink);
}

.setup-line {
    width: min(18vw, 150px);
    height: 2px;
    background: var(--green);
    position: relative;
}

.setup-line::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -4px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--green);
    border-right: 2px solid var(--green);
    transform: rotate(45deg);
}

.fact-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.fact-list li + li,
.article-copy li + li {
    margin-top: 8px;
}

.footer {
    padding: 34px 0 42px;
}

.footer-panel {
    display: grid;
    gap: 16px;
    padding: 26px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 241, 0.74);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

@media (max-width: 980px) {
    .landing-hero,
    .showcase-row {
        grid-template-columns: 1fr;
    }

    .landing-media {
        min-height: 560px;
    }

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

    .ipad-pair {
        grid-template-columns: 1fr;
    }

    .hero-grid,
    .strip,
    .stats-grid,
    .features-grid,
    .article-grid,
    .article-grid-three,
    .faq-grid,
    .fact-grid,
    .screenshot-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner,
    .section-head {
        align-items: start;
    }

    .section-head {
        flex-direction: column;
    }

    .topbar-inner {
        border-radius: 8px;
        flex-direction: column;
    }

    .topnav {
        justify-content: start;
    }

    .hero-grid,
    .hero-panel,
    .content-card,
    .feature-card,
    .faq-item,
    .article-card,
    .quote-card,
    .fact-card,
    .pricing-card,
    .cta-panel,
    .article-hero {
        padding: 22px;
    }

    .product-cta {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .product-cta .button {
        width: 100%;
        white-space: normal;
    }

    .price-callout {
        text-align: left;
    }
}

@media (max-width: 620px) {
    .landing-copy h1 {
        font-size: clamp(3.5rem, 18vw, 5.4rem);
    }

    .landing-media {
        min-height: 460px;
    }

    .hero-phone {
        width: min(50vw, 220px);
    }

    .hero-phone-main {
        left: 0;
    }

    .hero-phone-side {
        right: 4px;
    }

    .screenshot-grid-five {
        grid-template-columns: 1fr;
    }

    .article-media-grid,
    .camera-setup-diagram {
        grid-template-columns: 1fr;
    }

    .setup-line {
        width: 2px;
        height: 72px;
        margin: 0 auto;
    }

    .setup-line::after {
        right: -4px;
        top: auto;
        bottom: -1px;
        transform: rotate(135deg);
    }
}
