:root {
  --ink: #17211f;
  --muted: #52615e;
  --surface: #fff;
  --soft: #f7faf9;
  --line: #dce7e4;
  --brand: #0f766e;
  --brand-dark: #0b5f59;
  --saylio: #0f766e;
  --saylio-light: #14b8a6;
  --footer: #16213e;
  --shadow: 0 14px 36px rgba(26, 33, 62, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
a { color: var(--brand-dark); text-underline-offset: .16em; overflow-wrap: anywhere; }
a:hover { color: var(--saylio); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--saylio-light); outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: #fff; border-radius: .45rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.05); backdrop-filter: blur(12px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.studio { color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; }
.studio span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: .55rem; background: #fff; color: var(--ink); font: inherit; font-size: 1.3rem; cursor: pointer; }

.app-banner { padding: 4.6rem 0 6rem; background: linear-gradient(135deg, #0b5f59 0%, #0f766e 58%, #14b8a6 100%); color: #fff; }
.app-heading { display: flex; align-items: center; gap: 1.2rem; }
.app-heading > div { min-width: 0; }
.app-logo { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 20px; box-shadow: 0 12px 28px rgba(0,0,0,.23); }
.eyebrow { margin: 0 0 .2rem; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-banner h1 { margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.12; letter-spacing: -.045em; }
.updated { margin: .65rem 0 0; color: rgba(255,255,255,.88); font-weight: 600; }

.page-shell { margin-top: -2.4rem; padding-bottom: 4rem; }
.document { min-width: 0; max-width: 900px; margin-inline: auto; padding: clamp(1.5rem, 5vw, 3.4rem); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.document h2 { margin: 2.5rem 0 .85rem; padding-bottom: .45rem; border-bottom: 2px solid var(--brand); color: var(--ink); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.3; }
.document h2:first-child { margin-top: 0; }
.document h3 { margin: 1.6rem 0 .5rem; font-size: 1.15rem; }
.document p, .document li { color: var(--muted); }
.document strong { color: var(--ink); }
.document ul, .document ol { padding-left: 1.45rem; }
.document li { margin: .45rem 0; padding-left: .15rem; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0 0 2.2rem; }
.summary a { min-width: 0; display: block; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--soft); text-decoration: none; font-size: .9rem; font-weight: 700; }
.notice { padding: 1.1rem 1.2rem; border-left: 4px solid var(--saylio); border-radius: .4rem; background: #ecfdf9; }
.support-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.4rem 0 2.2rem; }
.support-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--soft); }
.support-card h2 { margin: 0 0 .45rem; padding: 0; border: 0; font-size: 1.2rem; }
.support-card p { margin: 0; }
.contact-block { margin-top: 2.6rem; padding: 1.5rem; border-radius: .9rem; background: #ecfdf9; text-align: center; }
.contact-block h2 { margin: 0 0 .35rem; padding: 0; border: 0; }
.contact-block p { margin: 0; }

.site-footer { margin-top: 0; padding-top: 3.5rem; background: linear-gradient(135deg, #1a1a2e, var(--footer)); color: #fff; border-top: 3px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand { font-size: 1.35rem; font-weight: 800; }
.footer-brand p { max-width: 330px; color: rgba(255,255,255,.68); font-size: .92rem; font-weight: 500; }
.site-footer h2 { margin: 0 0 1rem; font-size: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .55rem 0; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); text-align: center; font-size: .86rem; }

/* Saylio product page */
.product-page { background: #f7faf9; }
.product-header { background: rgba(247,250,249,.96); box-shadow: none; }
.product-nav-links a[aria-current="page"] { color: var(--saylio); }
.product-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 10vw, 7.8rem) 0; background: #f7faf9; }
.product-hero::after { content: ""; position: absolute; width: 36rem; height: 36rem; right: -17rem; top: -18rem; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.19), rgba(20,184,166,0) 70%); pointer-events: none; }
.product-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: center; gap: clamp(2.5rem, 8vw, 7rem); }
.product-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.2rem; color: var(--saylio); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.product-kicker::before { content: ""; width: 1.7rem; height: 2px; background: var(--saylio-light); }
.product-hero h1 { max-width: 700px; margin: 0 0 1.25rem; color: var(--ink); font-size: clamp(2.9rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.product-lede { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }
.product-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.product-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .78rem 1.25rem; border: 2px solid var(--saylio); border-radius: .7rem; background: var(--saylio); color: #fff; font-weight: 800; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.product-button:hover { background: var(--brand-dark); color: #fff; }
.product-button.secondary { background: transparent; color: var(--saylio); }
.product-button.secondary:hover { background: #e7f8f4; }
.hero-mark { position: relative; display: grid; place-items: center; width: min(100%, 330px); aspect-ratio: 1; margin-inline: auto; border-radius: 34%; background: linear-gradient(145deg, #0b5f59, #0f766e); box-shadow: 0 30px 70px rgba(15,118,110,.24); }
.hero-mark::before { content: ""; position: absolute; inset: -1.1rem; border: 1px solid rgba(15,118,110,.15); border-radius: 36%; }
.hero-mark img { width: 74%; height: 74%; border-radius: 25%; }
.product-section { padding: clamp(4rem, 8vw, 6rem) 0; }
.product-section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.2rem; }
.section-head .label { margin: 0 0 .5rem; color: var(--saylio); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2 { margin: 0 0 .8rem; padding: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.045em; }
.section-head h2::after { display: none; }
.section-head p { margin: 0; font-size: 1.08rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.benefit-card { padding: 1.55rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.benefit-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: .72rem; background: #def7f1; color: var(--saylio); font-weight: 900; }
.benefit-card h3 { margin: 0 0 .45rem; font-size: 1.08rem; }
.benefit-card p { margin: 0; font-size: .94rem; }
.workflow-card { margin-bottom: 1.5rem; padding: 1.25rem; border: 1px solid #edf2f1; border-radius: 1.5rem; background: #fff; box-shadow: 0 12px 32px rgba(23, 33, 31, .07); }
.workflow-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.workflow-card-head h3 { margin: 0; color: var(--ink); font-size: .92rem; letter-spacing: -.015em; }
.workflow-card-head > span { padding: .3rem .65rem; border-radius: 999px; background: #def7f1; color: var(--saylio); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: .75rem; text-align: center; }
.workflow-step { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.workflow-step:not(:last-child)::after { content: "→"; position: absolute; top: .6rem; right: -.7rem; color: #cbd5d1; font-size: 1.15rem; font-weight: 700; }
.workflow-icon { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #edf2f1; border-radius: .9rem; background: #f7faf9; color: #33413e; box-shadow: 0 3px 8px rgba(23, 33, 31, .06); }
.workflow-icon.active { border-color: #bcece4; background: #e9faf6; color: var(--saylio); }
.workflow-icon svg { width: 1.35rem; height: 1.35rem; }
.workflow-number { position: absolute; top: -.45rem; left: -.45rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--saylio); color: #fff; font-size: .62rem; font-weight: 900; box-shadow: 0 2px 6px rgba(15, 118, 110, .28); }
.workflow-step h3 { margin: .65rem 0 .1rem; color: var(--ink); font-size: .78rem; }
.workflow-step p { margin: 0; color: #76827f; font-size: .68rem; line-height: 1.3; }
.type-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; }
.type-panel { padding: clamp(1.7rem, 4vw, 2.7rem); border-radius: 1.1rem; background: var(--saylio); color: #fff; }
.type-panel h2, .type-panel h3, .type-panel p { color: #fff; }
.type-panel h2 { margin: 0 0 .9rem; padding: 0; font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.04em; }
.type-panel h2::after { display: none; }
.type-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.type-list li { padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: .7rem; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; }
.language-panel { padding: clamp(1.7rem, 4vw, 2.7rem); border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; }
.language-panel h2 { margin: 0 0 1.4rem; padding: 0; font-size: 1.55rem; }
.language-panel h2::after { display: none; }
.language-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.language-list li { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.language-list span { color: var(--saylio); font-weight: 600; }
.product-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-callout { padding: clamp(1.7rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; }
.product-callout h2 { margin: 0 0 .7rem; padding: 0; font-size: 1.55rem; }
.product-callout h2::after { display: none; }
.product-callout p { margin: 0 0 1.2rem; }
.text-link { font-weight: 800; }
.get-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3.2rem); border-radius: 1.2rem; background: #17211f; color: #fff; }
.get-panel h2 { margin: 0 0 .55rem; padding: 0; color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.get-panel h2::after { display: none; }
.get-panel p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); }
.get-panel .product-button { flex: 0 0 auto; border-color: var(--saylio-light); background: var(--saylio-light); color: #102b27; }

@media (max-width: 720px) {
  .container { width: min(calc(100% - 1.25rem), 1120px); }
  .nav { min-height: 64px; }
  .studio { font-size: 1.02rem; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; inset: 64px 0 auto; display: none; padding: 1rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav-links.open { display: grid; gap: 0; }
  .nav-links a { display: block; padding: .8rem; }
  .app-banner { padding: 3rem 0 4.2rem; }
  .app-heading { align-items: flex-start; gap: .9rem; }
  .app-logo { width: 62px; height: 62px; border-radius: 15px; }
  .app-banner h1 { font-size: clamp(1.65rem, 8.2vw, 2.3rem); }
  .updated { font-size: .9rem; }
  .summary, .support-cards, .footer-grid { grid-template-columns: 1fr; }
  .summary { gap: .55rem; }
  .document { border-radius: 12px; }
  .footer-grid { text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .product-hero-grid, .type-grid, .product-split { grid-template-columns: 1fr; }
  .product-hero-grid { text-align: left; }
  .hero-mark { width: min(58vw, 240px); order: -1; }
  .benefit-grid { grid-template-columns: 1fr; }
  .type-list { grid-template-columns: 1fr 1fr; }
  .get-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .product-actions { display: grid; }
  .product-button { width: 100%; }
  .type-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .summary { display: none; } body { background: #fff; } .app-banner { padding: 1rem 0; background: #fff; color: #000; } .app-banner h1, .updated, .eyebrow { color: #000; } .page-shell { margin: 0; } .document { max-width: none; padding: 0; border: 0; box-shadow: none; } }
