@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
    --ink: #18231f;
    --muted: #65736d;
    --paper: #f5f2e9;
    --white: #fffdf8;
    --fern: #1f5949;
    --moss: #b9c9a9;
    --sun: #e6a34a;
    --line: #dbe0d5;
    --shadow: 0 18px 50px rgba(24, 35, 31, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'DM Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.site-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    max-width: 1240px;
    margin: auto;
    padding: 24px 32px;
}

.brand {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 10px;
    letter-spacing: -.02em;
}

.brand-mark {
    align-items: center;
    background: transparent;
    border-radius: 50%;
    display: flex;
    height: 34px;
    justify-content: center;
    object-fit: contain;
    width: 34px;
}

nav {
    align-items: center;
    display: flex;
    gap: 24px;
    font-size: 14px;
}

nav a:hover,
.text-link:hover {
    color: var(--fern);
}

.nav-button {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

main {
    min-height: calc(100vh - 112px);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 8px auto 100px;
    max-width: 1240px;
    min-height: 610px;
    padding: 0 32px;
}

.hero-copy {
    align-items: flex-start;
    background: var(--fern);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px clamp(30px, 7vw, 100px);
}

.hero h1,
.page-heading h1,
.form-page h1,
.detail-hero h1 {
    font-family: Fraunces, serif;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: .98;
    margin: 16px 0 24px;
}

.hero-lede {
    color: #dce8dd;
    font-size: 18px;
    line-height: 1.6;
    max-width: 430px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-proof {
    border-top: 1px solid rgba(255, 255, 255, .22);
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
    max-width: 520px;
    padding-top: 24px;
    width: 100%;
}

.hero-proof strong {
    color: #fff;
    display: block;
    font-family: Fraunces, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1;
}

.hero-proof span {
    color: #dce8dd;
    display: block;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 8px;
}

.hero-image {
    background: linear-gradient(180deg, rgba(24, 35, 31, .05), rgba(24, 35, 31, .3)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1400&q=85') center/cover;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    margin: 0;
}

.button {
    background: var(--sun);
    border: 0;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 18px;
    justify-content: center;
    padding: 15px 20px;
}

.button:disabled,
.button.is-loading {
    cursor: wait;
    opacity: .82;
    pointer-events: none;
}

.button.is-loading::before {
    animation: spin .8s linear infinite;
    border: 2px solid rgba(24, 35, 31, .28);
    border-top-color: var(--ink);
    border-radius: 50%;
    content: "";
    height: 14px;
    width: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.button-light {
    background: #fff;
    margin-top: 24px;
}

.button-small {
    font-size: 13px;
    padding: 11px 14px;
}

.button-outline {
    background: transparent;
    border: 2px solid var(--fern);
    color: var(--fern);
    transition: all .2s ease;
}

.button-outline:hover {
    background: var(--fern);
    color: #fff;
}

.search-bar-container {
    margin: 28px 0 36px;
    max-width: 640px;
}

.search-input {
    width: 100%;
    padding: 16px 22px;
    font-size: 16px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(24, 35, 31, .06);
    transition: border-color .2s, box-shadow .2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--fern);
    box-shadow: 0 4px 20px rgba(31, 89, 73, .18);
}

.intro,
.page-heading,
.park-grid,
.target-list,
.split-section,
.account-panel,
.form-page {
    margin-left: auto;
    margin-right: auto;
    max-width: 1176px;
    padding-left: 32px;
    padding-right: 32px;
}

.intro {
    padding-bottom: 120px;
}

.confidence-band {
    align-items: end;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    margin: 0 auto 88px;
    max-width: 1176px;
    padding: 42px 32px;
}

.confidence-band h2 {
    font-family: Fraunces, serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 500;
    line-height: 1.02;
    margin: 12px 0 0;
}

.confidence-band p:last-child {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 0;
}

h2,
h3 {
    letter-spacing: -.03em;
}

.intro h2 {
    font-family: Fraunces, serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 500;
    max-width: 700px;
    margin: 18px 0 60px;
}

.feature-grid {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
    border-right: 1px solid var(--line);
    padding: 28px 30px 0 0;
}

.feature-grid article:not(:first-child) {
    padding-left: 30px;
}

.feature-grid span,
.empty-mark {
    color: var(--sun);
    font-weight: 700;
}

.feature-grid p,
.park-card p,
.target-row p,
.empty-state p,
.muted {
    color: var(--muted);
    line-height: 1.6;
}

.page-heading {
    padding-bottom: 42px;
    padding-top: 70px;
}

.page-heading h1,
.form-page h1 {
    font-size: clamp(48px, 6vw, 76px);
    max-width: 760px;
}

.park-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 100px;
}

.park-card {
    background: var(--white);
    box-shadow: var(--shadow);
}

.park-card img {
    aspect-ratio: 4/3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.park-card-body {
    padding: 24px;
}

.park-card h2 {
    font-family: Fraunces, serif;
    font-size: 30px;
    font-weight: 500;
    margin: 10px 0;
}

.text-link {
    color: var(--fern);
    display: inline-block;
    font-weight: 700;
    margin-top: 12px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    max-width: 1240px;
    padding: 54px 32px 90px;
}

.detail-hero>div {
    align-self: center;
    padding-right: 10%;
}

.detail-hero h1 {
    font-size: clamp(52px, 6vw, 86px);
}

.detail-hero img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.split-section {
    align-items: start;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 120px;
    padding-top: 60px;
}

.split-section h2 {
    font-family: Fraunces, serif;
    font-size: 48px;
    font-weight: 500;
    margin: 14px 0;
}

.form-page {
    max-width: 760px;
    padding-bottom: 110px;
    padding-top: 90px;
}

.plan-page {
    max-width: 1120px;
}

.form-card,
.target-form {
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px;
}

.form-card {
    max-width: 500px;
    margin-top: 36px;
}

label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
}

input {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 13px;
}

.form-foot {
    color: var(--muted);
    margin-top: 24px;
}

.success-text {
    color: var(--fern);
    font-weight: 700;
}

.error-text {
    color: #a04432;
    font-weight: 700;
}

.user-pill {
    background: rgba(31, 89, 73, 0.08);
    color: var(--fern);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.badge-monitoring {
    background: rgba(31, 89, 73, 0.12);
    color: var(--fern);
}

.badge-triggered {
    background: #fdf2e2;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.badge-released {
    background: #e2e8f0;
    color: #475569;
}

.badge-expired {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--fern);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(31, 89, 73, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(31, 89, 73, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(31, 89, 73, 0); }
}

.countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.button-danger {
    background: transparent;
    border: 1px solid #ef4444;
    color: #dc2626;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 4px;
    transition: all .2s;
}

.button-danger:hover {
    background: #ef4444;
    color: #fff;
}

.button-accent {
    background: var(--fern);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 4px;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, transform .1s;
}

.button-accent:hover {
    background: #174236;
}

.plan-badge {
    background: var(--fern);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.plan-badge.basic {
    background: #2563eb;
}

.plan-badge.pro {
    background: #7c3aed;
}

.pricing-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 32px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--fern);
}

.pricing-card h2 {
    font-family: Fraunces, serif;
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 8px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

.pricing-card .price span {
    font-size: 18px;
    color: var(--muted);
    font-weight: 500;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card .button {
    width: 100%;
    margin-top: 16px;
}

.pricing-card .button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.plan-faq {
    margin-top: 44px;
}

.plan-faq h2 {
    font-family: Fraunces, serif;
    font-size: 38px;
    font-weight: 500;
    margin: 0 0 18px;
}

.plan-faq details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(24, 35, 31, .06);
    margin-bottom: 12px;
    overflow: hidden;
}

.plan-faq summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    list-style: none;
    padding: 18px 20px;
}

.plan-faq summary::-webkit-details-marker {
    display: none;
}

.plan-faq summary::after {
    content: '+';
    color: var(--fern);
    font-size: 24px;
    line-height: 1;
}

.plan-faq details[open] summary::after {
    content: '-';
}

.plan-faq p {
    border-top: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    padding: 16px 20px 18px;
}

.legal-page {
    max-width: 880px;
}

.legal-copy {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 30px;
    padding: 34px;
}

.legal-copy h2 {
    font-family: Fraunces, serif;
    font-size: 28px;
    font-weight: 500;
    margin: 26px 0 8px;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

.legal-copy p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.target-row.triggered-card {
    border-left: 5px solid #e6a34a;
    background: #fffcf7;
}

.target-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 100px;
}

.target-row {
    align-items: center;
    background: var(--white);
    border-left: 5px solid var(--moss);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    padding: 26px 30px;
}

.target-row h2 {
    margin: 8px 0 2px;
}

.target-row p {
    margin: 0;
}

.wizard-card {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 36px 40px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.step-num {
    background: var(--fern);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.choice-banner {
    background: linear-gradient(135deg, rgba(31, 89, 73, 0.08), rgba(230, 163, 74, 0.08));
    border: 2px dashed var(--moss);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.empty-state {
    margin: 0 auto;
    max-width: 720px;
    padding: 70px 32px 130px;
    text-align: center;
}

.empty-state h2 {
    font-family: Fraunces, serif;
    font-size: 48px;
    font-weight: 500;
    margin: 15px 0;
}

.empty-state .button {
    margin-top: 22px;
}

.account-panel {
    background: var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 100px;
    max-width: 760px;
    padding: 38px;
}

.account-panel h2 {
    font-family: Fraunces, serif;
    font-size: 40px;
    font-weight: 500;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin: auto;
    max-width: 1176px;
    padding: 24px 32px 40px;
}

.inline-form {
    display: inline;
}

@media (max-width:760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero,
    .detail-hero,
    .split-section,
    .confidence-band {
        display: block;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        margin: 0 auto 70px;
        padding-top: 0;
    }

    .hero-copy {
        min-height: 500px;
        padding: 42px 28px;
    }

    .hero-image {
        min-height: 300px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .confidence-band {
        margin-bottom: 60px;
    }

    .intro,
    .page-heading,
    .park-grid,
    .target-list,
    .form-page,
    .account-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .feature-grid,
    .park-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid article,
    .feature-grid article:not(:first-child) {
        border-bottom: 1px solid var(--line);
        border-right: 0;
        padding: 22px 0;
    }

    .detail-hero img {
        margin-top: 30px;
    }

    .target-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .site-footer {
        flex-direction: column;
        gap: 8px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
