/* ==========================================================================
   TELMORA — design system
   Warm paper ground, deep-lagoon ink and one loud "signal" accent. Wide
   geometric display type (Unbounded) over a humanist body face (Manrope).
   Soft, generous shapes: pill controls, 22–32px cards.

   The brand idea is the signal: something leaves you and reaches a person.
   It shows up as the logo (a dot with two broadcast arcs), the orbit on the
   home hero and the chat stream on /sms/. The signal colour is reserved for
   the one action that matters on each screen and for "in flight" states.

   Everything is namespaced .tm- so nothing collides with platform styles.
   Loaded after style.css.
   ========================================================================== */

:root {
    /* ground */
    --tm-paper:    #F4F1EA;
    --tm-paper-2:  #EBE6DB;
    --tm-card:     #FBFAF6;
    --tm-line:     #DCD5C7;
    --tm-line-2:   #CFC6B5;

    /* ink */
    --tm-ink:      #11201E;
    --tm-ink-2:    #3B4946;
    --tm-ink-3:    #5E6B68;

    /* deep lagoon — dark sections */
    --tm-deep:     #0F3A36;
    --tm-deep-2:   #15504A;
    --tm-deep-3:   #1D6159;
    --tm-on-deep:  #EAF2EE;
    --tm-on-deep-2:#A8C4BD;

    /* accents */
    --tm-signal:   #FF5B3A;   /* the one action / in flight */
    --tm-signal-2: #E8462A;
    --tm-signal-ink:#B8371C;  /* signal as text on paper (AA) */
    --tm-lime:     #D4F36A;   /* highlights on deep ground only */
    --tm-ok:       #1F8A5B;   /* delivered */

    /* type */
    --tm-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
    --tm-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* metrics */
    --tm-max: 1240px;
    --tm-gut: clamp(16px, 4vw, 48px);
    --tm-r-sm: 14px;
    --tm-r:    22px;
    --tm-r-lg: 32px;
    --tm-header-h: 76px;
    --tm-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: auto; }
body {
    font-family: var(--tm-body) !important;
    background: var(--tm-paper) !important;
    color: var(--tm-ink);
    display: block !important;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--tm-lime); color: var(--tm-ink); }

.tm-header *, main#main, main#main *, .tm-footer, .tm-footer *, .tm-auth, .tm-auth *,
.tm-top { box-sizing: border-box; }

main#main img, main#main svg { max-width: 100%; }
/* The orbit spins and the marquee is tilted — clip their overhang so the
   page never scrolls sideways. clip (not hidden) keeps sticky working. */
main#main { overflow-x: clip; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--tm-signal); outline-offset: 3px; border-radius: 6px; }

.tm-wrap {
    width: 100%;
    max-width: calc(var(--tm-max) + 2 * var(--tm-gut));
    margin: 0 auto;
    padding: 0 var(--tm-gut);
}

.tm-skip {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--tm-ink); color: var(--tm-paper);
    padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700;
}
.tm-skip:focus { top: 12px; }

.tm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.tm-h1, .tm-h2, .tm-h3, .tm-display {
    font-family: var(--tm-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
    color: inherit;
}
.tm-h1 { font-size: clamp(36px, 5.6vw, 76px); letter-spacing: -0.035em; line-height: 1.02; }
.tm-h2 { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.03em; }
.tm-h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.01em; }

.tm-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--tm-ink-2); margin: 0; max-width: 36em; }
.tm-text { color: var(--tm-ink-2); margin: 0; }

/* hand-drawn marker under a key word */
.tm-mark {
    position: relative; white-space: nowrap; z-index: 0;
}
.tm-mark::after {
    content: ""; position: absolute; z-index: -1;
    left: -0.06em; right: -0.06em; bottom: 0.04em; height: 0.36em;
    background: var(--tm-lime); border-radius: 0.2em;
    transform: rotate(-1.2deg);
}
.tm-mark--signal::after { background: rgba(255, 91, 58, .28); }

.tm-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 22px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--tm-line-2); border-radius: 999px;
    background: var(--tm-card);
    font-size: 13px; font-weight: 700; letter-spacing: .02em;
    color: var(--tm-ink-2);
}
.tm-kicker::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--tm-signal);
    box-shadow: 0 0 0 4px rgba(255, 91, 58, .18);
}
.tm-kicker--deep { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: var(--tm-on-deep-2); }
.tm-kicker--deep::before { background: var(--tm-lime); box-shadow: 0 0 0 4px rgba(212, 243, 106, .18); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.tm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border: 1.5px solid transparent; border-radius: 999px;
    font-family: var(--tm-body); font-size: 15px; font-weight: 700; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--tm-ease), color .2s var(--tm-ease), border-color .2s var(--tm-ease), transform .2s var(--tm-ease);
}
.tm-btn:hover { transform: translateY(-1px); }
.tm-btn:active { transform: translateY(0); }
.tm-btn[disabled], .tm-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.tm-btn--signal { background: var(--tm-signal); color: var(--tm-ink); }
.tm-btn--signal:hover { background: var(--tm-signal-2); }
.tm-btn--ink { background: var(--tm-ink); color: var(--tm-paper); }
.tm-btn--ink:hover { background: var(--tm-deep); }
.tm-btn--line { border-color: var(--tm-ink); color: var(--tm-ink); background: transparent; }
.tm-btn--line:hover { background: var(--tm-ink); color: var(--tm-paper); }
.tm-btn--light { background: var(--tm-paper); color: var(--tm-ink); }
.tm-btn--light:hover { background: var(--tm-lime); }
.tm-btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--tm-on-deep); background: transparent; }
.tm-btn--ghost-light:hover { border-color: var(--tm-on-deep); }
.tm-btn--lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.tm-btn--block { width: 100%; }

/* round arrow badge inside a button */
.tm-btn__arrow {
    display: inline-grid; place-items: center;
    width: 30px; height: 30px; margin-right: -12px;
    border-radius: 50%; background: var(--tm-ink); color: var(--tm-paper);
    font-size: 15px; transition: transform .25s var(--tm-ease);
}
.tm-btn--ink .tm-btn__arrow, .tm-btn--light .tm-btn__arrow { background: var(--tm-signal); color: var(--tm-ink); }
.tm-btn:hover .tm-btn__arrow { transform: translateX(3px) rotate(-45deg); }

.tm-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; text-decoration: none; color: var(--tm-ink);
    border-bottom: 2px solid var(--tm-line-2); padding-bottom: 2px;
    transition: border-color .2s var(--tm-ease);
}
.tm-link:hover { border-color: var(--tm-signal); }

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.tm-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--tm-ink);
}
.tm-logo__mark { width: 34px; height: 34px; flex: none; display: block; }
.tm-logo__word {
    font-family: var(--tm-display); font-weight: 700; font-size: 21px;
    letter-spacing: -0.04em; line-height: 1;
}
.tm-logo__word i { font-style: normal; color: var(--tm-signal); }

/* --------------------------------------------------------------------------
   Header — floating pill bar
   -------------------------------------------------------------------------- */
.tm-header {
    position: sticky; top: 0; z-index: 100;
    padding: 14px 0;
    transition: padding .25s var(--tm-ease);
}
.tm-header__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    min-height: 60px; padding: 8px 8px 8px 20px;
    background: rgba(251, 250, 246, .82);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid var(--tm-line);
    border-radius: 999px;
    transition: box-shadow .25s var(--tm-ease), border-color .25s var(--tm-ease);
}
.tm-header.is-scrolled { padding: 8px 0; }
.tm-header.is-scrolled .tm-header__bar { box-shadow: 0 10px 30px -18px rgba(17, 32, 30, .45); border-color: var(--tm-line-2); }

.tm-nav { display: flex; align-items: center; gap: 6px; }
.tm-nav__list {
    display: flex; align-items: center; gap: 2px;
    list-style: none; margin: 0; padding: 0;
}
.tm-nav__link {
    display: block; padding: 10px 14px; border-radius: 999px;
    font-size: 15px; font-weight: 600; color: var(--tm-ink-2); text-decoration: none;
    transition: background-color .2s var(--tm-ease), color .2s var(--tm-ease);
}
.tm-nav__link:hover { background: var(--tm-paper-2); color: var(--tm-ink); }
.tm-nav__link.is-active { background: var(--tm-ink); color: var(--tm-paper); }
.tm-nav__cta { display: flex; gap: 6px; margin-left: 8px; }
.tm-nav__cta .tm-btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

.tm-nav__toggle {
    display: none;
    width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--tm-ink); color: var(--tm-paper);
    cursor: pointer; padding: 0; position: relative;
}
.tm-nav__toggle span {
    position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px;
    background: currentColor; transition: transform .25s var(--tm-ease), opacity .2s;
}
.tm-nav__toggle span:nth-child(1) { top: 17px; }
.tm-nav__toggle span:nth-child(2) { top: 22px; }
.tm-nav__toggle span:nth-child(3) { top: 27px; }
.tm-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.tm-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tm-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.tm-section { padding: clamp(72px, 9vw, 128px) 0; }
.tm-section--tight { padding-top: clamp(40px, 5vw, 64px); }
.tm-section__head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    gap: 24px 64px; align-items: end;
    margin-bottom: clamp(36px, 5vw, 64px);
}
.tm-section__head .tm-lead { justify-self: end; }
.tm-section__head--stack { display: block; max-width: 760px; }
.tm-section__head--stack .tm-lead { margin-top: 20px; }

/* --------------------------------------------------------------------------
   HOME hero — headline + orbit
   -------------------------------------------------------------------------- */
.tm-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.tm-hero__grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 5vw, 72px); align-items: center;
}
.tm-hero__title { margin-bottom: 28px; }
.tm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }

.tm-facts {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none;
    border-top: 1.5px solid var(--tm-ink);
}
.tm-facts li { padding: 18px 18px 0 0; }
.tm-facts li + li { padding-left: 18px; border-left: 1px solid var(--tm-line-2); }
.tm-facts strong {
    display: block; font-family: var(--tm-display); font-weight: 600;
    font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.1;
}
.tm-facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--tm-ink-3); line-height: 1.4; }

/* Orbit: TELMORA in the middle, four practices travelling around it. The
   ring rotates; each node counter-rotates so its label stays upright. */
.tm-orbit {
    position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto;
    --tm-spin: 60s;
}
.tm-orbit__ring {
    position: absolute; inset: 0; margin: auto; border-radius: 50%;
    border: 1.5px dashed var(--tm-line-2);
}
.tm-orbit__ring--1 { width: 100%; height: 100%; }
.tm-orbit__ring--2 { width: 68%; height: 68%; border-style: solid; border-color: var(--tm-line); }
.tm-orbit__ring--3 { width: 38%; height: 38%; border: 0; background: var(--tm-paper-2); }
.tm-orbit__core {
    position: absolute; inset: 0; margin: auto; width: 26%; height: 26%;
    border-radius: 50%; background: var(--tm-ink);
    display: grid; place-items: center;
    box-shadow: 0 30px 60px -30px rgba(17, 32, 30, .7);
}
.tm-orbit__core img { width: 64%; height: 64%; }
.tm-orbit__pulse {
    position: absolute; inset: 0; margin: auto; width: 26%; height: 26%; border-radius: 50%;
    border: 2px solid var(--tm-signal); opacity: 0;
}
.tm-orbit__spin { position: absolute; inset: 0; }
.tm-orbit__node { position: absolute; width: 0; height: 0; }
.tm-orbit__node > span {
    position: absolute; transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px 11px 14px; border-radius: 999px;
    background: var(--tm-card); border: 1px solid var(--tm-line-2);
    box-shadow: 0 14px 30px -20px rgba(17, 32, 30, .55);
    font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--tm-ink);
}
.tm-orbit__node > span::before {
    content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
    background: var(--tm-signal); box-shadow: 0 0 0 4px rgba(255, 91, 58, .16);
}
/* Node anchors sit on the outer ring (x = 50 + 50·sin a, y = 50 − 50·cos a).
   A node is a zero-size anchor; spinning it in reverse around itself keeps
   the label centred and upright while the ring carries it round. */
.tm-orbit__node { left: var(--x); top: var(--y); }
.tm-orbit__node--a { --x: 19.2%; --y: 10.6%; }
.tm-orbit__node--b { --x: 89.4%; --y: 19.2%; }
.tm-orbit__node--c { --x: 80.8%; --y: 89.4%; }
.tm-orbit__node--d { --x: 10.6%; --y: 80.8%; }
.tm-orbit__node--hot > span { background: var(--tm-ink); color: var(--tm-paper); border-color: var(--tm-ink); }
.tm-orbit__node--hot > span::before { background: var(--tm-lime); box-shadow: 0 0 0 4px rgba(212, 243, 106, .2); }
.tm-orbit__sat {
    position: absolute; width: 12px; height: 12px; border-radius: 50%;
    background: var(--tm-signal); top: 16%; left: 50%; margin-left: -6px;
}
.tm-orbit__sat--2 { top: auto; bottom: 16%; background: var(--tm-deep-3); width: 9px; height: 9px; margin-left: -4.5px; }

@media (prefers-reduced-motion: no-preference) {
    .tm-js .tm-orbit__spin { animation: tm-spin var(--tm-spin) linear infinite; }
    .tm-js .tm-orbit__spin .tm-orbit__node { animation: tm-spin var(--tm-spin) linear infinite reverse; }
    .tm-js .tm-orbit__mid { animation: tm-spin 24s linear infinite reverse; }
    .tm-js .tm-orbit__pulse { animation: tm-pulse 3.2s var(--tm-ease) infinite; }
    .tm-orbit:hover .tm-orbit__spin,
    .tm-orbit:hover .tm-orbit__spin .tm-orbit__node,
    .tm-orbit:hover .tm-orbit__mid { animation-play-state: paused; }
}
.tm-orbit__mid { position: absolute; inset: 0; margin: auto; width: 68%; height: 68%; }
@keyframes tm-spin { to { transform: rotate(360deg); } }
@keyframes tm-pulse {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(2.3); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Marquee band
   -------------------------------------------------------------------------- */
.tm-marquee {
    background: var(--tm-ink); color: var(--tm-paper);
    overflow: hidden; padding: 22px 0;
    transform: rotate(-1.2deg); margin: 0 -2vw;
}
.tm-marquee__track {
    display: flex; width: max-content; gap: 0;
    list-style: none; margin: 0; padding: 0;
}
.tm-marquee__track li {
    display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
    font-family: var(--tm-display); font-weight: 500;
    font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.02em; white-space: nowrap;
}
.tm-marquee__track li::after {
    content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tm-signal);
}
.tm-marquee__track li:nth-child(3n)::after { background: var(--tm-lime); }
@media (prefers-reduced-motion: no-preference) {
    .tm-js .tm-marquee__track { animation: tm-marquee 38s linear infinite; }
}
@keyframes tm-marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Bento — services
   -------------------------------------------------------------------------- */
.tm-bento {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}
.tm-tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 340px; padding: clamp(24px, 3vw, 36px);
    background: var(--tm-card); border: 1px solid var(--tm-line);
    border-radius: var(--tm-r-lg);
    transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}
.tm-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(17, 32, 30, .5); }
.tm-tile--7 { grid-column: span 7; }
.tm-tile--5 { grid-column: span 5; }
.tm-tile--deep { background: var(--tm-deep); border-color: var(--tm-deep); color: var(--tm-on-deep); }
.tm-tile--deep .tm-tile__text { color: var(--tm-on-deep-2); }
.tm-tile--sand { background: var(--tm-paper-2); }

.tm-tile__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: auto; }
.tm-tile__num {
    font-family: var(--tm-display); font-weight: 600; font-size: 15px;
    padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .7;
}
.tm-tile__icon {
    width: 64px; height: 64px; border-radius: 20px; flex: none;
    display: grid; place-items: center;
    background: var(--tm-paper-2); color: var(--tm-ink);
}
.tm-tile--deep .tm-tile__icon { background: var(--tm-lime); }
.tm-tile--sand .tm-tile__icon { background: var(--tm-card); }
.tm-tile__icon svg { width: 30px; height: 30px; }
.tm-tile__title { margin: 48px 0 12px; }
.tm-tile__text { color: var(--tm-ink-2); margin: 0; max-width: 34em; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.tm-tags li {
    font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
    background: var(--tm-paper); border: 1px solid var(--tm-line);
}
.tm-tile--deep .tm-tags li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--tm-on-deep); }
.tm-tile--sand .tm-tags li { background: var(--tm-card); }

/* --------------------------------------------------------------------------
   Process — numbered path
   -------------------------------------------------------------------------- */
.tm-path {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
    counter-reset: tm-step;
    position: relative;
}
.tm-path::before {
    content: ""; position: absolute; left: 28px; right: 28px; top: 28px;
    border-top: 2px dashed var(--tm-line-2);
}
.tm-path li { position: relative; counter-increment: tm-step; padding-right: 12px; }
.tm-path li::before {
    content: counter(tm-step, decimal-leading-zero);
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--tm-paper); border: 2px solid var(--tm-ink);
    font-family: var(--tm-display); font-weight: 600; font-size: 16px;
    margin-bottom: 26px;
}
.tm-path li:last-child::before { background: var(--tm-signal); border-color: var(--tm-signal); }
.tm-path strong { display: block; font-family: var(--tm-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px; }
.tm-path span { display: block; color: var(--tm-ink-2); }

/* --------------------------------------------------------------------------
   Product band (deep) with phone mock
   -------------------------------------------------------------------------- */
.tm-band {
    position: relative; overflow: hidden;
    background: var(--tm-deep); color: var(--tm-on-deep);
    border-radius: var(--tm-r-lg);
    padding: clamp(32px, 5vw, 72px);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(32px, 5vw, 64px); align-items: center;
}
.tm-band::before {
    content: ""; position: absolute; right: -180px; top: -180px;
    width: 520px; height: 520px; border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,.14);
    box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.02);
}
.tm-band > * { position: relative; }
.tm-band .tm-h2 { color: var(--tm-on-deep); }
.tm-band .tm-lead { color: var(--tm-on-deep-2); margin-top: 20px; }
.tm-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tm-band__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.tm-band__chips li {
    padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}

/* phone + chat bubbles — shared by the band and the /sms/ hero */
.tm-phone {
    position: relative; width: 100%; max-width: 360px; margin: 0 auto;
    background: var(--tm-ink); border-radius: 44px; padding: 12px;
    box-shadow: 0 50px 80px -40px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.tm-phone__screen {
    position: relative; overflow: hidden;
    background: var(--tm-paper); color: var(--tm-ink);
    border-radius: 34px; min-height: 460px;
    display: flex; flex-direction: column;
}
.tm-phone__top {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--tm-line);
    background: var(--tm-card);
}
.tm-phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--tm-ink); display: grid; place-items: center; flex: none; }
.tm-phone__avatar img { width: 22px; height: 22px; }
.tm-phone__who { line-height: 1.2; }
.tm-phone__who b { display: block; font-size: 14px; }
.tm-phone__who small { font-size: 12px; color: var(--tm-ok); font-weight: 700; }
.tm-chat {
    flex: 1; list-style: none; margin: 0; padding: 16px 14px 18px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
    overflow: hidden;
}
.tm-bubble {
    align-self: flex-start; max-width: 88%;
    background: var(--tm-card); border: 1px solid var(--tm-line);
    border-radius: 18px 18px 18px 6px;
    padding: 10px 12px 8px;
    font-size: 14px; line-height: 1.45;
    transform-origin: left bottom;
}
.tm-bubble__tag {
    display: table; margin-bottom: 5px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 999px; background: var(--tm-paper-2); color: var(--tm-ink-2);
}
.tm-bubble[data-chan="Viber"] .tm-bubble__tag { background: #E9E2FB; color: #4B2E9E; }
.tm-bubble[data-chan="RCS"] .tm-bubble__tag { background: #DDEBFF; color: #1F4E9A; }
.tm-bubble__meta {
    display: flex; justify-content: flex-end; align-items: center; gap: 6px;
    margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--tm-ink-3);
}
.tm-bubble__meta::after {
    content: "✓"; font-size: 12px; color: var(--tm-ink-3);
}
.tm-bubble[data-state="delivered"] .tm-bubble__meta { color: var(--tm-ok); }
.tm-bubble[data-state="delivered"] .tm-bubble__meta::after { content: "✓✓"; color: var(--tm-ok); letter-spacing: -3px; padding-right: 3px; }
.tm-bubble[data-state="sent"] .tm-bubble__meta { color: var(--tm-signal-ink); }
.tm-bubble.is-new { animation: tm-pop .45s var(--tm-ease) both; }
@keyframes tm-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Request form
   -------------------------------------------------------------------------- */
.tm-request {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px); align-items: start;
}
.tm-checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.tm-checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.tm-checks li::before {
    content: "✓"; flex: none; display: grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--tm-ink); color: var(--tm-lime); font-size: 13px; font-weight: 800;
}
.tm-request__note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tm-line-2); color: var(--tm-ink-3); font-size: 15px; }

.tm-card {
    background: var(--tm-card); border: 1px solid var(--tm-line);
    border-radius: var(--tm-r-lg); padding: clamp(24px, 3.5vw, 44px);
    box-shadow: 0 40px 70px -50px rgba(17, 32, 30, .35);
}
.tm-field { margin-bottom: 18px; }
.tm-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tm-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--tm-ink); }
.tm-req { color: var(--tm-signal-ink); }
.tm-optional { color: var(--tm-ink-3); font-weight: 500; }
.tm-input, .tm-textarea {
    display: block; width: 100%;
    min-height: 54px; padding: 14px 18px;
    font: inherit; font-size: 16px; color: var(--tm-ink);
    background: var(--tm-paper); border: 1.5px solid var(--tm-line);
    border-radius: var(--tm-r-sm);
    transition: border-color .2s var(--tm-ease), background-color .2s var(--tm-ease), box-shadow .2s var(--tm-ease);
    -webkit-appearance: none; appearance: none;
}
.tm-textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.tm-input::placeholder, .tm-textarea::placeholder { color: #8C9693; }
.tm-input:hover, .tm-textarea:hover { border-color: var(--tm-line-2); }
.tm-input:focus, .tm-textarea:focus {
    outline: none; background: #fff; border-color: var(--tm-ink);
    box-shadow: 0 0 0 4px rgba(17, 32, 30, .08);
}
.tm-input--error { border-color: var(--tm-signal-2) !important; }
.tm-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tm-field__hint { margin: 6px 0 0; font-size: 13px; color: var(--tm-ink-3); }

.tm-form__status { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; font-size: 15px; }
.tm-form__status.is-success { color: var(--tm-ok); }
.tm-form__status.is-error { color: var(--tm-signal-ink); }
.tm-form__hint { margin: 10px 0 0; font-size: 13px; color: var(--tm-ink-3); }
.tm-form__hint a { color: var(--tm-ink); }
.tm-form__error {
    margin: 0 0 16px; padding: 12px 16px; border-radius: var(--tm-r-sm);
    background: rgba(255, 91, 58, .1); color: var(--tm-signal-ink); font-weight: 600; font-size: 14px;
}
.tm-form__error.d-none { display: none; }
.tm-form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 22px 0 0; font-size: 15px; }
.tm-form__foot a { color: var(--tm-ink); font-weight: 700; }
.tm-form__foot--center { justify-content: center; color: var(--tm-ink-3); }
.tm-form__checkbox { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: 14px; color: var(--tm-ink-2); cursor: pointer; }
.tm-form__checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tm-ink); flex: none; }
.tm-form__checkbox a { color: var(--tm-ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Contacts
   -------------------------------------------------------------------------- */
.tm-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tm-contact {
    padding: 28px; border-radius: var(--tm-r); background: var(--tm-card); border: 1px solid var(--tm-line);
}
.tm-contact__label { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-ink-3); }
.tm-contact p { margin: 0; }
.tm-contact a { font-family: var(--tm-display); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.tm-contact a:hover { color: var(--tm-signal-ink); }
.tm-contact__hours { display: block; margin-top: 8px; font-size: 14px; color: var(--tm-ink-3); }

/* --------------------------------------------------------------------------
   Footer — big wordmark
   -------------------------------------------------------------------------- */
.tm-footer {
    background: var(--tm-ink); color: var(--tm-paper);
    border-radius: var(--tm-r-lg) var(--tm-r-lg) 0 0;
    padding: clamp(48px, 6vw, 80px) 0 28px;
    margin-top: clamp(40px, 5vw, 72px);
    overflow: hidden;
}
.tm-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.tm-footer__pitch { max-width: 440px; }
.tm-footer__pitch p { margin: 0 0 22px; font-family: var(--tm-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.tm-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; }
.tm-footer__nav a { color: #C9D3D0; text-decoration: none; font-weight: 600; }
.tm-footer__nav a:hover { color: var(--tm-lime); }
.tm-footer__word {
    display: block; margin: clamp(40px, 6vw, 80px) 0 0;
    font-family: var(--tm-display); font-weight: 700;
    font-size: clamp(64px, 17.5vw, 250px); line-height: .82; letter-spacing: -0.06em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(244, 241, 234, .28);
    white-space: nowrap; user-select: none;
}
.tm-footer__word i { font-style: normal; color: var(--tm-signal); -webkit-text-stroke: 0; }
.tm-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
    font-size: 14px; color: #9FAEAA;
}
.tm-footer__bottom a { color: inherit; }

.tm-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--tm-signal); color: var(--tm-ink); text-decoration: none; font-size: 20px; font-weight: 800;
    box-shadow: 0 16px 30px -14px rgba(17, 32, 30, .6);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s, transform .25s var(--tm-ease), visibility .25s;
}
.tm-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   /sms/ specifics
   -------------------------------------------------------------------------- */
.tm-hero--sms .tm-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.tm-hero--sms .tm-phone { transform: rotate(2.5deg); }
.tm-hero__phone { position: relative; }
.tm-hero__badge {
    position: absolute; z-index: 2; left: -8px; bottom: 56px;
    background: var(--tm-ink); color: var(--tm-paper);
    border-radius: 20px; padding: 14px 18px;
    box-shadow: 0 24px 40px -24px rgba(17, 32, 30, .8);
    transform: rotate(-3deg);
}
.tm-hero__badge b { display: block; font-family: var(--tm-display); font-weight: 600; font-size: 24px; color: var(--tm-lime); letter-spacing: -0.03em; }
.tm-hero__badge span { font-size: 13px; color: #C9D3D0; }

.tm-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tm-feature {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start;
    padding: clamp(24px, 3vw, 36px); border-radius: var(--tm-r-lg);
    background: var(--tm-card); border: 1px solid var(--tm-line);
}
.tm-feature:nth-child(2) { background: var(--tm-deep); border-color: var(--tm-deep); color: var(--tm-on-deep); }
.tm-feature:nth-child(2) .tm-text { color: var(--tm-on-deep-2); }
.tm-feature:nth-child(2) .tm-tile__icon { background: var(--tm-lime); }
.tm-feature:nth-child(3) { background: var(--tm-paper-2); }
.tm-feature .tm-h3 { margin: 4px 0 10px; }

.tm-industries { display: flex; flex-wrap: wrap; gap: 12px; }
.tm-industry {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 12px 24px 12px 12px; border-radius: 999px;
    background: var(--tm-card); border: 1px solid var(--tm-line);
    font-family: var(--tm-display); font-weight: 500; font-size: clamp(15px, 1.4vw, 18px); letter-spacing: -0.01em;
    transition: background-color .2s var(--tm-ease), color .2s var(--tm-ease);
}
.tm-industry svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--tm-paper-2); flex: none; }
.tm-industry:hover { background: var(--tm-ink); color: var(--tm-paper); }
.tm-industry:hover svg { background: var(--tm-signal); color: var(--tm-ink); }

.tm-pricing { background: var(--tm-card); border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 10px; }
.tm-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tm-price {
    width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.tm-price th, .tm-price td { padding: 16px 18px; text-align: right; white-space: nowrap; }
.tm-price th:first-child, .tm-price td:first-child { text-align: left; }
.tm-price thead th { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tm-ink-3); border-bottom: 1px solid var(--tm-line); }
.tm-price thead tr:first-child th { padding-bottom: 6px; }
.tm-price .tm-price__group { text-align: center; color: var(--tm-ink); }
.tm-price .tm-price__sub { font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 700; padding-top: 6px; }
.tm-price tbody td { font-weight: 600; border-bottom: 1px solid var(--tm-line); }
.tm-price tbody tr:last-child td { border-bottom: 0; }
.tm-price tbody td:first-child { font-family: var(--tm-display); font-weight: 500; letter-spacing: -0.01em; }
.tm-price tbody tr:hover td { background: var(--tm-paper); }
.tm-price td.tm-price__hl, .tm-price th.tm-price__hl { background: rgba(212, 243, 106, .35); }
.tm-price tbody tr:hover td.tm-price__hl { background: rgba(212, 243, 106, .55); }
.tm-price__note { margin: 16px 8px 6px; font-size: 14px; color: var(--tm-ink-3); }

.tm-cta {
    position: relative; overflow: hidden;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px;
    padding: clamp(32px, 5vw, 64px);
    background: var(--tm-signal); color: var(--tm-ink);
    border-radius: var(--tm-r-lg);
}
.tm-cta::after {
    content: ""; position: absolute; right: -60px; bottom: -120px;
    width: 340px; height: 340px; border-radius: 50%;
    border: 2px solid rgba(17, 32, 30, .18);
    box-shadow: 0 0 0 50px rgba(17, 32, 30, .05);
}
.tm-cta > * { position: relative; z-index: 1; }
.tm-cta p { margin: 12px 0 0; font-weight: 600; }
.tm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tm-faq { display: grid; gap: 12px; }
.tm-faq__item {
    background: var(--tm-card); border: 1px solid var(--tm-line);
    border-radius: var(--tm-r); overflow: hidden;
    transition: border-color .2s var(--tm-ease);
}
.tm-faq__item[open] { border-color: var(--tm-ink); }
.tm-faq__item summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 24px; font-weight: 700; font-size: 17px;
}
.tm-faq__item summary::-webkit-details-marker { display: none; }
.tm-faq__item summary::after {
    content: "+"; flex: none; display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--tm-paper-2); font-size: 22px; font-weight: 500; line-height: 1;
    transition: transform .25s var(--tm-ease), background-color .2s;
}
.tm-faq__item[open] summary::after { transform: rotate(45deg); background: var(--tm-signal); }
.tm-faq__answer { padding: 0 24px 24px; color: var(--tm-ink-2); }
.tm-faq__answer p { margin: 0 0 10px; }
.tm-faq__answer ul { margin: 6px 0 10px; padding-left: 20px; }
.tm-faq__answer li { margin: 4px 0; }
.tm-faq-group + .tm-faq-group { margin-top: 48px; }
.tm-faq-group__title { margin: 0 0 18px; }
.tm-faq-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tm-faq-layout__aside { position: sticky; top: 110px; }

/* --------------------------------------------------------------------------
   Page head (secondary pages)
   -------------------------------------------------------------------------- */
.tm-pagehead { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.tm-pagehead .tm-h1 { font-size: clamp(32px, 4.6vw, 60px); }
.tm-pagehead .tm-lead { margin-top: 18px; }

/* Legal */
.tm-legal { padding-bottom: clamp(48px, 6vw, 96px); }
.tm-legal__inner {
    max-width: 860px;
    background: var(--tm-card); border: 1px solid var(--tm-line);
    border-radius: var(--tm-r-lg); padding: clamp(24px, 5vw, 64px);
}
.tm-legal__updated { display: inline-block; margin: 0 0 22px; padding: 6px 12px; border-radius: 999px; background: var(--tm-paper-2); font-size: 13px; font-weight: 700; color: var(--tm-ink-2); }
.tm-legal__note {
    margin: 0 0 32px; padding: 18px 20px; border-radius: var(--tm-r-sm);
    background: rgba(255, 91, 58, .1); border-left: 4px solid var(--tm-signal);
    color: var(--tm-ink-2); font-size: 15px;
}
.tm-legal__inner h2 {
    font-family: var(--tm-display); font-weight: 600; font-size: clamp(18px, 1.8vw, 22px);
    letter-spacing: -0.02em; margin: 36px 0 12px;
}
.tm-legal__inner p, .tm-legal__inner li { color: var(--tm-ink-2); }
.tm-legal__inner p { margin: 0 0 12px; }
.tm-legal__inner ul { margin: 0 0 12px; padding-left: 22px; }
.tm-legal__inner li { margin: 6px 0; }
.tm-legal__inner a { color: var(--tm-signal-ink); font-weight: 700; }
.tm-legal__back { margin-top: 40px; }

/* --------------------------------------------------------------------------
   Auth — login / registration / password
   -------------------------------------------------------------------------- */
.tm-auth {
    min-height: 100vh; min-height: 100dvh;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.tm-auth__form {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(28px, 5vw, 72px) var(--tm-gut);
}
.tm-auth__inner { width: 100%; max-width: 440px; margin: 0 auto; }
.tm-auth__logo { margin-bottom: clamp(32px, 6vh, 64px); }
.tm-auth__title { font-family: var(--tm-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; }
.tm-auth__subtitle { margin: 0 0 32px; color: var(--tm-ink-3); }
.tm-auth__panel {
    position: relative; overflow: hidden;
    margin: 12px 12px 12px 0; border-radius: var(--tm-r-lg);
    background: var(--tm-deep); color: var(--tm-on-deep);
    padding: clamp(32px, 5vw, 72px);
    display: flex; flex-direction: column; justify-content: flex-end;
}
.tm-auth__panel::before {
    content: ""; position: absolute; right: -25%; top: -20%;
    width: 90%; aspect-ratio: 1; border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,.16);
    box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02);
}
.tm-auth__panel::after {
    content: ""; position: absolute; right: 20%; top: 18%;
    width: 18px; height: 18px; border-radius: 50%; background: var(--tm-signal);
    box-shadow: 0 0 0 10px rgba(255, 91, 58, .18);
}
.tm-auth__panel > * { position: relative; }
.tm-auth__brandtitle { font-family: var(--tm-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 18px; color: var(--tm-on-deep); }
.tm-auth__brandtext { margin: 0; max-width: 30em; color: var(--tm-on-deep-2); font-size: 17px; }
.tm-auth__points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-auth__points li {
    padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}
.tm-auth__points li:first-child { background: var(--tm-lime); color: var(--tm-ink); border-color: var(--tm-lime); }
.tm-auth__success, .tm-auth__error-box {
    padding: 28px; border-radius: var(--tm-r); background: var(--tm-card); border: 1px solid var(--tm-line);
}
.tm-auth__success { border-color: var(--tm-ok); }
.tm-auth__success h3, .tm-auth__error-box h3 { font-family: var(--tm-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 10px; }
.tm-auth__success p, .tm-auth__error-box p { margin: 0; color: var(--tm-ink-2); }
.tm-auth-top { display: none; }

/* --------------------------------------------------------------------------
   Reveal on scroll (armed only once JS confirms the observer exists)
   -------------------------------------------------------------------------- */
.tm-reveal-armed .tm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--tm-ease), transform .7s var(--tm-ease); }
.tm-reveal-armed .tm-reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .tm-nav__link { padding: 10px 10px; font-size: 14px; }
    .tm-tile--7, .tm-tile--5 { grid-column: span 6; }
}

@media (max-width: 960px) {
    .tm-header__bar { padding-left: 16px; }
    .tm-nav__toggle { display: block; }
    .tm-nav__list {
        position: absolute; left: var(--tm-gut); right: var(--tm-gut); top: calc(100% + 4px);
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 12px; border-radius: var(--tm-r);
        background: var(--tm-card); border: 1px solid var(--tm-line-2);
        box-shadow: 0 30px 50px -30px rgba(17, 32, 30, .5);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .2s var(--tm-ease), visibility .2s;
    }
    .tm-nav__list.is-open { opacity: 1; visibility: visible; transform: none; }
    .tm-nav__link { padding: 14px 16px; font-size: 16px; }
    .tm-nav__cta { margin: 8px 0 0; flex-direction: column; }
    .tm-nav__cta .tm-btn { min-height: 52px; font-size: 15px; }

    .tm-hero__grid, .tm-hero--sms .tm-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .tm-orbit { max-width: 440px; margin: 8px auto 0; }
    .tm-section__head { grid-template-columns: minmax(0, 1fr); }
    .tm-section__head .tm-lead { justify-self: start; }
    .tm-band { grid-template-columns: minmax(0, 1fr); }
    .tm-request { grid-template-columns: minmax(0, 1fr); }
    .tm-path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .tm-path::before { display: none; }
    .tm-features { grid-template-columns: minmax(0, 1fr); }
    .tm-faq-layout { grid-template-columns: minmax(0, 1fr); }
    .tm-faq-layout__aside { position: static; }
    .tm-auth { grid-template-columns: minmax(0, 1fr); }
    .tm-auth__panel { display: none; }
}

@media (max-width: 680px) {
    .tm-tile--7, .tm-tile--5 { grid-column: 1 / -1; }
    .tm-tile { min-height: 0; }
    .tm-tile__title { margin-top: 32px; }
    .tm-facts { grid-template-columns: minmax(0, 1fr); }
    .tm-facts li, .tm-facts li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--tm-line-2); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
    .tm-facts span { margin: 0; text-align: right; }
    .tm-path { grid-template-columns: minmax(0, 1fr); }
    .tm-contacts { grid-template-columns: minmax(0, 1fr); }
    .tm-field__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .tm-orbit { max-width: 290px; margin-top: 20px; }
    .tm-orbit__node > span { font-size: 12px; padding: 8px 12px 8px 10px; gap: 6px; }
    .tm-orbit__node > span::before { width: 7px; height: 7px; }
    .tm-footer__nav { grid-template-columns: minmax(0, 1fr); }
    .tm-hero__badge { left: 0; bottom: 24px; }
    .tm-hero--sms .tm-phone { transform: none; }
    .tm-btn--lg { width: 100%; }
    .tm-hero__actions .tm-link { margin: 0 auto; }
}

/* FAQ page table of contents */
.tm-faq-toc { list-style: none; margin: 0; padding: 22px; display: grid; gap: 14px; background: var(--tm-card); border: 1px solid var(--tm-line); border-radius: var(--tm-r); }
.tm-faq-toc .tm-link { font-size: 15px; }
.tm-faq-group { scroll-margin-top: 100px; }
.tm-pagehead .tm-lead a { color: var(--tm-signal-ink); font-weight: 700; }

/* Auth: close button back to the site */
.tm-auth-close {
    position: fixed; z-index: 50; right: 30px; top: 30px;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--tm-card); border: 1px solid var(--tm-line-2); color: var(--tm-ink);
    font-size: 24px; line-height: 1; text-decoration: none;
    transition: background-color .2s var(--tm-ease);
}
.tm-auth-close:hover { background: var(--tm-paper-2); }
@media (max-width: 960px) { .tm-auth-close { right: 16px; top: 16px; } }
