/* yomia.xyz: the same palette as the portal and office.eu (brand blue #1570EF, navy #020434, Untitled UI greys),
   Montserrat for headings, Inter for text. */
:root {
  --navy: #020434;
  --blue: #1570ef;
  --blue-hover: #175cd3;
  --blue-soft: #eff8ff;
  --blue-light: #84caff;
  --teal: #00979e;
  --ink: #06060f;
  --text: #2e2e39;
  --muted: #676878;
  --line: #e4e4ef;
  --line-soft: #eff0f7;
  --bg-soft: #f9f9f9;
  --green: #17b26a;
  --orange: #f79009;
  --radius: 16px;
  --display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: #fff; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.2; font-weight: 600; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } .wrap { padding: 0 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: #b8b9cc; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; }
.link-quiet { color: var(--navy); font-weight: 500; font-size: 15px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--line-soft); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--navy); padding: 10px 0; font-weight: 500; }
.mobile-menu .btn { margin-top: 8px; }
@media (max-width: 900px) { .nav-links, .nav-cta { display: none; } .nav-toggle { display: flex; } }

/* Hero */
.hero { padding: 80px 0 72px; background:
  radial-gradient(900px 400px at 85% 0%, rgba(21,112,239,.08), transparent 70%),
  radial-gradient(700px 360px at 0% 100%, rgba(0,151,158,.06), transparent 70%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft);
  color: var(--blue-hover); font-size: 13px; font-weight: 600; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

.hero-visual { position: relative; min-height: 420px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(2,4,52,.18), 0 4px 10px rgba(2,4,52,.05); }
.mock-invoice { width: 100%; max-width: 480px; margin-left: auto; overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #d5d7da; }
.mock-title { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 18px 20px 20px; font-size: 14px; }
.mock-row { display: grid; grid-template-columns: 1fr 50px 110px; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.mock-row span:nth-child(n+2) { text-align: right; }
.mock-row-head { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mock-total { margin: 12px 0 0 auto; width: 220px; }
.mock-total div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.mock-total .grand { color: var(--navy); font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.mock-status { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pill-green { background: #ecfdf3; color: #067647; }
.pill-blue { background: var(--blue-soft); color: var(--blue-hover); }
.mock-mail { position: absolute; left: 0; bottom: -56px; width: 300px; padding: 18px; }
.mail-from { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.mail-from img { border-radius: 6px; }
.mail-title { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; font-family: var(--display); font-weight: 600; color: var(--navy); }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.mock-mail p { font-size: 13px; color: var(--muted); }
.mail-btn { display: inline-block; margin-top: 12px; padding: 7px 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 960px) { .hero-visual { min-height: 0; } .mock-invoice { margin: 0 auto; }
  .mock-mail { position: relative; bottom: auto; margin: -8px auto 0 0; } }
@media (max-width: 480px) { .mock-row { grid-template-columns: 1fr 36px 92px; font-size: 13px; } .mock-mail { width: 88%; } .mock-total { width: 100%; } }

/* Stats */
.stats { padding: 56px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--blue); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Section heads */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.eyebrow-light { color: var(--blue-light); }

/* Product cards */
.suite { background: var(--bg-soft); }
.suite-white { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cards-5 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #c9cbe0; box-shadow: 0 12px 24px -12px rgba(2,4,52,.12); transform: translateY(-2px); }
.card img { border-radius: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-compact { background: var(--bg-soft); border-color: var(--line-soft); }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag-live { background: #ecfdf3; color: #067647; }
.tag-soon { background: #fffaeb; color: #b54708; }
.card-soon { border-style: dashed; }
.soon-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: .02em; }

/* Assistant */
.assistant { background: var(--navy); color: #cbd3e1; }
.assistant h2 { color: #fff; margin-bottom: 18px; }
.assistant-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.checks-dark li { color: var(--text); }
.loops { display: grid; gap: 12px; }
.loop { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "time what" "name what"; gap: 2px 16px; align-items: center;
  padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.loop strong { grid-area: name; color: #fff; font-family: var(--display); font-weight: 600; }
.loop-time { grid-area: time; font-size: 12px; color: var(--blue-light); }
.loop-what { grid-area: what; font-size: 13px; color: #cbd3e1; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.07); }
.loop-wait { border-color: rgba(247,144,9,.5); }
.loop-wait .loop-time { color: #fdb022; }
@media (max-width: 900px) { .assistant-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Audience */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { padding: 36px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 16px; }
.audience-card p { color: var(--muted); }
.audience-card .checks { margin: 4px 0 12px; }
.audience-card .btn { align-self: flex-start; margin-top: auto; }
.audience-card-alt { background: var(--blue-soft); border-color: #d1e9ff; }
@media (max-width: 820px) { .audience-grid { grid-template-columns: 1fr; } .audience-card { padding: 28px 22px; } }

/* Steps */
.steps-section { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 700; margin-bottom: 18px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.promise { margin-top: 28px; padding: 18px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.promise strong { color: var(--navy); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Compare */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--display); color: var(--navy); font-size: 14px; background: var(--bg-soft); }
.compare .col-yomia { color: var(--blue); }
.compare td.yes { color: #067647; font-weight: 600; background: rgba(236,253,243,.5); }
.compare td.no { color: var(--muted); }

/* Trust */
.trust { background: linear-gradient(135deg, #020434 0%, #0a1a5c 100%); color: #cbd3e1; }
.trust h2 { color: #fff; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trust-list li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.trust-list li:last-child { border-bottom: 0; }
.trust-list strong { color: #fff; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--display);
  font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-inner { background: var(--blue); border-radius: 24px; padding: 64px 48px; text-align: center; color: #e0efff;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.14), transparent 70%); }
.cta h2 { color: #fff; }
.cta p { margin: 14px auto 0; max-width: 560px; }
.cta .hero-actions { justify-content: center; }
@media (max-width: 720px) { .cta { padding-bottom: 64px; } .cta-inner { padding: 44px 22px; border-radius: 18px; } }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 14px; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--muted); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Request access */
.request { background: #fff; }
.request-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.request-copy p { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }
.request-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); }
.request-form .opt { color: var(--muted); font-weight: 400; }
.request-form input, .request-form select, .request-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 12px; border: 1px solid #d5d7da; border-radius: 10px; background: #fff; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,112,239,.18); }
.request-form textarea { resize: vertical; }
.request-form button { justify-self: start; }
.request-form button:disabled { opacity: .7; cursor: default; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.form-note-error { color: #b42318; }
.form-done h3 { margin-bottom: 8px; }
.form-done p { color: var(--muted); }
@media (max-width: 900px) { .request-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .request-form { padding: 22px 18px; } }
