@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --ink: #352c26;
  --muted: #645950;
  --copper: #95491f;
  --accent: #c57845;
  --line: #e6d8cb;
  --peach: #fbe6d4;
  --tint: #fff6ee;
  --paper: #fffcf9;
  --margin: clamp(1.15rem, 5.55vw, 6.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font: 400 1rem/1.55 "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 580; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.05vw, 2.85rem); line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 2.15vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 1.55vw, 1.4rem); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.skip { position: absolute; z-index: 4; left: 1rem; top: -5rem; padding: .75rem 1rem; background: white; }
.skip:focus { top: .5rem; }
.wrap { width: min(81rem, calc(100% - 2 * var(--margin))); margin-inline: auto; }
.zone { padding-block: clamp(2.6rem, 4.3vw, 4.5rem); }
.icon { width: 1.3em; height: 1.3em; flex-shrink: 0; }
.kicker, .micro { font-size: .77rem; letter-spacing: .095em; font-weight: 680; text-transform: uppercase; line-height: 1.45; }
.kicker { color: var(--copper); display: flex; align-items: center; gap: .65rem; }
.kicker::before { content: ""; width: 1.55rem; height: 2px; background: var(--accent); }
.lead { font-size: clamp(1.03rem, 1.3vw, 1.14rem); line-height: 1.66; color: var(--muted); }
.masthead { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-inner, .masthead nav, .actions, .button, .contact-link, .section-heading, .icon-link { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; gap: 2rem; min-height: 4.55rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 6.875rem; height: auto; }
.masthead nav { gap: clamp(1.3rem, 2.8vw, 3rem); }
.masthead nav a { font-weight: 550; font-size: .94rem; }
.masthead nav a:not(.contact-link):is(:hover, [aria-current="page"]) { text-decoration: underline; text-underline-offset: .35em; color: var(--copper); }
.contact-link, .button, .menu-toggle { border-radius: .35rem; }
.contact-link, .button { gap: .6rem; width: fit-content; justify-content: center; min-height: 2.8rem; font-weight: 650; line-height: 1.35; }
.contact-link { border: 1px solid #d2b49c; padding: .63rem 1rem; }
.contact-link .icon { color: var(--copper); }
.contact-link:hover, .menu-toggle:hover { background: var(--tint); }
.menu-toggle { display: none; }
.actions { gap: 1.5rem; flex-wrap: wrap; margin-top: 1.55rem; }
.button { padding: .8rem 1.15rem; font-size: .94rem; }
.primary { color: #4d2e1f; background: #f6d6bb; border: 1px solid #e5b995; }
.primary:hover { background: #f3c6a3; border-color: #d69d74; }
.text-link, .card-more { font-size: .94rem; color: #643b25; font-weight: 600; text-decoration: underline; text-underline-offset: .32em; text-decoration-thickness: 1px; text-decoration-color: #c09b7d; }
.text-link:hover, .service-card:hover .card-more { color: var(--copper); text-decoration-color: currentColor; }
.hero { background: linear-gradient(110deg,#fffcf8 15%,#fff5eb 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0,.89fr) minmax(0,1.11fr); align-items: center; gap: 5.5%; padding-block: clamp(2.4rem, 4.3vw, 4.5rem); }
.hero h1 { margin: .95rem 0 1.05rem; max-width: 17ch; }
.hero .lead { max-width: 33rem; }
.system-figure { position: relative; border: 1px solid #ecd9c6; border-radius: .85rem; overflow: hidden; background: #fff6ed; }
.system-figure img { width: 100%; height: auto; }
.system-labels a { position: absolute; top: 80%; transform: translateX(-50%); color: #72472e; background: #fff9f1; border: 1px solid #dfbea6; border-radius: .28rem; padding: .19rem .55rem; font-size: clamp(.78rem, .95vw, .9rem); font-weight: 650; }
.system-labels a:nth-child(1) { left: 12.5%; }
.system-labels a:nth-child(2) { left: 53.9%; top: 85.5%; }
.system-labels a:nth-child(3) { left: 87.8%; }
.system-labels a:hover { background: var(--peach); }
.audience { background: #fff9f2; border-block: 1px solid var(--line); }
.audience-inner, .audience ul, .audience li { display: flex; align-items: center; }
.audience-inner { min-height: 3.75rem; gap: 2.5rem; }
.audience .micro { color: var(--muted); }
.audience ul { list-style: none; gap: clamp(1.4rem,4vw,4rem); flex-wrap: wrap; padding: 0 0 0 2.5rem; margin: 0; border-left: 1px solid #ddc8b5; }
.audience li { gap: .5rem; font-size: .96rem; }
.audience .icon, .icon-link .icon { color: var(--copper); }
.section-heading { justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.5rem; margin: .55rem 0 1.4rem; }
.icon-link { gap: .48rem; }
.service-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; align-items: start; padding: clamp(1.25rem,2.3vw,2.15rem); border-right: 1px solid var(--line); }
.service-card:first-child { padding-left: 0; }
.service-card:last-child { border: 0; }
.service-card:hover { background: var(--paper); }
.service-icon, .step-symbol { display: inline-grid; place-items: center; flex-shrink: 0; color: var(--copper); border-radius: .45rem; }
.service-icon { width: 2.65rem; height: 2.65rem; border: 1px solid #edcdb2; background: var(--tint); }
.service-icon .icon { width: 1.48rem; height: 1.48rem; }
.service-card h3 { margin: .9rem 0 .5rem; }
.service-card p, .about p:not(.kicker), .detail-body, .section-intro, .demo-invite p:not(.kicker), .module-list dd { color: var(--muted); }
.service-card p { margin-bottom: .95rem; }
.card-more { margin-top: auto; }
.sopo-band, .product-intro { background: var(--tint); border-block: 1px solid var(--line); }
.sopo-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: 6%; padding-block: clamp(2.8rem,4.6vw,5rem); }
.sopo-copy h2, .about h2, .demo-invite h2 { margin: .65rem 0 .85rem; }
.sopo-copy > p:not(.kicker) { max-width: 31rem; color: var(--muted); }
.sopo-copy .button { margin-top: 1.3rem; }
.vloga-flow, .case-figure { border: 1px solid var(--line); background: var(--paper); padding: clamp(1rem,2vw,1.9rem); border-radius: .65rem; }
.vloga-flow figcaption strong, .case-figure figcaption strong { display: block; margin-top: .35rem; font-size: 1.14rem; font-weight: 630; line-height: 1.35; }
.flow-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; margin: 1.25rem 0 0; padding: 0; }
.flow-steps li { position: relative; display: flex; align-items: flex-start; flex-direction: column; padding-right: .5rem; }
.step-symbol { position: relative; width: 2.45rem; height: 2.45rem; background: #ffe6d0; border: 1px solid #dfb491; z-index: 1; }
.flow-steps li:not(:last-child)::before { content: ""; position: absolute; height: 1px; background: #c9a88c; left: 2.45rem; top: 1.2rem; right: 0; }
.flow-steps strong { margin: .5rem 0 .15rem; font-size: .96rem; }
.flow-steps li > span:last-child { color: var(--muted); font-size: .91rem; line-height: 1.45; }
.about { display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 7%; }
.about p:not(.kicker) { max-width: 43rem; }
.about p + p { margin-top: .55rem; }
.about-stat { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.about-stat strong { font-size: clamp(2.5rem,4vw,3.8rem); font-weight: 520; letter-spacing: -.065em; line-height: 1.15; }
.about-stat strong span { color: var(--accent); }
.about-stat > span { color: var(--muted); }
.footer { background: #fbf3ea; border-top: 1px solid var(--line); }
.contact-main { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 6%; padding: 2.6rem 0; }
.contact-main h2 { margin-top: .6rem; }
.contact-info { justify-self: end; }
.email, address { display: flex; gap: .65rem; }
.email { align-items: center; width: fit-content; font-weight: 550; font-size: 1.17rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.email img { width: 6.8em; height: auto; padding-bottom: .12em; border-bottom: 1px solid currentColor; }
address { font-style: normal; align-items: baseline; color: var(--muted); margin-top: .5rem; }
.contact-info .icon { width: 1.15rem; height: 1.15rem; color: var(--copper); }
.footer-base { display: flex; align-items: center; gap: 1.4rem; min-height: 4.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-base img { width: 4.9rem; }
.footer-base a:last-child { margin-left: auto; text-decoration: underline; text-underline-offset: .25em; }
.sub-intro { padding-bottom: clamp(2.4rem,3.8vw,4rem); }
.crumb { display: flex; align-items: center; gap: .65rem; font-size: .88rem; color: var(--muted); padding-top: 1.15rem; margin-bottom: 2.15rem; }
.crumb a { text-decoration: underline; text-underline-offset: .2em; }
.sub-intro h1 { margin: .65rem 0 .9rem; }
.sub-intro .lead { max-width: 43rem; }
.catalog { display: grid; grid-template-columns: .85fr 2fr; align-items: start; gap: 6%; padding-bottom: 4rem; border-top: 1px solid var(--line); }
.catalog-nav { position: sticky; top: 1rem; padding-top: 2rem; }
.catalog-nav .micro { color: var(--muted); margin-bottom: .65rem; }
.catalog-nav a { display: flex; align-items: center; gap: .6rem; font-weight: 550; padding: .6rem 0; }
.catalog-nav a:hover, summary:hover { color: var(--copper); }
.catalog-nav .icon { color: var(--copper); }
.catalog-group { padding-top: 2rem; scroll-margin-top: .5rem; }
.catalog-group + .catalog-group { margin-top: 1rem; }
.group-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.group-head h2 { font-size: clamp(1.35rem,2.2vw,1.75rem); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1rem; font-weight: 560; padding: 1rem .15rem; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--copper); }
details[open] summary .icon { transform: rotate(45deg); }
.detail-body { padding: 0 1.7rem 1.35rem .15rem; }
.detail-body .text-link { display: inline-block; margin-top: .85rem; }
.product-intro { border-top: 0; }
.product-intro .crumb { margin-bottom: 1.15rem; }
.product-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 7%; align-items: center; padding-bottom: 2.6rem; }
.sopo-logo { width: 10rem; height: auto; mix-blend-mode: multiply; margin-left: -.45rem; }
.product-hero h1 { margin: 1rem 0 .9rem; }
.assistant-diagram { container-type: inline-size; }
.research-steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; padding: 0; margin: 1.1rem 0 0; }
.research-steps li { position: relative; }
.research-art { display: block; width: min(100%, 7rem); height: 5.5rem; margin: 0 0 .6rem; }
.research-steps li:not(:last-child)::after { content: ""; position: absolute; top: 3rem; left: min(95%,7rem); right: -.95rem; border-top: 1px dashed #d3ad8f; }
.research-steps strong { display: block; margin-bottom: .35rem; font-size: .98rem; line-height: 1.35; }
.research-steps p, .parcel-diagram p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.parcel-layers { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); align-items: center; margin: 1.15rem 0; }
.parcel-layers img { width: 100%; height: auto; }
.parcel-layers ul { position: relative; align-self: stretch; list-style: none; margin: 0; padding: 0; }
.parcel-layers li { position: absolute; transform: translateY(-50%); padding-left: .5rem; color: #6a4832; font-size: .92rem; line-height: 1.25; font-weight: 600; }
.parcel-layers li:nth-child(1) { top: 15.6%; }
.parcel-layers li:nth-child(2) { top: 50.8%; }
.parcel-layers li:nth-child(3) { top: 83.6%; }
.parcel-diagram p { padding-top: .85rem; border-top: 1px solid var(--line); }
@container (max-width: 23rem) {
  .research-steps { grid-template-columns: 1fr; gap: .55rem; }
  .research-steps li { display: grid; grid-template-columns: 4.4rem minmax(0,1fr); align-content: center; column-gap: .85rem; padding-block: .4rem; }
  .research-art { grid-row: span 2; align-self: center; width: 100%; height: auto; margin: 0; }
  .research-steps li:not(:last-child)::after { display: none; }
  .research-steps li + li { border-top: 1px solid var(--line); }
}
.section-intro { max-width: 46rem; margin: -.6rem 0 1.45rem; }
.example-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .45rem; }
.example-links a { display: flex; align-items: center; gap: .65rem; font-size: .96rem; font-weight: 600; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--paper); }
.example-links a:hover, .example-links a[aria-selected="true"] { background: var(--peach); border-color: #d6a37d; color: #683c23; }
.example-links .icon { color: var(--copper); }
.example-panel { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: start; gap: 5.5%; padding-block: 2rem .4rem; scroll-margin: 1rem; }
.example-panel[hidden] { display: none; }
.module-content h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.module-list { border-top: 1px solid var(--line); }
.module-list > div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.module-list dt { font-weight: 650; }
.module-list dd { margin-top: .22rem; }
.case-figure { background: #fff8f1; }
.case-figure .micro { color: var(--copper); }
.case-figure .flow-steps { display: flex; flex-direction: column; gap: 0; }
.case-figure .flow-steps li { display: grid; grid-template-columns: 2.45rem minmax(0,1fr); column-gap: .8rem; align-items: start; padding: 0 0 1rem; }
.case-figure .flow-steps li:last-child { padding-bottom: 0; }
.case-figure .flow-steps li:not(:last-child)::before { left: 1.2rem; top: 2.45rem; bottom: 0; height: auto; width: 1px; }
.case-figure .step-symbol { grid-row: span 2; }
.case-figure .flow-steps strong { margin: .1rem 0 .2rem; }
.routes { display: grid; gap: .55rem; margin: 1rem 0; }
.routes > div { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; padding: .7rem; border: 1px solid var(--line); background: white; border-radius: .4rem; }
.routes .icon { grid-row: span 2; margin-top: .12rem; color: var(--copper); }
.routes span { color: var(--muted); font-size: .94rem; }
.routes-result { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 600; color: #674129; border-top: 1px solid var(--line); padding-top: .8rem; }
.demo-invite { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: 3rem; }
.demo-invite p { max-width: 43rem; }
.demo-invite .button { flex-shrink: 0; }
@media (max-width: 940px) {
  .hero-inner, .product-hero { gap: 3.5%; }
  .sopo-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 3%; }
  .example-links a { padding: .75rem; gap: .4rem; }
  .example-panel { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 4%; }
}
@media (max-width: 720px) {
  .masthead-inner { min-height: 4rem; flex-wrap: wrap; gap: 0; }
  .masthead .brand img { width: 5.8rem; }
  .masthead nav { width: 100%; flex-wrap: wrap; gap: .8rem 1.3rem; padding: .5rem 0 1rem; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border: 1px solid #cfb8a6; background: var(--paper); }
  .js .masthead nav { display: none; flex-direction: column; align-items: stretch; gap: 0; }
  .js .masthead nav.is-open { display: flex; }
  .js .masthead nav a { padding: .68rem 0; border-top: 1px solid var(--line); }
  .js .masthead .contact-link { width: 100%; justify-content: flex-start; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .hero-inner, .sopo-grid, .about, .contact-main, .catalog, .product-hero, .example-panel { grid-template-columns: minmax(0,1fr); }
  .hero-inner { padding-block: 2rem 1.35rem; gap: 1.5rem; }
  .hero h1 { max-width: 19ch; margin: .65rem 0 .8rem; }
  .actions { gap: 1.05rem; margin-top: 1.15rem; }
  .system-figure { max-width: 34rem; width: 100%; justify-self: center; }
  .system-labels a { padding: .12rem .4rem; }
  .audience-inner { align-items: flex-start; flex-direction: column; gap: .45rem; padding-block: .8rem; }
  .audience ul { gap: .7rem 1.1rem; border: 0; padding: 0; }
  .audience li { font-size: .9rem; gap: .35rem; }
  .audience .icon { width: 1.1rem; height: 1.1rem; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding: 1.15rem 0; border: 0; }
  .service-card + .service-card { border-top: 1px solid var(--line); }
  .service-card .service-icon { grid-row: span 3; }
  .service-card h3 { margin: .05rem 0 .4rem; }
  .service-card p { margin: 0 0 .65rem; }
  .sopo-grid, .contact-main, .product-hero, .about, .example-panel { gap: 1.4rem; }
  .about-stat { flex-direction: row; align-items: baseline; gap: .8rem; padding-bottom: .8rem; border: 0; border-bottom: 1px solid var(--line); }
  .contact-info { justify-self: start; }
  .catalog { gap: 0; }
  .catalog-nav { position: static; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .catalog-nav a { padding: .4rem 0; }
  .catalog-group { padding-top: 1.5rem; }
  .crumb { margin-bottom: 1.4rem; }
  .sopo-logo { width: 8.8rem; }
  .example-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .example-links a { font-size: .9rem; }
  .demo-invite { align-items: start; flex-direction: column; gap: 1.2rem; }
}
@media (max-width: 520px) {
  .vloga-flow .flow-steps { grid-template-columns: 1fr; gap: .65rem; }
  .vloga-flow .flow-steps li { display: grid; grid-template-columns: 2.45rem 1fr; column-gap: .75rem; }
  .vloga-flow .flow-steps strong { margin: 0; }
  .vloga-flow .step-symbol { grid-row: span 2; }
  .vloga-flow .flow-steps li:not(:last-child)::before { left: 1.2rem; top: 2.45rem; bottom: -.65rem; height: auto; width: 1px; }
  .case-figure { padding: 1rem; }
  .footer-base { gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
