:root {
  --ink: #1c2822;
  --muted: #627069;
  --pine: #28463a;
  --pine-2: #355d4c;
  --moss: #6c7e58;
  --clay: #9a563c;
  --amber: #b67c2e;
  --paper: #fcfbf7;
  --sand: #f2eee4;
  --sand-2: #e7e0d2;
  --white: #ffffff;
  --line: #d8d1c3;
  --shadow: 0 18px 50px rgba(35, 48, 41, .13);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine-2); }
a:hover { color: var(--clay); }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; background: var(--pine); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 9999; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,251,247,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,209,195,.8);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand .brand-logo { width: 190px; height: auto; max-height: 42px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 650; font-size: .94rem; }
.nav a[aria-current="page"] { color: var(--clay); }
.nav .nav-cta { color: #fff; background: var(--pine); padding: 10px 15px; border-radius: 10px; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 10px; padding: 9px 12px; }

.hero { padding: 76px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pine); background: #eaf0eb; border: 1px solid #d4e0d6; border-radius: 999px; padding: 7px 11px; font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.dot { width: 7px; height: 7px; background: var(--amber); border-radius: 50%; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 18px 0 20px; max-width: 760px; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0 0 18px; }
h3 { font-size: 1.2rem; margin: 0 0 10px; }
.lede { font-size: 1.19rem; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 750; border-radius: 11px; padding: 12px 17px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary { background: var(--pine); color: white; box-shadow: 0 9px 22px rgba(40,70,58,.20); }
.btn-primary:hover { background: var(--pine-2); color: white; }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-soft { background: var(--sand); color: var(--ink); border-color: var(--sand-2); }
.btn-disabled, .btn[aria-disabled="true"] { opacity: .62; cursor: not-allowed; transform: none !important; box-shadow: none; }
.microcopy { margin-top: 13px; color: var(--muted); font-size: .89rem; }

.app-shot { position: relative; }
.app-shot::before { content: ""; position: absolute; inset: -24px -18px 35% 22%; background: radial-gradient(circle, rgba(182,124,46,.16), rgba(182,124,46,0) 68%); z-index: -1; }
.window { border: 1px solid #c8c2b6; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(.2deg); }
.window-bar { height: 33px; background: #efede8; border-bottom: 1px solid #d8d4cc; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #b8b4ac; }
.window img { width: 100%; }

.trust-strip { padding: 22px 0 68px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { border-top: 1px solid var(--line); padding-top: 15px; }
.trust-item strong { display: block; margin-bottom: 3px; }
.trust-item span { color: var(--muted); font-size: .92rem; }

.section { padding: 82px 0; }
.section-sand { background: var(--sand); border-top: 1px solid var(--sand-2); border-bottom: 1px solid var(--sand-2); }
.section-intro { max-width: 760px; margin-bottom: 34px; }
.section-intro p { color: var(--muted); font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 28px rgba(38,49,43,.05); }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #edf1eb; color: var(--pine); font-weight: 900; margin-bottom: 18px; }

.feature-media { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; margin: 54px 0; }
.feature-media.reverse .media { order: 2; }
.feature-media .copy p { color: var(--muted); }
.media { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.media img { border-radius: 12px; width: 100%; }
.caption { color: var(--muted); font-size: .82rem; margin-top: 8px; padding-inline: 4px; }

.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.edition-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.edition-card.featured { border-color: #9cb2a2; box-shadow: 0 18px 50px rgba(40,70,58,.12); }
.edition-label { display: inline-block; border-radius: 999px; padding: 5px 10px; background: var(--sand); color: var(--muted); font-size: .77rem; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.edition-card.featured .edition-label { background: #e7efe9; color: var(--pine); }
.edition-card h3 { font-size: 1.65rem; margin-top: 15px; }
.edition-card .for { color: var(--muted); min-height: 54px; }
.edition-card ul { padding-left: 20px; margin: 21px 0 25px; }
.edition-card li { margin: 8px 0; }


.license-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 8px; }
.license-option { display: flex; flex-direction: column; gap: 5px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f2; }
.license-type { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.price { color: var(--ink); font-size: 1.8rem; line-height: 1.05; letter-spacing: -.035em; }
.price-note { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.license-option .btn { width: 100%; padding-inline: 10px; }

.badge { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 8px; vertical-align: middle; }
.badge-free { background: #e8f0ea; color: #31543f; }
.badge-pro { background: #f4ead9; color: #805319; }
.badge-inst { background: #e8e8ef; color: #3d4268; }

.screenshot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.shot-card { background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 25px rgba(38,49,43,.07); }
.shot-card.large { grid-column: span 7; }
.shot-card.small { grid-column: span 5; }
.shot-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.shot-card div { padding: 17px 19px; }
.shot-card h3 { margin-bottom: 5px; }
.shot-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.page-hero { padding: 65px 0 45px; background: linear-gradient(180deg, #f4f1e8 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); margin-bottom: 14px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.breadcrumb { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.breadcrumb a { text-decoration: none; }

.feature-group { margin: 45px 0 60px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-item { border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 18px; }
.feature-item p { color: var(--muted); margin: 6px 0 0; font-size: .92rem; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { text-align: left; padding: 13px 15px; border-bottom: 1px solid #ebe6dc; vertical-align: top; }
.compare th { background: #f3f0e8; font-size: .89rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 15%; }
.compare tr:last-child td { border-bottom: 0; }
.check { color: #2f674a; font-weight: 900; }
.dash { color: #a9a49a; }
.readonly { color: #896221; font-size: .8rem; font-weight: 750; }
.group-row td { background: #faf8f2; font-weight: 800; color: var(--pine); text-align: left !important; }

.notice { border: 1px solid #d7cfb7; background: #fbf5e6; border-radius: 14px; padding: 17px 19px; color: #5b4a2a; }
.notice strong { color: #4d3f25; }
.callout { border-left: 4px solid var(--pine); padding: 16px 19px; background: #eef3ef; border-radius: 0 12px 12px 0; }

.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 45px; align-items: start; }
.doc-nav { position: sticky; top: 100px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 16px; }
.doc-nav strong { display: block; margin-bottom: 8px; }
.doc-nav a { display: block; padding: 7px 9px; border-radius: 7px; text-decoration: none; color: var(--ink); font-size: .91rem; }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { background: var(--sand); color: var(--clay); }
.doc-content h2 { margin-top: 42px; font-size: 1.9rem; }
.doc-content h3 { margin-top: 28px; }
.doc-content p, .doc-content li { color: #48564f; }
.doc-content code { background: #eeeae2; border: 1px solid #ddd6c9; padding: .1em .35em; border-radius: 5px; }
.doc-content pre { overflow: auto; background: #1e2a24; color: #f5f0e7; padding: 16px; border-radius: 12px; }
.doc-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-link { display: block; border: 1px solid var(--line); padding: 18px; border-radius: 13px; text-decoration: none; background: white; }
.doc-link strong { display: block; color: var(--ink); margin-bottom: 5px; }
.doc-link span { color: var(--muted); font-size: .9rem; }

.status-box { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.status-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #edf1eb; color: var(--pine); font-weight: 900; }

.site-footer { background: #1e2b25; color: #dce3de; padding: 54px 0 26px; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.site-footer .brand { color: white; }
.site-footer .brand-logo { filter: brightness(0) invert(1); opacity: .96; }
.site-footer .brand small, .site-footer p { color: #aebbb4; }
.site-footer h3 { font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #dce3de; text-decoration: none; display: block; margin: 7px 0; font-size: .9rem; }
.footer-bottom { border-top: 1px solid #3a4741; margin-top: 34px; padding-top: 20px; color: #aebbb4; font-size: .84rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 9px 10px; }
  .hero-grid, .feature-media, .grid-2, .doc-layout { grid-template-columns: 1fr; }
  .feature-media.reverse .media { order: 0; }
  .trust-grid, .grid-3, .edition-grid { grid-template-columns: repeat(2, 1fr); }
  .license-options { grid-template-columns: 1fr; }
  .edition-card:last-child { grid-column: 1 / -1; }
  .doc-nav { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 48px; }
  h1 { font-size: 2.65rem; }
  .trust-grid, .grid-3, .edition-grid, .feature-list, .doc-links { grid-template-columns: 1fr; }
  .edition-card:last-child { grid-column: auto; }
  .screenshot-grid { display: block; }
  .shot-card { margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header .brand .brand-logo { width: 165px; }
}
