/* ================================================================
   Windward Technology Inc. — design system
   Deep navy + teal. Editorial fintech layout.
   ============================================================== */

:root {
    --navy-950: #050f17;
    --navy-900: #071824;
    --navy-850: #081d2b;
    --navy-800: #0b2434;
    --navy-700: #123449;
    --navy-600: #1b4a63;
    --ink: #0b1d28;
    --slate: #556873;
    --slate-light: #7b8c96;
    --line: #e3e9ec;
    --line-strong: #cfd9de;
    --paper: #f5f8f9;
    --paper-deep: #edf2f4;
    --white: #ffffff;
    --teal: #12968b;
    --teal-deep: #0c7a71;
    --teal-bright: #2fc1b0;
    --teal-soft: #e5f5f2;
    --teal-line: #bfe6e0;
    --amber: #b9791b;
    --amber-soft: #fdf5e7;
    --amber-line: #f0dcb6;
    --red: #ad453c;
    --red-soft: #fbeeec;
    --red-line: #f0cdc8;
    --radius-lg: 22px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(7, 24, 36, .05);
    --shadow: 0 18px 40px -22px rgba(7, 24, 36, .28);
    --shadow-lg: 0 36px 80px -36px rgba(5, 15, 23, .55);
    --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --header-h: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg {
    max-width: 100%;
}

a {
    color: var(--teal-deep);
    text-decoration: none;
}

a:hover {
    color: var(--teal);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.16;
    margin: 0;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 100;
    background: var(--teal);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}

.skip-link:focus {
    left: 16px;
}

/* ---------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(18, 150, 139, .65);
}

.btn-primary:hover {
    background: var(--teal-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -14px rgba(18, 150, 139, .75);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal-deep);
    transform: translateY(-1px);
}

.btn-light {
    background: #fff;
    color: var(--navy-900);
}

.btn-light:hover {
    background: var(--teal-soft);
    color: var(--navy-900);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13.5px;
}

/* ---------------------------------------------------------------
   Utility bar + header
   ------------------------------------------------------------- */

.utility-bar {
    background: var(--navy-950);
    color: #9fb3bf;
    font-size: 12.5px;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 38px;
}

.utility-place {
    color: #8ba0ad;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.utility-right a {
    color: #cfe3dd;
}

.utility-right a:hover {
    color: #fff;
}

.utility-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .18);
}

.utility-note {
    color: #748a96;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 24, 36, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    flex: 0 0 auto;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    display: inline-flex;
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-text small {
    margin-top: 5px;
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7f97a4;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.main-nav a {
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: #b9c8d1;
    transition: color .16s ease, background .16s ease;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.main-nav a.is-active {
    color: #fff;
    background: rgba(47, 193, 176, .12);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.header-cta {
    padding: 11px 20px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #dbe7ea;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------
   Hero
   ------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 520px at 78% -10%, rgba(47, 193, 176, .16), transparent 60%),
        radial-gradient(720px 420px at 8% 110%, rgba(27, 74, 99, .55), transparent 62%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 58%, var(--navy-950) 100%);
    color: #d7e2e7;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 10%, transparent 72%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -120px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    border: 1px solid rgba(47, 193, 176, .16);
    box-shadow: inset 0 0 0 90px rgba(47, 193, 176, .03), inset 0 0 0 180px rgba(47, 193, 176, .025);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 56px;
    align-items: center;
    padding: 92px 0 104px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow-light {
    color: var(--teal-bright);
}

.hero .eyebrow {
    color: var(--teal-bright);
}

.hero h1 {
    color: #fff;
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.06;
    max-width: 15ch;
}

.hero-lead {
    margin-top: 22px;
    max-width: 56ch;
    font-size: 18px;
    line-height: 1.7;
    color: #a9bcc6;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn-ghost {
    color: #eaf2f4;
    border-color: rgba(255, 255, 255, .26);
}

.hero-actions .btn-ghost:hover {
    color: #fff;
    border-color: var(--teal-bright);
    background: rgba(47, 193, 176, .08);
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-top: 30px;
    font-size: 13px;
    color: #8aa0ac;
}

.hero-notes span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-notes svg {
    flex: 0 0 auto;
    color: var(--teal-bright);
}

/* Illustrative workspace */

.hero-visual {
    position: relative;
}

.workspace-card {
    position: relative;
    background: linear-gradient(165deg, #ffffff 0%, #f2f7f8 100%);
    border-radius: 20px;
    padding: 20px 20px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .6);
}

.ws-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.ws-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.ws-dots {
    display: inline-flex;
    gap: 4px;
}

.ws-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d6e0e4;
}

.ws-dots i:first-child {
    background: #f0b7ae;
}

.ws-dots i:nth-child(2) {
    background: #f2d9a6;
}

.ws-dots i:nth-child(3) {
    background: #b7dfd7;
}

.ws-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border: 1px solid var(--teal-line);
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.ws-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ws-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 11px 12px 12px;
}

.ws-label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--slate-light);
}

.ws-value {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.ws-chart-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--slate-light);
}

.ws-chart-label span:last-child {
    color: #a9b7be;
    letter-spacing: .04em;
    text-transform: none;
    font-weight: 500;
}

.ws-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 132px;
    margin-top: 10px;
    padding: 10px 12px 0;
    background: repeating-linear-gradient(to top, transparent 0, transparent 32px, rgba(11, 36, 52, .06) 32px, rgba(11, 36, 52, .06) 33px);
    border-bottom: 1px solid var(--line);
}

.ws-bar {
    flex: 1;
    height: var(--h, 40%);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #45cdbd 0%, #17a397 100%);
    opacity: .92;
    min-width: 6px;
    animation: bar-rise .9s cubic-bezier(.2, .7, .3, 1) both;
    transform-origin: bottom;
}

.ws-bar:nth-child(2n) {
    background: linear-gradient(180deg, #7dd9cd 0%, #35b9ac 100%);
}

@keyframes bar-rise {
    from { transform: scaleY(.12); opacity: 0; }
    to { transform: scaleY(1); opacity: .92; }
}

.ws-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 11px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9aa9b1;
}

.ws-foot strong {
    color: var(--amber);
    font-weight: 600;
    letter-spacing: .1em;
}

.visual-float {
    position: absolute;
    right: -18px;
    bottom: -26px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 13px;
    padding: 11px 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink);
}

.visual-float .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-soft);
}

.visual-float small {
    display: block;
    font-size: 10px;
    color: var(--slate-light);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Hero highlight strip */

.hero-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 64px;
}

.hero-strip-item {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    padding: 18px 20px;
}

.hero-strip-item h3 {
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-strip-item p {
    margin-top: 5px;
    font-size: 13.5px;
    color: #93a8b3;
}

/* ---------------------------------------------------------------
   Sub-page hero
   ------------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(720px 380px at 82% 0%, rgba(47, 193, 176, .13), transparent 62%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    color: #c9d6dd;
    padding: 76px 0 84px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 70% 0%, #000 5%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 0%, #000 5%, transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(34px, 3.8vw, 52px);
    font-weight: 600;
    letter-spacing: -0.035em;
    max-width: 20ch;
}

.page-hero .lead {
    margin-top: 18px;
    max-width: 62ch;
    font-size: 17.5px;
    color: #a6bac5;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #7e95a1;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #9db1bc;
}

.breadcrumb a:hover {
    color: #fff;
}

.page-hero .eyebrow {
    color: var(--teal-bright);
}

/* ---------------------------------------------------------------
   Sections
   ------------------------------------------------------------- */

.section {
    padding: 92px 0;
}

.section-tight {
    padding: 68px 0;
}

.section-alt {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.section-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 320px at 85% 10%, rgba(47, 193, 176, .1), transparent 65%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
    color: #b9cbd4;
}

.section-head {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow {
    justify-content: center;
}

.section-head.center .eyebrow::before {
    display: none;
}

.section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.section-head .lead {
    margin-top: 16px;
    font-size: 17px;
    color: var(--slate);
    max-width: 64ch;
}

.section-head.center .lead {
    margin-inline: auto;
}

.section-dark .section-title {
    color: #fff;
}

.section-dark .lead {
    color: #9db2bd;
}

.section-dark .eyebrow {
    color: var(--teal-bright);
}

/* Grids and cards */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--teal-line);
    box-shadow: var(--shadow);
}

.card h3 {
    margin-top: 18px;
    font-size: 19px;
    font-weight: 600;
}

.card p {
    margin-top: 10px;
    color: var(--slate);
    font-size: 15px;
}

.card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-deep);
}

.card .card-link:hover {
    gap: 9px;
}

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    border: 1px solid var(--teal-line);
}

.icon-chip svg {
    width: 23px;
    height: 23px;
}

.icon-chip.is-danger {
    color: var(--red);
    background: var(--red-soft);
    border-color: var(--red-line);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border: 1px solid var(--teal-line);
}

/* Feature rows */

.feature-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    color: var(--slate);
    font-size: 15px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .52em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-soft);
}

.feature-list.is-negative li::before {
    background: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft);
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--slate);
}

.check-list svg {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--teal);
}

/* Roles / three-party model */

.roles {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    align-items: stretch;
    gap: 0;
}

.role-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}

.role-card h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.role-card .role-sub {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-deep);
}

.role-card ul {
    margin-top: 16px;
    display: grid;
    gap: 9px;
}

.role-card li {
    font-size: 14px;
    color: var(--slate);
    padding-left: 16px;
    position: relative;
}

.role-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line-strong);
}

.role-card.role-focus {
    border-color: var(--navy-700);
    background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
    color: #c4d3db;
    box-shadow: var(--shadow);
}

.role-card.role-focus h3 {
    color: #fff;
}

.role-card.role-focus .role-sub {
    color: var(--teal-bright);
}

.role-card.role-focus li {
    color: #a5bac4;
}

.role-card.role-focus li::before {
    background: var(--teal-bright);
}

.role-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--line-strong);
    position: relative;
}

.role-flow span {
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.25;
    text-transform: uppercase;
    text-align: center;
    color: var(--slate-light);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    transform: translate(-50%, -43px);
    white-space: normal;
}

.role-flow svg {
    width: 40px;
    height: 12px;
    color: var(--teal);
}

.role-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--red-soft);
    border: 1px dashed var(--red-line);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--red);
    text-align: center;
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
}

.step-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    flex: 0 0 auto;
}

.step-card:nth-child(2) .step-num,
.step-card:nth-child(5) .step-num {
    background: var(--teal);
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
}

.step-sub {
    margin-top: 3px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal-deep);
}

.step-card p {
    margin-top: 14px;
    color: var(--slate);
    font-size: 14.5px;
}

.step-note {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--slate-light);
    border-top: 1px dashed var(--line);
    padding-top: 10px;
}

/* Permission tiers */

.tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tier {
    border-radius: var(--radius);
    padding: 26px 24px;
    border: 1px solid var(--line);
    background: #fff;
}

.tier-prioritized {
    background: var(--teal-soft);
    border-color: var(--teal-line);
}

.tier-conditional {
    background: var(--amber-soft);
    border-color: var(--amber-line);
}

.tier-excluded {
    background: var(--red-soft);
    border-color: var(--red-line);
}

.tier-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(11, 29, 40, .08);
}

.tier-head h3 {
    font-size: 16.5px;
    font-weight: 600;
}

.tier-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.tier-prioritized .tier-dot {
    background: var(--teal);
}

.tier-conditional .tier-dot {
    background: var(--amber);
}

.tier-excluded .tier-dot {
    background: var(--red);
}

.tier-sub {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tier-prioritized .tier-sub { color: var(--teal-deep); }
.tier-conditional .tier-sub { color: var(--amber); }
.tier-excluded .tier-sub { color: var(--red); }

.tier ul {
    margin-top: 16px;
    display: grid;
    gap: 11px;
}

.tier li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--ink);
}

.tier li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.tier-prioritized li::before { background: var(--teal); }
.tier-conditional li::before { background: var(--amber); }
.tier-excluded li::before { background: var(--red); }

.tier-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(11, 29, 40, .12);
    font-size: 12.5px;
    color: var(--slate);
}

/* Industry chips */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-size: 14px;
    color: var(--ink);
}

.chip svg {
    color: var(--teal);
}

/* Split sections */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.split-visual {
    position: relative;
}

/* Company facts */

.facts {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.fact-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}

.fact-row:last-child {
    border-bottom: 0;
}

.fact-label {
    color: var(--slate-light);
    font-weight: 500;
}

.fact-value {
    color: var(--ink);
    font-weight: 500;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px;
}

/* Bands and notes */

.band {
    border-radius: var(--radius);
    padding: 30px 32px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.band-dark {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    border-color: rgba(255, 255, 255, .08);
    color: #b4c6cf;
}

.band-dark h3 {
    color: #fff;
}

.band h3 {
    font-size: 19px;
    font-weight: 600;
}

.band p {
    margin-top: 8px;
    color: var(--slate);
    font-size: 15px;
}

.band-dark p {
    color: #9fb4bf;
}

.note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--slate);
}

.note svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--teal);
}

.note-warn {
    background: var(--amber-soft);
    border-color: var(--amber-line);
    color: #7c5716;
}

.note-warn svg {
    color: var(--amber);
}

.disclosure-line {
    margin-top: 26px;
    font-size: 12.5px;
    color: var(--slate-light);
    max-width: 96ch;
}

/* Matrix table */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.matrix {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 14px;
}

.matrix th,
.matrix td {
    text-align: left;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.matrix thead th {
    background: var(--paper);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--slate);
}

.matrix tbody tr:last-child td {
    border-bottom: 0;
}

.matrix td:first-child {
    font-weight: 600;
    color: var(--ink);
    width: 24%;
}

.matrix td {
    color: var(--slate);
}

.matrix td.yes {
    color: var(--teal-deep);
    font-weight: 500;
}

.matrix td.no {
    color: var(--red);
    font-weight: 500;
}

/* CTA band */

.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 300px at 88% 12%, rgba(47, 193, 176, .18), transparent 62%),
        linear-gradient(120deg, var(--navy-800), var(--navy-950));
    color: #c9d9e0;
    padding: 76px 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -220px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 1px solid rgba(47, 193, 176, .14);
    box-shadow: inset 0 0 0 80px rgba(47, 193, 176, .03);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    gap: 32px 48px;
    align-items: center;
}

.cta-copy h2 {
    color: #fff;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 22ch;
}

.cta-copy p {
    margin-top: 14px;
    max-width: 56ch;
    color: #9fb4bf;
    font-size: 15.5px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-actions .btn-ghost {
    color: #e8f1f3;
    border-color: rgba(255, 255, 255, .28);
}

.cta-actions .btn-ghost:hover {
    color: #fff;
    border-color: var(--teal-bright);
}

/* ---------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */

.site-footer {
    background: var(--navy-950);
    color: #93a7b2;
    padding: 64px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr .9fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .brand {
    color: #fff;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 40ch;
    color: #8ba0ac;
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-address {
    margin-top: 14px;
    font-size: 13px;
    color: #748a96;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    color: #93a7b2;
    font-size: 14px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-disclosure {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 26px 0;
}

.footer-disclosure p {
    font-size: 12px;
    line-height: 1.75;
    color: #728895;
    max-width: 118ch;
}

.footer-disclosure strong {
    color: #9fb2bd;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    color: #6d8290;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal-links a {
    color: #8ca1ad;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* ---------------------------------------------------------------
   Contact page
   ------------------------------------------------------------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-head h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.form-head p {
    margin-top: 8px;
    color: var(--slate);
    font-size: 14.5px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.field label .req {
    color: var(--teal-deep);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease;
    appearance: none;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23556873' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(18, 150, 139, .12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--red);
    background: #fffafa;
}

.field-error {
    font-size: 12.5px;
    color: var(--red);
}

.field-note {
    font-size: 12.5px;
    color: var(--slate-light);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--slate);
    line-height: 1.6;
}

.consent input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex: 0 0 auto;
}

.consent a {
    color: var(--teal-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-alert {
    margin-top: 22px;
    padding: 13px 16px;
    border-radius: 10px;
    background: var(--red-soft);
    border: 1px solid var(--red-line);
    color: var(--red);
    font-size: 14px;
}

.form-foot {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.form-foot .btn {
    justify-self: start;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-side {
    display: grid;
    gap: 16px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
}

.info-card .info-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-deep);
}

.info-card h3 {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
}

.info-card h3 a {
    color: var(--ink);
}

.info-card h3 a:hover {
    color: var(--teal-deep);
}

.info-card p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--slate);
}

.info-card.dark {
    background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
    border-color: rgba(255, 255, 255, .1);
}

.info-card.dark h3 {
    color: #fff;
}

.info-card.dark p {
    color: #9fb4bf;
}

.info-card.dark .info-tag {
    color: var(--teal-bright);
}

.success-card {
    background: #fff;
    border: 1px solid var(--teal-line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--teal-soft);
    color: var(--teal-deep);
    border: 1px solid var(--teal-line);
    margin-bottom: 20px;
}

.success-card h2 {
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.success-card p {
    margin-top: 12px;
    color: var(--slate);
    font-size: 15px;
    max-width: 62ch;
}

.success-ref {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--paper);
    border: 1px dashed var(--line-strong);
    font-size: 14px;
    color: var(--slate);
}

.success-ref strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--ink);
    font-size: 15px;
}

.success-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------- */

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    border-left: 2px solid var(--line);
    padding-left: 20px;
}

.legal-toc h4 {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 14px;
}

.legal-toc a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: var(--slate);
}

.legal-toc a:hover {
    color: var(--teal-deep);
}

.legal-body {
    max-width: 760px;
}

.legal-body h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 44px;
    margin-bottom: 12px;
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.legal-body h2:first-of-type {
    margin-top: 0;
}

.legal-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 26px;
    margin-bottom: 8px;
}

.legal-body p {
    color: var(--slate);
    font-size: 15px;
    margin-bottom: 14px;
}

.legal-body ul {
    margin: 0 0 18px;
    padding-left: 0;
    display: grid;
    gap: 9px;
}

.legal-body li {
    position: relative;
    padding-left: 22px;
    color: var(--slate);
    font-size: 15px;
}

.legal-body li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.draft-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px 16px;
    border-radius: 10px;
    background: var(--amber-soft);
    border: 1px solid var(--amber-line);
    color: #7c5716;
    font-size: 13px;
    margin-bottom: 30px;
}

.draft-note svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--amber);
}

.legal-meta {
    margin-bottom: 26px;
    font-size: 13px;
    color: var(--slate-light);
}

/* 404 */

.error-page {
    min-height: 52vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0;
}

.error-page .code {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: -0.04em;
    line-height: 1;
}

.error-page h1 {
    margin-top: 14px;
    font-size: 32px;
    font-weight: 600;
}

.error-page p {
    margin-top: 12px;
    color: var(--slate);
}

.error-page .btn {
    margin-top: 26px;
}

/* ---------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */

@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 52px;
        padding: 72px 0 64px;
    }

    .hero h1 {
        max-width: 18ch;
    }

    .hero-strip {
        padding-bottom: 52px;
    }

    .roles {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .role-flow {
        height: 22px;
    }

    .role-flow span {
        display: none;
    }

    .role-flow svg {
        transform: rotate(90deg);
    }

    .tiers,
    .steps,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-toc {
        position: static;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 18px 0 0;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 18px;
    }

    .legal-toc h4 {
        width: 100%;
        margin-bottom: 6px;
    }
}

@media (max-width: 900px) {
    .utility-inner {
        justify-content: center;
    }

    .utility-place,
    .utility-note,
    .utility-divider {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(var(--header-h) + 38px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 20px;
        background: var(--navy-900);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
        margin-left: 0;
    }

    .nav-open .main-nav {
        display: flex;
    }

    .main-nav a {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 10px;
    }

    .nav-toggle {
        display: inline-flex;
        order: -1;
    }

    .header-tools {
        margin-left: auto;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        gap: 14px;
        min-height: 68px;
    }

    .brand-text {
        font-size: 19px;
    }

    .brand-mark svg {
        width: 36px;
        height: 36px;
    }

    .header-cta {
        display: none;
    }

    .grid-3,
    .grid-2,
    .tiers,
    .steps,
    .hero-strip {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section {
        padding: 68px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 26px 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .fact-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .section-head {
        margin-bottom: 34px;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(1180px, calc(100% - 36px));
    }

    .hero-inner {
        padding: 56px 0 48px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 16.5px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-notes {
        gap: 8px 16px;
    }

    .ws-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ws-tile:last-child {
        grid-column: 1 / -1;
    }

    .ws-chart {
        height: 110px;
        gap: 5px;
        padding-inline: 6px;
    }

    .visual-float {
        right: 6px;
        bottom: -20px;
        font-size: 11px;
        padding: 9px 12px;
    }

    .page-hero {
        padding: 52px 0 58px;
    }

    .section {
        padding: 56px 0;
    }

    .card {
        padding: 24px 22px;
    }

    .cta-band {
        padding: 56px 0;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .success-card {
        padding: 28px 22px;
    }

    .form-head h2 {
        font-size: 23px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .band {
        padding: 24px 20px;
    }

    .step-card,
    .tier,
    .role-card {
        padding: 22px 20px;
    }

    .matrix th,
    .matrix td {
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ws-bar {
        animation: none;
    }

    .card,
    .btn {
        transition: none;
    }
}
