/* Taxt.ai homepage. Uses the colour tokens from styles.css, so light and dark both work. */

.hm {
  --hm-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hm-sh: 0 1px 2px rgba(17, 24, 39, 0.04), 0 12px 32px -8px rgba(17, 24, 39, 0.1), 0 32px 64px -24px rgba(17, 24, 39, 0.12);
  --hm-card: var(--bg-elevated);
  --hm-ok-bg: color-mix(in srgb, var(--green) 14%, transparent);
  --hm-due-bg: color-mix(in srgb, var(--blue) 12%, transparent);
  --hm-warn: #b45309;
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--label) 9%, transparent) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hm { --hm-sh: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 40px -12px rgba(0, 0, 0, 0.7); --hm-warn: #ff9f0a; } }
:root[data-theme="dark"] .hm { --hm-sh: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 40px -12px rgba(0, 0, 0, 0.7); --hm-warn: #ff9f0a; }

.hm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.hm-center { text-align: center; }
.hm-num, .hm-bar span, .hm-hash { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.hm-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label-2); background: var(--hm-card); border: 1px solid var(--separator); border-radius: 99px; padding: 6px 12px; }
.hm-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: block; transition: background 0.4s; }
.hm-tag i.ok { background: var(--green); }
#hm-tagtext { transition: opacity 0.4s; }

/* Nav */
.hm-nav { position: sticky; top: 0; z-index: 50; -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--separator) 60%, transparent); }
.hm-nav .hm-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.hm-logo { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--label); }
.hm-logo b { color: var(--blue); }
.hm-logo:hover, .hm-nav a:hover, .hm-btn:hover, .hm-brand:hover, .hm-foot a:hover { text-decoration: none; }
.hm-nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.hm-nav__links a { color: var(--label-2); }
.hm-nav__links a:hover { color: var(--label); }
.hm-nav__right { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.hm-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-radius: 12px; padding: 14px 22px; color: var(--label); transition: transform 0.3s var(--hm-ease), box-shadow 0.3s var(--hm-ease), background 0.2s; }
.hm-btn--sm { font-size: 13.5px; padding: 9px 16px; border-radius: 10px; }
.hm-btn--ink { background: var(--label); color: var(--bg); box-shadow: 0 8px 24px -8px rgba(17, 24, 39, 0.45); }
.hm-btn--ink:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(17, 24, 39, 0.5); }
.hm-btn--line { background: var(--hm-card); border: 1px solid var(--separator); }
.hm-btn--line:hover { transform: translateY(-2px); }
.hm-btn--ghost { color: var(--label-2); }
.hm-btn:focus-visible, .hm-hold:focus-visible, .hm-brand:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Hero */
.hm-hero { overflow-x: clip; min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 60px; }
.hm-hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; margin: 22px 0; }
.hm-hero h1 .hm-dim, .hm-h2 span { color: var(--label-3); }
.hm-sub { font-size: 19px; line-height: 1.5; color: var(--label-2); max-width: 460px; margin-bottom: 34px; }
.hm-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-ctas--center { justify-content: center; }

/* Headline: the last line changes its promise, letter by letter (home.js) */
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-word { display: inline-block; white-space: nowrap; }
.hm-word i { display: inline-block; font-style: normal; animation: hmRise 0.6s var(--hm-ease) both; }
.hm-word.is-out i { animation: hmFall 0.3s ease-in both; animation-delay: 0s !important; }
@keyframes hmRise { from { opacity: 0; transform: translateY(0.4em); } }
@keyframes hmFall { to { opacity: 0; transform: translateY(-0.2em); } }

/* Hero entry to the free tax check */
.hm-start { position: relative; max-width: 520px; margin-bottom: 26px; padding: 20px 22px 22px; border-radius: 20px; background: var(--hm-card); box-shadow: var(--hm-sh); isolation: isolate; }
.hm-start::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1.5px; border-radius: inherit; background: linear-gradient(120deg, #03a8fe, #0246e1 45%, color-mix(in srgb, var(--separator) 80%, transparent) 75%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.hm-start__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--label-3); }
.hm-start__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.hm-start__badge i, .hm-nav__tc i, .hm-float i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.hm-start__badge i::after, .hm-nav__tc i::after, .hm-float i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: hmPulse 2s ease-out infinite; }
@keyframes hmPulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.8); opacity: 0; } }
.hm-start__q { margin-top: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; color: var(--label); }
.hm-start__q span { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--label-2); }
.hm-start__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hm-start__opts a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--label); background: var(--fill); border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--hm-ease); }
.hm-start__opts a:hover { text-decoration: none; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--hm-card)); border-color: color-mix(in srgb, var(--blue) 35%, transparent); transform: translateY(-1px); }
.hm-start__opts a:focus-visible, .hm-float:focus-visible, .hm-nav__tc:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Menu link and the floating button that follows the visitor down the page */
.hm-nav__links a.hm-nav__tc { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0; padding: 6px 12px; border-radius: 99px; color: var(--blue); font-weight: 600; background: color-mix(in srgb, var(--blue) 9%, transparent); }
.hm-nav__links a.hm-nav__tc:hover { color: var(--blue); background: color-mix(in srgb, var(--blue) 15%, transparent); }
.hm-nav__links { align-items: center; }
.hm-float { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--label); background: color-mix(in srgb, var(--hm-card) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border: 1px solid color-mix(in srgb, var(--separator) 70%, transparent); box-shadow: var(--hm-sh); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity 0.35s var(--hm-ease), transform 0.45s var(--hm-ease); }
.hm-float.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.hm-float:hover { text-decoration: none; }
.hm-float b { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; font-weight: 600; color: #fff; background: #0071e3; }
.hm-float:hover b { background: #0077ed; }
@media (max-width: 520px) {
  .hm-start { padding: 18px 16px 18px; }
  .hm-start__top > span:last-child, .hm-ctas .hm-btn--ghost { display: none; }
  .hm-start__q { font-size: 19px; }
  .hm-start__opts a { font-size: 13.5px; padding: 0 13px; }
  .hm-float { font-size: 13px; padding-left: 14px; }
}
@media (max-width: 359px) { .hm-float { padding-left: 8px; } .hm-float > i { display: none; } .hm-float { font-size: 0; gap: 0; } .hm-float b { font-size: 13px; } }
@media print { .hm-float { display: none !important; } }

.hm-stage { position: relative; height: 560px; }
.hm-mess { position: absolute; background: var(--hm-card); color: var(--label); border-radius: 14px; box-shadow: var(--hm-sh); padding: 14px 16px; font-size: 13px; font-weight: 600; line-height: 1.35; transition: transform 1.1s var(--hm-ease), opacity 0.8s var(--hm-ease); animation: hmDrift 6s ease-in-out infinite; }
.hm-mess small { display: block; color: var(--label-2); font-size: 12px; font-weight: 400; margin-top: 2px; }
.hm-mess__t { display: flex; gap: 10px; align-items: center; }
.hm-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; flex: none; }
.hm-ic--xls { background: #16a34a; } .hm-ic--mail { background: #2563eb; } .hm-ic--pdf { background: #dc2626; } .hm-ic--q { background: #6b7280; }
.hm-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 10px; }
.hm-cells i { height: 12px; background: var(--fill); border-radius: 2px; }
.hm-cells i.x { background: color-mix(in srgb, var(--red) 18%, transparent); outline: 1px solid color-mix(in srgb, var(--red) 45%, transparent); }
.hm-err { color: var(--red); font-size: 12px; margin-top: 8px; }
.hm-err::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.hm-m1 { top: 40px; left: 10px; width: 250px; --r: -6deg; --dx: 6px; --dy: -10px; }
.hm-m2 { top: 20px; right: 20px; width: 270px; --r: 5deg; --dx: -8px; --dy: 8px; animation-duration: 7s; }
.hm-m3 { top: 270px; left: 50px; width: 230px; --r: 4deg; --dx: 10px; --dy: 6px; animation-duration: 5.5s; }
.hm-m4 { top: 300px; right: 40px; width: 210px; background: #fef08a; color: #1d1d1f; border-radius: 4px; padding: 18px; font-weight: 400; box-shadow: 0 18px 40px -16px rgba(120, 100, 0, 0.35); --r: -4deg; --dx: -6px; --dy: -8px; animation-duration: 6.5s; }
.hm-m4 b { display: block; font-size: 15px; }
.hm-m4 small { color: #713f12; margin-top: 6px; }
.hm-m5 { top: 170px; left: 42%; width: 180px; --r: -8deg; --dx: 4px; --dy: 10px; animation-duration: 8s; }
@keyframes hmDrift { 0%, 100% { translate: 0 0; rotate: var(--r); } 50% { translate: var(--dx) var(--dy); rotate: calc(var(--r) * -1); } }
.is-clean .hm-mess { animation-play-state: paused; }
.is-clean .hm-m1 { transform: translate(-160%, -60%) rotate(-30deg); opacity: 0; }
.is-clean .hm-m2 { transform: translate(160%, -80%) rotate(30deg); opacity: 0; }
.is-clean .hm-m3 { transform: translate(-170%, 90%) rotate(-25deg); opacity: 0; }
.is-clean .hm-m4 { transform: translate(170%, 90%) rotate(35deg); opacity: 0; }
.is-clean .hm-m5 { transform: translate(0, -180%) scale(0.6); opacity: 0; }

.hm-app { position: absolute; inset: 30px 0; background: var(--hm-card); border-radius: 18px; box-shadow: var(--hm-sh), 0 0 0 1px color-mix(in srgb, var(--label) 5%, transparent); opacity: 0; transform: scale(0.9); visibility: hidden; transition: transform 1.2s var(--hm-ease) 0.25s, opacity 0.9s var(--hm-ease) 0.25s, visibility 0s 0.25s; overflow: hidden; display: flex; flex-direction: column; }
.is-clean .hm-app { opacity: 1; transform: none; visibility: visible; }
.hm-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--separator); }
.hm-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--fill); }
.hm-bar span { margin-left: 12px; font-size: 12px; color: var(--label-2); background: var(--bg); border-radius: 6px; padding: 4px 10px; }
.hm-app__body { display: grid; grid-template-columns: 1fr 190px; gap: 18px; padding: 22px; flex: 1; }
.hm-app__h { font-size: 12px; color: var(--label-2); font-weight: 500; }
.hm-app__h b { display: block; color: var(--label); font-size: 18px; letter-spacing: -0.02em; margin-top: 2px; }
.hm-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.hm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--separator); border-radius: 12px; padding: 13px 14px; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--hm-ease), transform 0.7s var(--hm-ease); }
.hm-row:nth-child(1) { transition-delay: 0.55s; } .hm-row:nth-child(2) { transition-delay: 0.65s; } .hm-row:nth-child(3) { transition-delay: 0.75s; } .hm-row:nth-child(4) { transition-delay: 0.85s; }
.is-clean .hm-row { opacity: 1; transform: none; }
.hm-row small { display: block; font-weight: 400; color: var(--label-2); font-size: 12px; }
.hm-pill { font-size: 11px; font-weight: 600; border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.hm-pill--ok { background: var(--hm-ok-bg); color: var(--green); }
.hm-pill--due { background: var(--hm-due-bg); color: var(--blue); }
.hm-pill--ex { background: var(--fill); color: var(--label-2); }
.hm-score { border: 1px solid var(--separator); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; }
.hm-score p { font-size: 12px; color: var(--label-2); }
.hm-score p b { display: block; color: var(--label); }
.hm-ring { position: relative; width: 132px; height: 132px; }
.hm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hm-ring circle { fill: none; stroke-width: 10; }
.hm-ring__track { stroke: var(--fill); }
.hm-ring__val { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 351.9; stroke-dashoffset: 14.08; transition: stroke-dashoffset 1.6s var(--hm-ease); }
.hm-stage.is-pending .hm-ring__val { stroke-dashoffset: 351.9; }
.hm-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Sections */
.hm-sec { padding: 120px 0; }
.hm-sec--tight { padding: 40px 0 0; }
.hm-h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1.04; font-weight: 800; margin: 18px auto 14px; max-width: 820px; text-align: center; }
.hm-lead { text-align: center; color: var(--label-2); font-size: 18px; max-width: 560px; margin: 0 auto; }

/* Scroll story */
.hm-story { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; margin-top: 80px; }
.hm-sticky { position: sticky; top: 120px; align-self: start; height: min(460px, 70vh); display: flex; flex-direction: column; justify-content: center; }
.hm-dashes { display: flex; gap: 8px; margin-bottom: 30px; }
.hm-dashes i { height: 4px; width: 36px; border-radius: 4px; background: var(--separator); transition: all 0.5s var(--hm-ease); }
.hm-dashes i.on { background: var(--label); width: 56px; }
.hm-stxt { display: grid; }
.hm-st { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--hm-ease), transform 0.6s var(--hm-ease); }
.hm-st.on { opacity: 1; transform: none; }
.hm-num { font-size: 13px; color: var(--blue); font-weight: 500; }
.hm-st h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.08; margin: 12px 0 14px; font-weight: 800; }
.hm-st p:last-child { color: var(--label-2); font-size: 17px; max-width: 420px; }
.hm-panels { display: flex; flex-direction: column; gap: 22vh; padding: 8vh 0 14vh; }
.hm-panel { background: var(--hm-card); border-radius: 20px; box-shadow: var(--hm-sh); min-height: 440px; padding: 28px; position: relative; overflow: hidden; }
.hm-ph { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; font-weight: 600; }
.hm-ph span { color: var(--label-2); font-weight: 500; }
.hm-mt { display: none; }

/* 01 map */
.hm-map { position: relative; height: 360px; }
.hm-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hm-map path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.4s var(--hm-ease); }
.hm-map path:nth-child(2) { transition-delay: 0.1s; } .hm-map path:nth-child(3) { transition-delay: 0.2s; } .hm-map path:nth-child(4) { transition-delay: 0.3s; } .hm-map path:nth-child(5) { transition-delay: 0.4s; }
.on-view .hm-map path { stroke-dashoffset: 0; }
.hm-prof { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 158px; border: 1px solid var(--separator); border-radius: 14px; padding: 14px; background: var(--hm-card); font-size: 12px; line-height: 1.45; }
.hm-prof b { display: block; font-size: 14px; margin-bottom: 6px; }
.hm-prof div { color: var(--label-2); }
.hm-ob { position: absolute; right: 0; width: 210px; margin-top: -20px; border: 1px solid var(--separator); border-radius: 12px; padding: 10px 12px; background: var(--hm-card); font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(12px); transition: opacity 0.7s var(--hm-ease), transform 0.7s var(--hm-ease); transition-delay: calc(0.6s + var(--i) * 0.1s); }
.hm-ob small { display: block; color: var(--label-2); font-weight: 400; font-size: 11px; }
.on-view .hm-ob { opacity: 1; transform: none; }

/* 02 reliefs */
.hm-chk { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--separator); font-size: 15px; font-weight: 600; }
.hm-chk:last-child { border-bottom: 0; }
.hm-chk small { display: block; color: var(--label-2); font-weight: 400; font-size: 12.5px; }
.hm-state { font-size: 12px; font-weight: 600; border-radius: 99px; padding: 5px 11px; background: var(--fill); color: var(--label-2); transition: all 0.5s var(--hm-ease); white-space: nowrap; }
.hm-state.done { background: var(--hm-ok-bg); color: var(--green); }
.hm-state.warn { background: color-mix(in srgb, var(--orange-fill) 16%, transparent); color: var(--hm-warn); }

/* 03 computation */
.hm-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-cbox { border: 1px solid var(--separator); border-radius: 14px; padding: 18px; }
.hm-cbox p { font-size: 12px; color: var(--label-2); font-weight: 500; }
.hm-cbox b { font-size: 26px; letter-spacing: -0.03em; display: block; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hm-cbox small { display: block; font-size: 12px; color: var(--label-3); margin-top: 4px; }
.hm-cbox--total { grid-column: 1 / -1; background: var(--label); color: var(--bg); border: 0; }
.hm-cbox--total p { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.hm-cbox--total b { font-size: 32px; }
.hm-split { height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 18%, transparent); overflow: hidden; display: flex; margin-top: 14px; }
.hm-split i { display: block; height: 100%; width: 0; transition: width 1.6s var(--hm-ease) 0.2s; }
.hm-split i:first-child { background: #10b981; } .hm-split i:last-child { background: #60a5fa; }
.on-view .hm-split i { width: var(--w); }
.hm-split__legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: color-mix(in srgb, var(--bg) 65%, transparent); }
.hm-split__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; margin-right: 6px; }
.hm-split__legend span + span::before { background: #60a5fa; }

/* 04 approval */
.hm-steps { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--label-2); border-bottom: 1px solid var(--separator); padding-bottom: 16px; }
.hm-steps span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--separator); margin-right: 7px; vertical-align: -1px; transition: all 0.4s; }
.hm-steps .done { color: var(--label); }
.hm-steps .done::before { background: var(--green); border-color: var(--green); }
.hm-approve { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 320px; text-align: center; }
.hm-hold { position: relative; width: 150px; height: 150px; border-radius: 50%; border: 0; background: var(--hm-card); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; font: 600 14px/1.3 inherit; color: var(--label); box-shadow: var(--hm-sh); transition: background 0.4s, color 0.4s; }
.hm-hold svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hm-hold circle { fill: none; stroke-width: 6; }
.hm-hold__track { stroke: var(--fill); }
.hm-hold__val { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 427.3; stroke-dashoffset: 427.3; }
.hm-hold span { position: relative; }
.hm-hold.done { background: var(--green); color: #fff; }
.hm-hold.done .hm-hold__val { stroke: transparent; }
.hm-hint { font-size: 13px; color: var(--label-3); }
.hm-lock { font-weight: 700; font-size: 18px; color: var(--green); min-height: 1px; }
.hm-hash { font-size: 12px; color: var(--label-2); max-width: 380px; word-break: break-all; }

/* 05 overview */
.hm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-tile { border: 1px solid var(--separator); border-radius: 12px; padding: 14px; font-size: 12px; color: var(--label-2); }
.hm-tile b { display: block; color: var(--label); font-size: 15px; margin: 4px 0 8px; }
.hm-tile b.is-due { color: var(--blue); }
.hm-spark { height: 28px; display: flex; align-items: flex-end; gap: 3px; }
.hm-spark i { flex: 1; background: color-mix(in srgb, var(--blue) 22%, transparent); border-radius: 2px; transform-origin: bottom; transform: scaleY(0.15); transition: transform 0.9s var(--hm-ease); }
.hm-spark i:last-child { background: var(--blue); }
.on-view .hm-spark i { transform: none; }
.hm-next { margin-top: 16px; font-size: 13px; color: var(--label-2); background: var(--hm-due-bg); border-radius: 10px; padding: 11px 14px; }
.hm-next b { color: var(--blue); }

/* Brand family */
.hm-sec--brands { padding-bottom: 80px; }
.hm-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.hm-brand { display: flex; flex-direction: column; gap: 10px; background: var(--hm-card); color: var(--label); border-radius: 22px; padding: 26px; box-shadow: var(--hm-sh); transition: transform 0.4s var(--hm-ease), box-shadow 0.4s var(--hm-ease); }
a.hm-brand:hover { transform: translateY(-4px); }
.hm-brand h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; }
.hm-brand > p:not(.hm-brand__name) { color: var(--label-2); font-size: 15px; line-height: 1.5; }
.hm-brand__name { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--blue); margin-top: 8px; }
.hm-brand--io .hm-brand__name { color: var(--green); }
.hm-brand--co .hm-brand__name { color: var(--hm-warn); }
.hm-brand__more { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 600; color: var(--link); }
.hm-brand__more::after { content: " →"; }
.hm-brand__vis { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--bg); font-size: 12.5px; font-weight: 600; }
.hm-brand__vis span { display: flex; align-items: center; gap: 10px; background: var(--hm-card); border: 1px solid var(--separator); border-radius: 10px; padding: 9px 12px; }
.hm-brand__vis em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--label-2); background: var(--fill); border-radius: 6px; padding: 2px 7px; }
.hm-brand__vis i { width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--fill); }
.hm-vis-io i { margin-left: auto; }
.hm-brand__vis i.ok { background: var(--green) no-repeat center / 64% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hm-brand__vis i.warn { background: var(--orange-fill) no-repeat center / 64% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v5.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12.3' r='1.3' fill='%23fff'/%3E%3C/svg%3E"); }
.hm-brand__vis i.due { background: var(--blue); }
.hm-vis-co em { color: var(--hm-warn); background: color-mix(in srgb, var(--orange-fill) 14%, transparent); }

/* Trust */
.hm-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-pc { background: var(--hm-card); border-radius: 18px; padding: 30px; box-shadow: var(--hm-sh); }
.hm-pc b { display: block; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 800; }
.hm-pc p { color: var(--label-2); margin-top: 12px; font-size: 15px; line-height: 1.5; }

/* Close and footer */
.hm-close { text-align: center; padding-block: 140px 120px; }
.hm-close .hm-h2 { font-size: clamp(40px, 6vw, 76px); }
.hm-close .hm-lead { margin-bottom: 34px; }
.hm-foot { border-top: 1px solid var(--separator); padding: 34px 0 40px; font-size: 13px; color: var(--label-2); background: var(--bg); }
.hm-foot .hm-wrap { display: flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.hm-foot a { color: var(--label-2); }
.hm-foot a:hover { color: var(--label); }
.hm-foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.hm-foot__global { flex-basis: 100%; font-size: 12px; color: var(--label-3); }
.hm-foot__global a { color: var(--label-3); text-decoration: underline; text-underline-offset: 2px; }

/* Reveal (added by home.js only to elements below the fold) */
.hm-rv.is-pending { opacity: 0; transform: translateY(24px); }
.hm-rv.is-shown { transition: opacity 0.9s var(--hm-ease), transform 0.9s var(--hm-ease); }

@media (max-width: 920px) {
  .hm-nav__links { display: none; }
  .hm-hero { grid-template-columns: 1fr; padding-top: 28px; min-height: auto; }
  .hm-stage { height: 500px; }
  .hm-story { grid-template-columns: 1fr; margin-top: 40px; }
  .hm-sticky { display: none; }
  .hm-mt { display: block; margin-bottom: 18px; }
  .hm-mt .hm-num { font-size: 12px; }
  .hm-mt h3 { font-size: 26px; letter-spacing: -0.03em; margin: 6px 0; line-height: 1.12; }
  .hm-mt p:last-child { color: var(--label-2); font-size: 15px; }
  .hm-panels { gap: 56px; padding: 0; }
  .hm-brands, .hm-proof { grid-template-columns: 1fr; }
  .hm-app__body { grid-template-columns: 1fr; }
  .hm-score { flex-direction: row; justify-content: flex-start; text-align: left; }
  .hm-ring { width: 96px; height: 96px; }
  .hm-ring span { font-size: 26px; }
}
@media (max-width: 520px) {
  .hm-wrap { padding: 0 18px; }
  .hm-nav__right .hm-btn--ghost { display: none; }
  .hm-m1 { width: 210px; } .hm-m2 { width: 220px; right: 0; } .hm-m3 { left: 0; } .hm-m4 { right: 0; } .hm-m5 { display: none; }
  .hm-panel { padding: 20px; min-height: auto; }
  .hm-ob { width: 150px; }
  .hm-prof { width: 120px; }
  .hm-grid { grid-template-columns: 1fr 1fr; }
  .hm-sec { padding: 80px 0; }
  .hm-sec--tight { padding-top: 24px; }
  .hm-cbox b { font-size: 20px; }
  .hm-cbox--total b { font-size: 26px; }
  .hm-steps { font-size: 11px; }
  .hm-close { padding-block: 100px 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .hm-rv.is-pending { opacity: 1; transform: none; }
}

/* ── About and Contact pages ───────────────────────────────────────── */
.hm main { max-width: none; padding: 0; min-height: 0; }
.hm main.hm-wrap { max-width: 1200px; padding: 0 28px; }
.hm-page-hero { text-align: center; padding-block: 96px 72px; }
.hm-page-hero h1, .hm-contact h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; margin: 22px 0; }
.hm-page-hero h1 span, .hm-contact h1 span { color: var(--label-3); }
.hm-page-hero .hm-lead { font-size: 19px; line-height: 1.55; max-width: 640px; }
.hm-h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin-top: 10px; }
.hm-about-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; background: var(--hm-card); border-radius: 22px; padding: 40px; box-shadow: var(--hm-sh); }
.hm-about-prose p { color: var(--label-2); font-size: 17px; line-height: 1.6; }
.hm-about-prose p + p { margin-top: 14px; }
.hm-proof--about { margin-top: 18px; }
.hm-fam { display: grid; gap: 12px; max-width: 860px; margin: 48px auto 0; }
.hm-fam a { display: grid; grid-template-columns: 190px 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; background: var(--hm-card); border-radius: 18px; box-shadow: var(--hm-sh); color: var(--label); transition: transform 0.35s var(--hm-ease); }
.hm-fam a:hover { text-decoration: none; transform: translateY(-2px); }
.hm-fam b { font-size: 18px; letter-spacing: -0.02em; color: var(--blue); }
.hm-fam b.io { color: var(--green); }
.hm-fam b.co { color: var(--hm-warn); }
.hm-fam span { color: var(--label-2); font-size: 15px; line-height: 1.45; }
.hm-fam i { font-style: normal; color: var(--label-3); }
.hm-fine { margin-top: 28px; font-size: 13px; color: var(--label-3); }

.hm-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; padding-top: 72px; padding-bottom: 120px; }
.hm-contact__intro { position: sticky; top: 104px; }
.hm-info { margin-top: 8px; padding: 20px 22px; background: var(--hm-card); border-radius: 16px; box-shadow: var(--hm-sh); }
.hm-info__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label-3); }
.hm-info__mail { display: inline-block; margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--label); }
.hm-next-steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.hm-next-steps li { counter-increment: s; position: relative; padding-left: 40px; color: var(--label-2); font-size: 15px; line-height: 1.5; }
.hm-next-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--label); color: var(--bg); }
.hm-next-steps b { display: block; color: var(--label); }

.hm-formcard { background: var(--hm-card); border-radius: 24px; box-shadow: var(--hm-sh); padding: 34px; }
.hm-formcard h2 { font-size: 24px; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 22px; }
.hm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.hm-field label, .hm-field legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; padding: 0; }
.hm-field em { font-style: normal; color: var(--red); }
.hm-field input, .hm-field select, .hm-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--label); background: var(--bg); border: 1px solid var(--separator); border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.hm-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.hm-field input:focus, .hm-field select:focus, .hm-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.hm-field [aria-invalid] { border-color: var(--red); }
.hm-ferr { color: var(--red); font-size: 12.5px; margin-top: 6px; }
.hm-ferr:empty { display: none; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-field .hm-chip { position: relative; margin: 0; font-weight: 500; }
.hm-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hm-chip span { display: inline-block; padding: 8px 13px; border: 1px solid var(--separator); border-radius: 99px; font-size: 13.5px; cursor: pointer; background: var(--bg); transition: all 0.2s; }
.hm-chip input:checked + span { background: var(--label); color: var(--bg); border-color: var(--label); }
.hm-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hm-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hm-btn--block { width: 100%; justify-content: center; margin-top: 6px; border: 0; cursor: pointer; font-family: inherit; }
.hm-btn--block:disabled { opacity: 0.6; cursor: progress; transform: none; }
.hm-form__note { margin-top: 14px; font-size: 12.5px; color: var(--label-3); text-align: center; }
.hm-form__note a { color: var(--label-2); }
.hm-form__status { margin-top: 10px; font-size: 14px; color: var(--red); text-align: center; }
.hm-form__status:empty { display: none; }
.hm-done { text-align: center; padding: 40px 10px; outline: none; }
.hm-done__tick { display: inline-block; width: 64px; height: 64px; border-radius: 50%; background: var(--green) no-repeat center / 50% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); margin-bottom: 18px; }
.hm-done h2 { margin-bottom: 10px; }
.hm-done p { color: var(--label-2); }
.hm-nav__links a[aria-current="page"] { color: var(--label); }

@media (max-width: 920px) {
  .hm-about-split { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .hm-contact { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hm-contact__intro { position: static; }
  .hm-fam a { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .hm-fam span { grid-column: 1; }
  .hm-fam i { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 520px) {
  .hm-row2 { grid-template-columns: 1fr; gap: 0; }
  .hm-formcard { padding: 24px 20px; }
  .hm-page-hero { padding-block: 64px 48px; }
}
@media (max-width: 520px) { .hm main.hm-wrap { padding: 0 18px; } }

/* ── Free Saudi tax check ──────────────────────────────────────────── */
.hm-tc { padding-top: 40px; scroll-margin-top: 64px; }
.hm-tc__wrap { margin-top: 48px; }
.hm-tc__app { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.hm-tc__app[hidden], .hm-tc__result[hidden] { display: none; }
.hm-tc__panel { background: var(--hm-card); border-radius: 24px; box-shadow: var(--hm-sh); padding: 30px; min-height: 470px; display: flex; flex-direction: column; }
.hm-tc__top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label-3); }
.hm-tc__keys { letter-spacing: 0; text-transform: none; font-weight: 500; }
.hm-tc__bar { height: 4px; border-radius: 4px; background: var(--fill); overflow: hidden; margin: 12px 0 26px; }
.hm-tc__bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width 0.5s var(--hm-ease); }
.hm-tc__q { flex: 1; display: flex; }
.hm-tc__qin { flex: 1; display: flex; flex-direction: column; animation: hmTcIn 0.45s var(--hm-ease); }
@keyframes hmTcIn { from { opacity: 0; transform: translateY(10px); } }
.hm-tc__q h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }
.hm-tc__hint { color: var(--label-2); font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
.hm-tc__err { color: var(--red); }
.hm-tc__opts { display: grid; gap: 10px; margin-top: 22px; }
.hm-tc__opts--many { grid-template-columns: 1fr 1fr; }
.hm-tc__opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--label); background: var(--bg); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--hm-ease); }
.hm-tc__opt:hover { border-color: var(--separator); transform: translateY(-1px); }
.hm-tc__opt.is-sel { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--bg)); }
.hm-tc__opt:focus-visible, .hm-tc__month:focus-visible, .hm-tc__back:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hm-tc__opt small { display: block; font-weight: 400; font-size: 12.5px; color: var(--label-2); margin-top: 2px; }
.hm-tc__opt kbd { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--label-2); background: var(--hm-card); border: 1px solid var(--separator); }
.hm-tc__opt.is-sel kbd { background: var(--blue); border-color: var(--blue); color: #fff; }
.hm-tc__months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.hm-tc__month { font: inherit; font-weight: 600; font-size: 15px; padding: 14px 0; border-radius: 12px; border: 1.5px solid transparent; background: var(--bg); color: var(--label); cursor: pointer; }
.hm-tc__month:hover { border-color: var(--separator); }
.hm-tc__month.is-sel { border-color: var(--blue); color: var(--blue); }
.hm-tc__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.hm-tc__back { font: inherit; font-size: 14px; font-weight: 600; color: var(--label-2); background: none; border: 0; cursor: pointer; padding: 8px 0; }
.hm-tc__go { border: 0; cursor: pointer; font-family: inherit; }

/* The live map: an inverted panel whose tiles light up as answers come in */
.hm-tc__map { background: var(--label); color: var(--bg); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; box-shadow: var(--hm-sh); }
.hm-tc__maph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hm-tc__maph p { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.hm-tc__maph span { font-size: 13px; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.hm-tc__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; flex: 1; align-content: start; }
.hm-tc__tile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--bg) 22%, transparent); transition: background 0.4s, border-color 0.4s, opacity 0.4s; }
.hm-tc__abbr { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font: 700 11px/1 ui-monospace, "SF Mono", Menlo, monospace; background: color-mix(in srgb, var(--bg) 10%, transparent); color: color-mix(in srgb, var(--bg) 55%, transparent); transition: background 0.4s, color 0.4s; }
.hm-tc__lab { font-size: 14px; font-weight: 600; line-height: 1.25; }
.hm-tc__lab small { display: block; font-size: 11.5px; font-weight: 500; color: color-mix(in srgb, var(--bg) 55%, transparent); margin-top: 2px; }
.hm-tc__tile[data-state="on"] { border-style: solid; border-color: transparent; background: color-mix(in srgb, #10b981 18%, transparent); }
.hm-tc__tile[data-state="on"] .hm-tc__abbr { background: #10b981; color: #fff; }
.hm-tc__tile[data-state="on"] small { color: #34d399; }
.hm-tc__tile[data-state="may"] { border-style: solid; border-color: transparent; background: color-mix(in srgb, #f59e0b 16%, transparent); }
.hm-tc__tile[data-state="may"] .hm-tc__abbr { background: #f59e0b; color: #1d1d1f; }
.hm-tc__tile[data-state="may"] small { color: #fbbf24; }
.hm-tc__tile[data-state="off"] { opacity: 0.4; border-style: solid; }
.hm-tc__tile.is-pop .hm-tc__abbr { animation: hmTcPop 0.5s var(--hm-ease); }
@keyframes hmTcPop { 0% { transform: scale(0.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.hm-tc__mapf { font-size: 13px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent); color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* Result */
.hm-tc__result { background: var(--hm-card); border-radius: 24px; box-shadow: var(--hm-sh); padding: 32px; animation: hmTcIn 0.5s var(--hm-ease); }
.hm-tc__sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hm-tc__sum > div { background: var(--bg); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--label-2); line-height: 1.4; }
.hm-tc__sum > div:first-child { background: var(--label); color: color-mix(in srgb, var(--bg) 70%, transparent); }
.hm-tc__sum > div:first-child .hm-tc__big, .hm-tc__sum > div:first-child b { color: var(--bg); }
.hm-tc__sum b { color: var(--label); font-weight: 600; }
.hm-tc__big { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.04em; color: var(--label); line-height: 1; font-variant-numeric: tabular-nums; }
.hm-tc__acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.hm-tc__acts .hm-btn { border: 0; cursor: pointer; font-family: inherit; }
.hm-tc__acts .hm-btn--line { border: 1px solid var(--separator); }
.hm-tc__acts .hm-btn svg { width: 18px; height: 18px; flex: none; }
.hm-btn--blue { background: #0071e3; color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 113, 227, 0.65); }
.hm-btn--blue:hover { background: #0077ed; transform: translateY(-2px); }
.hm-tc__acts .hm-btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.hm-tc__company { display: block; max-width: 420px; margin: 4px 0 6px; font-size: 13px; font-weight: 600; }
.hm-tc__company i { font-style: normal; font-weight: 400; color: var(--label-3); }
.hm-tc__company input { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15px; font-weight: 400; color: var(--label); background: var(--bg); border: 1px solid var(--separator); border-radius: 12px; padding: 11px 14px; }
.hm-tc__company input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22); }
.hm-tc__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; margin-top: 18px; align-items: start; }
.hm-tc__h { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; margin: 18px 0 12px; }
.hm-tc__ob { border: 1px solid var(--separator); border-radius: 14px; margin-bottom: 10px; padding: 0 16px; break-inside: avoid; }
.hm-tc__ob summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.hm-tc__ob summary::-webkit-details-marker { display: none; }
.hm-tc__ob summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--label-3); border-bottom: 2px solid var(--label-3); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform 0.2s; flex: none; }
.hm-tc__ob[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.hm-tc__ob summary span { flex: 1; }
.hm-tc__ob em { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 3px 10px; background: var(--hm-ok-bg); color: var(--green); white-space: nowrap; }
.hm-tc__ob[data-state="may"] em { background: color-mix(in srgb, var(--orange-fill) 16%, transparent); color: var(--hm-warn); }
.hm-tc__ob p { font-size: 14.5px; line-height: 1.55; color: var(--label-2); margin-bottom: 10px; }
.hm-tc__dates b { color: var(--label); margin-right: 4px; }
.hm-tc__ref { font-size: 12.5px !important; color: var(--label-3) !important; border-top: 1px solid var(--separator); padding: 8px 0 12px; margin: 0 !important; }
.hm-tc__off { font-size: 13px; color: var(--label-3); margin-top: 8px; }
.hm-tc__risk { background: var(--bg); border-radius: 18px; padding: 20px 20px 18px; }
.hm-tc__eye { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-warn); }
.hm-tc__risk .hm-tc__h { margin: 4px 0 10px; }
.hm-tc__rk { padding: 11px 0; border-top: 1px solid var(--separator); }
.hm-tc__rk b { display: block; font-size: 14px; font-weight: 700; }
.hm-tc__rk p { font-size: 13.5px; line-height: 1.5; color: var(--label-2); margin-top: 3px; }
.hm-tc__rkn { font-size: 13px; line-height: 1.5; color: var(--label); background: var(--hm-card); border-radius: 12px; padding: 12px 14px; margin-top: 6px; }
.hm-tc__cta { margin-top: 16px; background: var(--label); color: var(--bg); border-radius: 18px; padding: 24px; }
.hm-tc__cta h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.hm-tc__cta p { font-size: 14px; line-height: 1.5; margin: 8px 0 16px; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.hm-btn--light { background: var(--bg); color: var(--label); }
.hm-btn--light:hover { transform: translateY(-2px); }
.hm-tc__ctal { display: block; margin-top: 12px; font-size: 13.5px; color: color-mix(in srgb, var(--bg) 75%, transparent); text-decoration: underline; text-underline-offset: 3px; }
.hm-tc__cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hm-tc__cm { background: var(--bg); border-radius: 16px; padding: 16px; break-inside: avoid; }
.hm-tc__cmh { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label-3); margin-bottom: 8px; }
.hm-tc__ev { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--separator); }
.hm-tc__ev:first-of-type { border-top: 0; }
.hm-tc__evd { flex: none; width: 44px; text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--blue); background: var(--hm-card); border-radius: 10px; padding: 6px 0; line-height: 1.1; }
.hm-tc__evd b { display: block; font-size: 18px; color: var(--label); }
.hm-tc__evt { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.hm-tc__evt small { display: block; font-size: 11.5px; font-weight: 400; color: var(--label-3); margin-top: 3px; }
.hm-tc__disc { font-size: 12.5px; color: var(--label-3); margin-top: 22px; line-height: 1.5; }

@media (max-width: 920px) {
  .hm-tc__app { grid-template-columns: 1fr; }
  .hm-tc__map { order: -1; padding: 18px; }
  .hm-tc__tiles { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 10px; }
  .hm-tc__tile { flex-direction: column; gap: 6px; padding: 8px 4px; text-align: center; }
  .hm-tc__abbr { width: 34px; height: 34px; }
  .hm-tc__lab { font-size: 11px; }
  .hm-tc__lab small { display: none; }
  .hm-tc__keys { display: none; }
  .hm-tc__cols, .hm-tc__sum { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hm-tc__panel, .hm-tc__result { padding: 20px; border-radius: 20px; }
  .hm-tc__panel { min-height: 0; }
  .hm-tc__opts--many { grid-template-columns: 1fr; }
  .hm-tc__months { grid-template-columns: repeat(3, 1fr); }
  .hm-tc__map { padding: 14px 14px 12px; border-radius: 18px; }
  .hm-tc__maph p { font-size: 14px; }
  .hm-tc__tiles { grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 10px 0 8px; }
  .hm-tc__tile { padding: 0; border: 0; background: none !important; }
  .hm-tc__abbr { width: 100%; height: 30px; border-radius: 8px; font-size: 9.5px; }
  .hm-tc__tile[data-state="pending"] .hm-tc__abbr { outline: 1px dashed color-mix(in srgb, var(--bg) 25%, transparent); outline-offset: -1px; }
  .hm-tc__lab { display: none; }
  .hm-tc__mapf { font-size: 12px; padding-top: 8px; }
}
@media print {
  body.hm-print-tc { background: #fff; }
  body.hm-print-tc .hm-nav, body.hm-print-tc .hm-foot, body.hm-print-tc #landing > :not(#check), body.hm-print-tc #check .hm-center,
  body.hm-print-tc #check .hm-h2, body.hm-print-tc #check .hm-lead, body.hm-print-tc .hm-tc__noprint { display: none !important; }
  body.hm-print-tc .hm-tc__result { box-shadow: none; padding: 0; }
  body.hm-print-tc .hm-tc__ob { display: block; }
  body.hm-print-tc .hm-tc__ob > * { display: block; }
  body.hm-print-tc * { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; }
}
