/* ============================================================
   SERENANOTE — Premium Landing Page Styles
   ============================================================ */

/* DESIGN TOKENS */
:root {
    --color-primary: #2A4057;
    --color-primary-dark: #1A2E42;
    --color-secondary: #64748b;
    --color-accent: #4A7C59;
    --color-accent-dark: #3a6147;
    --color-accent-light: #EBF4EE;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F3EF;
    --color-fg: #1C2B36;
    --color-fg-muted: #64748B;
    --color-muted: #EEE9E2;
    --color-border: #DDD9D3;
    --color-white: #FFFFFF;
    --color-red: #DC2626;
    --color-red-light: #FEF2F2;
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Noto Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(42, 64, 87, .07), 0 1px 2px rgba(42, 64, 87, .04);
    --shadow-md: 0 4px 16px rgba(42, 64, 87, .10), 0 2px 6px rgba(42, 64, 87, .05);
    --shadow-lg: 0 12px 40px rgba(42, 64, 87, .14), 0 4px 12px rgba(42, 64, 87, .07);
    --shadow-xl: 0 24px 64px rgba(42, 64, 87, .18), 0 8px 24px rgba(42, 64, 87, .09);
    --t: 200ms ease;
    --t-slow: 350ms ease;
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit
}

img, svg {
    display: block
}

ul, ol {
    list-style: none
}


/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    z-index: 9999;
    transition: top .15s;
}

.skip-link:focus {
    top: 16px
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(.22, 1, .36, 1),
    transform 0.65s cubic-bezier(.22, 1, .36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: 80ms
}

.reveal-delay-2 {
    transition-delay: 160ms
}

.reveal-delay-3 {
    transition-delay: 240ms
}

.reveal-delay-4 {
    transition-delay: 320ms
}

.reveal-delay-5 {
    transition-delay: 400ms
}

.reveal-delay-6 {
    transition-delay: 480ms
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.section {
    padding: 96px 0
}

.section.alt {
    background: var(--color-bg-alt)
}

.sec-label {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.sec-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    color: var(--color-fg);
    margin-bottom: 16px;
    letter-spacing: -.02em;
}

.sec-sub {
    font-size: 1.05rem;
    color: var(--color-fg-muted);
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.65;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
body > nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
    box-shadow: none;
    transition: box-shadow var(--t);
}

body > nav.scrolled {
    box-shadow: 0 2px 20px rgba(42, 64, 87, .08);
}

body > nav .nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-primary);
    letter-spacing: -.02em;
    line-height: 1;
}

.nav-tagline {
    font-size: .62rem;
    color: var(--color-fg-muted);
    line-height: 1;
    letter-spacing: .01em;
}

.btn-nav {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .88rem;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(74, 124, 89, .3);
}

.btn-nav:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74, 124, 89, .35);
}

.btn-nav:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    /* Fill viewport minus nav (64px) so the strip always peeks below */
    min-height: calc(100dvh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
    padding: 40px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(74, 124, 89, .07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(42, 64, 87, .04) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(74, 124, 89, .1);
    pointer-events: none;
}

.hero .narrow {
    position: relative;
    z-index: 1;
    width: 100%
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(74, 124, 89, .2);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: .5;
        transform: scale(.75)
    }
}

h1 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--color-fg);
    margin-bottom: 20px;
}

h1 span {
    color: var(--color-accent)
}


.hero-sub {
    font-size: 1.1rem;
    color: var(--color-fg-muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 18px 40px;
    border-radius: var(--radius-full);
    min-height: 58px;
    box-shadow: 0 6px 24px rgba(74, 124, 89, .35), 0 2px 8px rgba(74, 124, 89, .2);
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    letter-spacing: -.01em;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(74, 124, 89, .4), 0 4px 12px rgba(74, 124, 89, .25);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px
}


.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--color-fg-muted);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.hero-trust svg {
    color: var(--color-accent);
    flex-shrink: 0
}

/* ============================================================
   STRIP
   ============================================================ */
.strip {
    background: var(--color-accent-light);
    border-top: 1px solid rgba(74, 124, 89, .15);
    border-bottom: 1px solid rgba(74, 124, 89, .15);
    padding: 18px 0
}

.strip-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .85rem;
    color: var(--color-primary);
    letter-spacing: .01em;
    white-space: nowrap;
}

.strip-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 32px;
    transition: box-shadow var(--t-slow), transform var(--t-slow), border-color var(--t-slow);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-fg);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card p {
    font-size: .92rem;
    color: var(--color-fg-muted);
    line-height: 1.65
}

.card p + p {
    margin-top: 12px
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.icon-box svg {
    width: 22px;
    height: 22px
}

.icon-red {
    background: var(--color-red-light);
    color: var(--color-red);
    --card-accent: var(--color-red)
}

.icon-green {
    background: var(--color-accent-light);
    color: var(--color-accent);
    --card-accent: var(--color-accent)
}

.quote {
    font-style: italic;
    font-size: .85rem !important;
    color: var(--color-fg-muted) !important;
    padding: 10px 14px;
    border-left: 3px solid var(--color-muted);
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 12px !important;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-top: 48px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    font-size: .92rem
}

thead {
    background: var(--color-primary)
}

th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .9);
    padding: 16px 20px;
    text-align: left;
}

th:first-child {
    border-radius: var(--radius-lg) 0 0 0
}

th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
    background: rgba(74, 124, 89, .35);
    color: #fff
}

td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-fg);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none
}

tbody tr:hover td {
    background: var(--color-bg-alt)
}

td:last-child {
    font-weight: 700;
    background: rgba(74, 124, 89, .04)
}

td.y {
    color: var(--color-accent);
    font-weight: 700
}

td.n {
    color: var(--color-red)
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 480px;
    margin: 48px auto 0;
    text-align: center;
    box-shadow: var(--shadow-xl), 0 0 0 8px rgba(74, 124, 89, .06);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #6BAE7A);
}

.p-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.p-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-fg-muted);
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.p-price {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-fg);
    letter-spacing: -.04em;
    margin-bottom: 8px;
}

.p-price sup {
    font-size: 2rem;
    font-weight: 700;
    vertical-align: top;
    margin-top: 12px;
    display: inline-block
}

.p-price sub {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-fg-muted);
    vertical-align: baseline
}

.p-old {
    font-size: .88rem;
    color: var(--color-fg-muted);
    text-decoration: line-through;
    margin-bottom: 4px
}

.p-desc {
    font-size: .92rem;
    color: var(--color-fg-muted);
    margin-bottom: 32px;
    line-height: 1.6
}

.p-features {
    text-align: left;
    margin-bottom: 36px
}

.p-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: .92rem;
    color: var(--color-fg);
}

.p-feat:last-child {
    border-bottom: none
}

.p-feat svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px
}

.btn-pricing {
    width: 100%;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.08rem;
    padding: 18px 24px;
    border-radius: var(--radius-full);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(74, 124, 89, .35);
    transition: background var(--t), transform var(--t), box-shadow var(--t);
}

.btn-pricing:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(74, 124, 89, .4);
}

.btn-pricing:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px
}

.p-guarantee {
    margin-top: 20px;
    font-size: .82rem;
    color: var(--color-fg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.p-guarantee svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent)
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Testimonials carousel */
.t-track-wrap {
    position: relative;
    margin: 0 -24px;
}

.t-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 24px 24px;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.t-track::-webkit-scrollbar {
    display: none
}

.t-track.is-dragging {
    cursor: grabbing
}

.t-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: box-shadow var(--t-slow), transform var(--t-slow);
    display: flex;
    flex-direction: column;
}

.t-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px)
}

.t-quote-mark {
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: .65;
    color: var(--color-accent);
    opacity: .12;
    position: absolute;
    top: 18px;
    left: 22px;
    user-select: none;
    pointer-events: none;
}

.stars {
    color: #F59E0B;
    font-size: .95rem;
    margin-bottom: 14px;
    letter-spacing: 2px
}

.t-text {
    font-size: .975rem;
    line-height: 1.78;
    color: var(--color-fg);
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
    flex: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-border);
    padding-top: 18px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: .5px;
}

.avatar-sk {
    background: #2A7057
}

.avatar-mr {
    background: #2A4057
}

.avatar-jp {
    background: #7C4A8A
}

.avatar-dl {
    background: #C0641A
}

.avatar-rb {
    background: #1A6B8A
}

.avatar-am {
    background: #5A6B1A
}

.t-name {
    font-weight: 700;
    font-size: .88rem;
    color: var(--color-fg);
    line-height: 1.2
}

.t-role {
    font-size: .77rem;
    color: var(--color-fg-muted);
    margin-top: 2px
}

/* scroll dots */
.t-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 8px;
}

.t-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-border);
    transition: background var(--t), transform var(--t);
    cursor: pointer;
    border: none;
    padding: 0;
}

.t-dot.active {
    background: var(--color-accent);
    transform: scale(1.3)
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    margin-top: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--color-white);
    transition: box-shadow var(--t), border-color var(--t);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm)
}

.faq-item.open {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, .08)
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .96rem;
    color: var(--color-fg);
    background: transparent;
    transition: background var(--t);
    min-height: 44px;
    gap: 16px;
}

.faq-q:hover {
    background: rgba(74, 124, 89, .04)
}

.faq-q:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: -3px
}

.chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform var(--t)
}

.faq-item.open .chevron {
    transform: rotate(180deg);
    color: var(--color-accent)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms cubic-bezier(.22, 1, .36, 1)
}

.faq-item.open .faq-a {
    max-height: 600px
}

.faq-a-in {
    padding: 16px 24px 22px;
    font-size: .93rem;
    color: var(--color-fg-muted);
    line-height: 1.7;
    border-top: 1px solid var(--color-border);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 112px 0;
    position: relative;
    overflow: hidden;
}

.final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(74, 124, 89, .2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(255, 255, 255, .04) 0%, transparent 50%);
    pointer-events: none;
}

.final::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);
    pointer-events: none;
}

.final .narrow {
    position: relative;
    z-index: 1
}

.final h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -.03em;
}

.final-tagline {
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.final p {
    font-size: 1.08rem;
    opacity: .8;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-white {
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.08rem;
    padding: 18px 44px;
    border-radius: var(--radius-full);
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(74, 124, 89, .5), 0 2px 8px rgba(0, 0, 0, .2);
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    letter-spacing: -.01em;
}

.btn-white:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74, 124, 89, .55), 0 4px 12px rgba(0, 0, 0, .25);
}

.btn-white:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .6);
    outline-offset: 4px
}

.final-note {
    margin-top: 20px;
    font-size: .85rem;
    opacity: .55
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 24px 0 20px;
    text-align: center;
}

.foot-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px
}

.foot-links a {
    font-size: .88rem;
    color: var(--color-fg-muted) !important;
    background: none !important;
    display: inline;
    text-decoration: none;
    transition: color var(--t);
}

.foot-links a:hover {
    color: var(--color-accent) !important
}

.foot-bottom {
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: .82rem;
    color: var(--color-fg-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   MOBILE COMPARISON CARDS
   ============================================================ */
.mobile-compare {
    display: none;
    gap: 16px;
    margin-top: 40px;
    flex-direction: column;
}

.mc-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 20px;
    background: var(--color-white);
}

.mc-good {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, .08);
}

.mc-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .95rem;
    color: var(--color-fg);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.mc-good .mc-brand {
    color: var(--color-accent)
}

.mc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--color-fg);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.mc-row:last-child {
    border-bottom: none
}

.mc-x {
    color: var(--color-red);
    font-weight: 700;
    flex-shrink: 0
}

.mc-check {
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0
}

/* TABLET */

/* ============================================================
   HERO STATS + SCROLL HINT
   ============================================================ */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 18px 8px;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 28px;
}

.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -.02em;
    line-height: 1;
}

.stat-label {
    font-size: .72rem;
    color: var(--color-fg-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 500;
    white-space: nowrap;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border);
    flex-shrink: 0;
}

.scroll-hint {
    margin-top: 24px;
    color: var(--color-fg-muted);
    opacity: .35;
    animation: bounce-down 2s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

@keyframes bounce-down {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(7px)
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none
    }

    .mobile-compare {
        display: flex
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }

    .t-card {
        flex: 0 0 85vw
    }

    .sec-sub {
        margin-bottom: 40px
    }
}

/* MOBILE */
@media (max-width: 640px) {
    /* Layout */
    .hero {
        min-height: calc(100dvh - 64px);
        padding: 32px 0
    }

    .section {
        padding: 56px 0
    }

    .final {
        padding: 72px 0
    }

    .narrow {
        padding: 0 20px
    }

    .container {
        padding: 0 20px
    }

    /* Nav */
    .btn-nav {
        font-size: .8rem;
        padding: 9px 14px
    }

    .nav-tagline {
        display: none
    }

    /* Hero */
    h1 {
        font-size: clamp(1.9rem, 8vw, 2.6rem)
    }

    .hero-sub {
        font-size: 1rem
    }

    .btn-primary {
        font-size: .95rem;
        padding: 16px 28px;
        width: 100%;
        justify-content: center
    }

    .hero-trust {
        font-size: .78rem;
        gap: 6px
    }

    /* Strip — 2×2 grid on mobile */
    .strip-in {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
        padding: 0 20px
    }

    .strip-item {
        font-size: .8rem
    }

    /* Cards — single column */
    .grid {
        grid-template-columns: 1fr
    }

    .card {
        padding: 24px 20px 28px
    }

    /* Table */
    th, td {
        padding: 12px 14px;
        font-size: .82rem
    }

    /* Pricing */
    .pricing-card {
        padding: 32px 20px;
        margin: 32px auto 0
    }

    .p-price {
        font-size: 4rem
    }

    .btn-pricing {
        font-size: .95rem;
        padding: 16px 18px
    }

    .btn-white {
        font-size: .95rem;
        padding: 16px 28px
    }

    .hero-stats {
        flex-direction: column;
        gap: 0;
        padding: 8px 16px;
        width: 100%;
        box-sizing: border-box
    }

    .hero-stat {
        padding: 14px 16px;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--color-border)
    }

    .hero-stat:last-child {
        border-bottom: none
    }

    .hero-stat-divider {
        display: none
    }

    .stat-num {
        font-size: 1.2rem
    }

    .stat-label {
        font-size: .72rem;
        text-align: right
    }

    .stat-num {
        font-size: 1.15rem
    }

    .stat-label {
        font-size: .67rem
    }

    /* Testimonials */
    .t-track {
        padding: 8px 20px 24px
    }

    .t-card {
        flex: 0 0 300px;
        padding: 28px 20px
    }

    /* FAQ */
    .faq-q {
        padding: 16px 18px;
        font-size: .9rem
    }

    .faq-a-in {
        padding: 12px 18px 18px
    }

    /* Footer */
    .foot-links {
        gap: 16px
    }

    .foot-links a {
        font-size: .84rem
    }
}

/* VERY SMALL (iPhone SE etc) */
@media (max-width: 380px) {
    .strip-in {
        grid-template-columns: 1fr
    }

    .hero-stat-divider {
        display: none
    }

    .hero-stat {
        padding: 0 12px
    }

    .btn-nav {
        font-size: .75rem;
        padding: 8px 12px
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none
    }

    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

/* ============================================================
   INNER PAGES (contact, privacy, terms, hipaa)
   ============================================================ */
.page-hero {
    padding: 72px 0 48px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}

.page-hero .sec-label {
    margin-bottom: 10px
}

.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-fg);
    margin: 36px 0 10px;
}

.page-content p, .page-content li {
    font-size: .96rem;
    color: var(--color-fg-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}

.page-content ul {
    padding-left: 20px;
    list-style: disc
}

.page-content a {
    color: var(--color-accent);
    text-decoration: underline
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.contact-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.contact-card svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    margin: 0 auto 12px
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    color: var(--color-fg);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: .88rem;
    color: var(--color-fg-muted);
    margin: 0
}

.contact-card a {
    color: var(--color-accent)
}
