/* The public website (templates/site/). Tokens first; dark mode follows the visitor's system. */
:root {
  --ink: #0f1b2d;
  --ink-soft: #46546a;
  --muted: #6b778a;
  --bg: #ffffff;
  --bg-tint: #f4f6fa;
  --line: #e3e8ef;
  --brand: #1f4fd1;
  --brand-dark: #173ca3;
  --brand-soft: #e8eefc;
  --accent: #e8a33d;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(15, 27, 45, .12);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef2f8; --ink-soft: #c3cbd8; --muted: #95a1b3; --bg: #0c1320; --bg-tint: #111a2b;
    --line: #223049; --brand: #6d95ff; --brand-dark: #8aa9ff; --brand-soft: #18264a; --card: #121c2e;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  --ink: #eef2f8; --ink-soft: #c3cbd8; --muted: #95a1b3; --bg: #0c1320; --bg-tint: #111a2b;
  --line: #223049; --brand: #6d95ff; --brand-dark: #8aa9ff; --brand-soft: #18264a; --card: #121c2e;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg);
       -webkit-font-smoothing: antialiased; }
.container { padding-left: 16px; padding-right: 16px; }
.container.narrow { max-width: 820px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
p { color: var(--ink-soft); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--bg) 88%, transparent);
               backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff;
              display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.site-links { display: flex; gap: 22px; list-style: none; margin: 0 auto 0 12px; padding: 0; }
.site-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-links a:hover { color: var(--brand); }
.link-login { margin-left: auto; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
              white-space: nowrap; }
.link-login:hover { color: var(--brand); }
.btn-login { background: var(--brand); color: #fff; font-weight: 600; border-radius: 999px; padding: 8px 18px;
             white-space: nowrap; }
.btn-login:hover { background: var(--brand-dark); color: #fff; }
.site-links a, .site-nav form button { white-space: nowrap; }
.link-login .wide { margin-left: 6px; }
.btn-login .narrow { display: none; }
@media (max-width: 1150px) { .site-links { display: none; } .site-nav { gap: 12px; } }
@media (max-width: 600px) { .site-nav { gap: 8px; } .link-login .wide, .btn-login .wide { display: none; }
                            .btn-login .narrow { display: inline; } .link-login { font-size: 1.35rem; }
                            .btn-login { padding: 6px 11px; font-size: .86rem; } .brand-name { font-size: 1rem; }
                            .brand-mark { width: 32px; height: 32px; } }
@media (max-width: 430px) { .site-nav .brand-name { display: none; } }

/* ---- buttons ---- */
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark);
               --bs-btn-hover-border-color: var(--brand-dark); font-weight: 600; border-radius: 12px; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---- hero ---- */
.hero { padding: 72px 0 56px; background:
        radial-gradient(1200px 500px at 85% -10%, var(--brand-soft), transparent 60%),
        radial-gradient(700px 400px at -10% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
           color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand); }
.lead-text { font-size: 1.12rem; line-height: 1.65; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: .95rem; }
.hero-points i { color: var(--brand); margin-right: 6px; }
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line);
         box-shadow: var(--shadow); }
.frame-bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 12px; background: var(--bg-tint);
             border-bottom: 1px solid var(--line); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame img { display: block; width: 100%; height: auto; }
.frame-empty { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--muted); }
@media (max-width: 992px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* ---- flow strip ---- */
.flow { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.flow-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 0; padding: 20px 0;
              color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.flow-steps li { display: inline-flex; align-items: center; gap: 8px; }
.flow-steps li i { color: var(--brand); font-size: 1.1rem; }
.flow-steps li:not(:last-child)::after { content: '\2192'; margin-left: 20px; color: var(--muted); font-weight: 400; }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-head p { font-size: 1.08rem; }

.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
                display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
@media (max-width: 576px) { .section { padding: 64px 0; } }

.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot { margin: 0; }
.shot-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
             background: var(--card); box-shadow: 0 6px 22px rgba(15, 27, 45, .08); cursor: zoom-in; transition: transform .15s; }
.shot-open:hover { transform: translateY(-3px); }
.shot-open img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 14px 4px 0; }
.shot figcaption strong { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--ink); }
.shot figcaption span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 992px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .shot-grid { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-no { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg);
           align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

/* ---- trial ---- */
.trial-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.trial-card h2 { font-size: 1.8rem; }
.trial-card .form-control, .trial-card .form-select { border-radius: 10px; padding: .65rem .85rem; background-color: var(--bg);
                                                       color: var(--ink); border-color: var(--line); }
.trial-card .form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.trial-done { text-align: center; padding: 20px 0; }
.trial-done i { font-size: 3rem; color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 576px) { .trial-card { padding: 22px; } }

.faq .accordion-item { background: var(--card); border-color: var(--line); }
.faq .accordion-button { font-weight: 600; color: var(--ink); background: var(--card); }
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: var(--brand-soft); box-shadow: none; }
.faq .accordion-body { color: var(--ink-soft); }

.cta { background: linear-gradient(120deg, var(--brand), #0f2a75); padding: 64px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.footer-text { margin-top: 12px; font-size: .95rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }
.btn-staff { border: 1px solid var(--line); color: var(--muted); border-radius: 10px; font-size: .9rem; background: transparent; }
.btn-staff:hover { color: var(--ink); border-color: var(--ink-soft); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- the sign-in page in the site's look ---- */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 48px 16px;
             background: radial-gradient(900px 400px at 80% -10%, var(--brand-soft), transparent 60%); }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
             padding: 32px; box-shadow: var(--shadow); }
.auth-card .form-control { border-radius: 10px; padding: .65rem .85rem; background-color: var(--bg); color: var(--ink); border-color: var(--line); }

/* plans (no prices): what each includes */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan-lead { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plan { display: flex; flex-direction: column; }
.plan .ticks { margin: 0 0 16px; }
.plan .ticks li { font-size: .92rem; }
.ticks small { display: block; color: var(--muted); font-size: .84rem; margin-top: 1px; }
.plan-more { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; font-size: .88rem; }
.plan-more summary { color: var(--brand); font-weight: 600; cursor: pointer; }
.plan-more p { margin: 10px 0 0; line-height: 1.45; }
.plan-more strong { display: block; color: var(--ink); }
.plan-platinum { border-color: var(--brand); box-shadow: var(--shadow); }
.plan-note { text-align: center; color: var(--muted); margin: 24px auto 0; max-width: 720px; font-size: .95rem; }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---- who it is for ---- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.who h3 { font-size: 1.15rem; margin-bottom: 8px; }
.who p { margin: 0; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }

/* ---- the four themes: one big picture, few words, a checklist ---- */
.theme { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 40px 0; }
.theme + .theme { border-top: 1px solid var(--line); }
.theme-flip .theme-copy { order: 2; }
.theme-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
                 color: var(--brand); margin-bottom: 10px; }
.theme h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 14px; }
.theme-copy > p { font-size: 1.05rem; line-height: 1.6; }
.theme-shot { margin: 0; }
.theme-shot .frame { display: block; width: 100%; padding: 0; cursor: zoom-in; transition: transform .15s; }
.theme-shot .frame:hover { transform: translateY(-3px); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); font-size: .96rem; line-height: 1.4; }
.ticks i { color: var(--brand); font-size: 1rem; flex: none; }
@media (max-width: 992px) { .theme { grid-template-columns: 1fr; gap: 24px; } .theme-flip .theme-copy { order: 0; } }

.every-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 40px;
              border-top: 1px solid var(--line); }
.every { display: flex; gap: 14px; align-items: flex-start; }
.every > i { font-size: 1.4rem; color: var(--brand); }
.every strong { display: block; color: var(--ink); margin-bottom: 2px; }
.every span { color: var(--ink-soft); font-size: .94rem; }
@media (max-width: 860px) { .every-plan { grid-template-columns: 1fr; } }

/* ---- on the phone ---- */
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.phone { margin: 0; text-align: center; }
.phone-frame { max-width: 260px; margin: 0 auto; border: 10px solid #111a2b; border-radius: 36px; overflow: hidden;
               box-shadow: var(--shadow); background: #111a2b; aspect-ratio: 390 / 760; }
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.phone figcaption { padding-top: 16px; }
.phone figcaption strong { display: block; color: var(--ink); margin-bottom: 4px; }
.phone figcaption span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 768px) { .phone-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- fingers: tap targets of about 44 px on a touch screen (2026-11-26 mobile check) ---- */
@media (pointer: coarse), (max-width: 768px) {
  .site-nav form button { min-height: 40px; min-width: 44px; }
  .link-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .btn-login { min-height: 40px; display: inline-flex; align-items: center; }
  .plan-more summary { padding: 10px 0; }
  .footer-links a { padding: 10px 0; }
  .footer-links { gap: 0; }
  .btn-staff { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 360px) { .site-nav { gap: 3px; } .btn-login { padding: 6px 9px; font-size: .82rem; } .link-login { min-width: 38px; }
                            .site-nav form button { min-width: 40px; } }
