/* =====================================================================
   TopNote homepage. Loaded only on the homepage, after styles.css.
   Colour tokens (--tn-*) are defined in styles.css so the shared header
   and footer use them on every page; dark values live here, so dark mode
   only ever applies to the homepage.
   ===================================================================== */
@media (prefers-color-scheme: dark) { :root.tn-dark-ok:not([data-theme="light"]) {
  --tn-ink:#EDF1F8; --tn-text:#A7B1C4; --tn-soft:#7D889D; --tn-blue:#3B82F6; --tn-blue-d:#2563EB; --tn-tint:#17223B;
  --tn-mist:#0F1626; --tn-line:#1E293B; --tn-bg:#0A0F1A; --tn-surface:#111A2B; --tn-side:#0E1524; --tn-header:#0A0F1AE0; --tn-line2:#334155;
  --tn-deep:#121C31; --tn-deep-line:#22304A; --tn-bar2:#29406E; --tn-on-ink:#0A0F1A;
  --tn-ok:#4ADE80; --tn-ok-bg:#0F2A1C; --tn-due:#FBBF24; --tn-due-bg:#2E2208; --tn-low:#F87171; --tn-low-bg:#341416; --tn-shadow:#000; --tn-soft-op:.6; color-scheme: dark;
}}
:root.tn-dark-ok[data-theme="dark"] {
  --tn-ink:#EDF1F8; --tn-text:#A7B1C4; --tn-soft:#7D889D; --tn-blue:#3B82F6; --tn-blue-d:#2563EB; --tn-tint:#17223B;
  --tn-mist:#0F1626; --tn-line:#1E293B; --tn-bg:#0A0F1A; --tn-surface:#111A2B; --tn-side:#0E1524; --tn-header:#0A0F1AE0; --tn-line2:#334155;
  --tn-deep:#121C31; --tn-deep-line:#22304A; --tn-bar2:#29406E; --tn-on-ink:#0A0F1A;
  --tn-ok:#4ADE80; --tn-ok-bg:#0F2A1C; --tn-due:#FBBF24; --tn-due-bg:#2E2208; --tn-low:#F87171; --tn-low-bg:#341416; --tn-shadow:#000; --tn-soft-op:.6; color-scheme: dark;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.tn-home { margin: 0; font: 16px/1.65 var(--tn-font); color: var(--tn-text); background: var(--tn-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .35s, color .35s; }
html[dir="rtl"] body.tn-home { font-family: var(--tn-ar); }
.tn-home h1, .tn-home h2, .tn-home h3, .tn-home h4, .tn-home h5, .tn-home h6 { color: var(--tn-ink); font-family: inherit; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
html[dir="rtl"] .tn-home h1, html[dir="rtl"] .tn-home h2, html[dir="rtl"] .tn-home h3 { letter-spacing: 0; line-height: 1.3; }
.tn-home h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; }
.tn-home h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.tn-home p { margin: 0; }
.tn-home a { color: inherit; text-decoration: none; }
.tn-home ul, .tn-home ol { list-style: none; margin: 0; padding: 0; }
.tn-home svg { display: block; }
.tn-home :focus-visible { outline: 2px solid var(--tn-blue); outline-offset: 3px; border-radius: 6px; }
.tn-sec { padding: clamp(88px, 11vw, 140px) 0; }
.tn-intro { max-width: 640px; }
.tn-intro p { font-size: 18px; margin-top: 20px; max-width: 52ch; }
.tn-intro.c { margin-inline: auto; text-align: center; }
.tn-intro.c p { margin-inline: auto; }

/* ---------- hero ---------- */
.tn-hero { padding: clamp(64px, 9vw, 112px) 0 0; text-align: center; }
.tn-hero h1 { font-size: clamp(46px, 7.6vw, 104px); letter-spacing: -.055em; line-height: .98; max-width: 12ch; margin: 0 auto; animation: tn-focus 1.4s cubic-bezier(.2,.7,.2,1) both; }
html[dir="rtl"] .tn-hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.2; max-width: 14ch; letter-spacing: 0; }
.tn-hero h1 .hl { color: var(--tn-blue); }
@keyframes tn-focus { from { filter: blur(14px); opacity: .25; } to { filter: blur(0); opacity: 1; } }
.tn-lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 44ch; margin: 28px auto 0 !important; }
.tn-hero .tn-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tn-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px !important; font-size: 14px; color: var(--tn-soft); }
.tn-trust li { display: flex; align-items: center; gap: 7px; }
.tn-trust svg { width: 15px; height: 15px; color: var(--tn-blue); }

/* the clear-view lens */
.tn-stage-wrap { margin-top: clamp(56px, 7vw, 88px); position: relative; isolation: isolate; }
.tn-stage-wrap::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60px; width: min(1100px, 95%); height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, #2563EB1F, transparent); pointer-events: none; }
.tn-stage { position: relative; max-width: 1120px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--tn-surface); box-shadow: 0 0 0 1px var(--tn-line), 0 40px 80px -40px color-mix(in srgb, var(--tn-shadow) 35%, transparent); cursor: none; touch-action: pan-y; }
.tn-canvas { position: absolute; top: 0; left: 0; width: 1120px; height: 640px; transform-origin: 0 0; }
.tn-layer { position: absolute; inset: 0; }
.tn-soft { filter: blur(7px) saturate(.55); opacity: var(--tn-soft-op); }
.tn-sharp { clip-path: circle(0 at 50% 50%); will-change: clip-path, transform; }
.tn-ring { position: absolute; top: 0; left: 0; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 1.5px var(--tn-surface), 0 0 0 2.5px #3B82F666, 0 24px 50px -12px #0B122066; opacity: 0; transition: opacity .4s; }
.tn-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 24%, #FFFFFF59, transparent 42%); }
.tn-ring.on { opacity: 1; }
.tn-hint { margin-top: 18px; font-size: 14px; color: var(--tn-soft); }
.tn-hint .touch { display: none; }
@media (hover: none) { .tn-hint .mouse { display: none; } .tn-hint .touch { display: inline; } .tn-stage { cursor: default; } }
@media (prefers-reduced-motion: reduce) { .tn-hero h1 { animation: none; } .tn-soft { filter: none; opacity: 1; } .tn-sharp, .tn-ring, .tn-hint { display: none; } }

/* dashboard (drawn at 1120 x 640, scaled to fit) */
.tn-dash { display: grid; grid-template-columns: 208px 1fr; height: 100%; font-size: 13px; color: var(--tn-ink); text-align: start; background: var(--tn-surface); }
.tn-d-side { border-inline-end: 1px solid var(--tn-line); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--tn-side); }
.tn-d-lg { font-weight: 800; font-size: 20px; letter-spacing: -.045em; padding: 0 10px 18px; font-family: var(--tn-font); }
.tn-d-lg i { color: var(--tn-blue); font-style: normal; }
.tn-d-side span { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--tn-text); font-weight: 500; }
.tn-d-side span.on { background: var(--tn-tint); color: var(--tn-blue-d); font-weight: 600; }
.tn-d-side svg { width: 17px; height: 17px; }
.tn-d-side .help { margin-top: auto; background: var(--tn-surface); border: 1px solid var(--tn-line); border-radius: 12px; padding: 12px; font-size: 12px; display: block; }
.tn-d-side .help b { display: block; color: var(--tn-ink); font-size: 12.5px; }
.tn-d-main { padding: 22px 26px; display: grid; grid-template-rows: auto auto 1fr 1fr; gap: 16px; min-width: 0; }
.tn-d-top { display: flex; align-items: center; gap: 14px; }
.tn-d-top h4 { font-size: 19px; letter-spacing: -.02em; }
.tn-d-top small { display: block; color: var(--tn-soft); font-size: 12px; font-weight: 500; }
.tn-d-top .sr { margin-inline-start: auto; width: 230px; padding: 8px 12px; border: 1px solid var(--tn-line); border-radius: 9px; color: var(--tn-soft); }
.tn-d-top .nb { background: var(--tn-blue); color: #fff; font-weight: 600; padding: 8px 14px; border-radius: 9px; white-space: nowrap; }
.tn-d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tn-d-kpi { border: 1px solid var(--tn-line); border-radius: 12px; padding: 14px 16px; }
.tn-d-kpi small { color: var(--tn-soft); font-size: 12px; display: block; }
.tn-d-kpi b { font-size: 20px; white-space: nowrap; letter-spacing: -.03em; }
.tn-d-kpi em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--tn-ok); margin-inline-start: 6px; }
.tn-d-row { display: grid; grid-template-columns: 1.8fr 1fr; gap: 12px; min-height: 0; }
.tn-d-card { border: 1px solid var(--tn-line); border-radius: 12px; padding: 14px 16px; min-height: 0; display: flex; flex-direction: column; }
.tn-d-card h5 { font-size: 13px; display: flex; justify-content: space-between; margin-bottom: 8px; letter-spacing: 0; }
.tn-d-card h5 span { color: var(--tn-soft); font-weight: 500; font-size: 12px; }
.tn-d-card svg.ch { width: 100%; flex: 1; min-height: 0; }
.tn-donut { display: flex; align-items: center; gap: 18px; flex: 1; }
.tn-donut ul { display: grid; gap: 8px; font-size: 12.5px; }
.tn-donut li { display: flex; align-items: center; gap: 8px; }
.tn-donut li i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.tn-donut li b { margin-inline-start: auto; padding-inline-start: 14px; }
.tn-d-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tn-d-tbl th { text-align: start; color: var(--tn-soft); font-weight: 600; font-size: 11.5px; padding: 0 0 8px; }
.tn-d-tbl td { padding: 8px 0; border-top: 1px solid var(--tn-line); }
.tn-d-tbl .r { text-align: end; }
.tn-tg { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tn-tg.ok { background: var(--tn-ok-bg); color: var(--tn-ok); }
.tn-tg.due { background: var(--tn-due-bg); color: var(--tn-due); }
.tn-tg.low { background: var(--tn-low-bg); color: var(--tn-low); }
.tn-att li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--tn-line); }
.tn-att li:first-child { border-top: 0; padding-top: 2px; }
.tn-att small { display: block; color: var(--tn-soft); font-size: 11.5px; }

/* ---------- trusted logos ---------- */
.tn-trusted { padding: 72px 0 0; }
.tn-trusted-t { text-align: center; font-size: 14px; color: var(--tn-soft); margin-bottom: 18px !important; }
.tn-trusted .trusted-businesses-track { display: flex; gap: 48px; overflow-x: auto; scrollbar-width: none; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tn-trusted .trusted-businesses-track::-webkit-scrollbar { display: none; }
.tn-trusted .trusted-business-card { flex: 0 0 auto; display: grid; place-items: center; height: 56px; }
.tn-trusted .trusted-business-card img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.tn-trusted .trusted-business-card:hover img { filter: none; opacity: 1; }

/* ---------- modules strip ---------- */
.tn-mods { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--tn-line); margin-top: 72px !important; }
.tn-mods li { padding: 32px 28px 0 0; padding-inline: 0 28px; }
.tn-mods li + li { padding-inline-start: 28px; border-inline-start: 1px solid var(--tn-line); }
.tn-mods svg { width: 22px; height: 22px; color: var(--tn-blue); margin-bottom: 22px; transition: transform .3s; }
.tn-mods li:hover svg { transform: translateY(-2px); }
.tn-mods b { display: block; color: var(--tn-ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.tn-mods p { font-size: 15px; }
@media (max-width: 900px) { .tn-mods { grid-template-columns: 1fr 1fr; } .tn-mods li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; } .tn-mods li:nth-child(n+3) { margin-top: 12px; } }
@media (max-width: 560px) { .tn-mods { grid-template-columns: minmax(0, 1fr); } .tn-mods li, .tn-mods li + li { padding: 28px 0 0; border-inline-start: 0; } }

/* ---------- feature cards ---------- */
.tn-cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 72px; }
.tn-fc { background: var(--tn-mist); border-radius: 28px; padding: 40px 40px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 480px; }
.tn-fc.w7 { grid-column: span 7; } .tn-fc.w5 { grid-column: span 5; }
.tn-fc h3 { font-size: 26px; max-width: 18ch; }
.tn-fc > p { margin-top: 12px; font-size: 16px; max-width: 42ch; }
.tn-fc .shot { margin-top: auto; padding-top: 36px; }
.tn-ui { background: var(--tn-surface); border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px var(--tn-line), 0 -10px 40px -24px #0B122033; font-size: 13px; color: var(--tn-ink); padding: 18px 20px 22px; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.tn-fc:hover .tn-ui { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--tn-line), 0 -16px 48px -20px #0B122040; }
.tn-ui h6 { font-size: 13px; display: flex; justify-content: space-between; margin-bottom: 12px; letter-spacing: 0; }
.tn-ui h6 span { color: var(--tn-soft); font-weight: 500; }
.tn-ui .t { width: 100%; border-collapse: collapse; }
.tn-ui .t th { text-align: start; font-size: 11.5px; color: var(--tn-soft); font-weight: 600; padding-bottom: 8px; }
.tn-ui .t td { padding: 9px 0; border-top: 1px solid var(--tn-line); }
.tn-ui .t .r { text-align: end; font-variant-numeric: tabular-nums; }
.meter { display: inline-block; width: 60px; height: 5px; border-radius: 3px; background: var(--tn-line); margin-inline-start: 10px; vertical-align: middle; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--tn-blue); }
.meter.low i { background: #E5484D; }
.tn-flowchips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tn-flowchips span { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--tn-line); font-weight: 600; font-size: 12.5px; background: var(--tn-surface); }
.tn-flowchips span.on { background: var(--tn-ink); border-color: var(--tn-ink); color: var(--tn-on-ink); }
.tn-flowchips i { width: 16px; height: 1.5px; background: var(--tn-line2); display: block; }
.tn-sumrow { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tn-line); }
.tn-sumrow b { font-size: 18px; letter-spacing: -.02em; }
.tn-keypad { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.tn-cart li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--tn-line); }
.tn-cart li small { color: var(--tn-soft); margin-inline-start: 6px; }
.tn-pay { margin-top: 12px; background: var(--tn-blue); color: #fff; text-align: center; font-weight: 600; padding: 11px; border-radius: 10px; }
.tn-pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tn-pads span { display: grid; place-items: center; height: 38px; border-radius: 9px; background: var(--tn-mist); font-weight: 600; }
.tn-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding-top: 6px; border-bottom: 1px solid var(--tn-line); }
.tn-bars div { flex: 1; display: flex; gap: 4px; align-items: flex-end; height: 100%; }
.tn-bars i { flex: 1; border-radius: 4px 4px 0 0; display: block; }
.tn-bars i:first-child { background: var(--tn-blue); }
.tn-bars i:last-child { background: var(--tn-bar2); }
.tn-months { display: flex; gap: 12px; margin-top: 6px; color: var(--tn-soft); font-size: 11.5px; }
.tn-months span { flex: 1; text-align: center; }
@media (max-width: 960px) { .tn-fc.w7, .tn-fc.w5 { grid-column: span 12; } .tn-fc { min-height: 0; } }
@media (max-width: 560px) { .tn-fc { padding: 28px 22px 0; border-radius: 22px; } .tn-keypad { grid-template-columns: minmax(0, 1fr); } .tn-pads { display: none; } .hide-s { display: none; } }

/* ---------- flow ---------- */
.tn-flow-sec { background: var(--tn-mist); }
.tn-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 72px !important; }
.tn-flow::before, .tn-flow::after { content: ""; position: absolute; top: 5px; inset-inline-start: 0; height: 2px; border-radius: 2px; }
.tn-flow::before { inset-inline-end: 0; background: var(--tn-line2); }
.tn-flow::after { width: 0; background: var(--tn-blue); transition: width 2.4s cubic-bezier(.6,0,.2,1); }
.tn-flow.go::after { width: 100%; }
.tn-flow li { position: relative; padding-top: 38px; }
.tn-flow li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--tn-bg); border: 2px solid var(--tn-line2); transition: border-color .3s, background-color .3s; }
.tn-flow.go li::before { border-color: var(--tn-blue); background: var(--tn-blue); }
.tn-flow.go li:nth-child(2)::before { transition-delay: .7s; }
.tn-flow.go li:nth-child(3)::before { transition-delay: 1.4s; }
.tn-flow.go li:nth-child(4)::before { transition-delay: 2.1s; }
.tn-flow small { display: block; font-weight: 600; color: var(--tn-blue); font-size: 13px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.tn-flow h3 { font-size: 20px; margin-bottom: 8px; }
.tn-flow p { font-size: 15px; max-width: 26ch; }
@media (max-width: 820px) { .tn-flow { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .tn-flow::before, .tn-flow::after { display: none; } }

/* ---------- bilingual ---------- */
.tn-bi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.tn-seg { display: inline-flex; margin-top: 32px; padding: 4px; border-radius: 999px; background: var(--tn-mist); box-shadow: inset 0 0 0 1px var(--tn-line); }
.tn-seg button { height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 600; font-size: 15px; color: var(--tn-text); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.tn-seg button[aria-pressed="true"] { background: var(--tn-surface); color: var(--tn-ink); box-shadow: 0 1px 2px #0B12201A, 0 4px 12px -4px #0B122026; }
.tn-seg button[lang="ar"] { font-family: var(--tn-ar); }
.tn-paper { background: var(--tn-surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--tn-line), 0 40px 80px -40px color-mix(in srgb, var(--tn-shadow) 35%, transparent); padding: 36px; color: var(--tn-ink); transition: opacity .25s; font-family: var(--tn-font); }
.tn-paper.swap { opacity: 0; }
.tn-paper[dir="rtl"] { font-family: var(--tn-ar); }
.tn-paper .p-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--tn-line); }
.tn-paper .p-head h4 { font-size: 26px; letter-spacing: -.02em; }
.tn-paper[dir="rtl"] h4 { letter-spacing: 0; }
.tn-paper .p-head small { display: block; color: var(--tn-soft); font-size: 13.5px; margin-top: 4px; }
.tn-paper .p-no { font-family: var(--tn-font); }
.tn-paper .p-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; font-size: 14px; }
.tn-paper .p-meta small { display: block; color: var(--tn-soft); font-size: 12.5px; }
.tn-paper .p-meta b { font-weight: 600; }
.tn-paper .p-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tn-paper .p-tbl th { text-align: start; font-size: 12.5px; color: var(--tn-soft); font-weight: 600; padding-bottom: 10px; }
.tn-paper .p-tbl td { padding: 11px 0; border-top: 1px solid var(--tn-line); }
.tn-paper .p-tbl .e { text-align: end; font-variant-numeric: tabular-nums; }
.tn-paper .p-tot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 16px; border-top: 1.5px solid var(--tn-ink); font-weight: 700; font-size: 18px; }
.tn-paper .p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--tn-soft); }
@media (max-width: 900px) { .tn-bi { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tn-paper { padding: 24px; } }

/* ---------- industries ---------- */
.tn-ind-sec { background: var(--tn-mist); }
.tn-inds { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 64px !important; }
.tn-inds li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 20px; padding: 26px 0; border-top: 1px solid var(--tn-line2); }
.tn-inds li:nth-last-child(-n+2) { border-bottom: 1px solid var(--tn-line2); }
.tn-inds b { color: var(--tn-ink); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.tn-inds span { color: var(--tn-blue); font-weight: 600; font-size: 14.5px; text-align: end; }
.tn-inds p { grid-column: 1 / -1; font-size: 15px; max-width: 52ch; }
.tn-ind-more { margin-top: 40px !important; font-size: 16px; }
.tn-ind-more a, .tn-faq-more a { color: var(--tn-ink); font-weight: 600; border-bottom: 1.5px solid var(--tn-line2); padding-bottom: 2px; }
.tn-ind-more a:hover, .tn-faq-more a:hover { border-color: var(--tn-ink); }
@media (max-width: 820px) { .tn-inds { grid-template-columns: minmax(0, 1fr); } .tn-inds li:nth-last-child(2) { border-bottom: 0; } }
@media (max-width: 520px) { .tn-inds li { grid-template-columns: minmax(0, 1fr); } .tn-inds span { text-align: start; } }

/* ---------- start ---------- */
.tn-start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px !important; }
.tn-start li { padding: 32px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--tn-line); }
.tn-start small { display: block; color: var(--tn-blue); font-weight: 600; font-size: 13px; margin-bottom: 28px; }
.tn-start h3 { font-size: 20px; margin-bottom: 8px; }
.tn-start p { font-size: 15px; }
@media (max-width: 820px) { .tn-start { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pricing: the live package cards, restyled ---------- */
.tn-pricing .pos-package-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; max-width: 960px; margin: 64px auto 0; background: none; }
.tn-pricing .pos-package-sections > .section { padding: 0; background: none; border: 0; }
.tn-pricing .package-section-heading { display: none; }
.tn-pricing .container { width: auto; max-width: none; margin: 0; padding: 0; }
.tn-pricing .essential-packages-grid, .tn-pricing .advanced-packages-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 20px; }
.tn-pricing .advanced-package-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 44px; border: 0; border-radius: 28px; background: var(--tn-surface); box-shadow: inset 0 0 0 1px var(--tn-line); color: var(--tn-text); transform: none; }
.tn-pricing .advanced-package-card:hover { transform: none; box-shadow: inset 0 0 0 1px var(--tn-line2); }
.tn-pricing .advanced-package-card::before { display: none; }
.tn-pricing .advanced-package-card header { min-height: 0; }
.tn-pricing .package-card-label { display: block !important; color: var(--tn-blue); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tn-pricing .advanced-package-card h3 { margin: 6px 0 0; color: var(--tn-ink); font-size: 26px; }
.tn-pricing .advanced-package-card header p { margin-top: 8px; font-size: 15.5px; color: var(--tn-text); }
.tn-pricing .package-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 30px 0 26px; padding: 0; border: 0; color: var(--tn-ink); }
.tn-pricing .package-card-price s { color: var(--tn-soft); font-size: 15px; }
.tn-pricing .package-card-price strong { color: var(--tn-ink); font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.tn-pricing .package-card-price span { display: inline-flex; gap: 6px; align-items: baseline; color: var(--tn-soft); font-size: 15px; }
.tn-pricing .package-card-price span b { color: var(--tn-ink); font-size: 15px; font-weight: 600; }
.tn-pricing .package-feature-title { display: block; margin: 18px 0 10px; color: var(--tn-soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tn-pricing .advanced-package-card__features ul { display: grid; gap: 12px; margin: 0; padding: 0; grid-template-columns: 1fr; }
.tn-pricing .advanced-package-card__features li { display: flex; align-items: flex-start; gap: 12px; color: var(--tn-ink); font-size: 15.5px; }
.tn-pricing .advanced-package-card__features li i { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 3px; border-radius: 0; background: none; color: var(--tn-blue); font-size: 14px; font-style: normal; font-weight: 800; }
.tn-pricing .advanced-package-card__market, .tn-pricing .advanced-package-card__offer, .tn-pricing .package-conversion-note { color: var(--tn-text); font-size: 14px; }
.tn-pricing .package-buy-button { display: flex; width: 100%; height: 50px; margin-top: auto; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: var(--tn-ink); color: var(--tn-on-ink); font-size: 15.5px; font-weight: 600; box-shadow: none; transform: none; }
.tn-pricing .advanced-package-card__features { margin-bottom: 30px; }
.tn-pricing .package-buy-button:hover { opacity: .88; background: var(--tn-ink); color: var(--tn-on-ink); transform: none; }
/* Advanced cards are the dark card. */
.tn-pricing .advanced-packages-section .advanced-package-card { background: var(--tn-deep); box-shadow: inset 0 0 0 1px var(--tn-deep-line); color: #A9B4C8; }
.tn-pricing .advanced-packages-section .advanced-package-card h3, .tn-pricing .advanced-packages-section .package-card-price, .tn-pricing .advanced-packages-section .package-card-price strong, .tn-pricing .advanced-packages-section .package-card-price span b { color: #fff; }
.tn-pricing .advanced-packages-section .package-card-label, .tn-pricing .advanced-packages-section .advanced-package-card__features li i { color: #8DB1FF; }
.tn-pricing .advanced-packages-section .advanced-package-card header p, .tn-pricing .advanced-packages-section .advanced-package-card__market, .tn-pricing .advanced-packages-section .package-feature-title, .tn-pricing .advanced-packages-section .package-card-price span { color: #9AA6BC; }
.tn-pricing .advanced-packages-section .advanced-package-card__features li, .tn-pricing .advanced-packages-section .advanced-package-card__limits strong { color: #E3E8F2; }
.tn-pricing .advanced-packages-section .package-buy-button { background: var(--tn-blue); color: #fff; }
.tn-pricing .advanced-packages-section .package-buy-button:hover { background: var(--tn-blue-d); opacity: 1; }
.tn-pricing .package-slider__controls { display: none; }
.tn-pnote { text-align: center; font-size: 14px; color: var(--tn-soft); margin-top: 26px !important; }
@media (max-width: 820px) { .tn-pricing .advanced-package-card { padding: 32px; } }

/* ---------- faq ---------- */
.tn-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.tn-faq .tn-intro p { font-size: 17px; }
.tn-faq-more { margin-top: 28px !important; }
.tn-faq-list details { border-top: 1px solid var(--tn-line); }
.tn-faq-list details:last-child { border-bottom: 1px solid var(--tn-line); }
.tn-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; color: var(--tn-ink); font-weight: 600; font-size: 17.5px; letter-spacing: -.01em; }
.tn-faq-list summary::-webkit-details-marker { display: none; }
.tn-faq-list summary::before, .tn-faq-list summary::after { content: none; }
.tn-faq-list .pm { position: relative; width: 14px; height: 14px; flex: none; }
.tn-faq-list .pm::before, .tn-faq-list .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--tn-ink); border-radius: 2px; transition: transform .3s; }
.tn-faq-list .pm::after { transform: rotate(90deg); }
.tn-faq-list details[open] .pm::after { transform: rotate(0); }
.tn-faq-list .ans { overflow: hidden; }
.tn-faq-list .ans p { padding: 0 40px 24px 0; padding-inline: 0 40px; max-width: 60ch; }
@media (max-width: 860px) { .tn-faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- closing ---------- */
.tn-closing { padding-top: 0; }
.tn-close { background: var(--tn-deep); box-shadow: inset 0 0 0 1px var(--tn-deep-line); border-radius: 36px; padding: clamp(56px, 9vw, 112px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.tn-close::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 100%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #2563EB66, transparent); pointer-events: none; }
.tn-close h2 { color: #fff !important; max-width: 14ch; margin: 0 auto !important; position: relative; }
.tn-close > p { color: #A9B4C8; font-size: 18px; margin: 20px auto 36px !important; max-width: 44ch; position: relative; }
.tn-close .tn-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; position: relative; }
.tn-direct { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px !important; font-size: 14.5px; position: relative; }
.tn-direct a { color: #A9B4C8; transition: color .2s; }
.tn-direct a:hover { color: #fff; }
.tn-close :focus-visible { outline-color: #fff; }

/* ---------- sticky mobile call to action ---------- */
.tn-mcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: none; transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tn-mcta .tn-btn { width: 100%; height: 52px; box-shadow: 0 14px 30px -12px #0B122080; }
.tn-mcta.show { transform: none; }
@media (max-width: 700px) { .tn-mcta { display: block; } .tn-home .tn-footer { padding-bottom: 100px; } .tn-home .wa-float { bottom: 80px; } }

/* ---------- motion ---------- */
.tn-fx { opacity: 0; filter: blur(10px); transform: translateY(10px); transition: opacity .9s ease, filter 1.1s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.tn-fx.in { opacity: 1; filter: none; transform: none; }
.tn-rise { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.tn-rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tn-fx, .tn-rise { opacity: 1; filter: none; transform: none; } .tn-progress { display: none; } }

/* Shared widgets in dark mode. */
html.is-dark .site-loader { background: rgba(10,15,26,.98); }

/* Hero: the real product screen inside the lens. */
.tn-shot { display: block; width: 100%; height: 100%; max-width: none; }
.tn-soft { filter: blur(4px) saturate(.6); }
.tn-hero h1 { max-width: 16ch; font-size: clamp(42px, 6.4vw, 88px); }
