/* ROSTA site kit styles */
.rs-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
body.rs { margin: 0; font-family: var(--font-body); color: var(--fg2); background: #fff; -webkit-font-smoothing: antialiased; }

/* Header */
.rs-header { display: flex; align-items: center; gap: 32px; padding: 18px 32px; max-width: 1200px; margin: 0 auto; }
.rs-logo { display: inline-flex; }
.rs-nav { display: flex; gap: 28px; flex: 1; margin-left: 24px; }
.rs-nav-link { font-size: 14px; font-weight: 500; color: var(--fg2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 160ms; white-space: nowrap; flex-shrink: 0; }
.rs-nav-link:hover { color: var(--rosta-navy-700); }
.rs-nav-link.active { color: var(--rosta-navy-900); border-bottom-color: var(--rosta-navy-700); }
.rs-header-cta { display: flex; gap: 8px; flex-shrink: 0; }

/* Buttons */
.rs-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 8px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: all 160ms var(--ease-out); white-space: nowrap; flex-shrink: 0; }
.rs-btn-lg { font-size: 16px; padding: 14px 24px; }
.rs-btn-primary { background: var(--rosta-navy-700); color: #fff; }
.rs-btn-primary:hover { background: var(--rosta-navy-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.rs-btn-ghost { background: transparent; color: var(--rosta-navy-700); }
.rs-btn-ghost:hover { background: var(--rosta-navy-50); }
.rs-btn-on-navy { background: #fff; color: var(--rosta-navy-900); }
.rs-btn-on-navy:hover { background: var(--rosta-navy-100); }

/* Eyebrow / titles */
.rs-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rosta-navy-700); display: inline-block; margin-bottom: 12px; }
.rs-section { padding: 96px 0; }
.rs-section-tinted { background: var(--rosta-navy-50); }
.rs-section-dark { background: var(--rosta-navy-900); color: #fff; }
.rs-section-head { max-width: 720px; margin-bottom: 56px; }
.rs-section-title { font-family: var(--font-display); font-size: 42px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--fg1); margin: 0; text-wrap: balance; }

/* Hero */
.rs-hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.rs-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.rs-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(11,61,145,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(11,61,145,0.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at top right, black 30%, transparent 70%); }
.rs-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; position: relative; }
.rs-hero-title { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--fg1); margin: 0 0 24px; text-wrap: balance; }
.rs-hero-title em { font-style: normal; color: var(--rosta-navy-700); position: relative; }
.rs-hero-title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: var(--rosta-navy-200); z-index: -1; border-radius: 4px; }
.rs-hero-lede { font-size: 19px; line-height: 1.6; color: var(--fg2); max-width: 540px; margin: 0 0 32px; }
.rs-hero-cta { display: flex; gap: 12px; margin-bottom: 48px; }
.rs-hero-trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-1); }
.rs-hero-trust li { font-size: 13px; color: var(--fg3); }
.rs-hero-trust strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg1); }

.rs-hero-card { background: #fff; border: 1px solid var(--line-1); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-lg); }
.rs-hero-card-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-1); margin-bottom: 12px; }
.rs-hero-card-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--fg2); }
.rs-hero-card-row strong { font-family: var(--font-mono); color: var(--fg1); }
.rs-hero-card-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; border-top: 1px solid var(--line-1); margin-top: 8px; }
.rs-hero-total { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--rosta-navy-900); }
.rs-mono { font-family: var(--font-mono); font-size: 12px; color: var(--fg3); }
.rs-small { font-size: 13px; color: var(--fg3); }

.rs-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.rs-badge-info { background: var(--rosta-navy-50); color: var(--rosta-navy-700); border: 1px solid var(--rosta-navy-200); }
.rs-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--rosta-navy-700); }

/* Services */
.rs-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rs-service { background: #fff; border: 1px solid var(--line-1); border-radius: 14px; padding: 28px; transition: all 200ms var(--ease-out); }
.rs-service:hover { border-color: var(--rosta-navy-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rs-service-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--rosta-navy-50); color: var(--rosta-navy-700); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.rs-service-icon svg { width: 22px; height: 22px; }
.rs-service-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--fg1); }
.rs-service-body { font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.rs-link-arrow { color: var(--rosta-navy-700); font-size: 14px; font-weight: 600; text-decoration: none; }
.rs-link-arrow:hover { color: var(--rosta-navy-900); }

/* Segments */
.rs-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rs-segment { background: #fff; border-radius: 18px; padding: 32px; }
.rs-segment-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--rosta-navy-900); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.rs-segment-icon svg { width: 26px; height: 26px; }
.rs-segment-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--fg1); }
.rs-segment-body { font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.rs-segment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rs-segment-list li { font-size: 14px; color: var(--fg2); padding-left: 24px; position: relative; }
.rs-segment-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 2px; background: var(--rosta-navy-700); }
.rs-segment-cta { margin-top: 28px; align-self: flex-start; }
.rs-segment { display: flex; flex-direction: column; }

/* Segment pages */
.rs-seg-hero { background: var(--rosta-navy-900); color: #fff; padding: 80px 0 96px; position: relative; overflow: hidden; }
.rs-seg-hero .rs-title-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 80% 20%, black 30%, transparent 70%); pointer-events: none; }
.rs-seg-hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.rs-seg-back { font-size: 13px; color: var(--rosta-navy-300); text-decoration: none; display: inline-block; margin-bottom: 24px; }
.rs-seg-back:hover { color: #fff; }
.rs-seg-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--rosta-navy-300); }
.rs-seg-h { font-family: var(--font-display); font-size: 60px; font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; color: #fff; margin: 14px 0 24px; text-wrap: balance; }
.rs-seg-lede { font-size: 19px; line-height: 1.6; color: var(--rosta-navy-200); max-width: 560px; margin: 0 0 32px; }
.rs-seg-illu { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 32px; }
.rs-seg-illu-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; color: var(--rosta-navy-200); }
.rs-seg-illu-row:last-child { border-bottom: 0; }
.rs-seg-illu-row strong { color: #fff; font-family: var(--font-mono); }
.rs-seg-list-section { padding: 96px 0; }
.rs-seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.rs-seg-feat { padding: 28px; background: var(--rosta-navy-50); border-radius: 14px; }
.rs-seg-feat-num { font-family: var(--font-mono); font-size: 12px; color: var(--rosta-navy-700); }
.rs-seg-feat h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--fg1); margin: 12px 0 8px; }
.rs-seg-feat p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--fg2); }

/* Client area */
.rs-client-area { padding: 96px 0 112px; }
.rs-client-inner { max-width: 760px; }
.rs-client-h { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg1); margin: 12px 0 16px; }
.rs-client-lede { font-size: 17px; line-height: 1.6; color: var(--fg2); margin: 0 0 48px; max-width: 560px; }
.rs-client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rs-client-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border: 1px solid var(--line-1); border-radius: 16px; padding: 32px; text-decoration: none; color: inherit; transition: all 200ms var(--ease-out); }
.rs-client-card:hover { border-color: var(--rosta-navy-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rs-client-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--rosta-navy-50); color: var(--rosta-navy-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.rs-client-icon svg { width: 24px; height: 24px; }
.rs-client-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--fg1); margin: 0 0 8px; }
.rs-client-card p { font-size: 14px; line-height: 1.5; color: var(--fg2); margin: 0 0 18px; }

/* Process */
.rs-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.rs-process-step { padding-top: 24px; border-top: 2px solid var(--rosta-navy-700); }
.rs-process-num { font-family: var(--font-mono); font-size: 13px; color: var(--rosta-navy-700); font-weight: 500; }
.rs-process-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--fg1); margin: 8px 0 8px; }
.rs-process-body { font-size: 14px; line-height: 1.55; margin: 0; }

/* Testimonial */
.rs-testi { max-width: 880px; text-align: center; }
.rs-testi-mark { font-family: var(--font-display); font-size: 96px; line-height: 1; color: var(--rosta-navy-500); height: 60px; }
.rs-testi-quote { font-family: var(--font-display); font-size: 30px; line-height: 1.4; font-weight: 500; color: #fff; margin: 16px auto 32px; max-width: 760px; text-wrap: balance; }
.rs-testi-byline { display: inline-flex; align-items: center; gap: 14px; }
.rs-testi-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--rosta-navy-500); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.rs-testi-name { color: #fff; font-weight: 600; text-align: left; }
.rs-testi-role { color: var(--rosta-navy-300); font-size: 13px; text-align: left; }

/* CTA */
.rs-cta-section { background: var(--rosta-navy-900); color: #fff; padding: 64px 0; }
.rs-cta-inner { display: grid; grid-template-columns: 1.5fr auto; gap: 48px; align-items: center; }
.rs-cta-lede { color: var(--rosta-navy-200); font-size: 17px; margin: 12px 0 0; max-width: 520px; }

/* Footer */
.rs-footer { background: var(--rosta-navy-950); color: var(--rosta-navy-200); padding: 64px 0 0; }
.rs-footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding-bottom: 48px; }
.rs-footer-tag { font-size: 14px; line-height: 1.6; max-width: 320px; margin: 16px 0 0; color: var(--rosta-navy-300); }
.rs-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rs-footer-cols h5 { color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.rs-footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rs-footer-cols li, .rs-footer-cols a { font-size: 14px; color: var(--rosta-navy-300); text-decoration: none; }
.rs-footer-cols a:hover { color: #fff; }
.rs-footer-bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 32px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; }
.rs-footer-bar a { color: var(--rosta-navy-300); text-decoration: none; }

/* Blog */
.rs-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rs-blog-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line-1); border-radius: 16px; padding: 28px; text-decoration: none; color: inherit; transition: all 200ms var(--ease-out); }
.rs-blog-card:hover { border-color: var(--rosta-navy-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rs-blog-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rosta-navy-700); background: var(--rosta-navy-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.rs-blog-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--fg1); margin: 0 0 10px; }
.rs-blog-excerpt { font-size: 14px; line-height: 1.55; color: var(--fg2); margin: 0 0 20px; }
.rs-blog-date { font-family: var(--font-mono); font-size: 12px; color: var(--fg3); margin-top: auto; }

/* Blog post */
.rs-post-inner { max-width: 760px; }
.rs-post-title { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; color: var(--fg1); margin: 14px 0 20px; text-wrap: balance; }
.rs-post-lede { font-size: 19px; line-height: 1.6; color: var(--fg2); margin: 0 0 40px; }
.rs-post-body p { font-size: 16px; line-height: 1.7; color: var(--fg2); margin: 0 0 20px; }
.rs-post-body h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--fg1); margin: 40px 0 16px; }
