:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --white: #fffefa;
  --ink: #192a22;
  --green: #173f30;
  --deep: #102e23;
  --muted: #4c5d54;
  --rule: #c7cfc4;
  --sage: #e9eee3;
  --rust: #81482b;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 750; line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; color: var(--deep); }
h1 { font-size: clamp(2.65rem, 5.8vw, 5rem); }
h2 { font-size: clamp(2rem, 3.65vw, 3.55rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
p { overflow-wrap: break-word; }
a { color: var(--green); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a65a2d; outline-offset: 4px; }
button, input { font: inherit; }
.wrap { width: min(1200px, calc(100% - clamp(2.25rem, 9vw, 9rem))); margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 5.8vw, 5.3rem); }
.section-head, .bar, .foot, .actions, .bar nav, .foot nav { display: flex; align-items: center; gap: 1rem; }
.section-head, .bar, .foot { justify-content: space-between; }
.section-head { margin-bottom: clamp(1.25rem, 2.8vw, 2.6rem); }
.header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid var(--rule); }
.bar { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .57rem; font: 750 1.78rem/.92 var(--sans); letter-spacing: -.055em; color: var(--deep); text-decoration: none; }
.mark { display: inline-grid; place-content: center; gap: 4px; width: 31px; height: 36px; border-radius: 2px 6px 6px 2px; background: var(--green); border-left: 4px solid #8fa891; }
.mark i { width: 13px; height: 1px; background: var(--white); }
.bar nav { gap: clamp(.85rem, 1.45vw, 1.5rem); }
.bar .brand, .bar > .button, .bar > nav a { white-space: nowrap; }
.bar nav a, .foot nav a { text-decoration: none; font-weight: 600; font-size: .94rem; }
.bar nav a[aria-current], .bar nav a:hover, .foot nav a:hover { text-decoration: underline; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: 650 .96rem/1.3 var(--sans); }
.button { padding: .78rem 1.25rem; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--deep); color: white; }
.button.secondary { background: transparent; color: var(--green); }
.button.secondary:hover { background: var(--sage); }
.text-link { text-decoration-thickness: 1px; }
.actions { flex-wrap: wrap; column-gap: 1.35rem; row-gap: .5rem; margin-top: 1.75rem; }
.lede { max-width: 62ch; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; margin-top: clamp(1rem, 2.6vw, 2.2rem); border-radius: 18px; overflow: hidden; background: var(--deep); color: #fff; }
.hero-copy { align-self: center; padding: clamp(1.5rem, 4vw, 3.75rem); }
.hero-audience { margin: 0 0 1.2rem; color: #d2dfca; font: 650 .9rem/1.35 var(--sans); }
.hero h1 { color: #fff; font-size: clamp(3.45rem, 5.9vw, 5.65rem); letter-spacing: -.058em; line-height: 1; }
.hero h1 em { font-family: var(--serif); font-weight: 500; color: #e3eacb; }
.hero .lede { max-width: 40ch; margin-top: 1.3rem; color: #eef1e9; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero-art { align-self: stretch; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.hero .button { color: var(--deep); background: #e3edce; border-color: #e3edce; }
.hero .button:hover { background: white; }
.hero .text-link { color: white; }
.hero :focus-visible, footer :focus-visible { outline-color: #f6c285; }
.view-choices { border: 0; margin: 0; padding: .25rem; display: inline-flex; flex-wrap: wrap; min-width: 0; background: var(--sage); border-radius: 5px; }
.view-choices label { position: relative; cursor: pointer; }
.view-choices input { position: absolute; opacity: 0; }
.view-choices span { display: grid; place-content: center; padding: .6rem .95rem; min-height: 44px; border-radius: 3px; font-size: .91rem; font-weight: 620; }
.view-choices input:checked + span { background: var(--green); color: white; }
.view-choices input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 2px; }
.demo-panel { display: none; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.showcase:has([value="avustaja"]:checked) #demo-avustaja,
.showcase:has([value="kauppa"]:checked) #demo-kauppa,
.showcase:has([value="kirjaukset"]:checked) #demo-kirjaukset,
.showcase:has([value="laskutus"]:checked) #demo-laskutus,
.showcase:has([value="kassa"]:checked) #demo-kassa,
.showcase:has([value="pankki"]:checked) #demo-pankki,
.showcase:has([value="raportit"]:checked) #demo-raportit { display: grid; }
.demo-panel figure { min-width: 0; }
.demo-copy p, .example p, .library-intro p, .contact p { margin: 1rem 0; color: var(--muted); max-width: 55ch; }
.shot, .guide-image { display: block; text-decoration: none; }
.shot img, .guide-image img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 4px; background: white; }
.shot span, .guide-image span { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; font-size: .9rem; font-weight: 600; }
.example-band, .news-band { background: var(--sage); }
.example, .library-intro, .contact { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.example h2 { max-width: 12ch; }
.ledger { min-width: 0; border: 1px solid #aab9a8; border-radius: 6px; overflow: hidden; background: var(--white); }
.ledger-heading, .ledger figcaption { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .8rem 1.2rem; }
.ledger-heading { color: white; background: var(--green); }
.ledger-heading > span:first-child { display: flex; align-items: center; gap: .6rem; font: bold 1.38rem/1 var(--serif); }
.ledger-heading > span:last-child, .ledger figcaption { font-size: .88rem; }
.ledger-heading .mark { border-color: #9ab2a0; width: 20px; height: 24px; }
.ledger-heading .mark i { width: 9px; }
.ledger-body { padding: 1.25rem; }
.prompt { width: fit-content; margin-left: auto; padding: .45rem .9rem; border-radius: 5px; background: var(--sage); }
.prompt small, .answer small { display: block; font-weight: 680; font-size: .83rem; }
.answer { margin-top: .8rem; }
.answer p { margin: .25rem 0 .65rem; color: var(--ink); }
.attachment { display: flex; align-items: center; gap: .45em; }
.paperclip { width: 7px; height: 14px; border: 1.5px solid; border-radius: 5px; transform: rotate(27deg); }
.posting { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .94rem; line-height: 1.4; }
.posting :is(th,td) { padding: .52em .15em; text-align: right; border-bottom: 1px solid var(--rule); }
.posting th:first-child { text-align: left; }
.posting tbody th { font-weight: 500; }
.posting td { white-space: nowrap; }
.ledger figcaption { border-top: 1px solid var(--rule); color: var(--muted); }
.ledger figcaption span:last-child { background: #f3e9d7; color: #68451c; padding: .2em .65em; border-radius: 3px; }
.library-intro { grid-template-columns: 1.25fr 1fr; margin-bottom: 2.25rem; }
.library-art { display: block; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; border-radius: 3px; }
.library h3 { margin-bottom: 1.2rem; }
.rows, .guide-cards, .guide-aside ul { list-style: none; padding: 0; margin: 0; }
.row { display: flex; gap: 2rem; padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row a { font: 650 clamp(1.1rem, 1.9vw, 1.35rem)/1.25 var(--sans); text-decoration: none; }
.row a:hover { text-decoration: underline; }
.row p { margin-top: .35rem; color: var(--muted); max-width: 88ch; }
.date, .metadata, .small, .muted { color: var(--muted); }
.date, .metadata { font-size: .9rem; font-variant-numeric: tabular-nums; }
.date { min-width: 6rem; padding-top: .15rem; }
.contact { grid-template-columns: 1.1fr 1fr; align-items: start; }
.contact > div + div { padding-left: clamp(1.5rem, 4vw, 4rem); border-left: 1px solid var(--rule); }
.contact h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
footer { background: var(--deep); color: var(--white); padding-block: 2rem; }
.foot .brand, .foot nav a { color: var(--white); }
.foot p { color: #cad8cc; font-size: .9rem; white-space: nowrap; }
.foot { display: grid; grid-template-columns: minmax(12rem,1.3fr) repeat(3, minmax(0,1fr)); align-items: start; gap: 2rem; }
.foot > div p { margin-top: .9rem; white-space: normal; max-width: 24ch; }
.foot nav { display: grid; align-content: start; gap: .4rem; }
.foot nav strong { color: #c6d8c0; margin-bottom: .35rem; font-size: .9rem; }
.foot nav a { font-weight: 500; width: fit-content; }
.foot-base { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #476254; display: flex; justify-content: space-between; color: #cee0d2; font-size: .875rem; }
.foot-base a { color: inherit; }
.mast { padding-block: clamp(2.5rem, 5.5vw, 5rem) 2rem; }
.mast.illustrated, .guide-mast { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); border-bottom: 1px solid var(--green); margin-bottom: 1.5rem; }
.mast .lede, .article .lede { margin-top: 1rem; }
.mast :is(h1,h2), .article :is(h1,h2,h3) { overflow-wrap: anywhere; hyphens: auto; }
.index-body { padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.search { display: flex; gap: .5rem; max-width: 48rem; margin-bottom: 2rem; }
.search label { flex: 1; min-width: 0; }
.search input { width: 100%; min-width: 0; min-height: 44px; padding: .6rem .8rem; background: white; border: 1px solid #869989; border-radius: 8px; color: var(--ink); }
.header-search { display: flex; justify-content: flex-end; padding-bottom: .9rem; }
.header-search .search { width: min(100%, 27rem); margin: 0; }
.search-page section { max-width: 54rem; }
.search-category { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .875rem; }
.topic-grid, .guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 4.5vw, 4rem); }
.topic-card, .guide-cards li { display: flex; padding: 1.3rem .2rem; border-top: 1px solid var(--rule); text-decoration: none; }
.topic-card:hover, .guide-cards li:is(:hover,:focus-within) { background: var(--sage); }
.topic-card strong, .guide-cards h2 { display: block; font: 650 clamp(1.25rem, 2.1vw, 1.4rem)/1.25 var(--sans); letter-spacing: -.025em; }
.topic-card small, .guide-cards p { display: block; margin-top: .42rem; color: var(--muted); }
.topic-card small { font-size: .9rem; }
.index-links { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.result-title { font-size: 2rem; margin-block: 1.2rem; }
.guide-cards li { display: block; position: relative; }
.guide-cards h2 a { text-decoration: none; }
.guide-cards h2 a::after { content: ""; position: absolute; inset: 0; }
.guide-index > .muted { margin-top: 1.5rem; font-size: .94rem; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .39fr); gap: clamp(1.8rem, 5vw, 5rem); align-items: start; padding-block: clamp(2rem, 4.5vw, 4rem) 5rem; }
.article { min-width: 0; }
.article h1 { font-size: clamp(2.45rem, 4.6vw, 4.35rem); }
.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; font-size: .93rem; }
.metadata { margin-top: 1rem; }
.article-aside { padding: clamp(1.1rem, 2.3vw, 2.2rem); background: var(--sage); border-top: 2px solid var(--green); margin-top: 2.8rem; overflow-wrap: anywhere; }
.article-aside h2 { font-size: 1.55rem; margin-bottom: .8rem; }
.article-aside h2:not(:first-child) { margin-top: 1.6rem; }
.sources { padding-left: 1.1rem; margin: 0; font-size: .96rem; }
.sources li+li, .guide-aside li+li { margin-top: .55rem; }
.guide-aside a[aria-current] { font-weight: 750; }
.guide-aside .button { margin-top: 1.3rem; }
.prose, .subpages { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.prose h2, .subpages h2 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); }
.prose h3 { font-size: 1.4rem; }
.prose h2:not(:first-child), .prose h3 { margin-top: 1.8rem; }
.prose :is(h2,h3) { margin-bottom: .65rem; line-height: 1.15; }
.prose > :is(p,ol,ul,dl) { max-width: 73ch; }
.prose p+p, .prose li+li, .prose dd+dt { margin-top: .65rem; }
.prose :is(ol,ul,.sources) { padding-inline-start: 1.5em; }
.prose code { background: var(--sage); padding: .1em .25em; }
.prose pre { overflow-x: auto; }
.prose table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.prose :is(td,th) { min-width: 8rem; border: 1px solid var(--rule); padding: .5rem; text-align: left; vertical-align: top; overflow-wrap: normal; }
.standalone { max-width: 48rem; margin-top: 0; }
.prose p:has(.guide-image) { max-width: none; }
.guide-image { margin: 1.4rem 0; }
.guide-next { margin-top: 2rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.guide-next a { font-weight: 650; }
.mobile-menu, .bar nav .mobile-product { display: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 4; padding: .65rem; background: white; }
@media (max-width: 1140px) {
  .bar { min-height: 65px; }
  .header-search .search { width: 100%; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; padding: .6rem; min-height: 44px; font-weight: 650; }
  .bar > nav, .bar > .button { display: none; }
  .mobile-menu nav { display: grid; position: absolute; inset: 100% 0 auto; padding: .75rem 5vw; background: var(--white); border-block: 1px solid var(--rule); gap: 0; }
  .mobile-menu nav a, .mobile-menu nav .mobile-product, .foot nav a, .guide-aside li a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 780px) {
  .hero { grid-template-columns: 1.12fr 1fr; }
  .hero h1 { font-size: clamp(3rem, 7vw, 4rem); }
  .article-grid { grid-template-columns: minmax(0,1fr); }
  .article-aside { margin: 0; }
  .foot { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .foot nav { gap: 0; }
}
@media (max-width: 650px) {
  .hero, .demo-panel, .example, .library-intro, .contact, .mast.illustrated, .guide-mast { grid-template-columns: minmax(0,1fr); }
  .hero { border-radius: 12px; }
  .hero h1 { font-size: clamp(3.15rem, 11.6vw, 4.5rem); }
  .hero .lede { margin-top: 1rem; }
  .hero-art { height: auto; aspect-ratio: 2.2; }
  .actions { margin-top: 1.1rem; }
  .section-head { flex-wrap: wrap; gap: .9rem; }
  .showcase .section-head { flex-direction: column; align-items: flex-start; }
  .demo-panel { gap: .8rem; }
  .demo-copy p, .example p, .library-intro p, .contact p { margin: .75rem 0; }
  .view-choices { max-width: 100%; }
  .view-choices span { padding: .5rem .8rem; }
  .example { gap: 1.3rem; }
  .contact > div + div { padding: 1.6rem 0 0; border: 0; border-top: 1px solid var(--rule); }
  .row { flex-direction: column; gap: .25rem; }
  .date { padding: 0; }
  .topic-grid, .guide-cards { grid-template-columns: minmax(0, 1fr); }
  .library-art { aspect-ratio: 2.8; }
  .ledger-body, .ledger-heading, .ledger figcaption { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.order, .order-follow { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.order h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); }
.order .lede { margin: 1.4rem 0 .8rem; max-width: 43ch; }
.order-box { padding: clamp(1.3rem, 3.2vw, 3rem); background: var(--sage); border-top: 2px solid var(--green); }
.order-box h2, .order-follow h2 { font-size: clamp(2rem, 3vw, 2.65rem); }
.order-box p, .order-follow p { margin: 1rem 0; color: var(--muted); }
.order-box p:last-child { margin-bottom: 0; font-size: .93rem; }
.order-follow > div + div { border-left: 1px solid var(--rule); padding-left: clamp(1rem, 4vw, 4rem); }
@media (max-width: 700px) {
  .order, .order-follow { grid-template-columns: minmax(0,1fr); }
  .order-follow > div + div { border: 0; border-top: 1px solid var(--rule); padding: 1.5rem 0 0; }
}
.order-step { margin: 1.5rem 0 .55rem; font-size: 1.55rem; }
.order-form fieldset { margin: 1.4rem 0; padding: 0; border: 0; }
.order-form legend, .form-field, .order-filter label { font-weight: 650; }
.kind-choice { display: flex; align-items: center; gap: .55rem; min-height: 44px; }
.kind-choice input { accent-color: var(--green); width: 1.1rem; height: 1.1rem; }
.form-field { display: grid; gap: .3rem; margin: 1rem 0; }
.form-field :is(input,select), .order-filter select { width: 100%; min-width: 0; padding: .65rem; border: 1px solid #819284; background: var(--white); color: var(--ink); border-radius: 4px; font: inherit; font-weight: 400; }
.order-form .small { font-size: .93rem; }
.form-error { padding: .7rem; border-left: 3px solid var(--rust); background: #fff3df; }
.login-panel, .login-panel + .request-reference {
  max-width: 30rem;
}
.login-panel {
  margin-block: clamp(2rem, 6vw, 4.75rem);
  padding: clamp(1.25rem, 5vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--white);
}
.login-panel h1 { font-size: clamp(1.85rem, 5vw, 2.65rem); }
.login-panel > p { margin-top: .75rem; color: var(--muted); }
.login-panel .button { width: 100%; }
.login-panel > .button { margin-top: 1.25rem; }
.login-panel:has(+ .request-reference) { margin-bottom: 0; }
.login-panel + .request-reference {
  margin-block: .85rem clamp(2rem, 6vw, 4.75rem);
  padding-inline: .25rem;
  font-size: .85rem;
}
.login-panel + .request-reference code {
  display: block;
  margin-top: .15rem;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.order-status { display: inline-block; padding: .25em .65em; border: 1px solid var(--rule); border-radius: 3px; margin: .6rem 0; font-size: .93rem; }
.order-summary { margin: 1rem 0; }
.order-summary div { display: grid; grid-template-columns: minmax(7rem,.7fr) 1fr; border-top: 1px solid var(--rule); padding: .5rem 0; gap: 1rem; }
.order-summary dd { margin: 0; overflow-wrap: anywhere; }
.order-summary dt { font-weight: 600; }
.order-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin-bottom: 1rem; }
.orders-list .row { align-items: center; justify-content: space-between; }
@media (max-width:650px) { .orders-list .row { align-items: flex-start; } .order-summary div { grid-template-columns: 1fr; gap: .1rem; } }

@media (max-width: 410px) { .foot { column-gap: 1rem; } .foot > div { grid-column: 1/-1; } .hero-copy { padding: 1.3rem; } }

.legal-text section { max-width: 72ch; scroll-margin-top: 1.5rem; }
.legal-text section + section { margin-top: 2.3rem; }
.legal-text a { overflow-wrap: anywhere; }

.showcase .section-head { flex-wrap: wrap; gap: 1rem 2rem; }
.showcase-more { margin-top: 1.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.feature-grid section { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.feature-grid h3 { font-size: clamp(1.45rem,2.35vw,1.95rem); }
.feature-group-head { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(1.4rem,5vw,5rem); align-items: center; margin-bottom: clamp(1.5rem,4vw,3rem); }
.feature-group-head h2 { scroll-margin-top: 2rem; }
.feature-group-head p { max-width: 46ch; color: var(--muted); margin-top: .8rem; }
nav.feature-links { gap: .5rem 1.5rem; }
@media (max-width:700px) { .feature-group-head { grid-template-columns: minmax(0,1fr); } }
.feature-grid p { margin-block: .8rem; }
.feature-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }

.price-choice { display: flex; align-items: baseline; gap: .65rem; padding: .85rem 0; border-top: 1px solid var(--rule); cursor: pointer; }
.price-choice input { accent-color: var(--green); }
.price-choice small { display: block; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; font-weight: 700; padding-block: .5rem; }
.price-table th, .price-table td { border-top: 1px solid var(--rule); padding: .55rem .1rem; }
.price-table th { text-align: left; font-weight: 500; }
.price-table td { text-align: right; }

.hero { grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); overflow-wrap: break-word; hyphens: auto; }
.hero .trial-note { margin-top: 1.1rem; max-width: 48ch; color: #d6e2d6; font-size: .94rem; }
.trial-plans { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(2rem,7vw,6rem); align-items: start; border-bottom: 1px solid var(--rule); }
.trial-intro { padding-block: .45rem; }
.trial-intro h2 { max-width: 12ch; scroll-margin-top: 2rem; }
.trial-intro p { margin: 1rem 0 .45rem; color: var(--muted); max-width: 40ch; }
.trial-intro .text-link { justify-content: start; }
.trial-options { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding-inline: clamp(1.1rem,2.8vw,2.2rem); }
.trial-option { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.trial-option-head { display: flex; align-items: baseline; gap: .75rem; justify-content: space-between; }
.trial-option h3 { font-size: 1.4rem; letter-spacing: -.035em; }
.trial-price { color: var(--deep); font: 600 clamp(1.4rem,2.2vw,1.85rem)/1.15 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.trial-option > p { color: var(--muted); margin-top: .35rem; max-width: 54ch; }
.trial-tax { color: var(--muted); padding-block: .65rem; font-size: .9rem; }

.plan-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem,2vw,1.5rem); }
.price-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.1rem,2.2vw,2.1rem); background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: 12px; }
.price-card h2 { font-size: clamp(1.4rem,2.2vw,1.85rem); }
.price-card p { color: var(--muted); margin-bottom: .75rem; }
.price-card .plan-price { align-self: stretch; margin: .8rem 0 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule); color: var(--deep); font: 600 clamp(2rem,3.2vw,2.85rem)/1.15 var(--serif); letter-spacing: -.04em; }
.price-card strong { color: var(--deep); }
.price-card .button { margin-top: auto; }
.price-terms details { max-width: 73ch; border-top: 1px solid var(--rule); }
.price-terms details:last-child { border-bottom: 1px solid var(--rule); }
.price-terms summary { padding: .8rem .25rem; cursor: pointer; font-weight: 650; }
.price-terms details p { color: var(--muted); padding: 0 .25rem 1rem; }
.plan-checkout { width: 100%; min-height: 46rem; border: 1px solid var(--rule); margin-block: 1rem; }
.plan-order-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(1.2rem,3vw,2.5rem); }
.plan-order-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; gap: clamp(1.75rem,5vw,5rem); }
.plan-order-receipt { padding: clamp(1.25rem,3vw,2.3rem); background: var(--sage); border: 1px solid var(--rule); border-radius: 12px; }
.plan-order-receipt p + p { margin-top: .75rem; }
.plan-order-receipt .lede { color: var(--deep); font: 600 2rem/1.2 var(--serif); }
.plan-summary { margin: 0 0 1rem; border-bottom: 1px solid var(--rule); }
.plan-summary dt { font-weight: 650; color: var(--deep); }
.plan-summary dd { margin: .25rem 0 1rem; }
.plan-summary dd strong { display: block; font: 650 clamp(1.45rem,2.4vw,2rem)/1.2 var(--serif); color: var(--deep); }
.plan-order-fees { margin: 0; padding: 0; border: 0; }
.plan-order-next { margin-top: clamp(2rem,4vw,3.75rem); padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.plan-order-next h2 { font-size: clamp(1.6rem,3vw,2.35rem); }
.plan-order-next p { max-width: 70ch; margin-block: .85rem; }
@media (max-width: 780px) {
  .trial-plans, .plan-order-grid, .plan-cards { grid-template-columns: minmax(0,1fr); }
  .trial-plans { gap: 1.15rem; }
  .trial-intro { padding: 0; }
  .trial-intro h2 { max-width: none; }
  .trial-intro p { max-width: 55ch; }
}
@media (max-width: 650px) {
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: clamp(2.15rem,8.9vw,3.75rem); }
}
