/* Homepage design system. Scoped to the marketing homepage. */
body.tn-home {
  --tn-font: 'Inter', sans-serif;
  --tn-blue: #087fb7;
  --tn-blue-d: #056894;
  --modern-radius: 18px;
  --modern-control-radius: 999px;
  --modern-shadow: 0 3px 14px rgba(16, 35, 61, .035);
  font-family: var(--tn-font);
}
.tn-home *, .tn-home *::before, .tn-home *::after { box-sizing: border-box; }
.tn-home .tn-wrap, .tn-home .tn-detail__inner, .tn-home .tn-proof__inner { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.tn-home .tn-main { overflow: clip; }
.tn-home .tn-sec { padding-block: clamp(64px, 7vw, 104px); }
.tn-home h1, .tn-home h2, .tn-home h3, .tn-home h4, .tn-home h5, .tn-home h6,
.tn-home .tn-mods b, .tn-home .tn-inds b, .tn-home .tn-start b, .tn-home .tn-control-roles b { font-family: var(--tn-font); }
html[dir="rtl"] .tn-home h1, html[dir="rtl"] .tn-home h2, html[dir="rtl"] .tn-home h3, html[dir="rtl"] .tn-home h4, html[dir="rtl"] .tn-home h5, html[dir="rtl"] .tn-home h6 { font-family: var(--tn-ar), "Segoe UI", Tahoma, Arial, sans-serif; }
.tn-home h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.tn-home h3 { line-height: 1.35; }
.tn-home p { text-wrap: pretty; }
.tn-home .tn-intro { max-width: 700px; }
.tn-home .tn-intro p { font-size: 16px; line-height: 1.8; margin-top: 18px; }
.tn-home .tn-header { border-bottom: 1px solid var(--tn-line); }
.tn-home .tn-nav { min-height: 82px; }
.tn-home .tn-logo img { width: 158px; height: auto; }
.tn-home .tn-menu { gap: 26px; }
.tn-home .tn-menu a { font-size: 14px; transition: color .2s; }
.tn-home .tn-menu a:hover { color: var(--tn-blue); }
.tn-home .tn-btn, .tn-home .package-buy-button, .tn-home .contact-widget__submit {
  border-radius: var(--modern-control-radius); min-height: 48px; font-size: 14px; font-weight: 600;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.tn-home .tn-btn-blue, .tn-home .package-buy-button { background: #123651; color: #fff; box-shadow: 0 7px 18px #12365122; }
.tn-home .tn-btn-blue:hover, .tn-home .package-buy-button:hover { background: #087fb7; box-shadow: 0 9px 22px #087fb72b; }
.tn-home .tn-btn-text { border: 1px solid var(--tn-line2); padding-inline: 24px; background: var(--tn-surface); }
.tn-home .tn-btn-text span { border: 0; }
.tn-home .tn-btn:active, .tn-home .package-buy-button:active { transform: translateY(1px); }
.tn-home a:focus-visible, .tn-home button:focus-visible, .tn-home summary:focus-visible { outline: 3px solid var(--tn-blue); outline-offset: 4px; }

/* Hero: product first, with a readable full-width screenshot. */
.tn-home .tn-hero { position: relative; padding-block: clamp(62px, 6.5vw, 96px); background: linear-gradient(135deg, #fff 0 58%, #f4f8fb 58% 100%); overflow: hidden; }
.tn-home .tn-hero::before { content: ""; position: absolute; width: 340px; height: 340px; inset: -190px auto auto 44%; border-radius: 50%; border: 1px solid rgb(8 127 183 / 9%); box-shadow: 0 0 0 70px rgb(8 127 183 / 2.5%), 0 0 0 140px rgb(8 127 183 / 1.5%); pointer-events: none; }
.tn-home .tn-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: center; gap: clamp(44px, 6vw, 92px); }
.tn-home .tn-hero-copy { min-width: 0; text-align: start; }
.tn-home .tn-hero-copy .tn-cta, .tn-home .tn-hero-copy .tn-trust { justify-content: flex-start; }
.tn-home .tn-hero-visual { align-self: stretch; min-width: 0; margin-inline-end: clamp(-58px, -3vw, -22px); }
.tn-home .tn-hero-picture { position: relative; display: grid; min-height: 590px; place-items: end center; border-radius: 34px 34px 110px 34px; background: linear-gradient(145deg, #eaf5fa, #f7fafc 62%); box-shadow: inset 0 0 0 1px rgb(18 54 81 / 6%); overflow: hidden; isolation: isolate; }
.tn-home .tn-hero-picture::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -100px; top: -120px; border-radius: 50%; background: #123651; opacity: .97; }
.tn-home .tn-hero-picture::after { content: ""; position: absolute; z-index: -1; left: 38px; bottom: 38px; width: 104px; height: 104px; opacity: .32; background-image: radial-gradient(circle, #087fb7 1.7px, transparent 2px); background-size: 15px 15px; }
.tn-home .tn-hero-visual img { display: block; width: min(610px, 104%); max-width: none; height: auto; margin-inline: auto -2%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 28px 30px rgb(18 54 81 / 16%)); }
.tn-home .tn-hero-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 8px 15px; border-radius: 999px; background: var(--tn-tint); color: var(--tn-blue); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.tn-home .tn-hero-label::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.tn-home .tn-hero h1 { max-width: 10ch; font-size: clamp(50px, 5.1vw, 78px); line-height: 1.01; letter-spacing: -.058em; text-wrap: balance; animation: none; }
.tn-home .tn-hero h1 br { display: none; }
.tn-home .tn-hero .tn-lead { max-width: 560px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.72; margin-top: 26px !important; }
.tn-home .tn-hero .tn-cta { margin-top: 28px; gap: 12px; }
.tn-home .tn-hero .tn-btn { min-height: 54px; height: auto; padding: 14px 28px; }
.tn-home .tn-nav-r .tn-btn { border-radius: 999px; padding-inline: 22px; }
.tn-home .tn-hero .tn-btn-blue::after,
.tn-home .tn-nav-r .tn-btn-blue::after { content: "→"; margin-inline-start: 6px; font-size: 18px; line-height: 1; transition: transform .2s; }
.tn-home .tn-hero .tn-btn-blue:hover::after,
.tn-home .tn-nav-r .tn-btn-blue:hover::after { transform: translateX(3px); }
html[dir="rtl"] .tn-home .tn-hero .tn-btn-blue::after,
html[dir="rtl"] .tn-home .tn-nav-r .tn-btn-blue::after { content: "←"; }
html[dir="rtl"] .tn-home .tn-hero .tn-btn-blue:hover::after,
html[dir="rtl"] .tn-home .tn-nav-r .tn-btn-blue:hover::after { transform: translateX(-3px); }
.tn-home .tn-trust li { padding: 5px 11px; border: 1px solid var(--tn-line); border-radius: 999px; background: var(--tn-surface); }
.tn-home .tn-trust { margin-top: 24px !important; gap: 12px 22px; font-size: 12px; }
.tn-home .tn-stage-wrap { display: none; }
.tn-product-frame { overflow: hidden; border: 1px solid var(--tn-line); border-radius: var(--modern-radius); background: var(--tn-surface); box-shadow: 0 12px 40px #10233d0a; text-align: start; }
.tn-product-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 10px 18px; color: var(--tn-soft); background: var(--tn-surface); font-size: 11px; border-bottom: 1px solid var(--tn-line); }
.tn-window-dots { display: flex; gap: 5px; }
.tn-window-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--tn-line2); }
.tn-product-toolbar svg { width: 15px; height: 15px; }
.tn-product-frame > img { display: block; width: 100%; height: auto; }
.tn-home .tn-trusted { padding: 38px 0; border-bottom: 1px solid var(--tn-line); }
.tn-home .trusted-business-card { position: relative; background: var(--tn-bg); box-shadow: none; }
.tn-home .trusted-business-provider { display: inline-flex; align-items: center; gap: 6px; color: var(--tn-blue-d); font-size: 9px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.tn-home .trusted-business-provider::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a36a; box-shadow: 0 0 0 3px rgba(22, 163, 106, .1); }
.tn-home .trusted-business-provider--fbr { color: #126b46; }
.tn-home .trusted-business-initials { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--tn-blue-d); background: #e5f5fb; font-size: 15px; font-weight: 800; letter-spacing: .03em; }

/* Capabilities and day-to-day tasks share one rhythm. */
.tn-home #platform .tn-intro { max-width: 780px; margin-inline: auto; text-align: center; }
.tn-home #platform .tn-intro h2 { font-size: clamp(38px, 4vw, 55px); }
.tn-home #platform .tn-intro p { max-width: 650px; margin-inline: auto; font-size: 17px; }
.tn-home .tn-mods { margin-top: 52px; gap: 32px; }
.tn-home .tn-mods li { display: flex; min-width: 0; align-items: center; flex-direction: column; padding: 8px 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.tn-home .tn-mods li:hover { transform: none; box-shadow: none; }
.tn-home .tn-mods svg { box-sizing: border-box; width: 70px; height: 70px; margin: 0 0 20px; padding: 19px; border-radius: 20px; background: #edf7fb; color: var(--tn-blue); transition: color .22s ease, background-color .22s ease, transform .22s ease; }
.tn-home .tn-mods li:hover svg { color: var(--tn-blue-d); background: #dff2f9; transform: translateY(-3px); }
.tn-home .tn-mods b { font-size: 20px; line-height: 1.3; }
.tn-home .tn-mods p { max-width: 260px; margin: 9px auto 0; font-size: 14px; line-height: 1.65; }
.tn-home .tn-ops-sec { background: var(--tn-mist); }
.tn-home .tn-ops-head { gap: clamp(42px, 6vw, 84px); align-items: end; padding-bottom: 0; border: 0; margin-bottom: clamp(38px, 4.5vw, 58px); }
.tn-home .tn-ops-head small { margin-bottom: 14px; font-size: 12px; letter-spacing: .16em; }
.tn-home .tn-ops-head h2 { max-width: 760px; color: var(--tn-ink); font-size: clamp(38px, 4.35vw, 60px); line-height: 1.07; letter-spacing: -.048em; }
.tn-home .tn-ops-head > p { max-width: 520px; color: var(--tn-text); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; }
.tn-home .tn-ops-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tn-home .tn-ops-list article {
  position: relative;
  display: flex;
  min-height: 340px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #dce6ee;
  border-radius: 22px;
  background: var(--tn-surface);
  box-shadow: 0 14px 36px rgba(16, 35, 61, .065);
  flex-direction: column;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.tn-home .tn-ops-list article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--tn-blue);
  content: "";
}
.tn-home .tn-ops-list article > span {
  display: grid;
  width: 46px;
  height: 34px;
  margin-bottom: 30px;
  padding: 0;
  place-items: center;
  border-radius: 999px;
  background: #e8f5fb;
  color: var(--tn-blue-d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.tn-home .tn-ops-list article > div { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.tn-home .tn-ops-list h3 { margin: 0 0 14px; color: var(--tn-ink); font-size: clamp(21px, 1.55vw, 25px); line-height: 1.25; letter-spacing: -.025em; }
.tn-home .tn-ops-list p { margin: 0; color: var(--tn-text); font-size: 16px; line-height: 1.7; }
.tn-home .tn-ops-list ul { display: grid; gap: 11px; margin: auto 0 0; padding-top: 26px; }
.tn-home .tn-ops-list li { color: #40536a; font-size: 14px; font-weight: 600; line-height: 1.45; }
.tn-home .tn-ops-list li::before { top: .55em; width: 6px; height: 6px; background: var(--tn-blue); }
.tn-home .tn-control-sec { background: #102e46; padding-block: 80px; }
.tn-home .tn-control-copy h2 { color: #fff; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.15; }
.tn-home .tn-control-roles article { grid-template-columns: 140px minmax(0, 1fr); }
.tn-home .tn-control-roles p { line-height: 1.8; }
.tn-home .tn-flow-sec { background: var(--tn-bg); }
.tn-home .tn-flow { margin-top: 44px; }
.tn-home .tn-flow li { border-radius: 0; background: transparent; }
.tn-home .tn-flow h3 { font-size: 18px; }
.tn-home .tn-bi-sec { position: relative; overflow: hidden; border-block: 1px solid #e3e9ef; background: #f8fafc; }
.tn-home .tn-bi-sec::before, .tn-home .tn-bi-sec::after { display: none; }
.tn-home .tn-bi { position: relative; z-index: 1; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(54px, 7vw, 96px); align-items: center; }
.tn-home .tn-bi .tn-intro { max-width: 560px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; direction: ltr; text-align: left; }
.tn-home .tn-bi-kicker { display: block; margin-bottom: 18px; color: var(--tn-blue-d); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.tn-home .tn-bi-kicker::before { display: none; }
.tn-home .tn-bi .tn-intro h2 { margin: 0; color: var(--tn-ink); font-size: clamp(40px, 4.1vw, 58px); line-height: 1.06; letter-spacing: -.048em; }
.tn-home .tn-bi .tn-intro h2 span { color: inherit; }
.tn-home .tn-bi .tn-intro p { max-width: 500px; margin-top: 24px; color: var(--tn-text); font-size: 17px; line-height: 1.75; }
.tn-home .tn-bi-benefits { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.tn-home .tn-bi-benefits li { position: relative; padding-left: 27px; color: #40536a; font-size: 14px; font-weight: 600; line-height: 1.55; }
.tn-home .tn-bi-benefits li::before { position: absolute; left: 2px; top: .42em; width: 9px; height: 9px; border-top: 2px solid var(--tn-blue); border-right: 2px solid var(--tn-blue); content: ""; transform: rotate(45deg); }
.tn-home .tn-bi-status { display: none; }
.tn-home .tn-paper { position: relative; border: 1px solid #dce4eb; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(16, 35, 61, .07); transform: none; }
.tn-home .tn-paper::before { display: none; }
.tn-home .tn-paper-label { display: none; }
.tn-home .tn-paper .p-head { padding-top: 8px; }
.tn-home .tn-paper .p-head h4 { font-family: var(--tn-font); font-size: 20px; letter-spacing: -.02em; }
.tn-home .tn-seg { display: inline-flex; margin-top: 30px; padding: 5px; border: 1px solid #dbe5ed; border-radius: 999px; background: #f2f6f9; }
.tn-home .tn-seg button { min-width: 104px; min-height: 42px; border-radius: 999px; font-family: inherit; font-weight: 700; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.tn-home .tn-seg button[aria-pressed="true"] { background: #123651; color: #fff; box-shadow: 0 6px 16px rgba(18, 54, 81, .18); }
html[dir="rtl"] .tn-home .tn-paper .p-head h4 { font-family: var(--tn-ar), "Segoe UI", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .tn-home .tn-bi-kicker, html[dir="rtl"] .tn-home .tn-bi-benefits li, html[dir="rtl"] .tn-home .tn-paper-label { font-family: var(--tn-ar), "Segoe UI", Tahoma, Arial, sans-serif; letter-spacing: 0; }
.tn-home #compliance { background: var(--tn-mist); }
.tn-home .tn-tax { gap: 24px; margin-top: 36px; }
.tn-home .tn-tax-card { padding: 32px; border-radius: var(--modern-radius); border: 1px solid var(--tn-line); background: var(--tn-surface); box-shadow: var(--modern-shadow); }
.tn-home .tn-tax-card__brand { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--tn-line); }
.tn-home .tn-tax-card__brand img { display: block; width: auto; max-width: min(235px, 68%); height: 54px; object-fit: contain; object-position: left center; }
.tn-home .tn-tax-card--fbr .tn-tax-card__brand img { height: 40px; }
.tn-home .tn-tax-card__brand small { flex: none; margin: 0; color: var(--tn-blue-d); font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.tn-home .tn-tax-card h3 { font-size: 26px; margin-top: 8px; }
.tn-home .tn-tax-card p { font-size: 15px; line-height: 1.8; }
.tn-home .tn-ind-sec { background: var(--tn-bg); }
.tn-home #industries .tn-intro { max-width: 780px; margin-inline: auto; text-align: center; }
.tn-home #industries .tn-intro h2 { font-size: clamp(38px, 4vw, 55px); }
.tn-home #industries .tn-intro p { max-width: 650px; margin-inline: auto; font-size: 17px; }
.tn-home .tn-inds { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 54px 30px; margin-top: 54px !important; }
.tn-home .tn-inds li { display: flex; min-width: 0; align-items: center; flex-direction: column; gap: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.tn-home .tn-inds li:hover { box-shadow: none; }
.tn-home .tn-ind-icon { display: grid; width: 70px; height: 70px; margin: 0 0 19px; place-items: center; border: 0; border-radius: 20px; background: #edf7fb; color: var(--tn-blue); box-shadow: none; transition: color .22s ease, background-color .22s ease, transform .22s ease; }
.tn-home .tn-ind-icon svg { width: 32px; height: 32px; }
.tn-home .tn-inds li:hover .tn-ind-icon { color: var(--tn-blue-d); background: #dff2f9; transform: translateY(-3px); }
.tn-home .tn-ind-copy { min-width: 0; }
.tn-home .tn-ind-copy > span { display: none; }
.tn-home .tn-ind-copy b { display: block; max-width: 210px; margin-inline: auto; font-size: 19px; line-height: 1.3; }
.tn-home .tn-ind-copy p { max-width: 220px; margin: 9px auto 0; color: var(--tn-muted); font-size: 13px; line-height: 1.6; }
.tn-home .tn-ind-more { margin-top: 52px !important; text-align: center; }
.tn-home .tn-start { margin-top: 40px; gap: 30px; }
.tn-home .tn-start li { border-radius: 0; box-shadow: none; background: transparent; }
.tn-home .tn-start h3 { font-size: 21px; }
.tn-home .tn-start p { font-size: 15px; line-height: 1.8; }

/* Packages and questions. Keep real package values from the server. */
.tn-home .tn-pricing { background: var(--tn-mist); }
.tn-home .tn-pricing .pos-package-sections { display: block; max-width: 960px; }
.tn-home .tn-pricing [data-package-type-panel][hidden] { display: none !important; }
.tn-home .package-type-tabs { display: flex; width: fit-content; margin: 0 auto 44px; padding: 5px; gap: 4px; border: 1px solid var(--tn-line); border-radius: 999px; background: var(--tn-surface); box-shadow: 0 10px 30px rgba(16, 35, 61, .06); }
.tn-home .package-type-tabs button { min-width: 150px; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; color: var(--tn-text); background: transparent; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.tn-home .package-type-tabs button:hover { color: var(--tn-ink); }
.tn-home .package-type-tabs button.is-active { color: #fff; background: var(--tn-blue-d); box-shadow: 0 7px 18px rgba(18, 54, 81, .18); }
.tn-home .package-type-tabs button:focus-visible { outline: 3px solid rgba(2, 132, 199, .25); outline-offset: 2px; }
.tn-home .tn-pricing .section { background: transparent; padding-block: 36px; }
.tn-home .package-section-heading h2 { font-size: 27px; }
.tn-home .advanced-package-card { border: 1px solid var(--tn-line); background: var(--tn-surface); border-radius: var(--modern-radius); box-shadow: var(--modern-shadow); }
.tn-home .essential-packages-grid > .advanced-package-card:only-child, .tn-home .advanced-packages-grid > .advanced-package-card:only-child { width: min(100%, 610px); margin-inline: auto; }
.tn-home .advanced-package-card header h3 { font-size: 24px; }
.tn-home .advanced-package-card__features { border-color: var(--tn-line); }
.tn-home .package-buy-button { min-height: 48px; }
.tn-home #faq { background: var(--tn-bg); }
.tn-home .tn-faq { gap: 64px; }
.tn-home .tn-faq-list details { border: 0; border-bottom: 1px solid var(--tn-line); border-radius: 0; background: transparent; }
.tn-home .tn-faq-list summary { padding: 22px 0; font-size: 16px; line-height: 1.5; border-radius: 8px; transition: color .2s; }
.tn-home .tn-faq-list summary:hover { color: var(--tn-blue); }
.tn-home .tn-faq-list .ans { padding-inline: 0; }
.tn-home .tn-faq-list .ans p { font-size: 15px; line-height: 1.8; }
.tn-home #faq .tn-faq { gap: clamp(56px, 8vw, 108px); }
.tn-home #faq .tn-intro h2 { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.08; }
.tn-home #faq .tn-intro > p { max-width: 430px; font-size: 16px; line-height: 1.75; }
.tn-home #faq .tn-faq-list summary { padding-block: 25px; font-size: 18px; }
.tn-home #faq .tn-faq-list details[open] summary { color: var(--tn-blue-d); }
.tn-home .tn-detail, .tn-home .tn-proof { padding: 80px 0; color: var(--tn-text); background: var(--tn-mist); }
.tn-home .tn-detail h2, .tn-home .tn-detail h3, .tn-home .tn-detail strong, .tn-home .tn-proof h2, .tn-home .tn-proof strong { color: var(--tn-ink); }
.tn-home .tn-detail p, .tn-home .tn-detail small, .tn-home .tn-proof p, .tn-home .tn-proof small { color: var(--tn-text); }
.tn-home .tn-proof { background: var(--tn-bg); }

/* Connected document flow: a restrained corporate band, not a card grid. */
.tn-home .tn-proof {
    position: relative;
    overflow: hidden;
    padding-block: clamp(84px, 8vw, 124px);
    color: #fff;
    background: #103650;
}

.tn-home .tn-proof__inner {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(56px, 8vw, 112px);
}

.tn-home .tn-proof .tn-detail__eyebrow {
    color: #7dd3fc;
    letter-spacing: .12em;
}

.tn-home .tn-proof h2 {
    max-width: 16ch;
    margin: 18px 0 22px;
    color: #fff;
    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.tn-home .tn-proof__copy p {
    max-width: 540px;
    margin: 0;
    color: #c8d7e2;
    font-size: 17px;
    line-height: 1.75;
}

.tn-home .tn-proof__link {
    display: inline-flex;
    margin-top: 30px;
    padding: 0 0 7px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #42b6e6;
    transition: color .2s ease, border-color .2s ease;
}

.tn-home .tn-proof__link:hover,
.tn-home .tn-proof__link:focus-visible {
    color: #a8e3fb;
    border-color: #a8e3fb;
}

.tn-home .tn-proof__link span {
    display: none;
}

.tn-home .tn-proof__flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .2) !important;
}

.tn-home .tn-proof__step {
    min-width: 0;
    padding: 30px 24px 32px;
    border: 0;
    background: transparent;
}

.tn-home .tn-proof__step + .tn-proof__step {
    border-left: 1px solid rgba(255, 255, 255, .2) !important;
}

.tn-home .tn-proof__step span,
.tn-home .tn-proof__step strong,
.tn-home .tn-proof__step small {
    display: block;
}

.tn-home .tn-proof__step span {
    margin-bottom: 28px;
    color: #65c8ef;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tn-home .tn-proof__step strong {
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
}

.tn-home .tn-proof__step small {
    margin-top: 9px;
    color: #b9cad6;
    font-size: 13px;
    line-height: 1.5;
}

.tn-home .tn-proof__flow > i {
    display: none;
}

@media (max-width: 1100px) {
    .tn-home .tn-proof__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tn-home .tn-proof h2 {
        max-width: 16ch;
    }
}

@media (max-width: 700px) {
    .tn-home .tn-proof {
        padding-block: 72px;
    }

    .tn-home .tn-proof__flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tn-home .tn-proof__step:nth-child(3) {
        border-left: 0 !important;
    }

    .tn-home .tn-proof__step:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, .2) !important;
    }
}

@media (max-width: 460px) {
    .tn-home .tn-proof__flow {
        grid-template-columns: 1fr;
    }

    .tn-home .tn-proof__step + .tn-proof__step {
        border-top: 1px solid rgba(255, 255, 255, .2) !important;
        border-left: 0 !important;
    }
}
.tn-home .tn-proof__inner { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(56px, 8vw, 112px); }
.tn-home .tn-detail__column, .tn-home .tn-detail__columns, .tn-home .tn-detail__column li, .tn-home .tn-proof__flow, .tn-home .tn-proof__step { border-color: var(--tn-line); }
.tn-home .tn-detail__eyebrow { color: var(--tn-blue); }
.tn-home .tn-detail__header { max-width: 820px; margin-bottom: 60px; }
.tn-home .tn-detail__header h2 { font-size: clamp(40px, 4.2vw, 58px); }
.tn-home .tn-detail__header p { max-width: 680px; margin-inline: auto; font-size: 17px; }
.tn-home .tn-detail__columns { position: relative; gap: 0; border-top: 2px solid #cfeaf5; }
.tn-home .tn-detail__column { position: relative; min-width: 0; padding: 38px 34px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tn-home .tn-detail__column + .tn-detail__column { border-left: 1px solid var(--tn-line); }
.tn-home .tn-detail__column:first-child { padding-left: 0; }
.tn-home .tn-detail__column:last-child { padding-right: 0; }
.tn-home .tn-detail__column-heading { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 52px; margin-bottom: 24px; }
.tn-home .tn-detail__column-heading::before { content: ""; box-sizing: border-box; width: 48px; height: 48px; grid-row: 1; grid-column: 1; border-radius: 15px; background-color: #e5f5fb; background-position: center; background-repeat: no-repeat; background-size: 24px 24px; }
.tn-home .tn-detail__column-heading::after { position: absolute; top: -53px; left: 0; min-width: 34px; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--tn-blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1; text-align: center; }
.tn-home .tn-detail__column:nth-child(1) .tn-detail__column-heading::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230787c1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.tn-home .tn-detail__column:nth-child(2) .tn-detail__column-heading::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230787c1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4-9 4-9-4zM3 7v10l9 4 9-4V7M12 11v10'/%3E%3C/svg%3E"); }
.tn-home .tn-detail__column:nth-child(3) .tn-detail__column-heading::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230787c1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M6 17v-5M11 17V7M16 17V9M21 17V4'/%3E%3C/svg%3E"); }
.tn-home .tn-detail__column:nth-child(1) .tn-detail__column-heading::after { content: "01"; }
.tn-home .tn-detail__column:nth-child(2) .tn-detail__column-heading::after { content: "02"; }
.tn-home .tn-detail__column:nth-child(3) .tn-detail__column-heading::after { content: "03"; }
.tn-home .tn-detail__column h3 { grid-column: 2; font-size: 22px; line-height: 1.25; }
.tn-home .tn-detail__column li { position: relative; padding: 16px 0; }
.tn-home .tn-detail__column li::before { content: none; }
.tn-home .tn-detail__column strong { font-size: 15px; }
.tn-home .tn-detail__column small { font-size: 13px; line-height: 1.6; }
html[dir="rtl"] .tn-home .tn-detail__column-heading::after { right: 0; left: auto; }
html[dir="rtl"] .tn-home .tn-detail__column li { padding-inline: 0; }

/* Connected company workflow inspired by a conventional SaaS process section. */
.tn-home .tn-detail__header { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.tn-home .tn-detail__header h2 { max-width: 760px; margin-inline: auto; }
.tn-home .tn-detail__header p { max-width: 660px; margin-inline: auto; }
.tn-home .tn-detail__columns { position: relative; gap: 42px; padding-top: 0; border-top: 0; }
.tn-home .tn-detail__columns::before { content: ""; position: absolute; top: 23px; right: 16.666%; left: 16.666%; height: 1px; background: #bcdce9; }
.tn-home .tn-detail__column,
.tn-home .tn-detail__column:first-child,
.tn-home .tn-detail__column:last-child { padding: 0; border-top: 0; }
.tn-home .tn-detail__column + .tn-detail__column { border-left: 0; }
.tn-home .tn-detail__column-heading { position: relative; z-index: 1; display: flex; min-height: 0; align-items: center; flex-direction: column; margin-bottom: 28px; padding: 0; text-align: center; }
.tn-home .tn-detail__column-heading::before { display: none; }
.tn-home .tn-detail__column-heading::after { position: static; display: grid; width: 46px; height: 46px; min-width: 46px; margin: 0 0 20px; padding: 0; place-items: center; border: 7px solid var(--tn-mist); border-radius: 50%; color: #fff; background: var(--tn-blue-d); box-sizing: content-box; font-size: 11px; font-weight: 750; letter-spacing: 0; line-height: 1; text-align: center; order: -1; }
.tn-home .tn-detail__column h3 { display: block; grid-column: auto; font-size: 23px; letter-spacing: -.025em; }
.tn-home .tn-detail__column li { padding: 17px 0; }
.tn-home .tn-detail__column strong { margin-bottom: 6px; font-size: 16px; }
.tn-home .tn-detail__column small { font-size: 14px; }
html[dir="rtl"] .tn-home .tn-detail__column-heading::after { text-align: center; }
.tn-home .tn-closing { padding-block: 36px 72px; }
.tn-home .tn-close { padding: 64px 40px; border: 1px solid rgba(255,255,255,.08); border-radius: 26px; background: linear-gradient(135deg, #123651 0%, #0d2a43 100%); box-shadow: 0 24px 60px rgba(10, 36, 57, .14); }
.tn-home .tn-close::before { display: none; }
.tn-home .tn-close h2 { max-width: 22ch; font-size: clamp(40px, 5vw, 62px); }
.tn-home .tn-close > p { max-width: 570px; font-size: 16px; }
.tn-home .tn-footer { border-top: 1px solid var(--tn-line); background: var(--tn-mist); padding-top: 60px; }
.tn-home .tn-footer h4 { font-size: 13px; font-weight: 700; }
.tn-home .tn-footer li a { font-size: 13px; padding-block: 6px; }
.tn-home .tn-footer li a:hover { color: var(--tn-blue); }
.tn-home .contact-widget__launcher { background: #123651; border-color: #123651; padding-inline: 20px 30px; border-radius: 999px; }
.tn-home .contact-widget__launcher:hover { background: #087fb7; }
.tn-home .contact-widget__panel { border-radius: var(--modern-radius); }
.tn-home .contact-widget__grid input,
.tn-home .contact-widget__grid select,
.tn-home .contact-widget__grid textarea { border-radius: 10px; }
.tn-home .contact-widget__header h2 { font-size: 24px; }
.tn-home .contact-widget__submit { background: #123651; border-color: #123651; color: white; }
.tn-home .contact-widget__submit:hover { background: #087fb7; border-color: #087fb7; }
.tn-home .demo-modal .btn { border-radius: 999px; min-height: 46px; padding-inline: 24px; }
.tn-home .demo-modal .btn-primary { background: #123651; border-color: #123651; color: #fff; }
.tn-home .demo-modal .btn-primary:hover { background: #087fb7; border-color: #087fb7; }

/* Motion is enhancement-only: content is visible without JavaScript. */
.tn-home .tn-fx, .tn-home .tn-rise { opacity: 1; filter: none; transform: none; }
.js .tn-home [data-reveal] { opacity: 1; transform: none; filter: none; }
.tn-home .modern-reveal { opacity: 1; }
.tn-home .modern-reveal.is-entering { animation: modern-enter .65s cubic-bezier(.2,.7,.3,1) both; animation-delay: var(--enter-delay, 0ms); }
@keyframes modern-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (hover: hover) {
  .tn-home .tn-btn:hover, .tn-home .package-buy-button:hover { transform: translateY(-1px); }
  .tn-home .tn-ops-list article:hover { border-color: #bdd8e6; box-shadow: 0 20px 44px rgba(16, 35, 61, .11); transform: translateY(-5px); }
}
@media (min-width: 1600px) { .tn-home .tn-wrap, .tn-home .tn-detail__inner, .tn-home .tn-proof__inner { max-width: 1320px; width: calc(100% - 120px); } }
@media (max-width: 1100px) {
  .tn-home .tn-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr); gap: 28px; }
  .tn-home .tn-hero-visual { margin-inline-end: -72px; }
  .tn-home .tn-hero-picture { min-height: 520px; border-radius: 28px 28px 84px 28px; }
  .tn-home .tn-hero-visual img { width: min(540px, 108%); }
  .tn-home .tn-hero h1 { font-size: clamp(44px, 5.4vw, 62px); }
  .tn-home .tn-ops-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-home .tn-inds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 26px; }
  .tn-home .tn-control-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .tn-home .tn-control-roles article { grid-template-columns: 1fr; gap: 8px; }
  .tn-home .tn-proof__inner { grid-template-columns: 1fr; }
  .tn-home .tn-detail__columns { grid-template-columns: 1fr; gap: 42px; border-top: 0; }
  .tn-home .tn-detail__columns::before { display: none; }
  .tn-home .tn-detail__column, .tn-home .tn-detail__column:first-child, .tn-home .tn-detail__column:last-child { padding: 30px 0 0; border-top: 1px solid var(--tn-line); }
  .tn-home .tn-detail__column + .tn-detail__column { border-left: 0; }
  .tn-home .tn-detail__column-heading::after { position: static; margin-bottom: 14px; font-size: 11px; }
}
@media (max-width: 800px) {
  .tn-home .tn-wrap, .tn-home .tn-detail__inner, .tn-home .tn-proof__inner { width: calc(100% - 40px); }
  .tn-home .tn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tn-home .tn-hero-copy { text-align: center; }
  .tn-home .tn-hero h1, .tn-home .tn-hero .tn-lead { max-width: 700px; margin-inline: auto; }
  .tn-home .tn-hero .tn-cta, .tn-home .tn-trust { justify-content: center; }
  .tn-home .tn-hero-visual { width: min(680px, 112%); margin-inline: auto -6%; }
  .tn-home .tn-hero-picture { min-height: 480px; border-radius: 28px 28px 72px 28px; }
  .tn-home .tn-hero-visual img { width: min(530px, 92%); margin-inline: auto; }
  .tn-home .tn-ops-head, .tn-home .tn-control-grid, .tn-home .tn-bi, .tn-home .tn-faq { grid-template-columns: 1fr; gap: 32px; }
  .tn-home .tn-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .tn-home .tn-bi .tn-intro { max-width: 680px; text-align: center; margin-inline: auto; }
  .tn-home .tn-bi .tn-intro p { margin-inline: auto; }
  .tn-home .tn-bi-kicker { justify-content: center; }
  .tn-home .tn-bi-benefits { width: min(470px, 100%); margin-inline: auto; text-align: start; }
  .tn-home .tn-bi-status { justify-content: center; margin-inline: auto; }
  .tn-home .tn-paper { width: min(680px, 100%); margin-inline: auto; }
  .tn-home .tn-ops-head h2 { max-width: 680px; }
  .tn-home .tn-ops-head > p { max-width: 650px; }
  .tn-home .tn-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 24px; }
  .tn-home .tn-nav { min-height: 72px; }
  .tn-home .tn-logo img { width: 134px; }
  .tn-home .tn-hero { padding-top: 48px; }
  .tn-home .tn-trust { font-size: 11px; }
  .tn-home .tn-detail, .tn-home .tn-proof { padding-block: 64px; }
}
@media (max-width: 540px) {
  .tn-home .tn-hero { padding-block: 40px 24px; }
  .tn-home .package-type-tabs { width: 100%; margin-bottom: 32px; }
  .tn-home .package-type-tabs button { min-width: 0; flex: 1 1 50%; padding-inline: 12px; }
  .tn-home .tn-hero h1 { font-size: 40px; letter-spacing: -.04em; }
  .tn-home .tn-hero-label { font-size: 9px; letter-spacing: .08em; }
  .tn-home .tn-hero .tn-cta { flex-direction: column; align-items: stretch; }
  .tn-home .tn-trust { gap: 10px; }
  .tn-home .tn-hero-visual { width: 112%; margin-inline: -6%; }
  .tn-home .tn-hero-picture { min-height: 360px; border-radius: 22px 22px 54px 22px; }
  .tn-home .tn-hero-picture::before { width: 280px; height: 280px; right: -110px; top: -100px; }
  .tn-home .tn-hero-picture::after { left: 20px; bottom: 20px; width: 76px; height: 76px; background-size: 12px 12px; }
  .tn-home .tn-hero-visual img { width: min(410px, 96%); }
  .tn-home .tn-ops-list, .tn-home .tn-inds { grid-template-columns: 1fr; }
  .tn-home .tn-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; margin-top: 40px; }
  .tn-home .tn-mods li { padding: 0; }
  .tn-home .tn-mods svg { width: 60px; height: 60px; margin-bottom: 14px; padding: 16px; border-radius: 17px; }
  .tn-home .tn-mods b { font-size: 17px; }
  .tn-home .tn-mods p { margin-top: 7px; font-size: 12px; line-height: 1.55; }
  .tn-home .tn-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 14px; margin-top: 40px !important; }
  .tn-home .tn-inds li { padding: 0; }
  .tn-home .tn-ind-icon { width: 60px; height: 60px; margin-bottom: 14px; border-radius: 17px; }
  .tn-home .tn-ind-icon svg { width: 28px; height: 28px; }
  .tn-home .tn-ind-copy b { font-size: 17px; }
  .tn-home .tn-ind-copy p { margin-top: 7px; font-size: 12px; line-height: 1.55; }
  .tn-home .tn-ind-more { margin-top: 42px !important; }
  .tn-home .tn-ops-head { margin-bottom: 32px; }
  .tn-home .tn-ops-head h2 { font-size: 34px; line-height: 1.1; }
  .tn-home .tn-ops-head > p { font-size: 16px; line-height: 1.65; }
  .tn-home .tn-ops-list { gap: 16px; }
  .tn-home .tn-ops-list article { min-height: 0; padding: 26px 24px 28px; border-radius: 18px; }
  .tn-home .tn-ops-list article > span { margin-bottom: 24px; }
  .tn-home .tn-ops-list h3 { font-size: 21px; }
  .tn-home .tn-ops-list p { font-size: 15px; }
  .tn-home .tn-ops-list ul { margin-top: 24px; padding-top: 0; }
  .tn-home .tn-bi .tn-intro h2 { font-size: 34px; }
  .tn-home .tn-bi .tn-intro p { font-size: 15px; }
  .tn-home .tn-bi-kicker { font-size: 10px; letter-spacing: .1em; }
  .tn-home .tn-bi-benefits { gap: 10px; margin-top: 22px; }
  .tn-home .tn-bi-benefits li { font-size: 13px; }
  .tn-home .tn-bi-status { width: auto; }
  .tn-home .tn-seg { width: 100%; }
  .tn-home .tn-seg button { min-width: 0; flex: 1; }
  .tn-home .tn-paper { border-radius: 18px; }
  .tn-home .tn-paper-label { inset-inline-end: 16px; font-size: 10px; }
  .tn-home .tn-tax-card { padding: 24px; }
  .tn-home .tn-tax-card__brand { align-items: flex-start; flex-direction: column; gap: 12px; }
  .tn-home .tn-tax-card__brand img { max-width: 100%; height: 48px; }
  .tn-home .tn-tax-card--fbr .tn-tax-card__brand img { height: 36px; }
  .tn-home .tn-close { padding: 42px 24px; }
  .tn-home .tn-close .tn-cta { flex-direction: column; }
  .tn-home .contact-widget { bottom: 88px; }
  .tn-home .contact-widget__launcher { padding: 0; border-radius: 50%; }
  .tn-home .tn-product-toolbar { min-height: 32px; padding: 7px 12px; font-size: 9px; }
}
html[dir="rtl"] .tn-home .tn-hero h1 { max-width: 11ch; font-size: clamp(38px, 5.5vw, 70px); }
@media (max-width: 800px) { html[dir="rtl"] .tn-home .tn-hero h1 { max-width: 700px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tn-home *, .tn-home *::before, .tn-home *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Unified white-and-blue homepage system
   -------------------------------------------------------------------------- */
body.tn-home {
  --tn-brand: #087fb7;
  --tn-brand-hover: #066c9c;
  --tn-brand-soft: #eef8fc;
  --tn-heading: #0f172a;
  --tn-copy: #475569;
  --tn-border-clean: #dceaf2;
  --tn-card-radius: 22px;
  --tn-card-shadow: 0 18px 50px rgba(15, 23, 42, .07);
  color: var(--tn-copy);
  background: #fff;
}

.tn-home .tn-main,
.tn-home .tn-sec,
.tn-home .tn-hero,
.tn-home .tn-trusted,
.tn-home .tn-ops-sec,
.tn-home .tn-control-sec,
.tn-home .tn-flow-sec,
.tn-home .tn-bi-sec,
.tn-home #compliance,
.tn-home .tn-ind-sec,
.tn-home .tn-detail,
.tn-home .tn-proof,
.tn-home .tn-pricing,
.tn-home #faq,
.tn-home .tn-closing,
.tn-home .tn-footer {
  background: #fff;
}

.tn-home .tn-sec,
.tn-home .tn-detail,
.tn-home .tn-proof {
  padding-block: clamp(72px, 7vw, 108px);
}

.tn-home h1,
.tn-home h2,
.tn-home h3,
.tn-home h4,
.tn-home h5,
.tn-home h6,
.tn-home strong,
.tn-home b {
  color: var(--tn-heading);
}

.tn-home p,
.tn-home small,
.tn-home li {
  color: var(--tn-copy);
}

.tn-home h2 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.tn-home .tn-intro p,
.tn-home .tn-ops-head > p,
.tn-home .tn-detail__header p {
  font-size: 17px;
  line-height: 1.75;
}

.tn-home .tn-detail__eyebrow,
.tn-home .tn-ops-head small,
.tn-home .tn-bi-kicker {
  color: var(--tn-brand);
}

/* One button language. */
.tn-home .tn-btn-blue,
.tn-home .package-buy-button,
.tn-home .contact-widget__launcher,
.tn-home .contact-widget__submit,
.tn-home .demo-modal .btn-primary,
.tn-home .package-type-tabs button.is-active,
.tn-home .tn-seg button[aria-pressed="true"] {
  border-color: var(--tn-brand) !important;
  background: var(--tn-brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(8, 127, 183, .20);
}

.tn-home .tn-btn-blue:hover,
.tn-home .package-buy-button:hover,
.tn-home .contact-widget__launcher:hover,
.tn-home .contact-widget__submit:hover,
.tn-home .demo-modal .btn-primary:hover {
  border-color: var(--tn-brand-hover) !important;
  background: var(--tn-brand-hover) !important;
  box-shadow: 0 13px 28px rgba(8, 127, 183, .24);
}

.tn-home .tn-btn-text {
  border-color: var(--tn-border-clean);
  background: #fff;
  color: var(--tn-heading);
}

/* Hero stays bright and uses the same blue as the rest of the page. */
.tn-home .tn-hero {
  background: #fff;
}

.tn-home .tn-hero::before {
  border-color: rgba(8, 127, 183, .10);
  box-shadow: 0 0 0 70px rgba(8, 127, 183, .025), 0 0 0 140px rgba(8, 127, 183, .015);
}

.tn-home .tn-hero-picture {
  border: 1px solid var(--tn-border-clean);
  background: var(--tn-brand-soft);
  box-shadow: var(--tn-card-shadow);
}

.tn-home .tn-hero-picture::before {
  background: var(--tn-brand);
}

.tn-home .tn-trust li {
  border-color: var(--tn-border-clean);
  background: #fff;
}

/* Shared cards. */
.tn-home .tn-ops-list article,
.tn-home .tn-tax-card,
.tn-home .advanced-package-card,
.tn-home .trusted-business-card,
.tn-home .tn-paper,
.tn-home .tn-start li,
.tn-home .tn-detail__column,
.tn-home .tn-control-roles article,
.tn-home .tn-faq-list details {
  border: 1px solid var(--tn-border-clean);
  border-radius: var(--tn-card-radius);
  background: #fff;
  box-shadow: var(--tn-card-shadow);
}

.tn-home .tn-ops-list article::before {
  height: 3px;
  background: var(--tn-brand);
}

.tn-home .tn-mods,
.tn-home .tn-inds {
  gap: 22px;
}

.tn-home .tn-mods li,
.tn-home .tn-inds li {
  min-height: 100%;
  padding: 28px 22px;
  border: 1px solid var(--tn-border-clean);
  border-radius: var(--tn-card-radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.tn-home .tn-mods svg,
.tn-home .tn-ind-icon,
.tn-home .tn-detail__column-heading::before {
  color: var(--tn-brand);
  background: var(--tn-brand-soft);
}

.tn-home .tn-mods li:hover,
.tn-home .tn-inds li:hover {
  border-color: rgba(8, 127, 183, .38);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .09);
  transform: translateY(-4px);
}

/* Role section: white card instead of a second dark theme. */
.tn-home .tn-control-sec {
  padding-block: clamp(72px, 7vw, 104px);
}

.tn-home .tn-control-grid {
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--tn-border-clean);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--tn-card-shadow);
}

.tn-home .tn-control-copy h2,
.tn-home .tn-control-copy p,
.tn-home .tn-control-roles b,
.tn-home .tn-control-roles p {
  color: initial;
}

.tn-home .tn-control-copy h2,
.tn-home .tn-control-roles b {
  color: var(--tn-heading);
}

.tn-home .tn-control-copy p,
.tn-home .tn-control-roles p {
  color: var(--tn-copy);
}

.tn-home .tn-control-roles article {
  margin-bottom: 14px;
  padding: 20px 22px;
}

/* Invoice and compliance previews. */
.tn-home .tn-bi-sec {
  border-block: 0;
}

.tn-home .tn-paper,
.tn-home .tn-tax-card {
  border-radius: var(--tn-card-radius);
}

.tn-home .tn-bi-benefits li::before {
  border-color: var(--tn-brand);
}

/* Business and working-day cards. */
.tn-home .tn-detail__columns {
  gap: 22px;
}

.tn-home .tn-detail__columns::before {
  display: none;
}

.tn-home .tn-detail__column,
.tn-home .tn-detail__column:first-child,
.tn-home .tn-detail__column:last-child {
  padding: 30px;
  border: 1px solid var(--tn-border-clean);
}

.tn-home .tn-detail__column-heading {
  align-items: flex-start;
  text-align: start;
}

.tn-home .tn-detail__column-heading::after {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 0;
  background: var(--tn-brand);
}

/* Connected-record section is now a readable white card. */
.tn-home .tn-proof {
  color: var(--tn-copy);
}

.tn-home .tn-proof__inner {
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--tn-border-clean);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--tn-card-shadow);
}

.tn-home .tn-proof .tn-detail__eyebrow,
.tn-home .tn-proof__step span {
  color: var(--tn-brand);
}

.tn-home .tn-proof h2,
.tn-home .tn-proof__step strong {
  color: var(--tn-heading);
}

.tn-home .tn-proof__copy p,
.tn-home .tn-proof__step small {
  color: var(--tn-copy);
}

.tn-home .tn-proof__link {
  color: var(--tn-brand);
  border-color: var(--tn-brand);
}

.tn-home .tn-proof__flow {
  overflow: hidden;
  border: 1px solid var(--tn-border-clean) !important;
  border-radius: 18px;
}

.tn-home .tn-proof__step {
  padding: 28px 22px;
}

.tn-home .tn-proof__step + .tn-proof__step {
  border-left: 1px solid var(--tn-border-clean) !important;
}

/* Setup, pricing, FAQ and closing CTA use the same card geometry. */
.tn-home .tn-start li {
  padding: 28px;
}

.tn-home .package-type-tabs,
.tn-home .tn-seg {
  border-color: var(--tn-border-clean);
  background: #fff;
}

.tn-home .tn-faq-list {
  display: grid;
  gap: 12px;
}

.tn-home .tn-faq-list details {
  overflow: hidden;
}

.tn-home .tn-faq-list summary {
  padding: 20px 22px;
}

.tn-home .tn-faq-list .ans {
  padding: 0 22px 20px;
}

.tn-home .tn-close {
  border: 1px solid var(--tn-border-clean) !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: var(--tn-card-shadow);
}

.tn-home .tn-close h2 {
  color: var(--tn-heading) !important;
}

.tn-home .tn-close > p,
.tn-home .tn-close address,
.tn-home .tn-close address a {
  color: var(--tn-copy) !important;
}

.tn-home .tn-close .tn-btn-light {
  border: 1px solid var(--tn-brand) !important;
  background: var(--tn-brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(8, 127, 183, .20);
}

.tn-home .tn-close .tn-btn-ghost {
  border: 1px solid var(--tn-border-clean) !important;
  background: #fff !important;
  color: var(--tn-heading) !important;
}

.tn-home .tn-close .tn-btn-light:hover {
  border-color: var(--tn-brand-hover) !important;
  background: var(--tn-brand-hover) !important;
}

.tn-home .tn-close .tn-direct,
.tn-home .tn-close .tn-direct a {
  color: var(--tn-copy) !important;
}

.tn-home .tn-footer {
  border-top-color: var(--tn-border-clean);
  background: #fff !important;
}

@media (max-width: 1100px) {
  .tn-home .tn-detail__column-heading {
    align-items: flex-start;
    flex-direction: row;
    text-align: start;
  }

  .tn-home .tn-detail__column-heading::after {
    margin: 0 14px 0 0;
  }
}

/* Final decoration language: rings only. */
.tn-home #platform::after,
.tn-home .tn-ops-sec::before,
.tn-home .tn-ops-sec::after,
.tn-home #compliance::before,
.tn-home .tn-ind-sec::after,
.tn-home .tn-pricing::before,
.tn-home #faq::after {
  display: block;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(8, 127, 183, .15);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 22px rgba(8, 127, 183, .028), 0 0 0 44px rgba(8, 127, 183, .016);
  opacity: 1;
  transform: none;
  animation: tn-ring-float 8s ease-in-out infinite;
}

.tn-home #platform::after { top: 72px; left: 4%; }
.tn-home .tn-ops-sec::before { right: 5%; bottom: 54px; width: 86px; height: 86px; animation-delay: -2s; }
.tn-home .tn-ops-sec::after { top: 68px; left: -48px; width: 152px; height: 152px; animation-delay: -4s; }
.tn-home #compliance::before { top: 64px; left: 6%; width: 78px; height: 78px; animation-delay: -3s; }
.tn-home .tn-ind-sec::after { top: 76px; right: 7%; width: 92px; height: 92px; animation-delay: -5s; }
.tn-home .tn-pricing::before { top: 56px; right: -34px; width: 138px; height: 138px; animation-delay: -1s; }
.tn-home #faq::after { bottom: 62px; left: 5%; width: 88px; height: 88px; animation-delay: -6s; }

.tn-home #platform::before,
.tn-home .tn-bi-sec::after,
.tn-home .tn-ind-sec::before {
  animation: tn-ring-breathe 10s ease-in-out infinite;
}

@keyframes tn-ring-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes tn-ring-breathe {
  0%, 100% { opacity: .72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
}

.tn-home .tn-bi-sec::after {
  transform-origin: center;
}

/* Final authoritative dark theme for every homepage surface. */
html.is-dark body.tn-home,
html[data-theme="dark"] body.tn-home {
  color-scheme: dark;
  --tn-ink: #f1f5f9;
  --tn-text: #b4c0d1;
  --tn-soft: #8fa0b5;
  --tn-line: #26364a;
  --tn-line2: #34465d;
  --tn-bg: #090f19;
  --tn-mist: #0e1726;
  --tn-surface: #111c2c;
  --tn-tint: #13283b;
  --tn-border-clean: #2a3b51;
  color: var(--tn-text);
  background: var(--tn-bg) !important;
}

html.is-dark .tn-home .tn-main,
html[data-theme="dark"] .tn-home .tn-main {
  color: var(--tn-text);
  background: var(--tn-bg);
}

html.is-dark .tn-home .tn-main h1,
html.is-dark .tn-home .tn-main h2,
html.is-dark .tn-home .tn-main h3,
html.is-dark .tn-home .tn-main h4,
html.is-dark .tn-home .tn-main h5,
html.is-dark .tn-home .tn-main h6,
html.is-dark .tn-home .tn-main b,
html.is-dark .tn-home .tn-main strong,
html[data-theme="dark"] .tn-home .tn-main h1,
html[data-theme="dark"] .tn-home .tn-main h2,
html[data-theme="dark"] .tn-home .tn-main h3,
html[data-theme="dark"] .tn-home .tn-main h4,
html[data-theme="dark"] .tn-home .tn-main h5,
html[data-theme="dark"] .tn-home .tn-main h6,
html[data-theme="dark"] .tn-home .tn-main b,
html[data-theme="dark"] .tn-home .tn-main strong {
  color: var(--tn-ink);
}

html.is-dark .tn-home .tn-main p,
html.is-dark .tn-home .tn-main li,
html.is-dark .tn-home .tn-main small,
html[data-theme="dark"] .tn-home .tn-main p,
html[data-theme="dark"] .tn-home .tn-main li,
html[data-theme="dark"] .tn-home .tn-main small {
  color: var(--tn-text);
}

html.is-dark .tn-home .tn-sec,
html.is-dark .tn-home #platform,
html.is-dark .tn-home .tn-ind-sec,
html.is-dark .tn-home #faq,
html.is-dark .tn-home .tn-closing,
html[data-theme="dark"] .tn-home .tn-sec,
html[data-theme="dark"] .tn-home #platform,
html[data-theme="dark"] .tn-home .tn-ind-sec,
html[data-theme="dark"] .tn-home #faq,
html[data-theme="dark"] .tn-home .tn-closing {
  background-color: var(--tn-bg);
}

html.is-dark .tn-home .tn-ops-sec,
html.is-dark .tn-home .tn-bi-sec,
html.is-dark .tn-home #compliance,
html.is-dark .tn-home .tn-detail,
html.is-dark .tn-home .tn-pricing,
html[data-theme="dark"] .tn-home .tn-ops-sec,
html[data-theme="dark"] .tn-home .tn-bi-sec,
html[data-theme="dark"] .tn-home #compliance,
html[data-theme="dark"] .tn-home .tn-detail,
html[data-theme="dark"] .tn-home .tn-pricing {
  border-color: var(--tn-line);
  background: var(--tn-mist);
}

html.is-dark .tn-home .tn-header,
html[data-theme="dark"] .tn-home .tn-header {
  border-color: var(--tn-line);
  background: rgba(9, 15, 25, .88);
}

html.is-dark .tn-home .tn-nav,
html[data-theme="dark"] .tn-home .tn-nav {
  border-color: var(--tn-line);
  background: rgba(17, 28, 44, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

html.is-dark .tn-home .tn-nav .tn-logo,
html.is-dark .tn-home .tn-footer .tn-logo,
html[data-theme="dark"] .tn-home .tn-nav .tn-logo,
html[data-theme="dark"] .tn-home .tn-footer .tn-logo {
  padding: 5px 9px;
  border-radius: 10px;
  background: #fff;
}

html.is-dark .tn-home .tn-menu a,
html.is-dark .tn-home .tn-lang,
html.is-dark .tn-home .tn-signin,
html.is-dark .tn-home .tn-mnav a,
html[data-theme="dark"] .tn-home .tn-menu a,
html[data-theme="dark"] .tn-home .tn-lang,
html[data-theme="dark"] .tn-home .tn-signin,
html[data-theme="dark"] .tn-home .tn-mnav a {
  color: #cbd5e1;
}

html.is-dark .tn-home .tn-mnav,
html[data-theme="dark"] .tn-home .tn-mnav {
  border-color: var(--tn-line);
  background: #111c2c;
}

html.is-dark .tn-home .tn-theme,
html.is-dark .tn-home .tn-burger,
html[data-theme="dark"] .tn-home .tn-theme,
html[data-theme="dark"] .tn-home .tn-burger {
  border-color: var(--tn-line2);
  color: #dbe5f1;
  background: #152235;
}

html.is-dark .tn-home .tn-hero,
html[data-theme="dark"] .tn-home .tn-hero {
  border-color: var(--tn-line);
  background: radial-gradient(circle at 72% 24%, rgba(8, 127, 183, .13), transparent 28%), linear-gradient(135deg, #090f19 0 58%, #0d1827 58% 100%);
}

html.is-dark .tn-home .tn-hero .tn-lead,
html.is-dark .tn-home .tn-hero .tn-trust li,
html[data-theme="dark"] .tn-home .tn-hero .tn-lead,
html[data-theme="dark"] .tn-home .tn-hero .tn-trust li {
  color: #aebacd;
}

html.is-dark .tn-home .tn-btn-text,
html[data-theme="dark"] .tn-home .tn-btn-text {
  border-color: var(--tn-line2);
  color: #e2e8f0;
  background: #111c2c;
  box-shadow: none;
}

html.is-dark .tn-home .tn-mods li,
html.is-dark .tn-home .tn-inds li,
html[data-theme="dark"] .tn-home .tn-mods li,
html[data-theme="dark"] .tn-home .tn-inds li {
  color: var(--tn-text);
  background: transparent;
}

html.is-dark .tn-home .tn-mods svg,
html.is-dark .tn-home .tn-ind-icon,
html.is-dark .tn-home .tn-detail__column-heading::before,
html[data-theme="dark"] .tn-home .tn-mods svg,
html[data-theme="dark"] .tn-home .tn-ind-icon,
html[data-theme="dark"] .tn-home .tn-detail__column-heading::before {
  color: #65c8ef;
  background-color: #152b40;
}

html.is-dark .tn-home .tn-ops-list article,
html.is-dark .tn-home .tn-tax-card,
html.is-dark .tn-home .tn-start li,
html.is-dark .tn-home .tn-detail__column,
html.is-dark .tn-home .tn-control-roles article,
html.is-dark .tn-home .tn-faq-list details,
html.is-dark .tn-home .advanced-package-card,
html.is-dark .tn-home .trusted-business-card,
html[data-theme="dark"] .tn-home .tn-ops-list article,
html[data-theme="dark"] .tn-home .tn-tax-card,
html[data-theme="dark"] .tn-home .tn-start li,
html[data-theme="dark"] .tn-home .tn-detail__column,
html[data-theme="dark"] .tn-home .tn-control-roles article,
html[data-theme="dark"] .tn-home .tn-faq-list details,
html[data-theme="dark"] .tn-home .advanced-package-card,
html[data-theme="dark"] .tn-home .trusted-business-card {
  border-color: var(--tn-line);
  color: var(--tn-text);
  background: var(--tn-surface);
  box-shadow: none;
}

html.is-dark .tn-home .tn-ops-list article > span,
html[data-theme="dark"] .tn-home .tn-ops-list article > span {
  color: #7dd3fc;
  background: #152b40;
}

html.is-dark .tn-home .tn-paper,
html[data-theme="dark"] .tn-home .tn-paper {
  border-color: var(--tn-line2);
  color: #e7edf5;
  background: #111c2c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
}

html.is-dark .tn-home .tn-paper .p-head,
html.is-dark .tn-home .tn-paper .p-tbl td,
html.is-dark .tn-home .tn-paper .p-tot,
html.is-dark .tn-home .tn-paper .p-foot,
html[data-theme="dark"] .tn-home .tn-paper .p-head,
html[data-theme="dark"] .tn-home .tn-paper .p-tbl td,
html[data-theme="dark"] .tn-home .tn-paper .p-tot,
html[data-theme="dark"] .tn-home .tn-paper .p-foot {
  border-color: var(--tn-line2);
}

html.is-dark .tn-home .package-type-tabs,
html.is-dark .tn-home .tn-seg,
html[data-theme="dark"] .tn-home .package-type-tabs,
html[data-theme="dark"] .tn-home .tn-seg {
  border-color: var(--tn-line2);
  background: #111c2c;
  box-shadow: none;
}

html.is-dark .tn-home .package-type-tabs button,
html[data-theme="dark"] .tn-home .package-type-tabs button {
  color: #aebacd;
}

html.is-dark .tn-home .advanced-package-card__features,
html.is-dark .tn-home .package-section-heading,
html[data-theme="dark"] .tn-home .advanced-package-card__features,
html[data-theme="dark"] .tn-home .package-section-heading {
  border-color: var(--tn-line);
  color: var(--tn-text);
}

html.is-dark .tn-home .tn-control-sec,
html.is-dark .tn-home .tn-proof,
html[data-theme="dark"] .tn-home .tn-control-sec,
html[data-theme="dark"] .tn-home .tn-proof {
  color: #d7e2ef;
  background: #0d2b40;
}

html.is-dark .tn-home .tn-control-grid,
html.is-dark .tn-home .tn-proof__inner,
html.is-dark .tn-home .tn-close,
html[data-theme="dark"] .tn-home .tn-control-grid,
html[data-theme="dark"] .tn-home .tn-proof__inner,
html[data-theme="dark"] .tn-home .tn-close {
  border-color: #2c4258 !important;
  background: #102e46;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
}

html.is-dark .tn-home .tn-faq-list details,
html[data-theme="dark"] .tn-home .tn-faq-list details {
  border-color: var(--tn-line);
  background: transparent;
}

html.is-dark .tn-home .contact-widget__panel,
html.is-dark .tn-home .demo-modal__dialog,
html[data-theme="dark"] .tn-home .contact-widget__panel,
html[data-theme="dark"] .tn-home .demo-modal__dialog {
  border-color: var(--tn-line2);
  color: var(--tn-text);
  background: #111c2c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

html.is-dark .tn-home .contact-widget__panel input,
html.is-dark .tn-home .contact-widget__panel select,
html.is-dark .tn-home .contact-widget__panel textarea,
html.is-dark .tn-home .demo-option,
html[data-theme="dark"] .tn-home .contact-widget__panel input,
html[data-theme="dark"] .tn-home .contact-widget__panel select,
html[data-theme="dark"] .tn-home .contact-widget__panel textarea,
html[data-theme="dark"] .tn-home .demo-option {
  border-color: var(--tn-line2);
  color: #e7edf5;
  background: #0d1726;
}

html.is-dark .tn-home .tn-footer,
html[data-theme="dark"] .tn-home .tn-footer {
  border-color: var(--tn-line);
  color: var(--tn-text);
  background: #070c14;
}

html.is-dark .tn-home .tn-footer h4,
html.is-dark .tn-home .tn-footer a,
html[data-theme="dark"] .tn-home .tn-footer h4,
html[data-theme="dark"] .tn-home .tn-footer a {
  color: #dbe5f1;
}

html.is-dark .tn-home .tn-fbase,
html[data-theme="dark"] .tn-home .tn-fbase {
  border-color: var(--tn-line);
}

html.is-dark .tn-home #platform::before,
html.is-dark .tn-home #platform::after,
html.is-dark .tn-home .tn-ops-sec::before,
html.is-dark .tn-home .tn-ops-sec::after,
html.is-dark .tn-home .tn-bi-sec::after,
html.is-dark .tn-home #compliance::before,
html.is-dark .tn-home .tn-ind-sec::before,
html.is-dark .tn-home .tn-ind-sec::after,
html.is-dark .tn-home .tn-pricing::before,
html.is-dark .tn-home #faq::after,
html[data-theme="dark"] .tn-home #platform::before,
html[data-theme="dark"] .tn-home #platform::after,
html[data-theme="dark"] .tn-home .tn-ops-sec::before,
html[data-theme="dark"] .tn-home .tn-ops-sec::after,
html[data-theme="dark"] .tn-home .tn-bi-sec::after,
html[data-theme="dark"] .tn-home #compliance::before,
html[data-theme="dark"] .tn-home .tn-ind-sec::before,
html[data-theme="dark"] .tn-home .tn-ind-sec::after,
html[data-theme="dark"] .tn-home .tn-pricing::before,
html[data-theme="dark"] .tn-home #faq::after {
  border-color: rgba(101, 200, 239, .2);
  box-shadow: 0 0 0 22px rgba(101, 200, 239, .025), 0 0 0 44px rgba(101, 200, 239, .012);
}

@media (prefers-reduced-motion: reduce) {
  .tn-home #platform::before,
  .tn-home #platform::after,
  .tn-home .tn-ops-sec::before,
  .tn-home .tn-ops-sec::after,
  .tn-home .tn-bi-sec::after,
  .tn-home #compliance::before,
  .tn-home .tn-ind-sec::before,
  .tn-home .tn-ind-sec::after,
  .tn-home .tn-pricing::before,
  .tn-home #faq::after {
    animation: none;
  }
}

/* Complete homepage dark mode. Keep component hierarchy while changing surfaces. */
html.is-dark body.tn-home,
html[data-theme="dark"] body.tn-home {
  --tn-border-clean: #26364a;
  --tn-card-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  color: var(--tn-text);
  background: var(--tn-bg) !important;
}

html.is-dark .tn-home .tn-header,
html[data-theme="dark"] .tn-home .tn-header {
  border-color: #223047;
  background: rgba(10, 15, 26, .86);
}

html.is-dark .tn-home .tn-nav,
html[data-theme="dark"] .tn-home .tn-nav {
  border-color: #26364a;
  background: rgba(17, 26, 43, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
}

html.is-dark .tn-home .tn-menu a,
html.is-dark .tn-home .tn-lang,
html.is-dark .tn-home .tn-signin,
html[data-theme="dark"] .tn-home .tn-menu a,
html[data-theme="dark"] .tn-home .tn-lang,
html[data-theme="dark"] .tn-home .tn-signin {
  color: #c3cede;
}

html.is-dark .tn-home .tn-theme,
html[data-theme="dark"] .tn-home .tn-theme {
  border-color: #314158;
  color: #d7e2ef;
  background: #172237;
}

html.is-dark .tn-home .tn-hero,
html[data-theme="dark"] .tn-home .tn-hero {
  border-color: #1e2c40;
  background:
    radial-gradient(circle at 76% 18%, rgba(56, 189, 248, .09), transparent 30%),
    linear-gradient(135deg, #0a0f1a 0 58%, #0d1624 58% 100%);
}

html.is-dark .tn-home .tn-hero::before,
html[data-theme="dark"] .tn-home .tn-hero::before {
  border-color: rgba(56, 189, 248, .12);
  box-shadow: 0 0 0 70px rgba(56, 189, 248, .025), 0 0 0 140px rgba(56, 189, 248, .015);
}

html.is-dark .tn-home .tn-hero .tn-lead,
html.is-dark .tn-home .tn-hero .tn-trust li,
html[data-theme="dark"] .tn-home .tn-hero .tn-lead,
html[data-theme="dark"] .tn-home .tn-hero .tn-trust li {
  color: #aab7c9;
}

html.is-dark .tn-home .tn-hero-picture,
html[data-theme="dark"] .tn-home .tn-hero-picture {
  background: linear-gradient(145deg, #142337, #101a2a 62%);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .12);
}

html.is-dark .tn-home .tn-hero-picture::before,
html[data-theme="dark"] .tn-home .tn-hero-picture::before {
  background: #087fb7;
  opacity: .7;
}

html.is-dark .tn-home .tn-hero-float,
html[data-theme="dark"] .tn-home .tn-hero-float {
  border-color: #33465d;
  background: rgba(17, 26, 43, .94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

html.is-dark .tn-home .tn-hero-float small,
html[data-theme="dark"] .tn-home .tn-hero-float small {
  color: #93a4b9;
}

html.is-dark .tn-home .tn-btn-text,
html[data-theme="dark"] .tn-home .tn-btn-text {
  border-color: #314158;
  color: #d7e2ef;
  background: #111a2b;
  box-shadow: none;
}

html.is-dark .tn-home .tn-trusted,
html[data-theme="dark"] .tn-home .tn-trusted {
  border-color: #1e2c40;
  background: var(--tn-bg);
}

html.is-dark .tn-home .tn-mods svg,
html.is-dark .tn-home .tn-ind-icon,
html.is-dark .tn-home .tn-detail__column-heading::before,
html[data-theme="dark"] .tn-home .tn-mods svg,
html[data-theme="dark"] .tn-home .tn-ind-icon,
html[data-theme="dark"] .tn-home .tn-detail__column-heading::before {
  color: #65c8ef;
  background-color: #16283a;
}

html.is-dark .tn-home .tn-ops-list article,
html.is-dark .tn-home .tn-tax-card,
html.is-dark .tn-home .tn-start li,
html.is-dark .tn-home .tn-detail__column,
html.is-dark .tn-home .tn-control-roles article,
html.is-dark .tn-home .tn-faq-list details,
html.is-dark .tn-home .advanced-package-card,
html.is-dark .tn-home .trusted-business-card,
html[data-theme="dark"] .tn-home .tn-ops-list article,
html[data-theme="dark"] .tn-home .tn-tax-card,
html[data-theme="dark"] .tn-home .tn-start li,
html[data-theme="dark"] .tn-home .tn-detail__column,
html[data-theme="dark"] .tn-home .tn-control-roles article,
html[data-theme="dark"] .tn-home .tn-faq-list details,
html[data-theme="dark"] .tn-home .advanced-package-card,
html[data-theme="dark"] .tn-home .trusted-business-card {
  border-color: #26364a;
  color: var(--tn-text);
  background: var(--tn-surface);
}

html.is-dark .tn-home .tn-ops-list li,
html.is-dark .tn-home .tn-bi-benefits li,
html[data-theme="dark"] .tn-home .tn-ops-list li,
html[data-theme="dark"] .tn-home .tn-bi-benefits li {
  color: #b4c0d1;
}

html.is-dark .tn-home .tn-ops-list article > span,
html[data-theme="dark"] .tn-home .tn-ops-list article > span {
  color: #7dd3fc;
  background: #172b40;
}

html.is-dark .tn-home .tn-bi-sec,
html[data-theme="dark"] .tn-home .tn-bi-sec {
  border-color: #223047;
  background: #0d1523;
}

html.is-dark .tn-home .tn-paper,
html[data-theme="dark"] .tn-home .tn-paper {
  border-color: #314158;
  color: #e7edf5;
  background: #111a2b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

html.is-dark .tn-home .tn-seg,
html.is-dark .tn-home .package-type-tabs,
html[data-theme="dark"] .tn-home .tn-seg,
html[data-theme="dark"] .tn-home .package-type-tabs {
  border-color: #314158;
  background: #111a2b;
  box-shadow: none;
}

html.is-dark .tn-home .tn-detail,
html.is-dark .tn-home .tn-pricing,
html.is-dark .tn-home .tn-ops-sec,
html.is-dark .tn-home #compliance,
html[data-theme="dark"] .tn-home .tn-detail,
html[data-theme="dark"] .tn-home .tn-pricing,
html[data-theme="dark"] .tn-home .tn-ops-sec,
html[data-theme="dark"] .tn-home #compliance {
  background: var(--tn-mist);
}

html.is-dark .tn-home #platform,
html.is-dark .tn-home #industries,
html.is-dark .tn-home #faq,
html.is-dark .tn-home .tn-proof + .tn-sec,
html[data-theme="dark"] .tn-home #platform,
html[data-theme="dark"] .tn-home #industries,
html[data-theme="dark"] .tn-home #faq,
html[data-theme="dark"] .tn-home .tn-proof + .tn-sec {
  background: var(--tn-bg);
}

html.is-dark .tn-home .tn-control-grid,
html.is-dark .tn-home .tn-close,
html[data-theme="dark"] .tn-home .tn-control-grid,
html[data-theme="dark"] .tn-home .tn-close {
  border-color: #2b3d52 !important;
  background: #102e46;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

html.is-dark .tn-home .tn-faq-list details[open],
html[data-theme="dark"] .tn-home .tn-faq-list details[open] {
  border-color: #3a526a;
  box-shadow: none;
}

html.is-dark .tn-home .contact-widget__panel,
html[data-theme="dark"] .tn-home .contact-widget__panel {
  border-color: #314158;
  color: var(--tn-text);
  background: #111a2b;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .36);
}

html.is-dark .tn-home .contact-widget__panel input,
html.is-dark .tn-home .contact-widget__panel select,
html.is-dark .tn-home .contact-widget__panel textarea,
html[data-theme="dark"] .tn-home .contact-widget__panel input,
html[data-theme="dark"] .tn-home .contact-widget__panel select,
html[data-theme="dark"] .tn-home .contact-widget__panel textarea {
  border-color: #314158;
  color: #e7edf5;
  background: #0d1523;
}

/* FINAL THEME CASCADE — keep this block at the end of the file. */
.tn-home #platform::after,
.tn-home .tn-ops-sec::before,
.tn-home .tn-ops-sec::after,
.tn-home #compliance::before,
.tn-home .tn-ind-sec::after,
.tn-home .tn-pricing::before,
.tn-home #faq::after {
  display: block;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(8, 127, 183, .15);
  border-radius: 50%;
  background: none;
  background-image: none;
  box-shadow: 0 0 0 22px rgba(8, 127, 183, .026), 0 0 0 44px rgba(8, 127, 183, .014);
  opacity: 1;
  transform: none;
  animation: tn-final-ring 8s ease-in-out infinite;
}

.tn-home #platform::after { top: 72px; left: 4%; }
.tn-home .tn-ops-sec::before { right: 5%; bottom: 54px; width: 82px; height: 82px; animation-delay: -2s; }
.tn-home .tn-ops-sec::after { top: 68px; left: -46px; width: 146px; height: 146px; animation-delay: -4s; }
.tn-home #compliance::before { top: 64px; left: 6%; width: 76px; height: 76px; animation-delay: -3s; }
.tn-home .tn-ind-sec::after { top: 76px; right: 7%; width: 90px; height: 90px; animation-delay: -5s; }
.tn-home .tn-pricing::before { top: 56px; right: -32px; width: 132px; height: 132px; animation-delay: -1s; }
.tn-home #faq::after { bottom: 62px; left: 5%; width: 84px; height: 84px; animation-delay: -6s; }

@keyframes tn-final-ring {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -9px, 0) scale(1.025); }
}

html.is-dark body.tn-home,
html[data-theme="dark"] body.tn-home {
  color-scheme: dark;
  --tn-ink: #f1f5f9;
  --tn-text: #b5c1d1;
  --tn-soft: #91a1b6;
  --tn-line: #27384d;
  --tn-line2: #35485f;
  --tn-bg: #090f19;
  --tn-mist: #0e1726;
  --tn-surface: #111c2c;
  --tn-tint: #13283b;
  --tn-border-clean: #2a3b51;
  color: var(--tn-text);
  background: var(--tn-bg) !important;
}

html.is-dark .tn-home .tn-main,
html[data-theme="dark"] .tn-home .tn-main { color: var(--tn-text); background: var(--tn-bg); }

html.is-dark .tn-home .tn-sec,
html.is-dark .tn-home #platform,
html.is-dark .tn-home .tn-ind-sec,
html.is-dark .tn-home #faq,
html.is-dark .tn-home .tn-closing,
html[data-theme="dark"] .tn-home .tn-sec,
html[data-theme="dark"] .tn-home #platform,
html[data-theme="dark"] .tn-home .tn-ind-sec,
html[data-theme="dark"] .tn-home #faq,
html[data-theme="dark"] .tn-home .tn-closing { background: var(--tn-bg); }

html.is-dark .tn-home .tn-ops-sec,
html.is-dark .tn-home .tn-bi-sec,
html.is-dark .tn-home #compliance,
html.is-dark .tn-home .tn-detail,
html.is-dark .tn-home .tn-pricing,
html[data-theme="dark"] .tn-home .tn-ops-sec,
html[data-theme="dark"] .tn-home .tn-bi-sec,
html[data-theme="dark"] .tn-home #compliance,
html[data-theme="dark"] .tn-home .tn-detail,
html[data-theme="dark"] .tn-home .tn-pricing {
  border-color: var(--tn-line);
  background: var(--tn-mist);
}

html.is-dark .tn-home .tn-main h1,
html.is-dark .tn-home .tn-main h2,
html.is-dark .tn-home .tn-main h3,
html.is-dark .tn-home .tn-main h4,
html.is-dark .tn-home .tn-main b,
html.is-dark .tn-home .tn-main strong,
html[data-theme="dark"] .tn-home .tn-main h1,
html[data-theme="dark"] .tn-home .tn-main h2,
html[data-theme="dark"] .tn-home .tn-main h3,
html[data-theme="dark"] .tn-home .tn-main h4,
html[data-theme="dark"] .tn-home .tn-main b,
html[data-theme="dark"] .tn-home .tn-main strong { color: var(--tn-ink); }

html.is-dark .tn-home .tn-main p,
html.is-dark .tn-home .tn-main li,
html.is-dark .tn-home .tn-main small,
html[data-theme="dark"] .tn-home .tn-main p,
html[data-theme="dark"] .tn-home .tn-main li,
html[data-theme="dark"] .tn-home .tn-main small { color: var(--tn-text); }

html.is-dark .tn-home .tn-header,
html[data-theme="dark"] .tn-home .tn-header { border-color: var(--tn-line); background: rgba(9, 15, 25, .9); }

html.is-dark .tn-home .tn-nav,
html[data-theme="dark"] .tn-home .tn-nav {
  border-color: var(--tn-line);
  background: rgba(17, 28, 44, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

html.is-dark .tn-home .tn-mnav,
html[data-theme="dark"] .tn-home .tn-mnav { border-color: var(--tn-line); background: var(--tn-surface); }

html.is-dark .tn-home .tn-menu a,
html.is-dark .tn-home .tn-lang,
html.is-dark .tn-home .tn-signin,
html.is-dark .tn-home .tn-mnav a,
html[data-theme="dark"] .tn-home .tn-menu a,
html[data-theme="dark"] .tn-home .tn-lang,
html[data-theme="dark"] .tn-home .tn-signin,
html[data-theme="dark"] .tn-home .tn-mnav a { color: #d0d9e6; }

html.is-dark .tn-home .tn-theme,
html.is-dark .tn-home .tn-burger,
html[data-theme="dark"] .tn-home .tn-theme,
html[data-theme="dark"] .tn-home .tn-burger {
  border-color: var(--tn-line2);
  color: #e2e8f0;
  background: #152235;
}

html.is-dark .tn-home .tn-hero,
html[data-theme="dark"] .tn-home .tn-hero {
  border-color: var(--tn-line);
  background: radial-gradient(circle at 72% 24%, rgba(8, 127, 183, .13), transparent 28%), linear-gradient(135deg, #090f19 0 58%, #0d1827 58% 100%);
}

html.is-dark .tn-home .tn-hero .tn-lead,
html.is-dark .tn-home .tn-hero .tn-trust li,
html[data-theme="dark"] .tn-home .tn-hero .tn-lead,
html[data-theme="dark"] .tn-home .tn-hero .tn-trust li { color: #afbbcc; }

html.is-dark .tn-home .tn-btn-text,
html[data-theme="dark"] .tn-home .tn-btn-text {
  border-color: var(--tn-line2);
  color: #e2e8f0;
  background: var(--tn-surface);
  box-shadow: none;
}

html.is-dark .tn-home .tn-mods svg,
html.is-dark .tn-home .tn-ind-icon,
html.is-dark .tn-home .tn-detail__column-heading::before,
html[data-theme="dark"] .tn-home .tn-mods svg,
html[data-theme="dark"] .tn-home .tn-ind-icon,
html[data-theme="dark"] .tn-home .tn-detail__column-heading::before { color: #65c8ef; background: #152b40; }

html.is-dark .tn-home .tn-ops-list article,
html.is-dark .tn-home .tn-tax-card,
html.is-dark .tn-home .tn-start li,
html.is-dark .tn-home .tn-detail__column,
html.is-dark .tn-home .tn-control-roles article,
html.is-dark .tn-home .tn-faq-list details,
html.is-dark .tn-home .advanced-package-card,
html.is-dark .tn-home .trusted-business-card,
html[data-theme="dark"] .tn-home .tn-ops-list article,
html[data-theme="dark"] .tn-home .tn-tax-card,
html[data-theme="dark"] .tn-home .tn-start li,
html[data-theme="dark"] .tn-home .tn-detail__column,
html[data-theme="dark"] .tn-home .tn-control-roles article,
html[data-theme="dark"] .tn-home .tn-faq-list details,
html[data-theme="dark"] .tn-home .advanced-package-card,
html[data-theme="dark"] .tn-home .trusted-business-card {
  border-color: var(--tn-line);
  color: var(--tn-text);
  background: var(--tn-surface);
  box-shadow: none;
}

html.is-dark .tn-home .tn-paper,
html[data-theme="dark"] .tn-home .tn-paper {
  border-color: var(--tn-line2);
  color: #e7edf5;
  background: var(--tn-surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
}

html.is-dark .tn-home .tn-paper .p-head,
html.is-dark .tn-home .tn-paper .p-tbl td,
html.is-dark .tn-home .tn-paper .p-tot,
html[data-theme="dark"] .tn-home .tn-paper .p-head,
html[data-theme="dark"] .tn-home .tn-paper .p-tbl td,
html[data-theme="dark"] .tn-home .tn-paper .p-tot { border-color: var(--tn-line2); }

html.is-dark .tn-home .package-type-tabs,
html.is-dark .tn-home .tn-seg,
html[data-theme="dark"] .tn-home .package-type-tabs,
html[data-theme="dark"] .tn-home .tn-seg { border-color: var(--tn-line2); background: var(--tn-surface); box-shadow: none; }

html.is-dark .tn-home .tn-control-sec,
html.is-dark .tn-home .tn-proof,
html[data-theme="dark"] .tn-home .tn-control-sec,
html[data-theme="dark"] .tn-home .tn-proof { color: #d8e3ef; background: #0d2b40; }

html.is-dark .tn-home .tn-control-grid,
html.is-dark .tn-home .tn-proof__inner,
html.is-dark .tn-home .tn-close,
html[data-theme="dark"] .tn-home .tn-control-grid,
html[data-theme="dark"] .tn-home .tn-proof__inner,
html[data-theme="dark"] .tn-home .tn-close {
  border-color: #2c4258 !important;
  background: #102e46;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
}

html.is-dark .tn-home .contact-widget__panel,
html.is-dark .tn-home .demo-modal__dialog,
html[data-theme="dark"] .tn-home .contact-widget__panel,
html[data-theme="dark"] .tn-home .demo-modal__dialog {
  border-color: var(--tn-line2);
  color: var(--tn-text);
  background: var(--tn-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

html.is-dark .tn-home .contact-widget__panel input,
html.is-dark .tn-home .contact-widget__panel select,
html.is-dark .tn-home .contact-widget__panel textarea,
html.is-dark .tn-home .demo-option,
html[data-theme="dark"] .tn-home .contact-widget__panel input,
html[data-theme="dark"] .tn-home .contact-widget__panel select,
html[data-theme="dark"] .tn-home .contact-widget__panel textarea,
html[data-theme="dark"] .tn-home .demo-option {
  border-color: var(--tn-line2);
  color: #e7edf5;
  background: #0d1726;
}

html.is-dark .tn-home .tn-footer,
html[data-theme="dark"] .tn-home .tn-footer { border-color: var(--tn-line); color: var(--tn-text); background: #070c14; }

html.is-dark .tn-home .tn-footer h4,
html.is-dark .tn-home .tn-footer a,
html[data-theme="dark"] .tn-home .tn-footer h4,
html[data-theme="dark"] .tn-home .tn-footer a { color: #dbe5f1; }

html.is-dark .tn-home .tn-fbase,
html[data-theme="dark"] .tn-home .tn-fbase { border-color: var(--tn-line); }

html.is-dark .tn-home #platform::before,
html.is-dark .tn-home #platform::after,
html.is-dark .tn-home .tn-ops-sec::before,
html.is-dark .tn-home .tn-ops-sec::after,
html.is-dark .tn-home .tn-bi-sec::after,
html.is-dark .tn-home #compliance::before,
html.is-dark .tn-home .tn-ind-sec::before,
html.is-dark .tn-home .tn-ind-sec::after,
html.is-dark .tn-home .tn-pricing::before,
html.is-dark .tn-home #faq::after,
html[data-theme="dark"] .tn-home #platform::before,
html[data-theme="dark"] .tn-home #platform::after,
html[data-theme="dark"] .tn-home .tn-ops-sec::before,
html[data-theme="dark"] .tn-home .tn-ops-sec::after,
html[data-theme="dark"] .tn-home .tn-bi-sec::after,
html[data-theme="dark"] .tn-home #compliance::before,
html[data-theme="dark"] .tn-home .tn-ind-sec::before,
html[data-theme="dark"] .tn-home .tn-ind-sec::after,
html[data-theme="dark"] .tn-home .tn-pricing::before,
html[data-theme="dark"] .tn-home #faq::after {
  border-color: rgba(101, 200, 239, .2);
  box-shadow: 0 0 0 22px rgba(101, 200, 239, .024), 0 0 0 44px rgba(101, 200, 239, .012);
}

@media (max-width: 540px) {
  .tn-home #platform::after,
  .tn-home .tn-ops-sec::before,
  .tn-home .tn-ops-sec::after,
  .tn-home #compliance::before,
  .tn-home .tn-ind-sec::after,
  .tn-home .tn-pricing::before,
  .tn-home #faq::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home #platform::before,
  .tn-home #platform::after,
  .tn-home .tn-ops-sec::before,
  .tn-home .tn-ops-sec::after,
  .tn-home .tn-bi-sec::after,
  .tn-home #compliance::before,
  .tn-home .tn-ind-sec::before,
  .tn-home .tn-ind-sec::after,
  .tn-home .tn-pricing::before,
  .tn-home #faq::after { animation: none; }
}

/* Hero product photograph: one complete visual, with restrained motion. */
.tn-home .tn-hero-picture {
  min-height: 0;
  aspect-ratio: 1168 / 934;
  place-items: center;
  border: 1px solid #e0e9ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(15, 23, 42, .1);
  animation: tn-hero-visual-enter .8s cubic-bezier(.2, .75, .25, 1) both;
}

.tn-home .tn-hero-picture::before,
.tn-home .tn-hero-picture::after,
.tn-home .tn-hero-float {
  display: none;
}

.tn-home .tn-hero-visual img.tn-hero-product-image {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform-origin: center bottom;
  animation: tn-hero-image-drift 6s ease-in-out .8s infinite;
}

@keyframes tn-hero-visual-enter {
  from { opacity: 0; transform: translate3d(22px, 18px, 0) scale(.975); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes tn-hero-image-drift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.012); }
}

html.is-dark .tn-home .tn-hero-picture,
html[data-theme="dark"] .tn-home .tn-hero-picture {
  border-color: #314158;
  background: #fff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .35);
}

@media (max-width: 800px) {
  .tn-home .tn-hero-visual {
    margin-inline: 0;
  }

  .tn-home .tn-hero-picture {
    width: min(100%, 680px);
    margin-inline: auto;
    border-radius: 22px;
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero-picture {
    min-height: 0;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home .tn-hero-picture,
  .tn-home .tn-hero-visual img.tn-hero-product-image {
    animation: none;
  }
}

/* Transparent hero artwork: crop only its unused left canvas. */
.tn-home .tn-hero-picture {
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

.tn-home .tn-hero-visual img.tn-hero-product-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

html[dir="rtl"] .tn-home .tn-hero-visual img.tn-hero-product-image {
  right: auto;
  left: 0;
  transform-origin: center bottom;
}

html.is-dark .tn-home .tn-hero-picture,
html[data-theme="dark"] .tn-home .tn-hero-picture {
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 800px) {
  .tn-home .tn-hero-picture {
    width: min(100%, 720px);
    aspect-ratio: 1.32 / 1;
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero-picture {
    aspect-ratio: 1.18 / 1;
    border-radius: 18px;
  }
}

/* Editorial section decoration: quiet brand marks without extra UI cards. */
.tn-home #platform,
.tn-home .tn-ops-sec,
.tn-home .tn-bi-sec,
.tn-home #compliance,
.tn-home .tn-ind-sec,
.tn-home .tn-pricing,
.tn-home #faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.tn-home #platform > .tn-wrap,
.tn-home .tn-ops-sec > .tn-wrap,
.tn-home .tn-bi-sec > .tn-wrap,
.tn-home #compliance > .tn-wrap,
.tn-home .tn-ind-sec > .tn-wrap,
.tn-home .tn-pricing > .tn-wrap,
.tn-home #faq > .tn-wrap {
  position: relative;
  z-index: 2;
}

.tn-home #platform::before {
  position: absolute;
  top: 54px;
  right: -96px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(8, 127, 183, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(8, 127, 183, .025), 0 0 0 84px rgba(8, 127, 183, .018);
  content: "";
}

.tn-home #platform::after {
  position: absolute;
  top: 92px;
  left: max(28px, calc((100vw - 1200px) / 2 - 48px));
  width: 152px;
  height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 152 22'%3E%3Cpath d='M3 13C38 7 92 9 149 5' fill='none' stroke='%23087fb7' stroke-width='4' stroke-linecap='round' opacity='.45'/%3E%3Cpath d='M18 18C55 14 96 16 132 11' fill='none' stroke='%23087fb7' stroke-width='2' stroke-linecap='round' opacity='.2'/%3E%3C/svg%3E");
  content: "";
  transform: rotate(-3deg);
}

.tn-home .tn-ops-sec::before {
  position: absolute;
  right: 4.5%;
  bottom: 42px;
  width: 118px;
  height: 82px;
  background-image: radial-gradient(circle, rgba(8, 127, 183, .24) 1.4px, transparent 1.7px);
  background-size: 14px 14px;
  content: "";
  transform: rotate(-7deg);
}

.tn-home .tn-ops-sec::after {
  position: absolute;
  top: 74px;
  left: -62px;
  width: 178px;
  height: 56px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 178 56'%3E%3Cpath d='M4 40C43 4 91 7 174 22' fill='none' stroke='%23087fb7' stroke-width='2.5' stroke-linecap='round' opacity='.28'/%3E%3Cpath d='M8 50C54 17 104 17 162 30' fill='none' stroke='%23087fb7' stroke-width='1.5' stroke-linecap='round' opacity='.14'/%3E%3C/svg%3E");
  content: "";
}

.tn-home .tn-bi-sec::after {
  display: block;
  position: absolute;
  top: 50%;
  right: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(8, 127, 183, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 54px rgba(8, 127, 183, .018), 0 0 0 54px rgba(8, 127, 183, .018);
  content: "";
  transform: translateY(-50%);
}

.tn-home #compliance::before {
  position: absolute;
  top: 62px;
  left: 6%;
  width: 104px;
  height: 30px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 30'%3E%3Cpath d='M4 20L35 8M40 22L67 11M72 20L100 7' fill='none' stroke='%23087fb7' stroke-width='5' stroke-linecap='round' opacity='.3'/%3E%3C/svg%3E");
  content: "";
  transform: rotate(-5deg);
}

.tn-home .tn-ind-sec::before {
  position: absolute;
  bottom: 50px;
  left: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(8, 127, 183, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(8, 127, 183, .02);
  content: "";
}

.tn-home .tn-ind-sec::after {
  position: absolute;
  top: 74px;
  right: 7%;
  width: 92px;
  height: 68px;
  background-image: radial-gradient(circle, rgba(8, 127, 183, .22) 1.3px, transparent 1.6px);
  background-size: 13px 13px;
  content: "";
}

.tn-home .tn-pricing::before {
  position: absolute;
  top: 46px;
  right: -72px;
  width: 190px;
  height: 72px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 72'%3E%3Cpath d='M4 47C48 6 110 9 186 27' fill='none' stroke='%23087fb7' stroke-width='3' stroke-linecap='round' opacity='.26'/%3E%3Cpath d='M16 61C68 27 124 27 173 39' fill='none' stroke='%23087fb7' stroke-width='1.5' stroke-linecap='round' opacity='.13'/%3E%3C/svg%3E");
  content: "";
}

.tn-home #faq::after {
  position: absolute;
  bottom: 54px;
  left: 5%;
  width: 112px;
  height: 70px;
  background-image: radial-gradient(circle, rgba(8, 127, 183, .2) 1.3px, transparent 1.6px);
  background-size: 14px 14px;
  content: "";
}

html.is-dark .tn-home #platform::before,
html.is-dark .tn-home .tn-bi-sec::after,
html.is-dark .tn-home .tn-ind-sec::before,
html[data-theme="dark"] .tn-home #platform::before,
html[data-theme="dark"] .tn-home .tn-bi-sec::after,
html[data-theme="dark"] .tn-home .tn-ind-sec::before {
  border-color: rgba(101, 200, 239, .16);
}

@media (max-width: 800px) {
  .tn-home #platform::after,
  .tn-home .tn-ops-sec::after,
  .tn-home #compliance::before,
  .tn-home .tn-pricing::before {
    opacity: .65;
    transform: scale(.76);
  }

  .tn-home #platform::before,
  .tn-home .tn-ind-sec::before {
    transform: scale(.72);
  }

  .tn-home .tn-bi-sec::after {
    transform: translateY(-50%) scale(.72);
  }
}

@media (max-width: 540px) {
  .tn-home #platform::after,
  .tn-home .tn-ops-sec::after,
  .tn-home #compliance::before,
  .tn-home .tn-pricing::before,
  .tn-home .tn-ops-sec::before,
  .tn-home .tn-ind-sec::after,
  .tn-home #faq::after {
    display: none;
  }

  .tn-home #platform::before,
  .tn-home .tn-bi-sec::after,
  .tn-home .tn-ind-sec::before {
    opacity: .55;
  }
}

html.is-dark .tn-home .tn-footer,
html[data-theme="dark"] .tn-home .tn-footer {
  border-color: #1e2c40;
  background: #080d16;
}

/* Reference-led hero: capsule navigation, product badge and two-line statement. */
.tn-home .tn-header {
  padding-block: 14px;
  border-bottom: 0;
  background: transparent;
}

.tn-home .tn-nav {
  width: min(1280px, calc(100% - 48px));
  min-height: 66px;
  margin-inline: auto;
  padding-inline: 22px;
  border: 1px solid var(--tn-border-clean);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.tn-home .tn-hero {
  min-height: min(720px, calc(100vh - 94px));
  padding-block: clamp(72px, 7vw, 112px);
  background:
    radial-gradient(circle at 6% 12%, rgba(8, 127, 183, .10), transparent 25%),
    radial-gradient(circle at 96% 80%, rgba(8, 127, 183, .09), transparent 28%),
    #f8fafc;
}

.tn-home .tn-hero::before {
  display: none;
}

.tn-home .tn-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
  gap: clamp(44px, 5vw, 72px);
}

.tn-home .tn-hero-label {
  width: fit-content;
  margin-bottom: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(8, 127, 183, .12);
  background: rgba(8, 127, 183, .08);
  color: var(--tn-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tn-home .tn-hero-label::before {
  width: 7px;
  height: 7px;
  background: var(--tn-brand);
}

.tn-home .tn-hero-title {
  max-width: none;
  gap: .12em;
  font-size: clamp(44px, 3.25vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.tn-home .tn-hero-audience,
.tn-home .tn-hero-audience > span:first-child {
  white-space: nowrap;
}

.tn-home .tn-hero-audience {
  gap: .2em;
}

.tn-home .tn-hero-business {
  color: var(--tn-brand);
  background: none;
  font-weight: 650;
}

.tn-home .tn-hero .tn-lead {
  max-width: 590px;
  margin-top: 26px !important;
  font-size: 17px;
  line-height: 1.7;
}

.tn-home .tn-hero-picture {
  min-height: 540px;
  border-radius: 50%;
  background: rgba(8, 127, 183, .10);
  box-shadow: none;
  overflow: visible;
}

.tn-home .tn-hero-picture::before {
  width: 82%;
  height: 82%;
  right: 9%;
  top: 9%;
  border-radius: 50%;
  background: rgba(8, 127, 183, .16);
}

.tn-home .tn-hero-picture::after {
  display: none;
}

.tn-home .tn-hero-visual img {
  width: min(620px, 112%);
  margin-inline: auto;
  filter: drop-shadow(0 25px 28px rgba(15, 23, 42, .16));
}

@media (max-width: 1100px) {
  .tn-home .tn-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
    gap: 36px;
  }

  .tn-home .tn-hero-title {
    font-size: clamp(42px, 4.6vw, 54px);
  }

  .tn-home .tn-hero-picture {
    min-height: 480px;
  }
}

@media (max-width: 800px) {
  .tn-home .tn-header {
    padding-block: 0;
  }

  .tn-home .tn-nav {
    width: 100%;
    min-height: 72px;
    padding-inline: 20px;
    border: 0;
    border-radius: 0;
    box-shadow: 0 1px 0 var(--tn-border-clean);
  }

  .tn-home .tn-hero {
    min-height: 0;
    padding-top: 58px;
  }

  .tn-home .tn-hero-grid {
    grid-template-columns: 1fr;
  }

  .tn-home .tn-hero-label {
    margin-inline: auto;
  }

  .tn-home .tn-hero-title {
    font-size: clamp(42px, 8vw, 58px);
  }

  .tn-home .tn-hero-picture {
    min-height: 460px;
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero {
    padding-block: 44px 30px;
  }

  .tn-home .tn-hero-label {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .tn-home .tn-hero-title {
    font-size: clamp(34px, 9.5vw, 42px);
    white-space: normal;
  }

  .tn-home .tn-hero-audience {
    font-size: .9em;
  }

  .tn-home .tn-hero-picture {
    min-height: 340px;
  }
}

/* Compact two-line hero statement. */
.tn-home .tn-hero-title {
  display: flex;
  max-width: none;
  gap: .12em;
  font-size: clamp(50px, 4.5vw, 68px);
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.tn-home .tn-hero-audience {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: .22em;
  color: var(--tn-heading);
}

.tn-home .tn-hero-business {
  display: inline-block;
  width: auto;
  max-width: none;
  min-height: 1.05em;
  padding: 0;
  border: 0;
  color: var(--tn-brand);
  background: linear-gradient(to top, rgba(8, 127, 183, .10) 0 28%, transparent 28% 100%);
  font-style: normal;
  font-weight: 650;
  letter-spacing: -.05em;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .tn-home .tn-hero-title {
    font-size: clamp(45px, 4.8vw, 58px);
  }
}

@media (max-width: 800px) {
  .tn-home .tn-hero-title {
    max-width: none;
    align-items: center;
    font-size: clamp(44px, 8vw, 58px);
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero-title {
    font-size: clamp(36px, 10vw, 44px);
    white-space: normal;
  }

  .tn-home .tn-hero-audience {
    justify-content: center;
    font-size: .88em;
    white-space: nowrap;
  }
}

/* Clear, consistent section headings and an animated business-aware hero. */
.tn-home .tn-hero-title {
  display: flex;
  max-width: 11ch;
  flex-direction: column;
  gap: .04em;
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.055em;
}

.tn-home .tn-hero-business {
  display: block;
  width: max-content;
  max-width: 100%;
  min-height: 1.08em;
  color: var(--tn-brand);
  transition: opacity .28s ease, transform .28s ease;
}

.tn-home .tn-hero-business.is-leaving {
  opacity: 0;
  transform: translateY(-.22em);
}

.tn-home .tn-hero-business.is-entering-word {
  opacity: 0;
  transform: translateY(.22em);
}

.tn-home .tn-intro h2,
.tn-home .tn-ops-head h2,
.tn-home .tn-control-copy h2,
.tn-home .tn-bi .tn-intro h2,
.tn-home .tn-detail__header h2,
.tn-home .tn-proof h2,
.tn-home #faq .tn-intro h2,
.tn-home .tn-close h2 {
  font-size: clamp(38px, 3.6vw, 52px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.042em;
  text-wrap: balance;
}

.tn-home #platform .tn-intro h2,
.tn-home #industries .tn-intro h2 {
  font-size: clamp(38px, 3.6vw, 52px);
}

.tn-home .tn-intro,
.tn-home .tn-detail__header {
  margin-bottom: clamp(38px, 4vw, 56px);
}

.tn-home .tn-intro h2,
.tn-home .tn-detail__header h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.tn-home .tn-ops-head h2,
.tn-home .tn-control-copy h2,
.tn-home .tn-bi .tn-intro h2,
.tn-home .tn-proof h2,
.tn-home #faq .tn-intro h2 {
  max-width: 16ch;
}

@media (max-width: 800px) {
  .tn-home .tn-hero-title {
    max-width: 12ch;
    margin-inline: auto;
    align-items: center;
    font-size: clamp(44px, 9vw, 64px);
    text-align: center;
  }

  .tn-home .tn-hero-business {
    width: auto;
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero-title {
    max-width: 12ch;
    font-size: clamp(39px, 11.5vw, 50px);
    line-height: 1.01;
  }

  .tn-home .tn-intro h2,
  .tn-home .tn-ops-head h2,
  .tn-home .tn-control-copy h2,
  .tn-home .tn-bi .tn-intro h2,
  .tn-home .tn-detail__header h2,
  .tn-home .tn-proof h2,
  .tn-home #faq .tn-intro h2,
  .tn-home .tn-close h2 {
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -.035em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home .tn-hero-business {
    transition: none;
  }
}

/* Softer editorial typography: confident without heavy display weight. */
.tn-home .tn-hero-title {
  max-width: none;
  gap: .12em;
  font-size: clamp(48px, 4.15vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.tn-home .tn-hero-business {
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  font-style: normal;
  font-weight: 650;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.tn-home .tn-intro h2,
.tn-home .tn-ops-head h2,
.tn-home .tn-control-copy h2,
.tn-home .tn-bi .tn-intro h2,
.tn-home .tn-detail__header h2,
.tn-home .tn-proof h2,
.tn-home #faq .tn-intro h2,
.tn-home .tn-close h2,
.tn-home #platform .tn-intro h2,
.tn-home #industries .tn-intro h2 {
  font-size: clamp(36px, 3.35vw, 48px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.tn-home .tn-ops-list h3,
.tn-home .tn-tax-card h3,
.tn-home .tn-detail__column h3,
.tn-home .tn-start h3,
.tn-home .tn-mods b,
.tn-home .tn-inds b {
  font-weight: 650;
}

@media (max-width: 800px) {
  .tn-home .tn-hero-title {
    max-width: none;
    font-size: clamp(40px, 7.2vw, 52px);
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero-title {
    font-size: clamp(32px, 8.8vw, 39px);
    line-height: 1.05;
    white-space: normal;
  }

  .tn-home .tn-hero-audience {
    justify-content: center;
    font-size: .88em;
    white-space: nowrap;
  }

  .tn-home .tn-intro h2,
  .tn-home .tn-ops-head h2,
  .tn-home .tn-control-copy h2,
  .tn-home .tn-bi .tn-intro h2,
  .tn-home .tn-detail__header h2,
  .tn-home .tn-proof h2,
  .tn-home #faq .tn-intro h2,
  .tn-home .tn-close h2 {
    font-size: 32px;
    line-height: 1.15;
  }
}

@media (max-width: 700px) {
  .tn-home .tn-proof__step:nth-child(3) {
    border-left: 0 !important;
  }

  .tn-home .tn-proof__step:nth-child(n + 3) {
    border-top: 1px solid var(--tn-border-clean) !important;
  }
}

@media (max-width: 540px) {
  .tn-home .tn-sec,
  .tn-home .tn-detail,
  .tn-home .tn-proof {
    padding-block: 60px;
  }

  .tn-home .tn-mods li,
  .tn-home .tn-inds li {
    padding: 22px 14px;
    border-radius: 18px;
  }

  .tn-home .tn-control-grid,
  .tn-home .tn-proof__inner {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .tn-home .tn-detail__column,
  .tn-home .tn-detail__column:first-child,
  .tn-home .tn-detail__column:last-child {
    padding: 24px;
    border-radius: 18px;
  }

  .tn-home .tn-proof__flow {
    grid-template-columns: 1fr;
  }

  .tn-home .tn-proof__step + .tn-proof__step {
    border-top: 1px solid var(--tn-border-clean) !important;
    border-left: 0 !important;
  }
}

/* Final hero sizing must outrank the legacy `.tn-hero h1` width rule. */
.tn-home .tn-hero h1.tn-hero-title {
  display: flex;
  max-width: none;
  gap: .12em;
  flex-direction: column;
  font-size: clamp(44px, 3.25vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .tn-home .tn-hero h1.tn-hero-title {
    max-width: none;
    margin-inline: auto;
    font-size: clamp(40px, 7.2vw, 52px);
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero h1.tn-hero-title {
    max-width: 100%;
    font-size: clamp(32px, 8.8vw, 39px);
    white-space: normal;
  }
}

/* Product workflow cues around the cashier visual. */
.tn-home .tn-hero-picture {
  isolation: isolate;
}

.tn-home .tn-hero-visual img {
  position: relative;
  z-index: 2;
}

.tn-home .tn-hero-float {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 176px;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(8, 127, 183, .16);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
  backdrop-filter: blur(10px);
  animation: tn-hero-float 4.8s ease-in-out infinite;
}

.tn-home .tn-hero-float > span:last-child {
  display: grid;
  gap: 2px;
}

.tn-home .tn-hero-float small,
.tn-home .tn-hero-float strong {
  display: block;
  white-space: nowrap;
}

.tn-home .tn-hero-float small {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.tn-home .tn-hero-float strong {
  color: var(--tn-heading);
  font-size: 12px;
  font-weight: 700;
}

.tn-home .tn-hero-float__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--tn-brand-soft);
  color: var(--tn-brand);
}

.tn-home .tn-hero-float__icon svg {
  width: 18px;
  height: 18px;
}

.tn-home .tn-hero-float--sale {
  top: 13%;
  right: -3%;
}

.tn-home .tn-hero-float--stock {
  top: 45%;
  left: -8%;
  animation-delay: -1.6s;
}

.tn-home .tn-hero-float--invoice {
  right: 2%;
  bottom: 8%;
  animation-delay: -3.2s;
}

@keyframes tn-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .tn-home .tn-hero-float {
    min-width: 154px;
    padding: 9px 11px;
  }

  .tn-home .tn-hero-float--stock {
    left: -3%;
  }
}

@media (max-width: 800px) {
  .tn-home .tn-hero-float--sale { right: 2%; }
  .tn-home .tn-hero-float--stock { left: 2%; }
  .tn-home .tn-hero-float--invoice { right: 5%; }
}

@media (max-width: 540px) {
  .tn-home .tn-hero-float {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .tn-home .tn-hero-float__icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .tn-home .tn-hero-float small { display: none; }
  .tn-home .tn-hero-float strong { font-size: 10px; }
  .tn-home .tn-hero-float--stock { top: 48%; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home .tn-hero-float {
    animation: none;
  }
}

/* Final professional hero polish. */
.tn-home .tn-hero {
  min-height: min(760px, calc(100vh - 94px));
  border-bottom: 1px solid rgba(8, 127, 183, .08);
}

.tn-home .tn-hero-grid {
  width: min(1280px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1.06fr) minmax(500px, .94fr);
  gap: clamp(54px, 6vw, 90px);
}

.tn-home .tn-hero-copy {
  padding-block: 20px;
}

.tn-home .tn-hero h1.tn-hero-title {
  font-size: clamp(50px, 3.75vw, 58px);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.tn-home .tn-hero-business {
  font-weight: 680;
}

.tn-home .tn-hero .tn-lead {
  max-width: 600px;
  color: #526176;
  font-size: 18px;
  line-height: 1.72;
}

.tn-home .tn-hero .tn-cta {
  margin-top: 30px;
  gap: 14px;
}

.tn-home .tn-hero .tn-btn {
  min-width: 164px;
  min-height: 54px;
  justify-content: center;
}

.tn-home .tn-hero .tn-btn-blue {
  box-shadow: 0 12px 26px rgba(8, 127, 183, .22);
}

.tn-home .tn-hero .tn-btn-text {
  border-color: #d7e4ec;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.tn-home .tn-hero .tn-trust {
  gap: 13px 22px;
  margin-top: 26px !important;
}

.tn-home .tn-hero .tn-trust li {
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.tn-home .tn-hero .tn-trust svg {
  color: var(--tn-brand);
}

.tn-home .tn-hero-picture {
  min-height: 570px;
}

.tn-home .tn-hero-float {
  min-width: 184px;
  border-color: rgba(8, 127, 183, .14);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

.tn-home .tn-hero-float strong {
  font-size: 12px;
  letter-spacing: -.01em;
}

@media (max-width: 1100px) {
  .tn-home .tn-hero-grid {
    width: min(100% - 48px, 1120px);
    grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr);
    gap: 38px;
  }

  .tn-home .tn-hero h1.tn-hero-title {
    font-size: clamp(44px, 4.6vw, 52px);
  }

  .tn-home .tn-hero-picture {
    min-height: 500px;
  }
}

@media (max-width: 800px) {
  .tn-home .tn-hero {
    min-height: 0;
  }

  .tn-home .tn-hero-grid {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
  }

  .tn-home .tn-hero-copy {
    padding-block: 0;
  }

  .tn-home .tn-hero h1.tn-hero-title {
    font-size: clamp(42px, 7.2vw, 52px);
  }

  .tn-home .tn-hero .tn-lead {
    font-size: 17px;
  }
}

@media (max-width: 540px) {
  .tn-home .tn-hero h1.tn-hero-title {
    font-size: clamp(34px, 9.2vw, 40px);
  }

  .tn-home .tn-hero .tn-btn {
    width: 100%;
  }

  .tn-home .tn-hero .tn-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .tn-home .tn-hero-picture {
    min-height: 350px;
  }
}

/* Human-designed finish: flatter small components, depth only where useful. */
body.tn-home {
  --tn-border-clean: #dde6ec;
  --tn-card-radius: 16px;
  --tn-card-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.tn-home .tn-nav {
  border-color: #e1e8ed;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .075);
}

.tn-home .tn-mods li,
.tn-home .tn-inds li,
.tn-home .tn-ops-list article,
.tn-home .tn-tax-card,
.tn-home .tn-start li,
.tn-home .tn-detail__column,
.tn-home .tn-control-roles article,
.tn-home .tn-faq-list details,
.tn-home .advanced-package-card,
.tn-home .trusted-business-card {
  border-color: var(--tn-border-clean);
  border-radius: 16px;
  box-shadow: none;
}

.tn-home .tn-ops-list article::before {
  display: none;
}

.tn-home .tn-ops-list article:hover,
.tn-home .tn-mods li:hover,
.tn-home .tn-inds li:hover {
  border-color: #b9d5e3;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
  transform: translateY(-2px);
}

.tn-home .tn-mods svg,
.tn-home .tn-ind-icon {
  border-radius: 14px;
}

.tn-home .tn-control-grid,
.tn-home .tn-proof__inner,
.tn-home .tn-close {
  border-color: var(--tn-border-clean) !important;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.tn-home .tn-paper,
.tn-home .advanced-package-card {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .065);
}

.tn-home .tn-proof__flow {
  border-radius: 12px;
}

.tn-home .tn-faq-list details {
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tn-home .tn-faq-list details[open] {
  border-color: #b9d5e3;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.tn-home .tn-hero-float {
  border-color: #dbe7ed;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .09);
}

.tn-home .tn-hero-float__icon {
  border-radius: 8px;
}

.tn-home .package-type-tabs,
.tn-home .tn-seg {
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.tn-home .contact-widget__panel {
  border: 1px solid var(--tn-border-clean);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
}

@media (max-width: 540px) {
  .tn-home .tn-nav {
    border-radius: 0;
    box-shadow: 0 1px 0 var(--tn-border-clean);
  }

  .tn-home .tn-mods li,
  .tn-home .tn-inds li,
  .tn-home .tn-ops-list article,
  .tn-home .tn-detail__column,
  .tn-home .tn-start li {
    border-radius: 14px;
  }
}

/* Dark-mode final cascade: must remain after all light-mode polish rules. */
html.is-dark body.tn-home,
html[data-theme="dark"] body.tn-home {
  --tn-border-clean: #293a50;
  color: #aebacd;
  background: #0a0f1a !important;
}

html.is-dark .tn-home .tn-header,
html[data-theme="dark"] .tn-home .tn-header {
  border-color: #223047;
  background: rgba(10, 15, 26, .9);
}

html.is-dark .tn-home .tn-nav,
html[data-theme="dark"] .tn-home .tn-nav {
  border-color: #293a50;
  background: rgba(17, 26, 43, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

html.is-dark .tn-home .tn-hero,
html[data-theme="dark"] .tn-home .tn-hero {
  border-color: #1e2c40;
  background: radial-gradient(circle at 76% 18%, rgba(56, 189, 248, .09), transparent 30%), linear-gradient(135deg, #0a0f1a 0 58%, #0d1624 58% 100%);
}

html.is-dark .tn-home .tn-hero .tn-lead,
html.is-dark .tn-home .tn-hero .tn-trust li,
html[data-theme="dark"] .tn-home .tn-hero .tn-lead,
html[data-theme="dark"] .tn-home .tn-hero .tn-trust li {
  color: #aebacd;
}

html.is-dark .tn-home .tn-hero-picture,
html[data-theme="dark"] .tn-home .tn-hero-picture {
  background: linear-gradient(145deg, #142337, #101a2a 62%);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .12);
}

html.is-dark .tn-home .tn-hero-float,
html[data-theme="dark"] .tn-home .tn-hero-float {
  border-color: #33465d;
  background: rgba(17, 26, 43, .95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

html.is-dark .tn-home .tn-hero-float small,
html[data-theme="dark"] .tn-home .tn-hero-float small { color: #93a4b9; }

html.is-dark .tn-home .tn-btn-text,
html[data-theme="dark"] .tn-home .tn-btn-text {
  border-color: #314158;
  color: #dbe5f1;
  background: #111a2b;
  box-shadow: none;
}

html.is-dark .tn-home .tn-mods svg,
html.is-dark .tn-home .tn-ind-icon,
html[data-theme="dark"] .tn-home .tn-mods svg,
html[data-theme="dark"] .tn-home .tn-ind-icon {
  color: #65c8ef;
  background: #16283a;
}

html.is-dark .tn-home .tn-ops-list article,
html.is-dark .tn-home .tn-tax-card,
html.is-dark .tn-home .tn-start li,
html.is-dark .tn-home .tn-detail__column,
html.is-dark .tn-home .tn-control-roles article,
html.is-dark .tn-home .tn-faq-list details,
html.is-dark .tn-home .advanced-package-card,
html.is-dark .tn-home .trusted-business-card,
html[data-theme="dark"] .tn-home .tn-ops-list article,
html[data-theme="dark"] .tn-home .tn-tax-card,
html[data-theme="dark"] .tn-home .tn-start li,
html[data-theme="dark"] .tn-home .tn-detail__column,
html[data-theme="dark"] .tn-home .tn-control-roles article,
html[data-theme="dark"] .tn-home .tn-faq-list details,
html[data-theme="dark"] .tn-home .advanced-package-card,
html[data-theme="dark"] .tn-home .trusted-business-card {
  border-color: #293a50;
  color: #aebacd;
  background: #111a2b;
  box-shadow: none;
}

html.is-dark .tn-home .tn-ops-list li,
html.is-dark .tn-home .tn-bi-benefits li,
html[data-theme="dark"] .tn-home .tn-ops-list li,
html[data-theme="dark"] .tn-home .tn-bi-benefits li { color: #b8c4d4; }

html.is-dark .tn-home .tn-bi-sec,
html[data-theme="dark"] .tn-home .tn-bi-sec {
  border-color: #223047;
  background: #0d1523;
}

html.is-dark .tn-home .tn-paper,
html[data-theme="dark"] .tn-home .tn-paper {
  border-color: #314158;
  color: #e7edf5;
  background: #111a2b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
}

html.is-dark .tn-home .tn-seg,
html.is-dark .tn-home .package-type-tabs,
html[data-theme="dark"] .tn-home .tn-seg,
html[data-theme="dark"] .tn-home .package-type-tabs {
  border-color: #314158;
  background: #111a2b;
  box-shadow: none;
}

html.is-dark .tn-home .tn-detail,
html.is-dark .tn-home .tn-pricing,
html.is-dark .tn-home .tn-ops-sec,
html.is-dark .tn-home #compliance,
html[data-theme="dark"] .tn-home .tn-detail,
html[data-theme="dark"] .tn-home .tn-pricing,
html[data-theme="dark"] .tn-home .tn-ops-sec,
html[data-theme="dark"] .tn-home #compliance { background: #0f1626; }

html.is-dark .tn-home #platform,
html.is-dark .tn-home #industries,
html.is-dark .tn-home #faq,
html[data-theme="dark"] .tn-home #platform,
html[data-theme="dark"] .tn-home #industries,
html[data-theme="dark"] .tn-home #faq { background: #0a0f1a; }

html.is-dark .tn-home .tn-control-grid,
html.is-dark .tn-home .tn-close,
html[data-theme="dark"] .tn-home .tn-control-grid,
html[data-theme="dark"] .tn-home .tn-close {
  border-color: #2b3d52 !important;
  background: #102e46;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
}

html.is-dark .tn-home .contact-widget__panel,
html[data-theme="dark"] .tn-home .contact-widget__panel {
  border-color: #314158;
  color: #aebacd;
  background: #111a2b;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .38);
}

html.is-dark .tn-home .contact-widget__panel input,
html.is-dark .tn-home .contact-widget__panel select,
html.is-dark .tn-home .contact-widget__panel textarea,
html[data-theme="dark"] .tn-home .contact-widget__panel input,
html[data-theme="dark"] .tn-home .contact-widget__panel select,
html[data-theme="dark"] .tn-home .contact-widget__panel textarea {
  border-color: #314158;
  color: #e7edf5;
  background: #0d1523;
}

/* 2px coloured border on every card, including the large outer cards. Change the colour here. */
:root { --tn-card-border: #0b6a9a; }
@media (prefers-color-scheme: dark) { :root.tn-dark-ok:not([data-theme="light"]):not(.is-light) { --tn-card-border: #2f86b8; } }
html.is-dark, html[data-theme="dark"] { --tn-card-border: #2f86b8; }
.tn-home .tn-main :is(.tn-mods > li, .tn-ops-list > *, .tn-control-roles > *, .tn-tax-card, .tn-inds > li, .tn-start > li, .tn-proof__step, .tn-detail__column, .tn-cardgrid > *, .advanced-package-card, .essential-package-card, .tn-proof__inner, .tn-control-grid, .tn-paper, .tn-close, .tn-faq-list details) {
  border: 2px solid var(--tn-card-border) !important;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}
.tn-home .tn-main :is(.tn-proof__inner, .tn-control-grid) { border-radius: 20px; }
.tn-home .tn-proof__flow { gap: 12px; border: 0 !important; }
.tn-home .tn-main .tn-close { border-radius: 26px; }
.tn-home .tn-main .tn-faq-list { display: grid; gap: 12px; }
.tn-home .tn-main .tn-faq-list details { border-radius: 14px; background: var(--tn-surface); box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.tn-home .tn-main .tn-faq-list summary { padding-inline: 22px !important; }
.tn-home .tn-main .tn-faq-list .ans p { padding-inline: 22px !important; }

/* Hero photo (full image with its own background) instead of a cut-out.
   Earlier hero rules size a cut-out inside a tinted panel, so these reset them. */
.tn-home .tn-hero-visual:has(.has-photo) { width: 100% !important; margin-inline: 0 !important; align-self: center; }
.tn-home .tn-hero-picture.has-photo { display: block !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 0 !important; overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.tn-home .tn-hero-picture.has-photo::before, .tn-home .tn-hero-picture.has-photo::after { display: none !important; }
.tn-home .tn-hero-visual .tn-hero-picture.has-photo img.tn-hero-product-image { position: static !important; display: block; width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; margin: 0 !important; object-fit: cover !important; object-position: center !important; transform: none !important; filter: none !important; border: 2px solid var(--tn-card-border); border-radius: 24px !important; box-shadow: 0 30px 60px -24px rgba(15, 35, 58, .45) !important; }
/* Transparent cut-out: no frame. */
.tn-home .tn-hero-visual .tn-hero-picture.is-cutout img.tn-hero-product-image { width: 100% !important; max-width: 760px !important; aspect-ratio: auto; margin-inline: auto !important; object-fit: contain !important; border: 0; border-radius: 0 !important; box-shadow: none !important; filter: drop-shadow(0 24px 28px rgba(15, 35, 58, .18)) !important; }

/* Operations cards: no step numbers. Buttons: 2px border matching the cards. */
.tn-home .tn-ops-list article::before { display: none !important; }
.tn-home .tn-ops-list article > div { padding-top: 0; }
.tn-home .tn-btn, .tn-home .package-buy-button { border: 2px solid var(--tn-card-border, #0b6a9a) !important; }
.tn-home .tn-btn-blue, .tn-home .package-buy-button { border-color: #087fb7 !important; }
.tn-home .tn-btn-blue:hover, .tn-home .package-buy-button:hover { border-color: #123651 !important; }
.tn-home .tn-close .tn-btn-light { border-color: #ffffff !important; }
.tn-home .tn-close .tn-btn-ghost { border-color: rgba(255, 255, 255, .55) !important; }
.tn-home .tn-close .tn-btn-ghost:hover { border-color: #ffffff !important; }

/* Dark theme: keep the stronger card border instead of the grey line colour. */
html:is(.is-dark, [data-theme="dark"]) .tn-home .tn-main :is(.tn-mods > li, .tn-ops-list > *, .tn-control-roles > *, .tn-tax-card, .tn-inds > li, .tn-start > li, .tn-proof__step, .tn-detail__column, .tn-cardgrid > *, .advanced-package-card, .essential-package-card, .tn-proof__inner, .tn-control-grid, .tn-paper, .tn-close, .tn-faq-list details) { border-color: var(--tn-card-border) !important; }

/* Trusted strip title uses the same weight and size as section headings. */
.tn-home .tn-trusted .tn-trusted-t { max-width: 900px; margin: 0 auto 34px !important; color: var(--tn-heading); font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; text-align: center; text-wrap: balance; }
html[dir="rtl"] .tn-home .tn-trusted .tn-trusted-t { letter-spacing: 0; }

/* Light theme: section headings and the text under them in pure black. */
html[data-theme="light"] .tn-home :is(.tn-main, .tn-trusted) :is(h1, h2, .tn-intro p, .tn-ops-head > p, .tn-detail__header p, .tn-plead, .tn-hero .tn-lead, .tn-control-copy > p, .tn-proof__copy > p, .tn-bi .tn-intro > p, .tn-close > p:not(.tn-direct)),
html:not(.tn-dark-ok):not([data-theme="dark"]):not(.is-dark) .tn-home :is(.tn-main, .tn-trusted) :is(h1, h2, .tn-intro p, .tn-ops-head > p, .tn-detail__header p, .tn-plead, .tn-hero .tn-lead, .tn-control-copy > p, .tn-proof__copy > p, .tn-bi .tn-intro > p, .tn-close > p:not(.tn-direct)) { color: #000000 !important; }
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]):not(.is-dark) .tn-home :is(.tn-main, .tn-trusted) :is(h1, h2, .tn-intro p, .tn-ops-head > p, .tn-detail__header p, .tn-plead, .tn-hero .tn-lead, .tn-control-copy > p, .tn-proof__copy > p, .tn-bi .tn-intro > p, .tn-close > p:not(.tn-direct)) { color: #000000 !important; }
}

/* One tax authority card (Saudi or Pakistani visitors): centred, not stretched. */
.tn-home .tn-tax.tn-tax--single { grid-template-columns: minmax(0, 640px) !important; justify-content: center; }

/* ---------- Customer stories (reviews) ----------
   Three card types, picked from what each review contains:
   media = photo/video only (name chip over the photo),
   split = photo/video on top, quote on a blue panel below,
   quote = text only on a navy card. */
.tn-home .tn-stories-box { padding: clamp(28px, 4.5vw, 64px); border: 2px solid var(--tn-card-border) !important; border-radius: 26px; background: var(--tn-surface, #fff); box-shadow: 0 14px 36px rgba(15, 23, 42, .06); }
.tn-home .tn-stories-kicker { display: block; margin-bottom: 12px; color: var(--tn-brand, #087fb7); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
html[dir="rtl"] .tn-home .tn-stories-kicker { letter-spacing: 0; }
.tn-home .tn-stories-box h2 { max-width: 760px; margin: 0; }
.tn-home .tn-stories-sub { max-width: 600px; margin: 14px 0 0; font-size: 17px; line-height: 1.7; }
.tn-home .tn-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 440px; gap: 22px; margin-top: clamp(28px, 4vw, 44px); }
.tn-home .tn-story { position: relative; display: flex; min-width: 0; overflow: hidden; flex-direction: column; border-radius: 20px; background: #0f2a44; }
.tn-home .tn-story-media { position: relative; min-height: 0; flex: 1 1 auto; background: #0b1a2b; }
.tn-home .tn-story-media img,
.tn-home .tn-story-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-home .tn-story blockquote { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.tn-home .tn-story-by { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tn-home .tn-story-by > div { display: grid; min-width: 0; }
.tn-home .tn-story-by b { overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tn-home .tn-story-by small { overflow: hidden; margin-top: 2px; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.tn-home .tn-story-avatar { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; background: #fff; color: #123651; font-size: 14px; font-weight: 800; object-fit: contain; }

/* quote: text only, navy card */
.tn-home .tn-story--quote .tn-story-body { display: flex; height: 100%; padding: 30px 28px; flex-direction: column; justify-content: center; gap: 28px; }
.tn-home .tn-story--quote blockquote { color: #eef4fa !important; font-size: 17px; line-height: 1.7; }
.tn-home .tn-story--quote .tn-story-by { margin-top: auto; }
.tn-home .tn-story--quote .tn-story-by b { color: #fff !important; }
.tn-home .tn-story--quote .tn-story-by small { color: #a9bfd3 !important; }

/* split: media on top, blue panel with the quote below */
.tn-home .tn-story--split .tn-story-media { flex: 0 0 48%; }
.tn-home .tn-story--split .tn-story-body { display: flex; min-height: 0; padding: 22px 24px 24px; flex: 1 1 auto; flex-direction: column; gap: 16px; background: #087fb7; }
.tn-home .tn-story--split blockquote { display: -webkit-box; overflow: hidden; color: #fff !important; font-size: 15px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.tn-home .tn-story--split .tn-story-by { margin-top: auto; }
.tn-home .tn-story--split .tn-story-by b { color: #fff !important; }
.tn-home .tn-story--split .tn-story-by small { color: #d5ecf8 !important; }

/* media: photo fills the card, name chip floats at the bottom */
.tn-home .tn-story--media .tn-story-body { position: absolute; inset: auto 14px 14px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); width: fit-content; max-width: calc(100% - 28px); }
html[dir="rtl"] .tn-home .tn-story--media .tn-story-body { padding: 8px 8px 8px 18px; }
.tn-home .tn-story--media .tn-story-avatar { background: #123651; color: #fff; }
.tn-home .tn-story--media .tn-story-by b { color: #0f172a !important; }
.tn-home .tn-story--media .tn-story-by small { color: #5b6b7f !important; }
/* a video keeps its controls clear: the chip moves to the top */
.tn-home .tn-story--media.has-video .tn-story-body { inset: 14px 14px auto; }

@media (max-width: 1000px) {
  .tn-home .tn-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 420px; }
}
@media (max-width: 640px) {
  .tn-home .tn-story-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tn-home .tn-story { min-height: 380px; }
  .tn-home .tn-story--split .tn-story-media { flex-basis: 220px; }
  .tn-home .tn-stories-box { border-radius: 20px; }
}
