/*
Theme Name: SEMCO
Description: Eigenes, schlankes Theme der SEMCO Seminarsoftware. Barrierefrei, responsiv, ohne Page-Builder.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: semco
*/

@font-face {
  font-family: "Jakarta";
  src: url("assets/fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #04213b;
  --navy-2: #0a3558;
  --blue: #005a9a;
  --sky: #3ea3dc;
  --sky-soft: #e8f4fb;
  --accent: #d6007a;
  --accent-dark: #b00064;
  --ink: #0f2233;
  --muted: #4d6072;
  --line: #d9e3ec;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --ok: #0b7a4b;
  --radius: 18px;
  --shadow: 0 18px 50px -22px rgba(4, 33, 59, .35);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: .7em 1em; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 800px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.soft { background: var(--bg-soft); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); margin-bottom: 1em; }
.on-dark .eyebrow { color: #9fd6f5; }
.icon { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .75em 1.5em; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn .icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(214, 0, 122, .7); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--blue); background: transparent; }
.on-dark .btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(62, 163, 220, .14); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.micro { font-size: .9rem; color: var(--muted); margin-top: .9em; }
.on-dark .micro { color: #b9cfe0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(4, 33, 59, .5); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; display: block; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a { display: block; padding: .6em .85em; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--blue); }
.header-cta { min-height: 46px; padding: .5em 1.2em; white-space: nowrap; }
.main-nav a { white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 22px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: .85em .6em; font-size: 1.1rem; }
  .header-cta { display: none; }
  .main-nav .nav-cta { display: block; margin-top: 10px; }
}
@media (min-width: 1021px) { .main-nav .nav-cta { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 85% 10%, rgba(62, 163, 220, .35), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(214, 0, 122, .28), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0b4a7c 100%); padding: clamp(56px, 8vw, 110px) 0 clamp(110px, 13vw, 180px); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 8vw, 110px); background: var(--bg); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.hero h1 .hl { background: linear-gradient(90deg, #7cc8f2, #ff7cc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #d3e3f0; }
.hero-points { list-style: none; padding: 0; margin: 1.6em 0 2em; display: grid; gap: .55em; }
.hero-points li { display: flex; gap: .6em; align-items: flex-start; }
.hero-points .icon { color: #7cc8f2; margin-top: .2em; width: 20px; height: 20px; }
.page-hero { padding-bottom: clamp(90px, 11vw, 150px); }
.page-hero .hero-grid { grid-template-columns: 1fr; max-width: 860px; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; pointer-events: none; will-change: transform; }
.orb-1 { width: 320px; height: 320px; background: var(--sky); right: -80px; top: -60px; }
.orb-2 { width: 260px; height: 260px; background: var(--accent); left: -90px; bottom: 40px; opacity: .3; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Chat demo */
.chat { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); overflow: hidden; font-size: .95rem; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .5s; }
.chat:hover, .chat:focus-within { transform: none; }
.chat-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--muted); }
.chat-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d6e2; }
.chat-bar span { margin-left: 6px; }
.chat-body { padding: 18px; display: grid; gap: 12px; min-height: 430px; align-content: start; }
.chat-q { justify-self: end; max-width: 85%; background: var(--sky-soft); color: #0a3558; padding: .7em 1em; border-radius: 16px 16px 4px 16px; margin: 0; }
.chat-a { margin: 0; color: var(--muted); }
.chat-a strong { color: var(--ink); }
.chat-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chat-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.chat-card b { font-size: 1rem; }
.chat-card .meta { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.chat-card .seats { align-self: start; background: #e3f6ec; color: var(--ok); font-weight: 700; font-size: .78rem; padding: .25em .7em; border-radius: 999px; white-space: nowrap; }
.chat-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.chat-replay { border: 0; background: none; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; padding: .5em .6em; border-radius: 8px; min-height: 40px; }
.chat .cursor { display: inline-block; width: 2px; height: 1em; background: currentColor; vertical-align: -.15em; animation: blink 1s steps(2) infinite; }
.js-anim .chat [data-step] { opacity: 0; transform: translateY(10px); }
.js-anim .chat [data-step].is-on { opacity: 1; transform: none; transition: opacity .45s, transform .45s; }
@keyframes blink { 50% { opacity: 0; } }

/* Trust bar */
.trust { padding: 34px 0 10px; }
.trust p { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 0; padding: 0; }
.trust-list li { padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--muted); font-size: .92rem; background: #fff; }

/* Cards & grids */
.grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 420px) { .g-2, .g-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
a.card { text-decoration: none; color: inherit; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9d6ea; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); margin-bottom: 18px; }
.card .more { font-weight: 700; color: var(--blue); display: inline-flex; gap: .4em; align-items: center; margin-top: .6em; }
.card .more .icon { width: 18px; height: 18px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .25em .75em; border-radius: 999px; background: var(--sky-soft); color: var(--blue); margin: 0 6px 8px 0; }
.tag.new { background: #ffe3f2; color: var(--accent-dark); }

/* Spotlight (dark feature teaser) */
.spotlight { background: linear-gradient(150deg, var(--navy), #0b4a7c); color: #fff; position: relative; overflow: hidden; }
.spotlight .lead { color: #d3e3f0; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 44px; }
.spot { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px); }
.spot .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(124, 200, 242, .18); color: #9fd6f5; margin-bottom: 16px; }
.spot p { color: #d3e3f0; margin-bottom: 0; }
.spot .tag.new { background: var(--accent); color: #fff; }

/* Before / after */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 40px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8em; }
.compare li { display: flex; gap: .7em; align-items: flex-start; }
.compare .without { background: #fff; }
.compare .without .icon { color: #a33; }
.compare .with { border-color: var(--sky); box-shadow: var(--shadow); }
.compare .with .icon { color: var(--ok); }
.compare .icon { margin-top: .2em; width: 20px; height: 20px; }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 40px; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; color: var(--blue); letter-spacing: -.03em; }
.stat span { color: var(--muted); }
.stat cite { display: block; font-style: normal; font-size: .85rem; margin-top: .5em; }

/* Solutions */
.sol-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sol-card .top { padding: 26px 28px; color: #fff; background: linear-gradient(140deg, var(--blue), #17709f); }
.sol-card:nth-child(2) .top { background: linear-gradient(140deg, #0b4a7c, #0b7a8c); }
.sol-card:nth-child(3) .top { background: linear-gradient(140deg, #5a2a86, var(--accent)); }
.sol-card .top h3 { margin: 0; font-size: 1.4rem; }
.sol-card .body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.sol-card ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--muted); }
.sol-card .more { margin-top: auto; }

/* Integrations */
.marquee { overflow: hidden; margin-top: 36px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover ul, .marquee:focus-within ul { animation-play-state: paused; }
.marquee li { padding: .7em 1.3em; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
.int-group { margin-top: 56px; }
.int-group h2 { font-size: 1.5rem; }
.int-card.star { border-color: var(--sky); background: linear-gradient(180deg, #fff, var(--sky-soft)); }
.int-card h3 { display: flex; align-items: center; gap: .6em; }
.int-card h3::before { content: attr(data-initial); width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1rem; }

/* Quotes */
.quote { display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.2em; font-size: 1.12rem; font-weight: 600; line-height: 1.5; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.4rem; line-height: .6; color: var(--sky); margin-bottom: .1em; }
.quote footer { margin-top: auto; color: var(--muted); font-size: .95rem; }
.quote footer b { color: var(--ink); display: block; }

/* Pricing */
.price-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .price-hero { grid-template-columns: 1fr; } }
.price-box { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-box:hover { transform: none; }
.price { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 1.3em 0 1.6em; display: grid; gap: .6em; }
.checks li { display: flex; gap: .6em; align-items: flex-start; }
.checks .icon { color: var(--ok); width: 20px; height: 20px; margin-top: .2em; }
.calc:hover { transform: none; }
.calc fieldset { border: 0; padding: 0; margin: 0; }
.calc legend { font-weight: 800; font-size: 1.25rem; padding: 0; margin-bottom: .8em; }
.calc-row { display: grid; grid-template-columns: 1fr 120px; gap: 6px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.calc-row label { font-weight: 700; }
.calc-row small { grid-column: 1 / -1; color: var(--muted); }
.calc-row input[type="number"] { font: inherit; padding: .55em .6em; border: 2px solid var(--line); border-radius: 10px; width: 100%; min-height: 46px; text-align: right; }
.calc-row input[type="checkbox"] { width: 26px; height: 26px; justify-self: end; accent-color: var(--blue); }
.calc-total { margin-top: 10px; padding: 20px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.calc-total output { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.calc-total small { color: #b9cfe0; flex-basis: 100%; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.price-table th, .price-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 800; }
.price-table td small { display: block; color: var(--muted); font-weight: 400; }
.table-wrap { overflow-x: auto; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.steps li { counter-increment: step; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* Feature rows (Funktionen page) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(40px, 6vw, 70px) 0; border-top: 1px solid var(--line); }
.feature-row:nth-of-type(even) .feature-media { order: -1; }
.feature-media { border-radius: var(--radius); background: linear-gradient(150deg, var(--sky-soft), #fff); border: 1px solid var(--line); min-height: 260px; display: grid; place-items: center; color: var(--blue); overflow: hidden; }
.feature-media .icon { width: 96px; height: 96px; stroke-width: 1.1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .feature-row { grid-template-columns: 1fr; } .feature-row:nth-of-type(even) .feature-media { order: 0; } }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.subnav a { display: block; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); background: #fff; }
.subnav a:hover { border-color: var(--blue); color: var(--blue); }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(214, 0, 122, .35), transparent 60%), linear-gradient(150deg, var(--navy), #0b4a7c); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #d3e3f0; margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Posts */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--blue), var(--sky)); display: block; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.post-card h2 a, .post-card h3 a { color: inherit; text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card time, .post-card .kicker { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: .5em; }
.entry { font-size: 1.1rem; }
.entry h2 { font-size: 1.7rem; margin-top: 1.8em; }
.entry h3 { margin-top: 1.5em; }
.entry img { border-radius: 14px; }
.entry blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--sky); background: var(--bg-soft); border-radius: 0 14px 14px 0; font-weight: 600; }
.entry-meta { color: #d3e3f0; font-weight: 600; }
.entry-hero-img { margin: -70px auto 40px; position: relative; z-index: 2; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.entry-hero-img img { display: block; width: 100%; }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { padding: .6em 1em; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Form */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }
.form label { font-weight: 700; display: block; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; font: inherit; padding: .8em 1em; border: 2px solid #b8c7d5; border-radius: 12px; background: #fff; color: var(--ink); min-height: 52px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(62, 163, 220, .45); outline-offset: 0; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form .consent input { width: 24px; height: 24px; flex: none; margin-top: 3px; accent-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; }
.req { color: var(--accent-dark); }
.notice { padding: 16px 20px; border-radius: 14px; font-weight: 600; margin-bottom: 20px; }
.notice.ok { background: #e3f6ec; color: #07563a; border: 1px solid #9ad5b8; }
.notice.err { background: #fde8e8; color: #8a1c1c; border: 1px solid #f0b0b0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(26px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #c7d8e6; padding: 64px 0 30px; margin-top: clamp(64px, 9vw, 120px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: #9fd6f5; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.foot-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; }
.foot-logo img { height: 44px; width: auto; display: block; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.badges img { height: 54px; width: auto; background: #fff; border-radius: 10px; padding: 6px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* Scroll reveal */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-anim .reveal, .js-anim .chat [data-step] { opacity: 1; transform: none; }
  .chat { transform: none; }
  .marquee ul { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee li[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; }
}

/* Product screenshots */
.feature-media.has-shot { min-height: 0; display: block; box-shadow: var(--shadow); background: #fff; }
.feature-media.has-shot img { height: auto; object-fit: contain; }
.shot-frame { margin: 44px auto 0; max-width: 940px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(4, 33, 59, .55); background: #fff; }
.shot-frame img { display: block; width: 100%; height: auto; }
