/* Techxot AVI: public website. Follows Techxot's marketing landing pages (Figma, "Landing page 2 v5"):
   Poppins headings and DM Sans text; a black hero with a blue glow; white and light-grey sections with
   the second line of each heading in Techxot blue; white cards with soft shadows; green call-to-action
   buttons; a black footer. */
:root {
  --ink: #0f0f0f; --text: #3a3f45; --body: #636a71; --muted: #757575; --line: #dadee3; --white: #fff;
  --soft: #f8f8f8; --soft-blue: #f2f2fd; --black: #000; --navy: #090342;
  --blue: #3343f6; --blue-light: #6c78ff; --blue-tint: #e6e8fe;
  --lime: #a1e300; --g1: #70df1e; --g2: #55de3e;
  --grad: linear-gradient(90deg, var(--lime), var(--g2));
  --good: #0ca30c; --warn: #fab219; --bad: #d03b3b;
  --wrap: 1180px; --radius: 16px;
  --shadow: 0 10px 34px rgba(15, 15, 15, .07);
  --head: Poppins, "Segoe UI", Arial, sans-serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--text); background: var(--white); }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.8vw, 56px); line-height: 1.14; }
h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.22; }
h3 { font-size: 20px; line-height: 1.35; }
p { margin: 0 0 14px; }
/* The highlighted part of a heading: Techxot blue, as on the landing pages. */
.grad { color: var(--blue); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.lede { font-size: 19px; color: var(--body); max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; } .center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font: 600 16px/1.4 var(--head); text-decoration: none; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(15, 15, 15, .14); }
.btn.primary { background: var(--grad); border-color: transparent; color: var(--ink); }
.btn.primary:hover { box-shadow: 0 8px 22px rgba(85, 222, 62, .35); }
.btn.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn.small { padding: 9px 18px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center .cta-row { justify-content: center; }

/* Header: black, as the landing pages' navigation over their dark hero. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid #1d1d22; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 80px; }
.logo img { height: 26px; width: auto; display: block; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; color: var(--white); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.nav > a, .nav > .menu > button { font: 500 15.5px var(--sans); color: #e4e6ea; text-decoration: none; background: none; border: 0; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.nav > a:hover, .nav > .menu > button:hover, .menu.open > button, .nav > a[aria-current] { background: #1d1d24; color: var(--white); }
.menu { position: relative; }
.menu > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 9px; }
.menu.open > button::after { transform: rotate(-135deg) translateY(-2px); }
.panel { display: none; position: absolute; top: calc(100% + 14px); left: -20px; width: min(760px, 92vw); background: var(--white); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(15, 15, 15, .22); padding: 22px; }
.menu.open .panel { display: block; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.panel a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.panel a:hover { background: var(--soft-blue); }
.panel strong { display: block; font: 600 17px var(--head); color: var(--ink); }
.panel span { font-size: 14px; color: var(--muted); }
.panel .wide { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 8px; padding-top: 16px; }
.panel .wide strong { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .signin { font-size: 15px; text-decoration: none; padding: 8px 10px; white-space: nowrap; color: #e4e6ea; }
.header-actions .btn:not(.primary):not(.dark) { border-color: #5b5f66; color: var(--white); }
.header-actions .btn.dark { background: var(--blue); border-color: var(--blue); }
.burger { display: none; background: none; border: 1px solid #3a3d44; color: var(--white); border-radius: 8px; width: 42px; height: 42px; font-size: 20px; cursor: pointer; }

/* Sections */
section { padding: 84px 0; }
section.soft { background: var(--soft); }
section.tint { background: var(--soft-blue); }
section.dark, .hero, .page-hero { background: radial-gradient(ellipse 60% 90% at 88% 20%, rgba(51, 67, 246, .55), transparent 70%), radial-gradient(ellipse 40% 60% at 10% 100%, rgba(51, 67, 246, .18), transparent 70%), var(--black); color: #c9ccd2; }
section.dark h2, section.dark h3, .hero h1, .hero h3:not(.demo h3), .page-hero h1 { color: var(--white); }
section.dark .grad, .hero .grad, .page-hero .grad { color: var(--blue-light); }
.hero .lede, .page-hero .lede, section.dark .lede { color: #c9ccd2; }
.hero .eyebrow, .page-hero .eyebrow { color: #a5abb4; }
.hero > .wrap > div > .muted, .page-hero .muted { color: #a5abb4; }
.hero .btn:not(.primary), .page-hero .btn:not(.primary), section.dark .btn:not(.primary) { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.hero .ticks li { color: #dfe2e7; }
.hero { padding: 76px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.page-hero { padding: 72px 0 64px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding: 0 0 12px 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-tint); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero .ticks li::before { background: var(--blue); }
.hero .ticks li::after { border-color: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid transparent; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: border-color .15s; }
.card:hover { border-color: var(--g2); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); }
.card p:last-child { margin-bottom: 0; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font: 600 16px var(--head); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 8px 18px; font-weight: 500; color: var(--ink); border-left: 3px solid var(--blue); }

/* Illustrative panels (examples, not customer data) */
.demo { background: var(--white); border-radius: 20px; padding: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); color: var(--text); }
.demo-tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.demo-head { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.gauge { --v: 40; --c: var(--warn); width: 96px; height: 96px; border-radius: 50%; flex: none; background: conic-gradient(var(--c) calc(var(--v) * 1%), #e9ebee 0); display: grid; place-items: center; }
.gauge::before { content: attr(data-score); width: 74px; height: 74px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font: 600 26px var(--head); color: var(--ink); }
.bar-row { display: grid; grid-template-columns: 130px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; padding: 5px 0; }
.bar-row .track { height: 9px; border-radius: 5px; background: #e9ebee; overflow: hidden; }
.bar-row .track i { display: block; height: 100%; border-radius: 5px; background: #c5cad0; }
.bar-row.me { font-weight: 700; color: var(--ink); } .bar-row.me .track i { background: var(--blue); }
.bar-row span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.line-item { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.line-item:last-child { border-bottom: 0; }
.pill { font-size: 12.5px; border-radius: 999px; padding: 2px 10px; white-space: nowrap; background: var(--soft-blue); color: var(--ink); }
.pill.high { background: #fde3e3; } .pill.mid { background: #fff1cf; } .pill.ok { background: #dcf6dc; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--g2); box-shadow: 0 24px 60px rgba(15, 15, 15, .12); }
.plan .badge { align-self: flex-start; background: var(--grad); color: var(--ink); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }
.plan .price { font: 600 42px/1.1 var(--head); color: var(--ink); margin: 14px 0 2px; }
.plan .price small { font: 400 16px var(--sans); color: var(--muted); }
.plan .limits { list-style: none; padding: 16px 0; margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.plan .limits li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.plan .limits strong { font-weight: 700; color: var(--ink); text-align: right; }
.plan .ticks { font-size: 15px; margin-top: 0; flex: 1; }
.plan .btn { text-align: center; margin-top: 18px; }
.draft { background: #fff1cf; border: 1px solid #ecd28a; border-radius: 10px; padding: 10px 16px; font-size: 14.5px; margin-bottom: 24px; }
.free-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--soft-blue); border-radius: 20px; padding: 24px 28px; margin-top: 22px; }
details { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 18px 22px; margin-bottom: 12px; }
details summary { cursor: pointer; font: 600 17px var(--head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; max-width: 780px; color: var(--body); }
.faq { max-width: 860px; margin: 28px auto 0; }

/* Form (free snapshot) */
.form-card { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); color: var(--text); }
.form-card h3 { color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 5px; }
.field input, .field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.consent input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; border: 1px solid var(--line); background: var(--soft-blue); }
.notice.error { border-color: var(--bad); color: #9b1c1c; background: #fdf1f1; }
.progress { height: 8px; background: #e9ebee; border-radius: 4px; margin-top: 12px; overflow: hidden; }
.progress div { height: 100%; background: var(--blue); }
.result { text-align: center; }
.result .big { font: 600 72px/1 var(--head); color: var(--ink); }

/* Footer: a black block, as on the landing pages. */
.site-footer { background: var(--black); color: #b9bdc4; padding: 60px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer img { height: 26px; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font: 600 15px var(--head); margin: 0 0 12px; }
.site-footer a { display: block; text-decoration: none; color: #b9bdc4; padding: 3px 0; }
.site-footer a:hover { color: var(--white); }
.legal a { display: inline-block; white-space: nowrap; margin-left: 18px; padding: 0; color: #b9bdc4; text-decoration: underline; text-underline-offset: 3px; }
.legal { border-top: 1px solid #26262c; margin-top: 36px; padding-top: 18px; font-size: 13.5px; color: #80858c; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 940px) {
  section { padding: 56px 0; }
  .hero-grid, .split, .plans, .cards, .cards.two, .cards.four, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > :first-child { order: 0; }
  .burger { display: block; margin-left: auto; }
  .nav, .header-actions { display: none; }
  .site-header.open .wrap { height: auto; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; row-gap: 10px; }
  .site-header.open .nav, .site-header.open .header-actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 4px; margin: 0; }
  .site-header.open .header-actions .btn { text-align: center; }
  /* An open menu can be taller than the screen: it scrolls itself, and the page behind it stays put. */
  .site-header.open { max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open { overflow: hidden; }
  .site-header.open .header-actions .signin { padding: 10px 14px; }
  .site-header.open .nav > .menu > button { width: 100%; text-align: left; }
  /* The product list is kept short on a phone: titles only. */
  .panel { padding: 8px; border-radius: 12px; }
  .panel a { padding: 9px 12px; }
  .panel strong { font-size: 15.5px; }
  .panel span { display: none; }
  .panel .wide { margin-top: 4px; padding-top: 10px; }
  .panel { position: static; width: 100%; box-shadow: none; margin-top: 6px; }
  .panel-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 96px 1fr 40px; }
}

/* "Talk to us" pop-up */
dialog.contact { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; border: 0; border-radius: 20px; padding: 0; background: var(--white); color: var(--text); box-shadow: 0 30px 80px rgba(15, 15, 15, .3); }
dialog.contact::backdrop { background: rgba(0, 0, 0, .6); }
.contact-body { padding: 30px 30px 28px; }
.contact-body h2 { font-size: 26px; }
.contact-body > p { margin: 6px 0 20px; }
.contact-close { position: absolute; top: 12px; right: 14px; margin: 0; }
.contact-close button { border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.contact-close button:hover { background: var(--soft); color: var(--ink); }
.field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); resize: vertical; min-height: 110px; }
.field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* Feedback right under the buttons that caused it. */
.saved-note { margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: 15px; background: #eaf8ea; color: #0b5d1e; border: 1px solid #bfe5c2; }
.saved-note.error { background: #fdecec; color: #8a1c1c; border-color: #f2c1c1; }
.new-row td { background: #f2fbe9; }
.market-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.market-pick label { font-weight: 700; color: var(--ink); }
.market-pick select { width: auto; min-width: 200px; }

/* Agency dashboard */
.table-scroll { overflow-x: auto; }
table.clients { min-width: 720px; }
.clients td { vertical-align: top; }
.share-row td { background: var(--soft); }
.share .people { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.share .people li { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.share-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-form input { flex: 1 1 220px; }
.share-form select { flex: 0 1 260px; width: auto; }
.brand-preview { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; margin: 6px 0 4px; max-width: 520px; }
.brand-preview img { max-height: 36px; max-width: 220px; }
.brand-preview span { width: 64px; height: 6px; border-radius: 3px; }

.plan .per-client { margin: -4px 0 6px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* The markets a brand is tracked in, under its name */
.markets-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; }
.market-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--ink); font-size: 14px; font-weight: 600; }
.market-chip .x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; }
.markets-row select { width: auto; min-width: 180px; padding: 6px 10px; }
select.add-market { margin-top: 6px; width: auto; padding: 4px 8px; font-size: 13.5px; }

/* Link-style buttons, and dropdowns outside a form field, as on the rest of the site */
button.link { border: 0; background: none; padding: 2px 0; font: 500 15px var(--sans); color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
button.link:hover { color: var(--ink); }
#view select, .share-form input { font: inherit; font-size: 14.5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
#view select:focus, .share-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
