/* PDF-izer — production stylesheet. No external dependencies. */

:root {
  --accent: #17A2B8;
  --accent-ink: #0d7180;
  --accent-soft: #e7f6f9;
  --accent-deep: #0b5563;
  --bg: #FBF6F0;
  --ink: #4A4A4A;
  --heading: #2A2A2A;
  --muted: #6b5d52;
  --border: #F3DCCB;
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
input, textarea, button { font-family: inherit; }
img { max-width: 100%; height: auto; }

.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; }

/* Sprite host + icons */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1em; height: 1em; flex: none; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 10px; z-index: 100; text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* Focus visibility */
:where(a, button, input, textarea):focus-visible {
  outline: 3px solid rgba(15, 181, 201, 0.55);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 240, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  padding: 12px clamp(16px, 4vw, 32px);
  display: flex; align-items: center; gap: 14px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--accent); color: #fff;
  box-shadow: 0 5px 14px rgba(23, 162, 184, 0.32);
}
.brand-badge .icon { width: 20px; height: 20px; }
.brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.nav-link {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.98rem;
  padding: 8px 2px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-link:hover { color: #0E7C8C; }
.nav-link[aria-current="page"] { color: #0E7C8C; border-bottom: 2px solid var(--accent); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--border); background: #fff; cursor: pointer; color: #2A2A2A;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 779px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: sticky; top: 64px; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 26px rgba(31, 22, 15, 0.09);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { padding: 10px clamp(16px, 4vw, 32px) 18px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: block; text-decoration: none; color: #3a3a3a;
  font-weight: 600; font-size: 1.05rem; padding: 13px 16px; border-radius: 10px;
}
.mobile-nav-link[aria-current="page"] { color: #0E7C8C; background: var(--accent-soft); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; font-size: 1rem; padding: 14px 18px; border-radius: 12px; }
@media (min-width: 780px) { .mobile-nav { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; border: none; cursor: pointer; border-radius: 11px;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-sm { font-size: 0.95rem; padding: 10px 16px; box-shadow: 0 6px 16px rgba(23, 162, 184, 0.3); white-space: nowrap; }
.btn-sm .icon { width: 16px; height: 16px; }
.btn-lg { gap: 11px; font-size: 1.05rem; padding: 15px 24px; border-radius: 13px; box-shadow: 0 10px 24px rgba(23, 162, 184, 0.32); }
.btn-lg .icon { width: 17px; height: 17px; }

.link-arrow { color: var(--accent-ink); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 8px 4px; }
.link-arrow:hover { text-decoration: underline; }

.link { color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Main / sections ---------- */
.main { flex: 1 1 auto; width: 100%; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(44px, 6vw, 80px) clamp(18px, 4vw, 34px); }
.section--narrow { max-width: 820px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.page-title { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--accent); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 0; }
.lead { max-width: 60ch; margin: 14px 0 0; color: var(--muted); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 78px) clamp(18px, 4vw, 34px) clamp(28px, 4vw, 46px); }
.hero-split { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 58px); align-items: center; }
.hero-col { flex: 1 1 360px; min-width: 0; }
.hero-title { font-size: clamp(2rem, 4.7vw, 3.15rem); line-height: 1.08; color: var(--heading); font-weight: 800; letter-spacing: -0.025em; margin: 16px 0 0; }
.hero-title .accent { color: var(--accent); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #5f5348; margin: 16px 0 0; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: #8a7a6e; }

/* App mockup card */
.app-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 26px 60px rgba(31, 22, 15, 0.13); overflow: hidden; max-width: 470px; margin: 0 auto; }
.app-card-bar { display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: #FFF3EC; border-bottom: 1px solid var(--border); }
.app-card-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: #fff; }
.app-card-badge .icon { width: 15px; height: 15px; }
.app-card-title { font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.app-card-dots { margin-left: auto; display: flex; gap: 6px; }
.app-card-dots span { width: 11px; height: 11px; border-radius: 3px; background: var(--border); }
.app-card-dots span:last-child { background: #EBC9B4; }
.app-card-body { padding: 18px; }
.dropzone { border: 2px dashed #9FD9E2; border-radius: 14px; background: #F3FBFC; padding: 26px 16px; text-align: center; color: var(--accent); }
.dropzone .icon { width: 30px; height: 30px; }
.dropzone-title { font-weight: 700; color: var(--accent-deep); margin-top: 8px; }
.dropzone-hint { font-size: 0.82rem; color: #8fb3b9; margin-top: 3px; }
.op-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.op-chip { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid #E3F0F2; border-radius: 11px; background: #fff; font-weight: 600; font-size: 0.9rem; color: #3a3a3a; }
.op-chip .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }

/* ---------- Promises band ---------- */
.promises { background: #FFE7D6; }
.promises-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(34px, 4vw, 52px) clamp(18px, 4vw, 34px); }
.promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.promise { display: flex; align-items: center; gap: 13px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(31, 22, 15, 0.05); }
.promise-check { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 800; }
.promise-text { font-weight: 700; color: var(--heading); font-size: 0.98rem; line-height: 1.3; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 36px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: 0 6px 20px rgba(31, 22, 15, 0.05); }
.feature-head { display: flex; align-items: center; gap: 13px; }
.feature-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.22rem; color: var(--heading); font-weight: 700; margin: 0; }
.feature-card p { margin: 14px 0 0; color: #5f5348; font-size: 0.98rem; line-height: 1.6; }
.inline-code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.88em; background: var(--accent-soft); color: var(--accent-deep); padding: 2px 7px; border-radius: 6px; }

/* System requirements */
.sysreq { background: #FFF9F4; border: 1px solid var(--border); border-radius: 18px; padding: clamp(26px, 3vw, 38px); margin-top: 24px; }
.sysreq h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--accent); font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.sysreq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.sysreq-item { display: flex; gap: 12px; align-items: flex-start; }
.sysreq-item .dot { flex: none; margin-top: 7px; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.req-title { font-weight: 700; color: var(--heading); }
.req-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Legal ---------- */
.legal-meta { color: #8a7a6e; font-size: 0.92rem; margin: 0 0 22px; }
.legal-title { color: var(--accent); font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin: 14px 0 4px; letter-spacing: -0.02em; line-height: 1.15; }
.legal-body { color: var(--ink); line-height: 1.7; font-size: 1rem; margin: 0; }
.legal-list { margin: 22px 0 0; padding-left: 1.4em; color: var(--ink); line-height: 1.7; font-size: 1rem; }
.legal-list li { margin-bottom: 15px; }
.legal-list li:last-child { margin-bottom: 0; }
.legal-list strong { color: var(--heading); }
.legal-contact { margin-top: 26px; font-weight: 600; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(22px, 3vw, 40px); margin-top: 36px; align-items: start; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: 0 6px 20px rgba(31, 22, 15, 0.05); }
.card h2 { font-size: 1.3rem; color: var(--accent); font-weight: 800; margin: 0; }
.info-list { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.info-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8a7a6e; font-weight: 700; }
.info-value { margin-top: 3px; color: var(--ink); }
.contact-form { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #E3D2C4; border-radius: 10px; background: #FFFDFB; color: var(--heading); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.18); }
.form-submit { align-self: flex-start; gap: 8px; font-size: 1rem; padding: 13px 24px; border-radius: 12px; box-shadow: 0 8px 18px rgba(23, 162, 184, 0.28); }
.form-note { margin: 2px 0 0; font-size: 0.85rem; color: #8a7a6e; }
.form-status { margin: 0; color: var(--accent-deep); font-weight: 700; font-size: 0.92rem; }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 4vw, 52px) clamp(18px, 4vw, 34px) clamp(20px, 3vw, 28px); display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-right: 0; }
.footer-brand .brand-badge { width: 32px; height: 32px; border-radius: 10px; box-shadow: none; }
.footer-brand .brand-badge .icon { width: 18px; height: 18px; }
.footer-brand .brand-name { font-size: 1.15rem; }
.footer-tagline { margin: 12px 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: #a8968a; font-weight: 700; }
.footer-link { text-decoration: none; color: #5f5348; font-size: 0.95rem; }
.footer-link:hover { color: var(--accent-ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #F6E7DA; }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px clamp(18px, 4vw, 34px); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #8a7a6e; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { text-decoration: none; color: #8a7a6e; }
.footer-bottom-links a:hover { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; }
  *, *::before, *::after { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
