/* TIR Logix landing — direction A (product-led), same tokens as the app's styles.css */
:root {
  --bg: #f5f6f8; --panel: #fff; --border: #dfe3e8; --line: #eceff3;
  --text: #1c2430; --body: #4b5563; --muted: #6b7684;
  --accent: #1d5bbf; --accent-dark: #174a9c; --accent-soft: #e8f0fc; --pos: #157347;
  --gutter: clamp(16px, 5.5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; height: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 8px; padding: 8px 14px; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: #b9c3d0; color: var(--text); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.lg { padding: 13px 22px; font-size: 16px; }
.muted { font-size: 13.5px; color: var(--muted); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); z-index: 5; }
.logo { display: flex; align-items: center; }
.logo img { height: 58px; width: auto; display: block; }
.foot { align-items: center; }
.foot-logo { height: 34px; width: auto; vertical-align: middle; margin-right: 6px; }
.nav { display: flex; gap: 28px; font-size: 14.5px; }
.nav a { color: var(--body); }
.nav a:hover { color: var(--text); }
.actions { display: flex; gap: 10px; align-items: center; }
.lang { font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.lang:hover { background: var(--bg); }

.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 72px var(--gutter) 56px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 14px; letter-spacing: .03em; }
.hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: pretty; }
.hero p { font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.shot { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(28,36,48,.14); background: var(--bg); }
.shot img { display: block; width: 100%; }

.block { padding: 56px var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.block.bordered { border-top: 1px solid var(--line); }
.block.soft { background: var(--bg); }
.intro { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.intro h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; }
.intro p { font-size: 16px; color: var(--body); }

.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: 10px; padding: 22px 22px 24px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.card .num { width: 34px; height: 34px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.card h3 { font-size: 17px; font-weight: 700; }
.card p { color: var(--body); font-size: 14.5px; }
.dashed { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px dashed #b9c3d0; border-radius: 10px; }
.dashed strong { font-size: 15.5px; }
.dashed span { font-size: 14px; color: var(--body); line-height: 1.45; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--bg); border-radius: 10px; }
.step .k { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.step strong { font-size: 16px; }
.step span:last-child { font-size: 13.5px; color: var(--body); line-height: 1.45; }
.after { font-size: 15px; background: var(--accent-soft); border-radius: 10px; padding: 16px 20px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { border: 1px solid var(--border); border-radius: 12px; padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.plan.popular { border-color: var(--accent); box-shadow: 0 8px 30px rgba(29,91,191,.12); }
.plan .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px; letter-spacing: .04em; background: var(--bg); color: var(--muted); }
.plan.popular .tag { background: var(--accent); color: #fff; }
.plan.custom .tag { background: #fdf3e3; color: #a05a00; }
.plan .name { font-size: 20px; }
.plan .who { font-size: 14px; color: var(--muted); margin-top: -6px; }
.plan .price { font-size: 28px; font-weight: 700; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.plan .note { font-size: 13.5px; color: var(--muted); min-height: 40px; }
.plan .btn { margin-top: auto; }
.explain { font-size: 15px; color: var(--body); max-width: 900px; }
.every { display: flex; gap: 40px; align-items: flex-start; }
.every strong { font-size: 15px; white-space: nowrap; padding-top: 2px; }
.every ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; flex: 1; }
.every li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.every li span { color: var(--pos); font-weight: 700; }

.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; padding-block: 64px; }
.contact-text { display: flex; flex-direction: column; gap: 14px; }
.contact-text h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; }
.contact-text p { font-size: 16px; color: var(--body); line-height: 1.55; }
.contacts { font-size: 15px; margin-top: 8px; }
.lead { border: 1px solid var(--border); border-radius: 12px; padding: 28px; background: #fff; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.fields .wide { grid-column: span 2; }
.fields input, .fields textarea { font: inherit; font-weight: 400; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--text); font-size: 14.5px; width: 100%; }
.fields input:focus, .fields textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.fields textarea { resize: vertical; min-height: 88px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; background: #e6f4ec; color: var(--pos); }
.status.err { background: #fdecea; color: #c0392b; }

.foot { padding: 26px var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }

@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .every ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 32px; }
  .plans { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .every { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .top { padding-block: 12px; }
  .actions .btn:not(.primary) { display: none; }
  .grid4, .steps { grid-template-columns: 1fr; }
  .every ul { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .fields .wide { grid-column: auto; }
  .lead { padding: 18px; }
  .block { padding-block: 40px; gap: 20px; }
}
