:root {
  color-scheme: light;
  --ink: #1b2d3b;
  --body: #334956;
  --blue: #006fae;
  --blue-dark: #005989;
  --pale: #e5f3fa;
  --chrome: #f0f4f7;
  --line: #cbdbe4;
  --radius: 16px;
  --section: clamp(4rem, 8vw, 7.75rem);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
p { color: var(--body); max-width: 68ch; }
p + p { margin-top: .65em; }
a { color: var(--blue-dark); text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #005989; outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 5; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.section { padding-block: var(--section); }
h1, h2, h3 { font-weight: 740; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.058em; }
h2 { font-size: clamp(2.05rem, 4vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.02em; }
h3 + p { margin-top: .8rem; }
.lead { font-size: clamp(1.13rem, 1.65vw, 1.3rem); line-height: 1.55; }
.site-header, .site-footer { background: var(--chrome); }
.site-header { border-bottom: 1px solid #dde7ee; }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--ink); white-space: nowrap; text-decoration: none; }
.brand img { width: clamp(7.5rem, 15vw, 10rem); }
.brand span { padding-left: .9rem; border-left: 1px solid #aabcc8; color: var(--body); font-weight: 650; }
nav { display: flex; flex-wrap: wrap; gap: .4rem clamp(.65rem, 2.7vw, 2.25rem); margin-left: auto; }
nav a { color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .68rem 1.25rem; border: 1px solid transparent; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--blue-dark); }
.button-outline { min-height: 42px; background: transparent; border-color: #9db3c0; color: var(--ink); }
.button-outline:hover { background: #dcecf6; }
.text-link { font-weight: 700; }
.hero-band {
  color: #f7fbff;
  background: radial-gradient(ellipse at 90% 18%, #245e77, transparent 62%), #102733;
}
.hero { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 4.5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 6rem); }
.hero > *, .case > *, .feature-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(3rem, 5.1vw, 4.9rem); line-height: 1.01; }
.hero h1 em { color: #a6e5fb; font-style: normal; }
.hero .lead { color: #d9e6ec; margin-top: 1.45rem; max-width: 37ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.4rem; margin-top: 1.85rem; }
.hero .text-link, .hero figcaption a { color: #f1faff; }
.hero .button { background: #b0ebff; color: #102b39; }
.hero .button:hover { background: #dcf6ff; }
.hero :focus-visible { outline-color: #b0ebff; }
.button { gap: .8rem; }
.button span, .text-link span { font-size: 1.15em; }
.shot { display: block; overflow: hidden; border-radius: 10px; border: 1px solid #beced6; cursor: zoom-in; }
.shot img { width: 100%; height: auto; }
.shot:hover { outline: 2px solid #3099bd; outline-offset: 3px; }
.hero .shot { border-color: #6b818d; box-shadow: 0 22px 54px #05151f66; }
.hero figcaption { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; color: #c7dce6; font-size: .87rem; }
.case { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 7.5rem); padding-block: var(--section); }
.case-band { background: #19394a; }
.case-copy { color: #f6fbfd; }
.case-copy .label { color: #a6e5fb; }
.case-copy h2 { max-width: 15ch; }
.case-copy > p:not(.label) { margin: 1.2rem 0 1.1rem; max-width: 46ch; }
.label { margin: 0 0 1rem; color: #22677e; font-size: .79rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.offer { border: 1px solid #b9dbe6; border-radius: 20px; background: #ebf7fb; padding: clamp(1.5rem, 3.5vw, 3rem); }
.offer h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .8rem; }
.offer-price { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin: 1.3rem 0; }
.offer-price strong { font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -.055em; }
.offer-price span, .deadline { font-size: .86rem; color: #405762; }
.deadline { margin-top: .6rem; }
.band { background: #f1f6f8; }
.feature-grid, .columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.35rem,3vw,2.5rem); }
.editing-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-block: 2rem 3rem; }
.editing-tasks article { border-top: 2px solid #9cc9d8; padding-top: 1rem; }
.editing-tasks h3 { line-height: 1.22; }
.feature-grid { margin-top: 2.3rem; }
.feature-grid h3 { margin-top: 1.5rem; font-size: clamp(1.4rem,2.4vw,2rem); }
.feature-grid p { max-width: 49ch; }
.intro .lead { margin-top: 1rem; max-width: 58ch; }
.plans { gap: 1rem; margin: 2rem 0 1.25rem; }
.plan { padding: clamp(1.2rem, 3.25vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); }
.price { color: var(--ink); line-height: 1.08; font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 750; letter-spacing: -.055em; }
.price small { font-size: .46em; letter-spacing: -.01em; font-weight: 650; }
.price-option { white-space: nowrap; }
.tax { font-size: .94rem; }
.pricing > .text-link { display: inline-block; margin-top: 1rem; }
.faq h2 { margin-bottom: 2rem; }
details { max-width: 58rem; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; cursor: pointer; list-style: none; padding: 1.03rem .2rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: .3rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
details[open] summary::after { transform: rotate(225deg); }
details p { padding: 0 .2rem 1.2rem; }
.contact { padding-block: clamp(2.75rem, 6.5vw, 5.5rem); display: flex; gap: 1.5rem 4rem; align-items: center; justify-content: space-between; }
.contact-band { background: #102733; color: white; }
.contact-band p { color: #d9e6ec; }
.contact-band .button { background: #b0ebff; color: #102b39; }
.contact-band .button:hover { background: #dcf6ff; }
.contact h2 { max-width: 24ch; }
.contact p { margin-top: .85rem; }
.footer-inner { min-height: 100px; flex-wrap: wrap; padding-block: 1rem; }
.footer-inner .brand { margin-right: auto; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .hero h1 { font-size: 3rem; }
  .case { gap: 2rem; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 2.25rem, 76rem); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding-top: .65rem; }
  .header-inner nav { order: 3; margin: 0; width: 100%; justify-content: space-between; }
  nav a, .actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .header-action { min-height: 44px; padding: .34rem .9rem; font-size: .875rem; }
  .hero, .columns, .case, .feature-grid, .editing-tasks { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 2rem; padding-block: 3rem 2rem; }
  .hero h1 { font-size: clamp(2.85rem, 9vw, 3.65rem); max-width: 15ch; }
  .hero .lead { margin-top: 1rem; }
  .hero .actions { margin-top: 1rem; }
  .case { gap: 2rem; }
  .feature-grid { gap: 2.5rem; }
  .contact { align-items: flex-start; flex-direction: column; }
  .footer-inner .brand { width: 100%; }
}
.hero h1 em { display: block; }
.offer-details { margin: .6rem 0 0; font-size: .9rem; }
.case-ended { grid-template-columns: 1fr; }
@media (max-width: 380px) {
  .header-inner { column-gap: .4rem; }
  .header-inner .brand { gap: .45rem; }
  .header-inner .brand img { width: 6.2rem; }
  .header-inner .brand span { padding-left: .45rem; }
  nav { column-gap: .4rem; }
  nav a { font-size: .875rem; }
  .offer .button { max-width: 100%; white-space: normal; line-height: 1.35; }
}
.offer-price small { font-size: .44em; letter-spacing: -.02em; }
.campaign-terms { margin: 1.2rem 0; }
.case-film { margin-top: 1.5rem; }
.case-film video { display: block; width: 100%; height: auto; border-radius: 10px; background: #13191b; }
.case-film figcaption { margin-top: .6rem; font-size: .9rem; color: #cee0e8; }
.case-film video:focus-visible, .contact-band :focus-visible { outline-color: #a6e5fb; }
.source-overview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.readme figcaption { margin-top: .6rem; font-size: .9rem; color: var(--body); }
@media (max-width: 800px) {
  .source-overview { grid-template-columns: minmax(0, 1fr); }
}

/* Stripe renders its own fixed-width checkout controls. Adapt to the
   space inside each purchase option, including narrow tablet columns. */
.stripe-product { container-type: inline-size; margin-block: 1.1rem; min-width: 0; }
stripe-buy-button { display: block; }
.stripe-fallback { font-size: .9rem; margin-top: .45rem; }
.compact-label { display: none; }
@container (max-width: 319px) {
  stripe-buy-button, .direct-label { display: none; }
  .compact-label { display: inline; }
  .stripe-fallback { margin-top: 0; }
  .stripe-fallback a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1rem; border-radius: .65rem; background: var(--blue); color: white; font-weight: 700; text-decoration: none; line-height: 1.4; }
  .stripe-fallback a:hover { background: var(--blue-dark); }
}
.update-options { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.update-options li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: 1.1rem clamp(.85rem, 2vw, 1.5rem); border: 1px solid #bfd6e0; border-radius: .9rem; background: white; }
.billing-period { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; }
.billing-period span { font-weight: 600; }
.billing-period strong { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.12; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.billing-period small { font-size: 1rem; letter-spacing: 0; font-weight: 500; }
.update-options .stripe-product { margin: 0; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; }
.contact-actions .text-link { color: #d9e6ec; }

.hero-figure { padding: clamp(.65rem, 1.3vw, 1.3rem); border: 1px solid #7594a366; border-radius: 1.25rem; background: #e5f7ff0b; }
.hero-figure figcaption { align-items: baseline; gap: .4rem 1rem; }
.feature-grid .shot { padding: clamp(.55rem, 1.6vw, 1.35rem); border-color: #d3e2e8; border-radius: 1.15rem; background: #e2edf2; }
.feature-grid .shot img { border: 1px solid #aec1cb; border-radius: .45rem; }
.feature-grid article:nth-child(2) .shot { background: #e3edeb; }
.license-note { margin-top: 1.4rem; }
.runtime-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.35rem 2.25rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--body); }
.runtime-options strong { display: block; color: var(--ink); margin-bottom: .3rem; }
.plans { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); margin-block: clamp(2.5rem, 5vw, 4.5rem) 1.6rem; align-items: start; gap: clamp(1.25rem, 3vw, 2.25rem); }
.plan { min-width: 0; background: #eef6f9; }
.single-plan { background: white; border-top: 4px solid #227896; }
.single-plan .stripe-product { margin-bottom: 0; }
.pricing .source-overview { padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: minmax(12rem, .6fr) minmax(0, 1.4fr); align-items: start; gap: 1rem 3rem; }
.questions summary { padding-block: 1.2rem; }
.contact-actions { flex-shrink: 0; }
@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { margin-bottom: .75rem; }
  .hero-figure figcaption { font-size: .875rem; }
  .contact-actions { flex-shrink: 1; }
}

#kuvanakyma {
  width: fit-content;
  max-width: calc(100% - 1.25rem);
  max-height: calc(100dvh - 1.25rem);
  margin: auto;
  padding: 0;
  border: 1px solid #748c9a;
  border-radius: .85rem;
  color: #fff;
  background: #102733;
  box-shadow: 0 1.5rem 5rem #0006;
}
#kuvanakyma::backdrop { background: rgb(8 22 31 / 85%); }
html:has(#kuvanakyma[open]) { overflow: hidden; }
.image-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .85rem; }
.image-bar h2 { font-size: 1rem; letter-spacing: normal; }
.image-bar button { min-height: 44px; padding: .45rem .9rem; border: 1px solid #7594a3; border-radius: .5rem; background: transparent; color: white; font: inherit; cursor: pointer; }
.image-bar button:hover { background: #245167; }
.image-bar button:focus-visible { outline-color: #a6e5fb; }
#kuvanakyma img { max-height: calc(100dvh - 6.5rem); width: auto; object-fit: contain; margin: auto; }
