/* =========================================================================
   3Eyes brand design system
   Shared by the marketing pages (Index, Pricing, FAQ, Contact, ...).
   Self-contained: no Bootstrap / theme dependency. Font: Poppins.
   ========================================================================= */

:root {
    /* Brand greens */
    --te-green:        #149b7e;   /* primary emerald (buttons, accents) */
    --te-green-600:    #0f7d64;   /* hover */
    --te-green-700:    #0b6450;
    --te-mint:         #eaf5ef;   /* light section / icon-circle bg */
    --te-mint-200:     #d4ebdf;   /* icon circle */
    --te-mint-300:     #bfe2d1;

    /* Ink + text */
    --te-ink:          #173039;   /* headings, deep navy-teal */
    --te-ink-soft:     #2b454e;
    --te-muted:        #5d6f76;   /* body copy */
    --te-faint:        #8aa0a6;

    /* Surfaces */
    --te-bg:           #f4f9f5;   /* page tint */
    --te-bg-soft:      #f7fbf8;
    --te-white:        #ffffff;
    --te-border:       #e6eef0;
    --te-border-soft:  #eef4f1;

    /* Effects */
    --te-shadow-sm:    0 2px 8px rgba(23, 48, 57, .06);
    --te-shadow:       0 10px 30px rgba(23, 48, 57, .08);
    --te-shadow-lg:    0 30px 70px rgba(23, 48, 57, .14);
    --te-radius:       16px;
    --te-radius-lg:    24px;
    --te-radius-pill:  999px;

    --te-maxw:         1200px;
    --te-font:         "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.te {
    margin: 0;
    font-family: var(--te-font);
    color: var(--te-muted);
    background: var(--te-white);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.te h1, .te h2, .te h3, .te h4 { color: var(--te-ink); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; }
.te a { color: var(--te-green-600); text-decoration: none; }
.te img { max-width: 100%; height: auto; }
.te p { margin: 0 0 1rem; }

.te-container { width: 100%; max-width: var(--te-maxw); margin: 0 auto; padding: 0 24px; }
.te-section { padding: 96px 0; position: relative; }
.te-section--tint { background: var(--te-bg); }
.te-section--mint { background: var(--te-mint); }
.te-center { text-align: center; }

/* eyebrow label e.g. SAFER DIGITAL HABITS */
.te-eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--te-green);
    margin-bottom: 18px;
}
.te-h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.te-lead { font-size: 19px; color: var(--te-muted); max-width: 620px; }
.te-accent-bar { width: 56px; height: 4px; border-radius: 4px; background: var(--te-green); margin-top: 18px; }
.te-center .te-accent-bar { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.te-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: inherit; font-weight: 600; font-size: 17px;
    padding: 16px 32px; border-radius: var(--te-radius-pill);
    border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    text-decoration: none; white-space: nowrap;
}
/* Note: selectors are scoped with `.te ` so the button text colour wins over
   the base link rule `.te a { color: ... }` (which has higher specificity than
   a bare `.te-btn--primary`). */
.te .te-btn--primary, .te a.te-btn--primary { background: var(--te-green); color: #fff; box-shadow: 0 12px 24px rgba(20, 155, 126, .28); }
.te .te-btn--primary:hover, .te a.te-btn--primary:hover { background: var(--te-green-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(20, 155, 126, .34); }
.te .te-btn--ghost, .te a.te-btn--ghost { background: transparent; color: var(--te-ink); border: 2px solid var(--te-border); }
.te .te-btn--ghost:hover, .te a.te-btn--ghost:hover { border-color: var(--te-green); color: var(--te-green-600); }
.te .te-btn--white, .te a.te-btn--white { background: #fff; color: var(--te-green-700); }
.te .te-btn--white:hover, .te a.te-btn--white:hover { transform: translateY(-2px); box-shadow: var(--te-shadow); }
.te-btn--lg { padding: 19px 38px; font-size: 18px; }
.te-btn .te-arrow { transition: transform .18s ease; }
.te-btn:hover .te-arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.te-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding: 22px 0;
    background: #fff;
}
.te-header.is-stuck { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--te-shadow-sm); padding: 14px 0; }
.te-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.te-logo { display: inline-flex; align-items: center; gap: 10px; }
.te-logo img { height: 40px; width: auto; display: block; }
.te-nav { display: flex; align-items: center; gap: 36px; }
.te-nav a { color: var(--te-ink); font-weight: 500; font-size: 16px; position: relative; }
.te-nav a:hover { color: var(--te-green-600); }
.te-nav__cta { margin-left: 8px; }

/* header dropdown (Resources) */
.te-nav__drop { position: relative; }
.te-nav__drop-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: 0; padding: 0; cursor: pointer;
    font-family: inherit; font-size: 16px; font-weight: 500; color: var(--te-ink);
}
.te-nav__drop-btn:hover { color: var(--te-green-600); }
.te-nav__chev { transition: transform .2s ease; }
.te-nav__drop:hover > .te-nav__drop-btn .te-nav__chev,
.te-nav__drop.open > .te-nav__drop-btn .te-nav__chev { transform: rotate(180deg); }
/* invisible bridge so the menu doesn't close in the gap below the button */
.te-nav__drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.te-nav__menu {
    position: absolute; top: calc(100% + 16px); left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 180px; background: #fff; border: 1px solid var(--te-border);
    border-radius: 14px; box-shadow: var(--te-shadow); padding: 8px; z-index: 60;
    opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease;
}
.te-nav__drop:hover > .te-nav__menu,
.te-nav__drop.open > .te-nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.te-nav__menu a {
    display: block; padding: 9px 12px; border-radius: 9px;
    font-size: 15px; color: var(--te-ink-soft); white-space: nowrap;
}
.te-nav__menu a:hover { background: var(--te-mint); color: var(--te-ink); }

.te-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.te-burger span { display: block; width: 26px; height: 2px; background: var(--te-ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.te-hero {
    position: relative; overflow: hidden;
    padding: 150px 0 90px;
    background: linear-gradient(180deg, #f1f8f3 0%, #eaf4ee 45%, #ffffff 100%);
}
.te-hero__bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: url('/images/hero-bg-lowpoly-wide.png');
    background-size: cover; background-position: center bottom; background-repeat: no-repeat;
}
.te-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
/* soft light halo so hero copy stays legible over the foliage */
.te-hero__copy { position: relative; z-index: 1; }
.te-hero__copy::before {
    content: ""; position: absolute; z-index: -1; inset: -50px -80px;
    background: radial-gradient(62% 72% at 34% 46%, rgba(245, 250, 246, .92), rgba(245, 250, 246, 0) 76%);
    pointer-events: none;
}
.te-hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.te-hero__sub { font-size: 20px; color: var(--te-muted); max-width: 480px; margin-bottom: 34px; }
.te-hero__cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.te-trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--te-ink-soft); font-size: 15px; font-weight: 500; }
.te-trust svg { color: var(--te-green); flex: none; }

/* hero visual: dashboard + family illustration */
.te-hero__visual { position: relative; }
.te-hero__family {
    position: absolute; left: -36px; bottom: -34px; width: 300px; z-index: 3;
    filter: drop-shadow(0 18px 24px rgba(23,48,57,.18));
}

/* ---------- dashboard mockup ---------- */
.te-dash {
    background: #fff; border-radius: 22px; box-shadow: var(--te-shadow-lg);
    border: 1px solid var(--te-border-soft);
    display: grid; grid-template-columns: 60px 1fr; overflow: hidden;
    font-size: 13px; color: var(--te-ink-soft);
}
.te-dash__rail { background: linear-gradient(180deg, #f3faf6, #eaf5ef); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; }
.te-dash__rail img { width: 30px; height: 30px; }
.te-dash__rail .ico { width: 20px; height: 20px; color: #9bb4ad; }
.te-dash__rail .ico--active { color: var(--te-green); }
.te-dash__rail .pill { background: var(--te-mint-200); border-radius: 10px; padding: 8px; display: grid; place-items: center; }
.te-dash__body { padding: 18px 20px 22px; }
.te-dash__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.te-dash__hello { font-size: 16px; font-weight: 700; color: var(--te-ink); margin: 0; }
.te-dash__hello + span { font-size: 11.5px; color: var(--te-faint); }
.te-dash__icons { display: flex; align-items: center; gap: 12px; color: #9bb4ad; }
.te-dash__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--te-mint-200); display: grid; place-items: center; color: var(--te-green-700); }

.te-dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.te-card-mini { background: #fff; border: 1px solid var(--te-border); border-radius: 14px; padding: 13px 14px; }
.te-card-mini h5 { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; color: var(--te-faint); text-transform: none; letter-spacing: 0; }
.te-row { display: flex; align-items: center; gap: 10px; }
.te-row--between { justify-content: space-between; }

.te-shield-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--te-green); display: grid; place-items: center; color: #fff; flex: none; }
.te-strong { color: var(--te-ink); font-weight: 700; }
.te-big { font-size: 26px; font-weight: 800; color: var(--te-ink); line-height: 1; }
.te-green-text { color: var(--te-green); }
.te-spark { display: flex; align-items: flex-end; gap: 3px; height: 38px; }
.te-spark i { width: 5px; background: var(--te-mint-300); border-radius: 2px; display: block; }
.te-spark i.hi { background: var(--te-green); }

.te-donut { --val: 62; width: 56px; height: 56px; border-radius: 50%;
    background: conic-gradient(var(--te-green) calc(var(--val) * 1%), #e7f1ec 0);
    display: grid; place-items: center; flex: none; }
.te-donut::after { content: ""; width: 38px; height: 38px; border-radius: 50%; background: #fff; }

.te-cat { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 11.5px; }
.te-cat .dot { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-size: 9px; flex: none; }
.te-cat .bar { flex: 1; height: 5px; border-radius: 3px; background: #eef3f1; overflow: hidden; }
.te-cat .bar > span { display: block; height: 100%; background: var(--te-mint-300); }
.te-cat .num { color: var(--te-faint); white-space: nowrap; }

.te-dash__activity { margin-top: 14px; }
.te-dash__activity > h5 { margin: 0 0 8px; font-size: 11.5px; color: var(--te-faint); font-weight: 600; }
.te-act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.te-act { border: 1px solid var(--te-border); border-radius: 12px; padding: 11px; }
.te-act__head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.te-act__face { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; }
.te-act__name { font-size: 12px; font-weight: 600; color: var(--te-ink); }
.te-act__title { font-size: 11px; color: var(--te-muted); line-height: 1.35; min-height: 30px; }
.te-act__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.te-act__time { font-size: 10.5px; color: var(--te-faint); }
.te-act__emoji { font-size: 18px; }

/* ---------- feature cards (mint circle + label) ---------- */
.te-featrow { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.te-feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.te-feat {
    background: #fff; border: 1px solid var(--te-border); border-radius: var(--te-radius);
    padding: 34px 22px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.te-feat:hover { transform: translateY(-4px); box-shadow: var(--te-shadow); }
.te-ico-circle { width: 78px; height: 78px; border-radius: 50%; background: var(--te-mint); display: grid; place-items: center; margin: 0 auto 20px; color: var(--te-green); }
.te-ico-circle svg { width: 34px; height: 34px; }
.te-feat h3 { font-size: 19px; margin: 0; }

/* ---------- generic 3-up / steps / cards ---------- */
.te-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.te-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) { .te-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .te-grid-4 { grid-template-columns: 1fr; } }
.te-card {
    background: #fff; border: 1px solid var(--te-border); border-radius: var(--te-radius);
    padding: 32px; box-shadow: var(--te-shadow-sm);
}
.te-card h3 { font-size: 20px; }
.te-card__ico { width: 56px; height: 56px; border-radius: 14px; background: var(--te-mint); display: grid; place-items: center; color: var(--te-green); margin-bottom: 18px; }
.te-card__ico svg { width: 26px; height: 26px; }
.te-step__num { font-size: 14px; font-weight: 700; color: var(--te-green); letter-spacing: .1em; }

/* ---------- testimonials ---------- */
.te-quote { background: #fff; border: 1px solid var(--te-border); border-radius: var(--te-radius); padding: 30px; box-shadow: var(--te-shadow-sm); }
.te-quote p { color: var(--te-ink-soft); font-size: 16px; }
.te-stars { color: #f6b73c; margin-bottom: 12px; letter-spacing: 2px; }
.te-quote__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.te-quote__face { width: 42px; height: 42px; border-radius: 50%; background: var(--te-mint-200); display: grid; place-items: center; font-size: 18px; }
.te-quote__who b { color: var(--te-ink); display: block; font-size: 15px; }
.te-quote__who span { font-size: 13px; color: var(--te-faint); }

/* ---------- pricing teaser ---------- */
.te-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.te-price { background: #fff; border: 1px solid var(--te-border); border-radius: var(--te-radius-lg); padding: 36px 30px; position: relative; display: flex; flex-direction: column; }
.te-price--featured { border-color: var(--te-green); box-shadow: var(--te-shadow); }
.te-price__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--te-green); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: var(--te-radius-pill); }
.te-price h3 { font-size: 20px; margin-bottom: 6px; }
.te-price__amt { font-size: 44px; font-weight: 800; color: var(--te-ink); line-height: 1; margin: 14px 0 4px; }
.te-price__amt span { font-size: 16px; font-weight: 500; color: var(--te-faint); }
.te-price ul { list-style: none; padding: 0; margin: 22px 0; flex: 1; }
.te-price li { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--te-ink-soft); }
.te-price li svg { color: var(--te-green); flex: none; margin-top: 3px; }

/* ---------- CTA band ---------- */
.te-cta {
    background: linear-gradient(120deg, var(--te-green) 0%, var(--te-green-700) 100%);
    border-radius: var(--te-radius-lg); padding: 64px 48px; text-align: center; color: #fff;
}
.te-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.te-cta p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

/* ---------- FAQ ---------- */
.te-faq { max-width: 800px; margin: 0 auto; }
.te-faq__item { border-bottom: 1px solid var(--te-border); }
.te-faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit;
    font-size: 18px; font-weight: 600; color: var(--te-ink); padding: 24px 40px 24px 0; position: relative; }
.te-faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--te-green); font-weight: 400; }
.te-faq__item.open .te-faq__q::after { content: "\2212"; }
.te-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.te-faq__a p { padding-bottom: 24px; margin: 0; }

/* ---------- footer ---------- */
.te-footer { background: var(--te-ink); color: #aebfc4; padding: 72px 0 32px; }
.te-footer a { color: #aebfc4; }
.te-footer a:hover { color: #fff; }
.te-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.te-footer h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 18px; }
.te-footer ul { list-style: none; padding: 0; margin: 0; }
.te-footer li { padding: 6px 0; font-size: 15px; }
.te-footer__brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.te-footer__brand p { font-size: 14px; max-width: 280px; }
.te-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* ---------- inner-page header band ---------- */
.te-page-head { padding: 150px 0 50px; background: linear-gradient(180deg, #f1f8f3 0%, #ffffff 100%); text-align: center; }
.te-page-head h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.te-page-head p { font-size: 19px; color: var(--te-muted); max-width: 640px; margin: 12px auto 0; }

/* ---------- forms ---------- */
.te-field { display: block; width: 100%; font-family: inherit; font-size: 16px; color: var(--te-ink);
    padding: 14px 16px; border: 1.5px solid var(--te-border); border-radius: 12px; background: #fff;
    margin-bottom: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.te-field::placeholder { color: var(--te-faint); }
.te-field:focus { outline: none; border-color: var(--te-green); box-shadow: 0 0 0 4px rgba(20,155,126,.12); }
textarea.te-field { min-height: 150px; resize: vertical; }
.te-label { font-weight: 600; font-size: 14px; color: var(--te-ink-soft); margin-bottom: 6px; display: block; }

/* auth card (sign in / sign up) */
.te-auth { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--te-border);
    border-radius: var(--te-radius-lg); box-shadow: var(--te-shadow); padding: 42px; }
.te-auth h1 { font-size: 28px; text-align: center; margin-bottom: 6px; }
.te-auth__sub { text-align: center; color: var(--te-muted); margin-bottom: 26px; }
.te-auth .te-btn { width: 100%; justify-content: center; margin-top: 4px; }
.te-auth__alt { text-align: center; margin-top: 20px; font-size: 15px; color: var(--te-muted); }
.te-check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--te-muted); margin: 4px 0 16px; }

/* auth page with decorative low-poly trees in the bottom-right corner */
.te-auth-scene { position: relative; overflow: hidden; min-height: 88vh; }
.te-auth-scene > .te-container { position: relative; z-index: 1; }
.te-auth-scene::after {
    content: ""; position: absolute; right: 0; bottom: 0; z-index: 0; pointer-events: none;
    width: 340px; height: 100%;
    background: url('/images/side-trees.png') no-repeat bottom right;
    background-size: contain;
}
.te-auth-scene--rocks::after { background-image: url('/images/side-rocks.png'); }
/* full-width variant: art spans the whole section bottom (mountains on both sides) */
.te-auth-scene--mountains::after, .te-auth-scene--boy::after { display: none; }
.te-auth-scene--mountains {
    background: url('/images/both-sides-mountains.png') no-repeat bottom center;
    background-size: 100% auto;
}
.te-auth-scene--boy {
    background: url('/images/boy-sides-mountains.png') no-repeat bottom center;
    background-size: 100% auto;
}
@media (max-width: 1100px) { .te-auth-scene::after { width: 240px; opacity: .85; } }
@media (max-width: 820px) { .te-auth-scene::after { display: none; } }

/* status / alerts */
.te-alert { padding: 12px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 18px; }
.te-alert--ok { background: #e6f7ef; color: #0b6450; border: 1px solid #b9e6d2; }
.te-alert--err { background: #fdecec; color: #b3261e; border: 1px solid #f6c5c2; }

/* pricing toggle + extras */
.te-toggle { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--te-border); border-radius: 999px; padding: 6px; }
.te-toggle button { border: 0; background: none; font-family: inherit; font-weight: 600; font-size: 15px; color: var(--te-muted); padding: 9px 24px; border-radius: 999px; cursor: pointer; transition: .15s; }
.te-toggle button.active { background: var(--te-green); color: #fff; }
.te-price__per { font-size: 16px; font-weight: 500; color: var(--te-faint); }
.te-price__back { font-size: 13px; color: var(--te-faint); margin: 4px 0 0; }
.te-price li.no { color: var(--te-faint); }
.te-price li.no svg { color: var(--te-faint); opacity: .6; }
.te-hint { border-bottom: 1px dotted var(--te-faint); cursor: help; }

/* info-icon tooltip (pricing feature explanations) */
.te-tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 5px; cursor: help; outline: none; }
.te-tip__ico { width: 15px; height: 15px; color: var(--te-faint); flex: none; transition: color .15s ease; }
.te-tip:hover .te-tip__ico, .te-tip:focus-visible .te-tip__ico { color: var(--te-green); }
.te-tip__bubble {
    position: absolute; bottom: calc(100% + 9px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content; max-width: 230px;
    background: var(--te-ink); color: #fff;
    font-size: 13px; line-height: 1.45; font-weight: 400; text-align: left;
    padding: 9px 12px; border-radius: 10px; box-shadow: var(--te-shadow);
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 70;
    transition: opacity .15s ease, transform .15s ease;
}
.te-tip__bubble::after {
    content: ""; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--te-ink);
}
.te-tip:hover .te-tip__bubble, .te-tip:focus-visible .te-tip__bubble, .te-tip:focus-within .te-tip__bubble {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* download steps */
.te-steps { display: flex; flex-direction: column; gap: 56px; margin-top: 56px; }
.te-step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.te-step-row__img img { border-radius: var(--te-radius); box-shadow: var(--te-shadow); width: 100%; }
.te-step-row .te-step__num { margin-bottom: 8px; }
@media (max-width: 760px) { .te-step-row { grid-template-columns: 1fr; } }

/* contact split */
.te-contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.te-contact-card { background: #fff; border: 1px solid var(--te-border); border-radius: var(--te-radius-lg); box-shadow: var(--te-shadow-sm); padding: 36px; }
.te-contact-info .item { display: flex; gap: 14px; margin-bottom: 24px; }
.te-contact-info .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--te-mint); display: grid; place-items: center; color: var(--te-green); flex: none; }
.te-contact-info b { color: var(--te-ink); display: block; font-size: 15px; }
.te-contact-info span { font-size: 15px; }
@media (max-width: 760px) { .te-contact-grid { grid-template-columns: 1fr; } }

/* ---------- reveal-on-scroll (progressive enhancement) ----------
   Content is visible by default; only when JS is active (html.te-js) do we
   hide it for the entrance animation. No-JS users and crawlers see everything. */
.te-reveal { transition: opacity .6s ease, transform .6s ease; }
.te-js .te-reveal { opacity: 0; transform: translateY(24px); }
.te-js .te-reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .te-hero__inner, .te-featrow { grid-template-columns: 1fr; }
    .te-hero { padding-top: 130px; }
    .te-hero__sub, .te-lead { max-width: none; }
    .te-hero__family { width: 220px; left: 0; bottom: -20px; }
    .te-footer__grid { grid-template-columns: 1fr 1fr; }
    .te-nav { display: none; }
    .te-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 24px 18px; box-shadow: var(--te-shadow); }
    .te-nav.open a { padding: 11px 0; width: 100%; }
    /* Sign Up should be a normal button, not a full-bleed green bar */
    .te-nav.open .te-nav__cta { width: auto; align-self: flex-start; margin: 12px 0 0; padding: 11px 26px; }
    /* dropdown becomes an inline, indented group in the mobile menu */
    .te-nav__drop { width: 100%; }
    .te-nav__drop::after { display: none; }
    .te-nav__drop-btn { width: 100%; justify-content: space-between; padding: 11px 0; }
    .te-nav__menu { position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 4px 14px; min-width: 0; display: none; }
    /* override the desktop open-rule transform (translateX(-50%)) which would
       otherwise shift the mobile submenu off-screen and hide its links. */
    .te-nav__drop.open > .te-nav__menu { display: block; transform: none; }
    .te-nav__menu a { padding: 9px 0; width: 100%; color: var(--te-ink); }
    .te-burger { display: block; }
}
@media (max-width: 760px) {
    .te-section { padding: 64px 0; }
    .te-feat-cards, .te-grid-3, .te-price-grid, .te-act-grid { grid-template-columns: 1fr; }
    .te-dash__grid { grid-template-columns: 1fr; }
    .te-footer__grid { grid-template-columns: 1fr; }
    .te-cta { padding: 44px 24px; }
}
@media (max-width: 600px) {
    .te-act-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Help / documentation center
   Two-pane docs: sticky topic sidebar (left) + readable explainer (right).
   Used by /Help and /Help/* pages on top of _MarketingLayout.
   ========================================================================= */
.te-help {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 56px;
    max-width: var(--te-maxw);
    margin: 0 auto;
    padding: 56px 24px 104px;
    align-items: start;
}
.te-help__sidebar { position: sticky; top: 96px; }
.te-help__group { margin-bottom: 30px; }
.te-help__group h4 {
    font-size: 12px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--te-faint);
    margin: 0 0 10px; padding: 0 14px;
}
.te-help__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.te-help__nav a {
    display: block; padding: 9px 14px; border-radius: 11px;
    color: var(--te-ink-soft); font-weight: 500; font-size: 15px; line-height: 1.4;
    transition: background .15s ease, color .15s ease;
}
.te-help__nav a:hover { background: var(--te-mint); color: var(--te-ink); }
.te-help__nav a.is-active { background: var(--te-green); color: #fff; box-shadow: var(--te-shadow-sm); }

.te-help__content { min-width: 0; max-width: 760px; }
.te-help__crumb { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--te-green); margin-bottom: 12px; }
.te-help__content h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: .35em; }
.te-help__content h2 { font-size: 25px; margin-top: 44px; }
.te-help__content h3 { font-size: 19px; margin-top: 30px; }
.te-help__lead { font-size: 19px; color: var(--te-ink-soft); line-height: 1.6; }
.te-help__content ul:not(.te-help__nav), .te-help__content ol { padding-left: 22px; margin: 0 0 1rem; }
.te-help__content li { margin-bottom: .5rem; }

/* numbered step list */
.te-steps { counter-reset: te-step; list-style: none; margin: 26px 0; padding: 0; }
.te-steps > li {
    position: relative; padding: 2px 0 2px 52px; margin-bottom: 22px;
    color: var(--te-ink-soft);
}
.te-steps > li::before {
    counter-increment: te-step; content: counter(te-step);
    position: absolute; left: 0; top: 0;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--te-green); color: #fff; font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.te-steps > li strong { color: var(--te-ink); }

/* highlighted note / callout */
.te-note {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--te-mint); border: 1px solid var(--te-mint-200);
    border-radius: var(--te-radius); padding: 18px 20px; margin: 26px 0;
}
.te-note--warn { background: #fff7ed; border-color: #fadcae; }
.te-note__icon { flex: none; margin-top: 1px; }
.te-note p { margin: 0; color: var(--te-ink-soft); }
.te-note strong { color: var(--te-ink); }

/* small feature cards inside an article */
.te-help__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 26px 0; }

@media (max-width: 860px) {
    .te-help { grid-template-columns: 1fr; gap: 18px; padding: 28px 20px 72px; }
    .te-help__sidebar { position: static; }
    .te-help__group { margin-bottom: 16px; }
    .te-help__nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .te-help__nav a { padding: 7px 12px; font-size: 14px; }
}
