/* ────────────────────────────────────────────────────────────────
   KinetiqLoop marketing + legal site
   Palette mirrors the 2026 app icon: mint → sky blue → lavender.
   ──────────────────────────────────────────────────────────────── */

:root {
    --mint:       #6ECFC4;
    --sky:        #5BA8F0;
    --lavender:   #8B9AE8;
    --tick:       #3D6FD8;
    --ink:        #0F1419;
    --ink-soft:   #4A5560;
    --line:       #E5EAF0;
    --bg-soft:    #F7FAFC;
    --bg-page:    #FFFFFF;
    --accent:     #5BA8F0;
    --radius:     16px;
    --radius-lg:  24px;
    --shadow-sm:  0 1px 3px rgba(15, 20, 25, 0.06), 0 1px 2px rgba(15, 20, 25, 0.04);
    --shadow-md:  0 16px 40px rgba(61, 111, 216, 0.10), 0 4px 12px rgba(15, 20, 25, 0.05);
    --shadow-lg:  0 24px 64px rgba(91, 168, 240, 0.14), 0 8px 24px rgba(15, 20, 25, 0.06);
    --brand-grad: linear-gradient(135deg, var(--mint) 0%, var(--sky) 52%, var(--lavender) 100%);
    --max-w:      1080px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: var(--bg-page);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    font-size: 17px;
}

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

a {
    color: var(--tick);
    text-decoration: none;
    border-bottom: 1px solid rgba(61, 111, 216, 0.18);
    transition: border-color 120ms ease, color 120ms ease;
}
a:hover { border-color: var(--tick); color: #2E57B8; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────────── */

.site-header {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.88);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    border: none;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-links a {
    color: var(--ink-soft);
    border: none;
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover { color: var(--ink); }

/* ─── Hero ──────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 72px;
    text-align: center;
}

.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-aurora::before,
.hero-aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
}

.hero-aurora::before {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -80px;
    background: rgba(110, 207, 196, 0.22);
}

.hero-aurora::after {
    width: 360px;
    height: 360px;
    top: -80px;
    right: -100px;
    background: rgba(139, 154, 232, 0.18);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.logo-stage {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 28px;
}

.logo-halo {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 168, 240, 0.18), transparent 68%);
}

.hero-icon {
    width: 112px;
    height: 112px;
    margin: 10px auto 0;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 54px;
    line-height: 1.06;
    letter-spacing: -1.4px;
    font-weight: 800;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .tagline {
    font-size: 21px;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto 18px;
}

.hero .subtag {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 28px;
}

.pill-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tick);
    background: rgba(91, 168, 240, 0.10);
    border: 1px solid rgba(91, 168, 240, 0.16);
}

.pill svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--ink);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow-md);
}

.appstore-badge:hover {
    background: #1c252f;
    border: none;
    color: white;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
}

.cta-secondary:hover { border-color: rgba(91, 168, 240, 0.45); }

/* ─── Stats strip ───────────────────────────────────────────── */

.stats-strip {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 252, 0.72);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 28px;
    letter-spacing: -0.6px;
    font-weight: 800;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ─── Section ───────────────────────────────────────────────── */

.section {
    padding: 72px 0;
}

.section.bg-soft { background: var(--bg-soft); }
.section.bg-grad {
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(110, 207, 196, 0.10), transparent 60%),
        radial-gradient(900px 420px at 90% 100%, rgba(139, 154, 232, 0.10), transparent 60%),
        var(--bg-page);
}

.section h2 {
    font-size: 36px;
    letter-spacing: -0.8px;
    font-weight: 800;
    margin: 0 0 12px;
}

.section .lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 680px;
    margin: 0 0 40px;
}

.section.center { text-align: center; }
.section.center .lead { margin-left: auto; margin-right: auto; }

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--tick);
    background: rgba(61, 111, 216, 0.08);
}

/* ─── Steps ─────────────────────────────────────────────────── */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    padding: 28px;
    background: var(--bg-page);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    color: white;
    background: var(--brand-grad);
    margin-bottom: 16px;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

/* ─── Feature grid ──────────────────────────────────────────── */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature {
    padding: 28px;
    background: var(--bg-page);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature .ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(110, 207, 196, 0.18), rgba(139, 154, 232, 0.16));
    margin-bottom: 16px;
    color: var(--tick);
}

.feature .ico svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3 {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: 700;
}

.feature p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.feature .tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--tick);
    background: rgba(61, 111, 216, 0.08);
}

/* ─── Programs ──────────────────────────────────────────────── */

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.program-card {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-page);
}

.program-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.program-card .meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.program-card p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ─── Premium split ───────────────────────────────────────────── */

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tier-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--line);
    background: var(--bg-page);
    text-align: left;
}

.tier-card.premium {
    border-color: rgba(91, 168, 240, 0.45);
    box-shadow: var(--shadow-md);
    background:
        linear-gradient(180deg, rgba(110, 207, 196, 0.06), rgba(139, 154, 232, 0.04)),
        var(--bg-page);
}

.tier-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.tier-card .tier-note {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.tier-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-card li {
    padding: 7px 0;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    gap: 10px;
}

.tier-card li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

/* ─── Pricing ───────────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.plan {
    padding: 32px;
    background: var(--bg-page);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: left;
    position: relative;
}

.plan.featured {
    border-color: rgba(91, 168, 240, 0.55);
    box-shadow: var(--shadow-md);
}

.plan .badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--brand-grad);
    color: white;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plan h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }

.plan .price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 14px 0 4px;
}

.plan .price small {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-soft);
}

.plan .regular-price {
    display: inline-block;
    margin-right: 8px;
    color: var(--ink-soft);
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    opacity: 0.72;
}

.plan .save {
    font-size: 13px;
    color: var(--tick);
    font-weight: 600;
    margin-bottom: 16px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.plan ul li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    gap: 10px;
}

.plan ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.pricing-note {
    max-width: 640px;
    margin: 28px auto 0;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ─── Footer ────────────────────────────────────────────────── */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 32px;
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    border: none;
}

.site-footer a:hover { color: white; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-grid h4 {
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin: 0 0 14px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid ul li { padding: 5px 0; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* ─── Legal pages ───────────────────────────────────────────── */

.legal {
    padding: 56px 0 80px;
    max-width: 760px;
}

.legal .updated {
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 8px;
}

.legal h1 {
    font-size: 40px;
    letter-spacing: -1px;
    font-weight: 800;
    margin: 0 0 8px;
}

.legal h2 {
    margin-top: 40px;
    font-size: 22px;
    font-weight: 700;
}

.legal h3 {
    margin-top: 28px;
    font-size: 17px;
    font-weight: 700;
}

.legal p, .legal li {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
}

.legal ul, .legal ol { padding-left: 22px; }

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

.legal th, .legal td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.legal th { background: var(--bg-soft); font-weight: 600; }

.legal .notice-card {
    padding: 16px 18px;
    border: 1px solid rgba(91, 168, 240, 0.24);
    border-radius: 14px;
    background: rgba(91, 168, 240, 0.08);
    color: var(--ink);
}

.redirect-page { min-height: 60vh; }

/* ─── Mobile ────────────────────────────────────────────────── */

@media (max-width: 820px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero { padding: 64px 0 56px; }
    .hero h1 { font-size: 38px; letter-spacing: -1px; }
    .hero .tagline { font-size: 18px; }
    .section { padding: 56px 0; }
    .section h2 { font-size: 28px; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .legal h1 { font-size: 30px; }
}
