:root {
  --paper: #f4f0e7;
  --paper-2: #fbf8f2;
  --ink: #172033;
  --muted: #526078;
  --line: rgba(23, 32, 51, 0.12);
  --pdf: #b8431f;
  --office: #1e4d8c;
  --ai: #0f6e68;
  --app: #3d3a6b;
  --max: 1120px;
  --header: 72px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(23, 32, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(184, 67, 31, 0.08), transparent 55%),
    radial-gradient(800px 480px at -10% 20%, rgba(30, 77, 140, 0.07), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color-scheme: light;
}
body.nav-lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 40;
}
.skip:focus { top: 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(244, 240, 231, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-text { font-weight: 650; letter-spacing: -0.03em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); }
.nav-cta {
  color: #fff !important;
  background: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 0;
  position: relative;
}
.nav-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.hero { padding: 54px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pdf);
}
h1 { font-size: clamp(42px, 6vw, 72px); margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.hero-points strong { display: block; font-size: 14px; }
.hero-points span { color: var(--muted); font-size: 13px; }

.desk {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.sheet {
  border-radius: 16px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.sheet header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.sheet h2 { margin: 0; font-family: var(--sans); font-size: 15px; letter-spacing: 0; font-weight: 650; }
.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag.pdf { color: var(--pdf); }
.tag.office { color: var(--office); }
.tag.ai { color: var(--ai); }
.lines { display: grid; gap: 7px; }
.lines i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #ece7dc;
}
.lines i:nth-child(1) { width: 92%; }
.lines i:nth-child(2) { width: 76%; }
.lines i:nth-child(3) { width: 84%; }
.sheet.ai-sheet { background: #f3faf8; }
.ai-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ai-row b { font-weight: 620; }

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 10px; }
.section-head p { color: var(--muted); }

.card-grid, .split, .faq, .info-grid { display: grid; gap: 16px; }
.card-grid { grid-template-columns: repeat(4, 1fr); }
.card, .faq article, .panel, .legal, .form, .info-card {
  background: rgba(255, 252, 247, 0.76);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.card { padding: 22px 20px 20px; text-decoration: none; display: flex; flex-direction: column; min-height: 250px; }
.card:hover { border-color: rgba(23, 32, 51, 0.28); }
.card .index { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card.pdf .index { color: var(--pdf); }
.card.office .index { color: var(--office); }
.card.apps .index { color: var(--app); }
.card.ai .index { color: var(--ai); }
.card h3 { margin: 16px 0 8px; font-size: 28px; }
.card p { color: var(--muted); font-size: 15px; }
.card em { margin-top: auto; padding-top: 18px; font-style: normal; font-weight: 620; font-size: 14px; }

.split { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li, .panel, .info-card { padding: 18px 18px 16px; }
.steps li { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); }

.platform-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.platform-row span, .pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}

.faq { grid-template-columns: 1fr 1fr; }
.faq article { padding: 20px; }
.faq h3 { margin: 0 0 8px; font-size: 24px; }
.faq p { color: var(--muted); }

.policy-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: var(--ink);
  color: #f6f3ec;
}
.policy-band h2 { margin: 0 0 8px; font-size: 36px; }
.policy-band p { color: rgba(246, 243, 236, 0.78); max-width: 52ch; }
.policy-band .hero-actions a.btn-primary { background: #fff; color: var(--ink); }
.policy-band .hero-actions a.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.24); }

.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); }
.meta-line { color: var(--muted); margin-top: 8px; }

.product-block { padding: 28px 0; border-top: 1px solid var(--line); }
.product-block h2 { font-size: 40px; margin: 0 0 8px; }
.feature-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature-list li { padding-left: 16px; position: relative; color: var(--muted); }
.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  left: 0;
  top: 0.65em;
  opacity: 0.7;
}

.info-grid { grid-template-columns: 1fr 1fr; }
.info-card h2, .panel h2 { margin: 0 0 8px; font-size: 28px; }
.info-card p, .panel p { color: var(--muted); }
.identity { width: 100%; border-collapse: collapse; margin-top: 8px; }
.identity th, .identity td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.identity th { width: 34%; font-weight: 620; padding-right: 12px; }
.identity a { color: var(--office); }

.form { padding: 22px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 620; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.form button { justify-self: start; border: 0; }
.note { color: var(--muted); font-size: 14px; }

.legal { padding: 8px 28px 28px; }
.legal h2 { font-size: 30px; margin: 32px 0 8px; }
.legal h3 { font-size: 22px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { margin: 8px 0 0; padding-left: 18px; }
.legal li + li { margin-top: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.toc a { color: var(--office); font-weight: 600; font-size: 14px; }

.site-footer { padding: 42px 0 28px; border-top: 1px solid var(--line); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr; gap: 24px; }
.footer-grid h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); text-decoration: none; margin: 0 0 8px; font-size: 15px; }
.footer-grid a:hover { color: var(--ink); }
.footer-base { display: grid; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-base p { color: var(--muted); font-size: 13px; }

.empty { padding: 80px 0 100px; }
.empty h1 { font-size: 64px; }

:focus-visible { outline: 2px solid var(--office); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-grid, .card-grid, .split, .faq, .info-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .nav-cta { width: auto; }
  .hero-grid, .card-grid, .split, .faq, .info-grid, .footer-grid, .hero-points { grid-template-columns: 1fr; }
  .policy-band { flex-direction: column; align-items: flex-start; }
  .legal { padding: 8px 16px 20px; }
  h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .skip, .hero-actions, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .legal, .card, .panel { border: 0; background: #fff; }
  a { text-decoration: underline; }
}
