/* stonsys.com: one stylesheet for every page */
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

:root {
  --brand: #289DD2;        /* logo blue: marks, lines, fills */
  --brand-ink: #136E9C;    /* logo blue darkened for text and buttons on white (AA) */
  --brand-soft: #A9D7EE;   /* "coming soon" */
  --wash: #EAF6FC;
  --navy: #0E2B3D;
  --body: #3D5566;
  --line: #D5E6F0;
  --white: #FFFFFF;
  --display: "Sora", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --header: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.6; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 60; }
.skip:focus { left: 12px; }
.nb { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1.2 var(--text); padding: 14px 22px; border-radius: 10px; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-main { background: var(--brand-ink); color: #fff; }
.btn-main:hover { background: var(--navy); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand-ink); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more:hover { text-decoration: underline; }

/* ---------- header and menu ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled, .top.open { border-bottom-color: var(--line); }
.top .bar { display: flex; align-items: center; gap: 28px; height: var(--header); }
.top .logo img { height: 48px; width: auto; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--brand-ink); }
.top nav a[aria-current="page"] { color: var(--brand-ink); border-bottom-color: var(--brand); }
.top .btn { padding: 11px 16px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .x { display: none; }
.top.open .menu-btn .x { display: block; }
.top.open .menu-btn .m { display: none; }

/* ---------- home hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.06; font-weight: 700; max-width: 16ch; }
.hero .lead { font-size: 20px; max-width: 34em; margin: 22px 0 32px; }
.where { margin-top: 28px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.where svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

.board { width: 100%; height: auto; overflow: visible; }
.board .ring-bg { fill: none; stroke: var(--wash); stroke-width: 34; }
.board .trace { fill: none; stroke: var(--brand); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.board .node { fill: #fff; stroke: var(--brand); stroke-width: 10; }
.board .node.soon { stroke: var(--brand-soft); }
.board .nm { font: 700 21px var(--display); fill: var(--navy); letter-spacing: -0.01em; }
.board .what { font: 500 15.5px var(--text); fill: var(--body); }
.board a:hover .nm, .board a:focus .nm { fill: var(--brand-ink); }
.board a { outline: none; }
.board a:focus-visible .node { stroke: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .board .trace { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .9s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 0s); }
  .board .pin { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pin .45s ease-out forwards; animation-delay: var(--d, 0s); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pin { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
}

/* ---------- inner page header ---------- */
.page-hero { padding: 56px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero .crumb { font-size: 15px; margin-bottom: 18px; }
.page-hero .crumb a { color: var(--body); }
.page-hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: 700; max-width: 18ch; }
.page-hero .lead { font-size: 20px; margin: 20px 0 28px; max-width: 36em; }
.page-hero .mark { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page-hero .mark .ring { width: 30px; height: 30px; border-radius: 50%; border: 9px solid var(--brand); }
.page-hero .mark.soon .ring { border-color: var(--brand-soft); }

/* at a glance: plain facts for a first-time visitor */
.glance { border: 1px solid var(--line); border-radius: 16px; padding: 8px 24px; background: #fff; }
.glance h2 { font-size: 18px; padding: 16px 0 6px; }
.glance dl { margin: 0; }
.glance dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.glance dl > div:first-of-type { border-top: 0; }
.glance dt { color: var(--body); }
.glance dd { margin: 0; color: var(--navy); font-weight: 500; }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
section.block.tight { padding: 72px 0; }
section.wash { background: var(--wash); }
.head { max-width: 42em; margin-bottom: 48px; }
.head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; }
.head p { margin: 14px 0 0; font-size: 19px; }
.head.center { margin-inline: auto; text-align: center; }
h2.sub { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin-bottom: 18px; }

/* who we help: three columns joined by a trace */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; padding-top: 52px; }
.who::before { content: ""; position: absolute; left: 15px; right: calc((100% - 80px) / 3 - 18px); top: 15px; height: 6px; background: var(--brand); border-radius: 3px; }
.who > div { position: relative; }
.who > div::before { content: ""; position: absolute; left: 0; top: -52px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 8px solid var(--brand); }
.who svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 12px; }
.who h3 { font-size: 22px; margin-bottom: 10px; }
.who p { margin: 0 0 14px; }
.who ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }

/* bullet lists with a trace-dash marker */
.dash { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: start; }
.dash li { position: relative; padding-left: 26px; }
.dash li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; border-radius: 2px; background: var(--brand); }

/* products: one trace runs down the list */
.products { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; }
.products::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 60px; width: 6px; border-radius: 3px; background: var(--brand); }
.products::after { content: ""; position: absolute; left: 21px; bottom: 0; width: 6px; height: 60px; background: linear-gradient(var(--brand), #fff); border-radius: 3px; }
.product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 48px; padding: 30px 0 46px; border-top: 1px solid var(--line); }
.product:first-child { border-top: 0; padding-top: 6px; }
.product::before { content: ""; position: absolute; left: -64px; top: 30px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 9px solid var(--brand); transform: translate(9px, 0); }
.product:first-child::before { top: 6px; }
.product h3 { font-size: 30px; font-weight: 700; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--brand-ink); }
.product .kind { margin: 6px 0 12px; font-size: 18px; color: var(--navy); }
.product .for { margin: 0 0 18px; font-size: 16.5px; }
.product .links { display: flex; flex-wrap: wrap; gap: 10px; }
.product.soon::before { border-color: var(--brand-soft); }
.product.soon h3 { color: #4F6A7B; }
.tag { display: inline-block; vertical-align: middle; margin-left: 10px; font: 600 14px/1 var(--text); color: var(--brand-ink); background: var(--wash); padding: 7px 11px; border-radius: 999px; letter-spacing: 0; }

/* offerings list */
.offer { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.offer li { padding: 22px 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 16px; }
.offer li:first-child { border-top: 0; }
.offer svg { width: 28px; height: 28px; color: var(--brand); margin-top: 2px; }
.offer strong { display: block; font: 600 19px/1.3 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.offer span { display: block; margin-top: 4px; font-size: 17px; }

.cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.cols.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cols .head { margin-bottom: 0; }

/* steps: a real sequence, so numbered nodes on a trace */
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps ol::before { content: ""; position: absolute; left: 15px; right: calc((100% - (var(--n, 4) - 1) * 28px) / var(--n, 4) - 18px); top: 15px; height: 6px; background: var(--brand); border-radius: 3px; }
.steps li { position: relative; padding-top: 54px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 6px solid var(--brand); box-sizing: border-box; font: 700 13px/24px var(--display); text-align: center; color: var(--navy); }
.steps strong { display: block; font: 600 19px/1.3 var(--display); color: var(--navy); }
.steps span { display: block; margin-top: 6px; font-size: 17px; }

/* features: two-column list of short titled points */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.feats > div { padding: 22px 0; border-top: 1px solid var(--line); }
.feats strong { display: block; font: 600 19px/1.3 var(--display); color: var(--navy); margin-bottom: 6px; }
.feats p { margin: 0; font-size: 17px; }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.reasons > div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.reasons svg { width: 32px; height: 32px; color: var(--brand); }
.reasons strong { display: block; font: 600 20px/1.3 var(--display); color: var(--navy); margin-bottom: 6px; }
.reasons p { margin: 0; }

/* which product do I need */
.guide { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); font-size: 17px; }
.guide th, .guide td { text-align: left; padding: 18px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.guide thead th { border-top: 0; background: var(--navy); color: #fff; font: 600 16px var(--display); }
.guide td:last-child { width: 32%; }
.guide td a { font-weight: 600; }

/* questions */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 600 19px/1.35 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; max-width: 46em; }
.faq details > div p:last-child { margin-bottom: 0; }

/* note box */
.note { background: var(--wash); border-radius: 14px; padding: 22px 26px; }
.note strong { color: var(--navy); }

/* call to action band */
.cta { background: var(--navy); color: #C9DCE8; }
.cta .head h2 { color: #fff; }
.cta .head p { color: #C9DCE8; }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.way { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; color: #C9DCE8; text-decoration: none; transition: border-color .15s, background .15s; }
a.way:hover { border-color: var(--brand); background: rgba(40,157,210,.08); }
.way svg { width: 28px; height: 28px; color: var(--brand); margin-bottom: 10px; }
.way strong { font: 600 19px/1.3 var(--display); color: #fff; }
.way span { font-size: 16.5px; overflow-wrap: anywhere; }
.ways.light .way { border-color: var(--line); color: var(--body); background: #fff; }
.ways.light a.way:hover { border-color: var(--brand); }
.ways.light .way strong { color: var(--navy); }

/* contact form */
.form { display: grid; gap: 18px; }
.form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 16px; }
.form .hint { font-weight: 400; color: var(--body); }
.form input, .form select, .form textarea { width: 100%; font: 400 17px/1.4 var(--text); color: var(--navy); padding: 13px 14px; border: 1.5px solid #BFD3E0; border-radius: 10px; background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(40,157,210,.18); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .trap { position: absolute; left: -5000px; }
.alert { border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; font-weight: 500; }
.alert.ok { background: #E5F5EE; color: #0F5A3C; }
.alert.err { background: #FDECEA; color: #8E2A20; }

/* legal pages */
.prose { max-width: 46em; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---------- footer ---------- */
footer.site { padding: 56px 0 36px; font-size: 16px; border-top: 1px solid var(--line); }
footer.site .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
footer.site img { height: 40px; width: auto; margin-bottom: 14px; }
footer.site h2 { font: 600 16px var(--display); color: var(--navy); margin-bottom: 12px; letter-spacing: 0; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { color: var(--body); text-decoration: none; }
footer.site a:hover { color: var(--brand-ink); text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); color: var(--navy); transition: color .15s, border-color .15s, background .15s; }
footer.site .social a:hover, footer.site .social a:focus-visible, .social a:hover { color: #fff; background: var(--brand-ink); border-color: var(--brand-ink); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.social-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.social-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.social-list a:hover { border-color: var(--brand); color: var(--brand-ink); }
.social-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
footer.site .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }

/* ---------- tablet ---------- */
@media (max-width: 1020px) {
  .top nav, .top .bar > .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .top.open nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: var(--header); background: #fff; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(14,43,61,.08); }
  .top.open nav a { font-size: 19px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top.open nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .top.open nav .btn { display: inline-flex; margin-top: 16px; font-size: 17px; padding: 14px 18px; border: 0; color: #fff; }
  .hero .wrap, .cols, .cols.even, .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .wrap { gap: 32px; }
  .board { max-width: 560px; margin: 8px auto 0; }
  .product { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps ol::before, .who::before { display: none; }
  .who { grid-template-columns: 1fr; gap: 36px; padding-top: 0; }
  .who > div { padding-left: 56px; }
  .who > div::before { top: 0; left: 0; width: 32px; height: 32px; border-width: 7px; }
  .ways { grid-template-columns: 1fr 1fr; }
  footer.site .grid { grid-template-columns: 1fr 1fr; }
}
.top nav .btn { display: none; }

/* ---------- phone ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .top .logo img { height: 40px; }
  .hero { padding-top: 32px; }
  .hero .lead, .page-hero .lead { font-size: 18px; }
  .acts .btn { flex: 1 1 100%; }
  .board .what { display: none; }
  .board .nm { font-size: 31px; }
  section.block { padding: 64px 0; }
  section.block.tight { padding: 52px 0; }
  .page-hero { padding: 36px 0 44px; }
  .products { padding-left: 48px; }
  .products::before, .products::after { left: 14px; width: 5px; }
  .product::before { left: -48px; width: 26px; height: 26px; border-width: 8px; transform: translate(4px, 0); }
  .product h3 { font-size: 26px; }
  .product .links .btn { flex: 1 1 100%; }
  .steps ol, .ways, .feats, .reasons, .form .row2 { grid-template-columns: 1fr; }
  .feats { gap: 0; }
  .glance dl > div { grid-template-columns: 1fr; gap: 2px; }
  .guide thead { display: none; }
  .guide, .guide tbody, .guide tr, .guide td { display: block; width: 100% !important; }
  .guide tr { border-top: 1px solid var(--line); padding: 14px 18px; }
  .guide tr:first-child { border-top: 0; }
  .guide td { border: 0; padding: 2px 0; }
  .guide td:last-child { margin-top: 6px; }
  .faq summary { font-size: 17.5px; }
  footer.site .grid { grid-template-columns: 1fr; }
}
