/* ─────────────────────────────────────────────────────────
   iDentiCal — OpenDental → Google Calendar Sync
   Design tokens: navy primary, gold accent, warm cream bg
   ───────────────────────────────────────────────────────── */

:root {
    --primary: #0D2B4D;
    --primary-light: #1E3A5F;
    --primary-dark: #081C36;
    --accent: #F2B632;
    --accent-light: #F5C964;
    --accent-soft: #FDF1D1;
    --gold: #F2B632;
    --success: #22A06B;
    --success-soft: #E6F4ED;
    --bg-cream: #FAF7F2;
    --bg-cream-deep: #F4EFE7;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #5C5C5C;
    --text-light: #8C8C8C;
    --border: #E5E2DD;
    --border-soft: #EFECE5;
    --shadow-soft: 0 4px 20px rgba(13, 43, 77, 0.08);
    --shadow-medium: 0 8px 40px rgba(13, 43, 77, 0.12);
    --shadow-deep: 0 20px 60px rgba(13, 43, 77, 0.18);
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section { scroll-margin-top: 80px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }

/* ── Navigation ───────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: grid;
    place-items: center;
    position: relative;
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.logo-mark svg { position: relative; z-index: 1; }
.logo-text span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.btn { color: white; }

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    padding: 0.75rem 1.6rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.btn-secondary { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.btn-gold { background: var(--gold); color: var(--primary); }
.btn-gold:hover { background: #D9A32D; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-dark); border: 1px solid var(--border); }
.btn-ghost:hover { background: white; border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: white; }

/* Trial modal form */
#trialForm input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,43,77,0.12);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    padding: 140px 2rem 100px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 20%, rgba(242, 182, 50, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(13, 43, 77, 0.05) 0%, transparent 40%);
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 43, 77, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 43, 77, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { animation: fadeIn 0.7s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
}
.hero-badge .pulse-dot {
    width: 22px;
    height: 22px;
    background: var(--success-soft);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
}
.hero-badge .pulse-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34, 160, 107, 0); }
}

.hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.05;
}
.hero h1 .serif { color: var(--primary); font-size: 1.05em; }

.hero p.lead {
    font-size: 1.12rem;
    color: var(--text-medium);
    margin-bottom: 2.25rem;
    line-height: 1.65;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}
.hero-cta .btn { padding: 0.95rem 1.9rem; font-size: 0.98rem; }

.hero-microcopy {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}
.hero-microcopy span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-microcopy span::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3 7l3 3 5-6' stroke='%2322A06B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
}

.hero-notice {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    background: var(--accent-soft);
    border: 1px solid rgba(242, 182, 50, 0.4);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    line-height: 1.4;
}
.hero-notice svg { flex-shrink: 0; color: #B8860B; }
.hero-notice.verified {
    background: var(--success-soft);
    border-color: rgba(34, 160, 107, 0.4);
}
.hero-notice.verified svg { color: var(--success); }

/* ── Hero visual: product flow diagram ───────────────── */
.hero-visual {
    position: relative;
    animation: fadeIn 0.8s ease-out 0.15s both;
}
.flow-stage {
    position: relative;
    aspect-ratio: 1.05 / 1;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.95) 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-deep);
    padding: 2rem;
    overflow: hidden;
}
.flow-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(242, 182, 50, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(13, 43, 77, 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.flow-corner-label {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.flow-corner-status {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.flow-corner-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease-in-out infinite;
}

.flow-diagram {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
}
.flow-node {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 14px rgba(13, 43, 77, 0.06);
    position: relative;
    z-index: 2;
}
.flow-node-left { justify-self: start; min-width: 230px; }
.flow-node-center {
    justify-self: center;
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(13, 43, 77, 0.25);
    min-width: 240px;
}
.flow-node-right { justify-self: end; min-width: 230px; }

.flow-node-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.flow-node-icon.opendental { background: var(--accent-soft); color: var(--primary); }
.flow-node-icon.service { background: var(--accent); color: var(--primary); }
.flow-node-icon.gcal { background: var(--success-soft); color: var(--success); }

.flow-node-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.flow-node-title { font-weight: 700; font-size: 0.92rem; line-height: 1.1; }
.flow-node-sub { font-size: 0.72rem; color: var(--text-light); font-family: var(--mono); }
.flow-node-center .flow-node-sub { color: rgba(255,255,255,0.65); }

.flow-arrow {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Floating sync ticker on top of diagram */
.flow-ticker {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: var(--primary-dark);
    color: white;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 8px 24px rgba(8, 28, 54, 0.35);
    z-index: 3;
}
.flow-ticker .tick {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--success);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.flow-ticker .tick::after {
    content: '';
    width: 8px;
    height: 8px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' fill='none'><path d='M1.5 4l1.5 1.5L6.5 2' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
}
.flow-ticker-text { flex: 1; opacity: 0.9; }
.flow-ticker-time { opacity: 0.55; }

/* ── Stats Strip ──────────────────────────────────────── */
.stats-strip {
    padding: 0 2rem;
    margin: -1rem auto 0;
    position: relative;
    z-index: 5;
}
.stats-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.stat {
    padding: 0 1.5rem;
    border-right: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat:last-child { border-right: none; }
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-value .unit { font-size: 0.9rem; color: var(--text-medium); font-weight: 500; margin-left: 0.15rem; }
.stat-label {
    font-size: 0.78rem;
    color: var(--text-medium);
    line-height: 1.35;
    margin-top: 0.4rem;
}

/* ── Generic section ──────────────────────────────────── */
.section { padding: 110px 2rem; }
.section-white { background: white; }
.section-cream { background: var(--bg-cream); }
.section-warm { background: linear-gradient(180deg, #FDF8F3 0%, var(--bg-cream) 100%); }
.section-dark { background: var(--primary); color: white; position: relative; overflow: hidden; }
.section-dark::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242, 182, 50, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; position: relative; z-index: 1; }
.section-header .eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--accent-soft);
    border-radius: 100px;
}
.section-dark .section-header .eyebrow { background: rgba(242, 182, 50, 0.15); color: var(--accent); }
.section-header h2 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-header h2 .serif { color: var(--primary); }
.section-dark .section-header h2, .section-dark .section-header h2 .serif { color: white; }
.section-dark .section-header h2 .serif { color: var(--accent); }
.section-header p { font-size: 1.08rem; color: var(--text-medium); }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ── Features ─────────────────────────────────────────── */
.features-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feature-card {
    padding: 1.75rem;
    background: var(--bg-cream);
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s;
}
.feature-card:hover {
    background: white;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: white;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 8px rgba(13, 43, 77, 0.06);
    color: var(--primary);
}
.feature-card:hover .feature-icon { background: var(--primary); color: var(--accent); }
.feature-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.feature-content p {
    color: var(--text-medium);
    line-height: 1.55;
    font-size: 0.92rem;
}

/* ── Product Showcase ─────────────────────────────────── */
.showcase-single {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
}
.showcase-single .cal-mock {
    width: 100%;
}
.showcase-caption {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-medium);
    max-width: 640px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}
.showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: center;
}
.showcase-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.showcase-text h3 .serif { color: var(--primary); }
.showcase-text > p {
    font-size: 1.02rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}
.showcase-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.showcase-bullets li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.showcase-bullets li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--success-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3.5 7l2.5 2.5L10.5 4.5' stroke='%2322A06B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
    border-radius: 50%;
    margin-top: 2px;
}
.showcase-bullets li strong { font-weight: 600; }

/* Tray app mockup */
.tray-mock {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    font-size: 0.85rem;
}
.tray-titlebar {
    background: linear-gradient(180deg, #F4F1EC, #E9E5DE);
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-medium);
}
.tray-dots { display: flex; gap: 0.32rem; }
.tray-dots span { width: 11px; height: 11px; border-radius: 50%; background: #D5D0C7; }
.tray-dots span:first-child { background: #F8766D; }
.tray-dots span:nth-child(2) { background: #F2B632; }
.tray-dots span:nth-child(3) { background: #22A06B; }
.tray-titlebar-title { margin-left: 0.5rem; font-weight: 500; }

.tray-body { padding: 1.1rem 1.25rem 1.25rem; }
.tray-status-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem 1.1rem;
    border-radius: 11px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    align-items: center;
    margin-bottom: 1rem;
}
.tray-status-label { font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--mono); }
.tray-status-value { font-size: 1.1rem; font-weight: 600; line-height: 1.1; }
.tray-status-badge {
    background: rgba(34, 160, 107, 0.2);
    color: #7FE8B4;
    border: 1px solid rgba(34, 160, 107, 0.35);
    padding: 0.3rem 0.6rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.tray-status-badge::before { content: ''; width: 6px; height: 6px; background: #7FE8B4; border-radius: 50%; }

.tray-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.85rem;
}
.tray-row:last-child { border-bottom: none; }
.tray-row .key { color: var(--text-medium); }
.tray-row .val { font-weight: 600; color: var(--text-dark); font-family: var(--mono); font-size: 0.8rem; }
.tray-row .val.success { color: var(--success); }

.tray-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.5rem;
}
.tray-actions button {
    flex: 1;
    padding: 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-dark);
    cursor: default;
    font-family: inherit;
}
.tray-actions button.primary { background: var(--primary); color: white; border-color: var(--primary); }

/* Log mockup */
.log-mock {
    background: #0E1B30;
    color: #E6EAF2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.55;
}
.log-titlebar {
    background: #142242;
    padding: 0.55rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}
.log-titlebar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.log-body { padding: 1rem 1.1rem; max-height: 280px; overflow: hidden; }
.log-line { display: grid; grid-template-columns: 70px 60px 1fr; gap: 0.6rem; padding: 0.18rem 0; }
.log-line .ts { color: rgba(255,255,255,0.38); }
.log-line .lvl-info { color: #6DB0FF; }
.log-line .lvl-ok { color: #7FE8B4; }
.log-line .lvl-warn { color: var(--accent); }
.log-line .msg { color: rgba(255,255,255,0.85); }
.log-line .msg em { color: #F2B632; font-style: normal; }
.log-line .msg .id { color: rgba(255,255,255,0.45); }

/* Calendar mockup */
.cal-mock {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}
.cal-titlebar {
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid var(--border-soft);
}
.cal-titlebar .gicon {
    width: 26px; height: 26px;
    background: #fff;
    border-radius: 6px;
    display: grid; place-items: center;
    border: 1px solid var(--border);
    font-weight: 700;
    color: #1a73e8;
    font-size: 0.75rem;
}
.cal-titlebar .title { font-weight: 600; font-size: 0.92rem; flex: 1; }
.cal-titlebar .week { font-size: 0.78rem; color: var(--text-light); font-family: var(--mono); }

.cal-grid {
    display: grid;
    grid-template-columns: 38px repeat(5, 1fr);
    font-size: 0.7rem;
}
.cal-grid .col-head {
    padding: 0.55rem 0.4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-medium);
    font-weight: 600;
}
.cal-grid .col-head .num {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 0.1rem;
}
.cal-grid .col-head.today .num {
    background: var(--primary);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin: 0.1rem auto 0;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}
.cal-grid .gutter-cell {
    padding: 0.4rem 0.25rem 0.4rem 0.5rem;
    color: var(--text-light);
    font-family: var(--mono);
    font-size: 0.65rem;
    border-right: 1px solid var(--border-soft);
    text-align: right;
}
.cal-grid .slot {
    border-right: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    height: 36px;
    position: relative;
}
.cal-grid .slot:last-child { border-right: none; }
.cal-event {
    position: absolute;
    inset: 2px;
    border-radius: 4px;
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
    line-height: 1.1;
    overflow: hidden;
    color: white;
    font-weight: 600;
    cursor: default;
}
.cal-event.exam { background: #1a73e8; }
.cal-event.hyg { background: #22A06B; }
.cal-event.tx { background: var(--primary); }
.cal-event.consult { background: #b06ab3; }
.cal-event small { display: block; opacity: 0.85; font-weight: 500; font-size: 0.6rem; margin-top: 1px; }

/* Tabs (toggle between mocks if used) */
.showcase-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.showcase-tab {
    padding: 0.45rem 0.85rem;
    border-radius: 100px;
    background: white;
    border: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-medium);
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.showcase-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ── Comparison cards ─────────────────────────────────── */
.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.comparison-card {
    padding: 2rem;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--border);
}
.comparison-card.them { background: #F4F1EC; }
.comparison-card.us {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-medium);
}
.comparison-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.comparison-card h3 .pill {
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.comparison-card.them h3 .pill { background: rgba(0,0,0,0.06); color: var(--text-medium); }
.comparison-card.us h3 .pill { background: rgba(242, 182, 50, 0.2); color: var(--accent); }
.comparison-card ul { list-style: none; }
.comparison-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    font-size: 0.92rem;
    line-height: 1.45;
    padding-left: 1.4rem;
    position: relative;
}
.comparison-card.us li { border-bottom-color: rgba(255,255,255,0.12); }
.comparison-card li:last-child { border-bottom: none; }
.comparison-card.them li { color: var(--text-medium); }
.comparison-card.them li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 0.7rem;
    color: #C46060;
    font-weight: 700;
    font-size: 0.85rem;
}
.comparison-card.us li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3 7l2.5 2.5L11 4' stroke='%23F2B632' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
}
.comparison-card.us li strong { color: var(--accent); font-weight: 600; }

/* ── How it works ─────────────────────────────────────── */
.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    position: relative;
}
.step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 2rem 1.5rem 1.75rem;
    position: relative;
}
.step-number {
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--mono);
    margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.6rem; font-weight: 700; color: white; }
.step p { color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.6; }
.step-time {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Security architecture ────────────────────────────── */
.security-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.security-list { display: flex; flex-direction: column; gap: 1.1rem; }
.security-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}
.security-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
}
.security-item h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.3rem; }
.security-item p { font-size: 0.88rem; color: var(--text-medium); line-height: 1.5; }
.security-item p .mono { background: var(--bg-cream); padding: 0.05rem 0.4rem; border-radius: 4px; font-size: 0.78rem; color: var(--primary); }

.arch-diagram {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
}
.arch-pc {
    background: var(--bg-cream);
    border: 1.5px dashed var(--border);
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
}
.arch-pc-label {
    position: absolute;
    top: -10px;
    left: 1rem;
    background: white;
    padding: 0 0.6rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.arch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.arch-row:last-child { margin-bottom: 0; }
.arch-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
}
.arch-box-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--accent-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.arch-box.service { background: var(--primary); color: white; border-color: var(--primary); }
.arch-box.service .arch-box-icon { background: var(--accent); color: var(--primary); }
.arch-box-meta { display: flex; flex-direction: column; line-height: 1.15; }
.arch-box-title { font-weight: 600; font-size: 0.85rem; }
.arch-box-sub { font-family: var(--mono); font-size: 0.65rem; opacity: 0.65; }

.arch-conn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.4rem 0;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-medium);
}
.arch-conn::before, .arch-conn::after {
    content: '';
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--border) 0 4px, transparent 4px 8px);
}
.arch-external {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.arch-external .arch-box { background: white; }
.arch-external .arch-box-icon { background: var(--success-soft); color: var(--success); }
.arch-external .arch-box.lic .arch-box-icon { background: rgba(176, 106, 179, 0.12); color: #884d8b; }

.arch-encryption-strip {
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    background: var(--primary-dark);
    color: white;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 0.72rem;
}
.arch-encryption-strip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.pricing-grid--two {
    max-width: 820px;
    grid-template-columns: 1fr 1fr;
}
.savings-table {
    max-width: 980px;
    margin: 3.5rem auto 0;
    scroll-margin-top: 96px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2rem 2.25rem 1.75rem;
    box-shadow: var(--shadow-soft);
}
.savings-head { margin-bottom: 1.5rem; }
.savings-eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.4rem;
}
.savings-head p { color: var(--text-medium); font-size: 0.98rem; line-height: 1.55; margin: 0; }
.savings-head strong { color: var(--text-dark); font-weight: 600; }
.savings-grid {
    border-top: 1px solid var(--border-soft);
}
.savings-row {
    display: grid;
    grid-template-columns: 56px 1fr 1.4fr 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--border-soft);
    font-size: 0.95rem;
    color: var(--text-dark);
    align-items: baseline;
}
.savings-row span:first-child {
    font-family: var(--mono);
    font-weight: 600;
    color: var(--text-medium);
}
.savings-row small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--text-light); font-family: var(--mono); letter-spacing: 0.05em; margin-top: 2px; }
.savings-row--header {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0.5rem 0 0.85rem;
}
.savings-row--header small { color: var(--text-light); text-transform: none; letter-spacing: 0.05em; font-weight: 500; }
.savings-row .neg { color: #b34242; font-weight: 600; font-variant-numeric: tabular-nums; }
.savings-row .pos { color: #1f8a5b; font-weight: 600; font-variant-numeric: tabular-nums; }
.savings-row.break-even { background: linear-gradient(to right, rgba(31,138,91,0.06), transparent); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; border-radius: 8px; }
.savings-row.break-even span:first-child::after { content: ' · break-even'; font-size: 0.7rem; color: #1f8a5b; font-weight: 600; letter-spacing: 0.05em; }
.savings-row.total { border-bottom: none; padding-bottom: 0.5rem; }
.savings-row.total span:not(.pos):not(.neg) { font-weight: 700; }
.savings-footnote {
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.55;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}
.savings-footnote strong { color: #1f8a5b; font-weight: 700; }
.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.25rem 1.85rem;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-medium);
    transform: scale(1.03);
}
.pricing-card:not(.featured):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}
.popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.plan-name { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-medium); margin-bottom: 0.8rem; }
.pricing-card.featured .plan-name { color: rgba(255,255,255,0.7); }
.price { font-size: 2.85rem; font-weight: 700; line-height: 1; margin-bottom: 0.3rem; letter-spacing: -0.03em; }
.price sup { font-size: 1.1rem; vertical-align: super; font-weight: 500; opacity: 0.7; margin-right: 0.1rem; }
.price-period { color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.88rem; }
.pricing-card.featured .price-period { color: rgba(255, 255, 255, 0.7); }
.pricing-features { list-style: none; margin: 1rem 0 1.75rem; flex: 1; }
.pricing-features li {
    padding: 0.55rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-soft);
}
.pricing-card.featured .pricing-features li { border-bottom-color: rgba(255,255,255,0.12); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
    content: '';
    width: 17px;
    height: 17px;
    margin-top: 1px;
    background: var(--success-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3.5 7l2.5 2.5L10.5 4.5' stroke='%2322A06B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
    border-radius: 50%;
    flex-shrink: 0;
}
.pricing-card.featured .pricing-features li::before {
    background-color: rgba(255,255,255,0.18);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3.5 7l2.5 2.5L10.5 4.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.pricing-card .btn { width: 100%; justify-content: center; }
.multi-clinic-note {
    margin: 2.5rem auto 0;
    text-align: center;
    padding: 1.1rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    max-width: 700px;
    font-size: 0.92rem;
    color: var(--text-medium);
}
.multi-clinic-note a { color: var(--primary); text-decoration: none; font-weight: 600; }
.multi-clinic-note a:hover { text-decoration: underline; }

/* ── Roadmap ─────────────────────────────────────────── */
.roadmap-container { max-width: 1000px; margin: 0 auto; }
.roadmap-track { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.roadmap-category h3 {
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.roadmap-items { display: flex; flex-direction: column; gap: 0.65rem; }
.roadmap-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.95rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}
.roadmap-item:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.roadmap-item.available { background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%); border-color: rgba(34, 160, 107, 0.3); }
.roadmap-item.coming { background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 100%); border-color: rgba(242, 182, 50, 0.4); }
.roadmap-item.partner { background: linear-gradient(135deg, #FFFBF0 0%, white 100%); border-color: rgba(242, 182, 50, 0.5); }
.roadmap-name { font-weight: 600; color: var(--text-dark); font-size: 0.93rem; }
.roadmap-status {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--mono);
}
.roadmap-item.available .roadmap-status { color: var(--success); }
.roadmap-item.coming .roadmap-status { color: #B8860B; }
.roadmap-item.partner .roadmap-status { color: var(--gold); }
.roadmap-ctas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.25rem;
}
.roadmap-cta {
    text-align: center;
    padding: 1.75rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
}
.roadmap-cta.calendar-cta { background: linear-gradient(135deg, #F0F7FF 0%, white 100%); border-color: rgba(13, 43, 77, 0.2); }
.roadmap-cta.partner-cta { background: linear-gradient(135deg, #FFFBF0 0%, white 100%); border-color: rgba(242, 182, 50, 0.4); }
.roadmap-cta h4 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.roadmap-cta p { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 1.1rem; }

/* ── System requirements ─────────────────────────────── */
.requirements-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.req-card {
    background: var(--bg-cream);
    border-radius: 14px;
    padding: 1.4rem;
    border: 1px solid var(--border-soft);
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0.9rem;
    align-items: start;
}
.req-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(13, 43, 77, 0.05);
}
.req-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.req-card p { font-size: 0.85rem; color: var(--text-medium); line-height: 1.55; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.35rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '';
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background:
        linear-gradient(var(--primary), var(--primary)) center / 10px 1.5px no-repeat,
        linear-gradient(var(--primary), var(--primary)) center / 1.5px 10px no-repeat;
    transition: transform 0.25s;
}
details[open] .faq-question::after {
    transform: rotate(45deg);
    background:
        linear-gradient(var(--primary), var(--primary)) center / 10px 1.5px no-repeat;
}
.faq-answer { padding-top: 0.85rem; font-size: 0.95rem; color: var(--text-medium); line-height: 1.65; }
.faq-answer strong { color: var(--text-dark); }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
    padding: 110px 2rem;
    background: var(--primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(242, 182, 50, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(242, 182, 50, 0.10) 0%, transparent 45%);
}
.cta-container { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); margin-bottom: 1rem; font-weight: 700; }
.cta-section h2 .serif { color: var(--accent); }
.cta-section p { font-size: 1.08rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-micro {
    margin-top: 1.5rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}
.footer-container {
    max-width: 1180px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand h2 { color: white; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.6rem; }
.footer-brand h2 .footer-wordmark { color: white; }
.footer-brand h2 .footer-wordmark span { color: var(--gold); }
.footer-brand h2 .footer-wordmark i { color: white; font-style: italic; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 380px; }
.footer-company { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-company strong { color: rgba(255,255,255,0.85); }
.footer-links h3 {
    color: white;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.1rem;
    font-family: var(--mono);
    font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
    max-width: 1180px;
    margin: 0 auto;
}
.footer-trademarks { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.6rem; line-height: 1.55; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Sign-in modal ───────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 54, 0.55);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 22px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.25s ease-out;
    position: relative;
}
@keyframes modalIn { from { transform: translateY(-20px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}
.modal-content h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.modal-content > p { color: var(--text-medium); margin-bottom: 1.5rem; font-size: 0.95rem; }
.signin-features { list-style: none; text-align: left; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.signin-features li {
    padding: 0.45rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
}
.signin-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* Mock fake Google button */
.fake-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.5rem;
    background: white;
    border: 1px solid #DADCE0;
    border-radius: 8px;
    font-weight: 500;
    color: #3c4043;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-family: inherit;
}
.fake-google-btn:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
    .pricing-grid--two { max-width: 460px; }
    .pricing-card.featured { transform: none; }
    .requirements-grid { grid-template-columns: repeat(2, 1fr); }
    .savings-table { padding: 1.5rem 1.25rem; }
    .savings-row { grid-template-columns: 36px 1fr 1.2fr 0.9fr; font-size: 0.85rem; gap: 0.5rem; }
}
@media (max-width: 968px) {
    .hero { padding: 130px 1.5rem 80px; text-align: center; }
    .hero-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-cta, .hero-microcopy { justify-content: center; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.25rem; }
    .stat { border-right: none; padding: 0.5rem; }
    .showcase { grid-template-columns: 1fr; gap: 2rem; }
    .comparison-container, .roadmap-track, .roadmap-ctas, .security-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps-container { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links a:not(.btn) { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .requirements-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.85rem; }
}
