@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fffefa;
  --tint: #f1f4ed;
  --ink: #142e25;
  --pine: #153b30;
  --sage: #cbe5ac;
  --muted: #4f6259;
  --rule: #d6dfd5;
  --sans: Inter, system-ui, sans-serif;
  --gutter: clamp(1.2rem, 5vw, 5rem);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { opacity: .42; cursor: default; }
a, button, .questions summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ac5f28; outline-offset: 4px; }
.hero :focus-visible, .page-header :focus-visible { outline-color: #f2cf89; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1320px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; top: .75rem; left: 1rem; z-index: 5; padding: .75rem; color: var(--ink); background: white; }
img { display: block; max-width: 100%; }
.icon { width: 21px; height: 21px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.page-header, .hero { background: var(--pine); color: #fcfff7; }
.page-header { border-bottom: 1px solid #ffffff26; }
.header-inner, .footer-inner, nav, .brand, .btn, .hero-actions, .demo-controls, .demo-controls button, .viewer-head, .viewer-foot, .viewer-steps {
  display: flex; align-items: center;
}
.header-inner { min-height: 74px; gap: 2.4rem; }
.brand { gap: .65rem; width: fit-content; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: 1.22rem; letter-spacing: -.045em; }
.brand img { border-radius: 8px; }
nav { margin-left: auto; gap: 2.2rem; }
nav a { color: #e3ede4; text-decoration: none; }
nav a:hover, .hero-link:hover { text-decoration: underline; }
nav a, .btn, .hero-link, .text-link { font: 600 .9rem/1.4 var(--sans); }
.btn {
  justify-content: center; gap: .65rem; width: fit-content; min-height: 44px;
  border: 1px solid var(--rule); border-radius: 7px; padding: .68rem 1.1rem;
  text-decoration: none; background: var(--paper); color: var(--ink);
}
.btn:hover:not(:disabled) { background: #e3ebdf; }
.nav-cta { color: white; background: transparent; border-color: #8ba599; }
.nav-cta:hover:not(:disabled) { background: #ffffff14; }
.hero {
  background: radial-gradient(ellipse at 86% 49%, #2b5546, transparent 61%), var(--pine);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center;
  gap: clamp(1.8rem, 4.2vw, 4.6rem); padding-block: clamp(2.7rem, 4.6vw, 4.8rem);
}
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 5.05vw, 5rem); letter-spacing: -.065em; line-height: 1.025; }
.hero-copy > p:not(.platforms) {
  color: #dfebe2; max-width: 31em; font-size: clamp(1rem, 1.23vw, 1.16rem);
  line-height: 1.62; margin: 1.45rem 0 1.7rem;
}
.hero-actions { flex-wrap: wrap; gap: 1.25rem; }
.primary { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.primary:hover:not(:disabled) { background: #dff2c8; }
.primary .icon { width: 16px; height: 16px; }
.hero-link { text-decoration: underline; text-decoration-color: #6d9381; text-underline-offset: .4em; }
.platforms { margin-top: 1.3rem; font-size: .86rem; color: #bdcfc3; }
.demo { min-width: 0; scroll-margin: .75rem; }
.screen {
  position: relative; isolation: isolate; border-radius: 9px; overflow: hidden;
  border: 1px solid #ffffff4a; background: #f5f6ef; box-shadow: 0 14px 32px #09271b40;
}
.screen img { width: 100%; height: auto; }
#expand { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: zoom-in; }
#expand:focus-visible { outline-offset: -4px; }
#expand span {
  position: absolute; right: .64rem; bottom: .7rem; width: 33px; height: 33px; display: grid; place-items: center;
  border: 1px solid #58725f70; border-radius: 6px; background: #fffffaf2; color: var(--ink);
}
#expand .icon { width: 16px; height: 16px; }
.demo-controls { justify-content: center; gap: .35rem; padding-top: 1rem; }
.demo-controls button {
  gap: .5rem; padding: .48rem .85rem; min-height: 38px; border-radius: 30px; border: 1px solid transparent;
  color: #d6e4da; background: transparent; font-size: .88rem;
}
.demo-controls button:hover { color: white; background: #ffffff0e; }
.demo-controls button[aria-selected="true"] { border-color: #b0c6b650; color: white; background: #ffffff13; }
.demo-controls .icon { width: 17px; height: 17px; }
.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: clamp(2.65rem, 4.8vw, 4.7rem);
}
.features article { padding-inline: clamp(1.2rem, 3vw, 3rem); }
.features article:first-of-type { padding-left: 0; }
.features article:last-child { padding-right: 0; }
.features article + article { border-left: 1px solid var(--rule); }
.feature-icon { width: 27px; height: 27px; stroke-width: 1.4; color: #426b55; margin-bottom: .85rem; }
h3 { font-size: clamp(1.21rem, 1.65vw, 1.55rem); letter-spacing: -.045em; line-height: 1.25; }
.features p, .license-copy > p, .questions details p, .checkout-shell p { color: var(--muted); line-height: 1.65; }
.features p { margin-top: .55rem; max-width: 34em; }
.license-section { background: var(--tint); border-block: 1px solid #e2e8de; }
.license-grid, .faq { display: grid; gap: clamp(2.5rem, 7vw, 7rem); }
.license-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; padding-block: clamp(2rem, 3.7vw, 3.7rem); }
.license-art { display: block; }
.license-art img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; border-radius: 8px; }
h2 { font-size: clamp(2.25rem, 3.45vw, 3.4rem); letter-spacing: -.06em; line-height: 1.08; }
.license-copy > p { margin-top: .8rem; max-width: 33em; }
dl { margin: 1.15rem 0; }
dl div { padding: .62rem 0; border-top: 1px solid #cbd6c8; display: flex; gap: .7rem; justify-content: space-between; flex-wrap: wrap; font-size: .93rem; line-height: 1.5; }
dt { color: var(--muted); }
dd { font-weight: 600; }
#buy-link { margin-block: .6rem 1.1rem; }
.faq { grid-template-columns: .65fr 1.35fr; align-items: start; padding-block: clamp(3rem, 6vw, 6rem); }
.questions details { border-bottom: 1px solid var(--rule); }
.questions details:first-child { border-top: 1px solid var(--rule); }
.questions summary { padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-weight: 600; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; font-size: 1.15rem; font-weight: 400; }
.questions details[open] summary::after { content: '−'; }
.questions details p { margin: -.2rem 2rem 1.4rem 0; }
footer { border-top: 1px solid var(--rule); }
.footer-inner { min-height: 80px; gap: 1.2rem; justify-content: space-between; }
.footer-inner .text-link { font-size: .85rem; color: var(--muted); font-weight: 400; }
dialog { max-width: min(96vw, 1190px); max-height: 96dvh; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); padding: .9rem 1.1rem; }
dialog::backdrop { background: #092218d9; }
.viewer-head, .viewer-foot { justify-content: space-between; gap: 1.2rem; }
.viewer-head { margin-bottom: .65rem; }
.viewer-head h2 { font-size: 1.35rem; letter-spacing: -.035em; }
dialog img { width: auto; height: auto; max-height: 68dvh; margin-inline: auto; }
.viewer-foot { margin-top: .75rem; font-size: .94rem; line-height: 1.5; }
.viewer-steps { gap: .45rem; }
.checkout-shell { max-width: min(760px, calc(100% - 2.5rem)); margin: 4rem auto; }
.checkout-shell h1 { margin-bottom: 1.2rem; font-size: clamp(2.7rem, 5vw, 4rem); }
.checkout-shell p { margin-block: .9rem; max-width: 65ch; }
.checkout-shell .kicker { color: var(--muted); margin: 0 0 .8rem; }
.checkout-shell .btn, #checkout { margin-top: 1.5rem; }
@media (max-width: 900px) {
  .hero-inner { gap: 2rem; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  h1 { font-size: clamp(2.6rem, 5.4vw, 3.3rem); }
  .hero-actions { gap: 1rem; }
  .demo-controls { gap: .15rem; }
  .demo-controls button { padding-inline: .5rem; }
  .features article { padding-inline: 1.45rem; }
}
@media (max-width: 740px) {
  .header-inner { min-height: 62px; gap: 1rem; }
  nav { gap: 1rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2.15rem; padding-block: 2.55rem 1.75rem; }
  h1 { font-size: clamp(2.9rem, 8.3vw, 4.2rem); }
  .hero-copy > p:not(.platforms) { max-width: 34em; margin: 1.1rem 0 1.25rem; }
  .platforms { margin-top: .85rem; }
  .demo-controls { padding-top: .65rem; }
  .features { grid-template-columns: 1fr; padding-block: 1rem; }
  .features article { padding: 1.65rem 0 1.65rem 2.9rem; position: relative; }
  .features article:first-of-type { padding-left: 2.9rem; }
  .features article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .feature-icon { position: absolute; top: 1.65rem; left: 0; }
  .license-grid { gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
}
@media (max-width: 580px) {

  .brand { font-size: 1.06rem; gap: .4rem; }
  .brand img { width: 31px; height: 31px; }
  .license-grid { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .license-art img { aspect-ratio: 2; object-position: center 43%; }
  .demo-controls button { min-height: 44px; }
  .screen { height: clamp(204px, 60vw, 310px); }
  .screen img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transform-origin: 57% 63%; }
  #demo-panel[aria-labelledby="tab-sider"] .screen img { transform-origin: left center; }
  #demo-panel[aria-labelledby="tab-signer"] .screen img { transform-origin: 45% 85%; }
  .viewer-foot { flex-wrap: wrap; gap: .7rem; }
  .viewer-steps { margin-left: auto; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.15rem; gap: .8rem; }
}
@media (max-width: 390px) {
  .demo-controls button { font-size: .84rem; gap: .33rem; padding-inline: .42rem; }
  .demo-controls .icon { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
@media (max-width: 450px) {
  .demo-controls .icon { display: none; }
  .demo-controls button { white-space: nowrap; }
}

.currency-choice select { margin-inline-start: .4em; padding: .35em .55em; font: inherit; border-radius: .3em; }
.language-picker { position: relative; flex: none; }
.brand + .language-picker { margin-left: auto; }
.language-picker summary {
  display: flex; align-items: center; gap: .38rem; padding: .5rem;
  min-height: 44px; cursor: pointer; list-style: none; border-radius: 6px; font-size: .82rem;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover, .language-picker[open] summary { background: #ffffff12; }
.language-picker .icon { width: 18px; height: 18px; }
.language-picker ul {
  position: absolute; z-index: 4; top: 100%; right: 0; width: max-content; max-width: calc(100vw - 2rem);
  margin: .25rem 0; padding: .35rem; list-style: none; border: 1px solid var(--rule);
  border-radius: 9px; color: var(--ink); background: var(--paper); box-shadow: 0 8px 26px #09271b29;
}
.language-picker a { display: block; padding: .62rem .75rem; color: inherit; font-size: .91rem; text-decoration: none; border-radius: 5px; }
.language-picker a:hover, .language-picker a:focus-visible { background: var(--tint); }
.language-picker a[aria-current] { background: #e2eddc; font-weight: 600; }
@media (max-width: 780px) {
  .header-inner nav { display: none; }
  .header-inner .language-picker { margin-left: auto; }
  .header-inner { gap: .65rem; }
}
@media (max-width: 450px) {
  .header-inner { position: relative; gap: .3rem; }
  .header-inner .language-picker { position: static; }
  .nav-cta { padding-inline: .62rem; font-size: .82rem; }
  .language-picker summary { min-width: 36px; justify-content: center; }
  .language-picker summary span { display: none; }

}
