/* TechnoPlanet Enterprise marketing website
   Palette taken from the logo: red arc #D80000, near-black wordmark #101010, globe navy #243084, grey #808080. */

:root {
  --red: #d80000;
  --red-dark: #b00000;
  --red-soft: #fff1f1;
  --navy: #243084;
  --navy-soft: #eef0fb;
  --ink: #101010;
  --text: #1d1d22;
  --muted: #5b5f66;
  --grey: #808080;
  --line: #e5e6ea;
  --bg: #f6f6f8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 16, 16, .05), 0 6px 20px rgba(16, 16, 16, .06);
  --shadow-lg: 0 18px 44px rgba(16, 16, 16, .14);
  --max: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }

/* Icons */
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex-shrink: 0; }
.icon.sm { width: .95em; height: .95em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.3em; border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(216, 0, 0, .28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--red-soft); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { padding: .85em 1.6em; font-size: 1rem; }
.btn-sm { padding: .45em .9em; font-size: .85rem; }
.btn-block { width: 100%; }

/* Top bar & header */
.topbar { background: var(--ink); color: #d4d4d8; font-size: .8125rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #e5e5e8; display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; }
.topbar a:hover { color: #fff; }
.topbar-motto { letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; color: #fff; }
.topbar-motto::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-right: 8px; }
@media (max-width: 860px) { .topbar-links a:not(:first-child) { display: none; } .topbar-motto { display: none; } .topbar-inner { justify-content: center; } .topbar a { margin: 0; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; padding-top: 8px; padding-bottom: 8px; }
.brand img { display: block; width: 132px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a, .menu-btn { display: inline-flex; align-items: center; gap: 4px; padding: .6em .85em; color: var(--ink); font-weight: 600; font-size: .94rem; border-radius: 8px; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.site-nav a:hover, .menu-btn:hover, .site-nav li.active > a, .site-nav li.active > .menu-btn { color: var(--red); background: var(--red-soft); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a { color: #fff; background: var(--red); }
.site-nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
.has-menu { position: relative; }
.submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 330px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px !important; display: none !important; flex-direction: column; align-items: stretch !important; }
.has-menu.open > .submenu, .has-menu:hover > .submenu, .has-menu:focus-within > .submenu { display: flex !important; }
.has-menu.dismissed > .submenu { display: none !important; }
.submenu a { align-items: flex-start; gap: 12px; padding: .7em .8em; width: 100%; }
.submenu a .icon { margin-top: 3px; color: var(--red); width: 1.3em; height: 1.3em; }
.submenu a span { display: flex; flex-direction: column; }
.submenu a small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.submenu-all a { color: var(--red); justify-content: center; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); cursor: pointer; font-size: 1.2rem; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 120px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 0; }
  .site-nav a, .menu-btn { width: 100%; padding: .85em .4em; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .submenu { position: static; display: none !important; border: 0; box-shadow: none; padding: 0 0 0 10px !important; min-width: 0; }
  .has-menu:hover > .submenu { display: none !important; }
  .has-menu.open > .submenu { display: flex !important; }
  .site-nav .nav-cta { margin: 14px 0 0; }
  .site-nav .nav-cta a { justify-content: center; border-radius: 10px; border: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7f7fa 100%); padding: 64px 0 56px; }
.hero-arc { position: absolute; right: -180px; top: -260px; width: 760px; height: 760px; border-radius: 50%; border: 56px solid rgba(216, 0, 0, .07); box-shadow: inset 0 0 0 58px rgba(36, 48, 132, .05); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 3px; background: var(--red); border-radius: 2px; vertical-align: middle; margin-right: 10px; }
.section-head.center .eyebrow::before { display: none; }
.lead { font-size: 1.2rem; color: #3b3d43; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; color: #3b3d43; }
.hero-points .icon { color: var(--red); }
.suite { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.suite-head { padding: 16px 20px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.suite-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(216, 0, 0, .15); }
.suite-grid { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.suite-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .84rem; line-height: 1.3; height: 100%; text-decoration: none; transition: background .15s, transform .15s; }
.suite-grid a:hover { background: var(--red-soft); transform: translateY(-2px); }
.suite-foot { display: flex; justify-content: center; gap: 8px; padding: 14px; font-weight: 600; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 40px 0; } .hero-arc { right: -300px; top: -380px; } }
@media (max-width: 520px) { .suite-grid { grid-template-columns: repeat(2, 1fr); } .lead { font-size: 1.05rem; } }

.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; padding-top: 26px; padding-bottom: 26px; }
.stats-grid strong { display: block; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: #fff; line-height: 1.1; }
.stats-grid strong::after { content: ''; display: block; width: 28px; height: 3px; background: var(--red); margin: 8px auto 6px; border-radius: 2px; }
.stats-grid span { font-size: .85rem; color: #c4c4ca; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding: 76px 0; }
.section.tight { padding: 40px 0 64px; }
.section.alt { background: var(--bg); }
.section.dark { background: linear-gradient(135deg, #141414, #1c1f3a); color: #d8d8de; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead { color: #c9c9d1; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.more { margin-top: 30px; }
@media (max-width: 640px) { .section { padding: 52px 0; } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.tight-grid { gap: 0 16px; }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card, .tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; display: flex; flex-direction: column; gap: 6px; }
.card:hover, .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(216, 0, 0, .4); }
.card::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: var(--red); border-radius: 0 0 3px 3px; transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.card:hover::before { transform: scaleX(1); }
.tile { text-decoration: none; color: var(--text); }
.tile:hover { text-decoration: none; }
.tile strong { color: var(--ink); font-size: 1.02rem; }
.card h3 { margin: 4px 0 0; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-cat { font-size: .72rem !important; text-transform: uppercase; letter-spacing: .09em; color: var(--navy) !important; font-weight: 700; margin: 8px 0 0 !important; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: 1.35rem; flex-shrink: 0; }
.card-icon.xl { width: 72px; height: 72px; font-size: 2.1rem; border-radius: 18px; }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.stretch { color: var(--ink); text-decoration: none !important; }
.stretch::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.stretch:hover { color: var(--red); }
.badge { display: inline-block; padding: .2em .7em; border-radius: 99px; background: var(--bg); color: #3b3d43; font-size: .76rem; font-weight: 600; border: 1px solid var(--line); white-space: nowrap; }
.badge-navy { background: var(--navy-soft); color: var(--navy); border-color: #d5d9f3; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mini-list { list-style: none; padding: 0; margin: 8px 0 4px; display: grid; gap: 4px; font-size: .9rem; color: #3b3d43; }
.mini-list .icon { color: var(--red); }
.hub-card { gap: 8px; }

/* Method steps */
.method { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: m; }
.method li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px; }
.method.light li { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.method.light h3 { color: var(--ink); }
.method.light p { color: var(--muted); }
.method h3 { margin: 10px 0 6px; }
.method p { margin: 0; font-size: .94rem; color: #c9c9d1; }
.method-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; }
@media (max-width: 860px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .method { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, #fff, #f6f6f8); border-bottom: 1px solid var(--line); padding: 38px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 38px solid rgba(216, 0, 0, .06); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--grey); }
.crumbs a { color: var(--muted); }
.product-head { display: flex; gap: 22px; align-items: flex-start; }
.product-head h1 { margin-bottom: .3em; }
@media (max-width: 560px) { .product-head { flex-direction: column; } }
.product-body { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.product-body h2 { font-size: 1.4rem; margin-top: 1.4em; }
.product-body h2:first-child { margin-top: 0; }
.answer-lead { font-size: 1.1rem; color: #2c2e33; }
@media (max-width: 900px) { .product-body { grid-template-columns: 1fr; } }
.side-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.side-card h2 { font-size: 1.15rem !important; margin-top: 0 !important; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--red); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; margin-top: 2px; }
.dot-list { padding-left: 1.1em; }
.dot-list li { margin-bottom: 6px; }
.stat-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.stat-list strong { color: var(--red); font-size: 1.4rem; margin-right: 6px; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--red); margin-top: 4px; }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: .45em 1em; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: none !important; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); color: #fff; border-color: var(--red); }
[data-category][hidden] { display: none !important; }

.partner { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.partner > div { flex: 1; min-width: 240px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: '−'; }
.faq summary h3 { margin: 0; font-size: 1.02rem; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #ef3a22); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe3e3; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: .75em .9em; border: 1px solid #c9cbd2; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 0, 0, .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; }
.notice h2 { font-size: 1.3rem; margin-bottom: .3em; }
.notice.success { background: #effaf1; border: 1px solid #b7e4c1; color: #14532d; }
.notice.error { background: var(--red-soft); border: 1px solid #f5b5b5; color: #7f1d1d; }

/* Footer */
.site-footer { background: #121212; color: #c9c9cf; padding-top: 56px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand img { display: block; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 10px; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer a { color: #d9d9de; }
.site-footer a:hover { color: #fff; }
.footer-contact { margin-top: 16px; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 14px 0 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #3a3a40; font-size: 1.1rem; }
.social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2b2b31; padding-top: 18px; padding-bottom: 22px; font-size: .85rem; color: #a9a9b1; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .cta-band, .site-footer, .nav-toggle { display: none; } }
@media (max-width: 520px) { .suite-grid li:nth-child(n+9) { display: none; } }
