:root {
  --ink: #111b2c;
  --ink-soft: #26354a;
  --muted: #5c6877;
  --paper: #f8f6f1;
  --white: #fff;
  --line: #e3dfd6;
  --accent: #ffd16d;
  --coral: #f77939;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.section { padding: 88px 0; }
section[id] { scroll-margin-top: 88px; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 16px; padding: 10px 16px; background: var(--accent); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 246, 241, .96); border-bottom: 1px solid rgba(17, 27, 44, .09); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; line-height: 1; }
.brand-logo { display: block; width: auto; height: 56px; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); font-size: 14px; font-weight: 630; }
.site-nav > a:not(.nav-cta) { transition: color .2s; }
.site-nav > a:not(.nav-cta):hover { color: #bb563c; }
.nav-cta { display: inline-flex; align-items: center; gap: 18px; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 9px; color: var(--white); background: var(--ink); transition: color .2s, background .2s; }
.nav-cta:hover { color: var(--ink); background: var(--accent); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -250px; top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 209, 109, .13), transparent 66%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(42px, 6vw, 96px); padding-top: 78px; padding-bottom: 58px; }
.eyebrow { display: inline-flex; align-items: center; width: max-content; max-width: 100%; margin: 0 0 22px; padding: 8px 11px; border-radius: 6px; color: #873e22; background: #f2e6d8; font-size: 11px; font-weight: 800; letter-spacing: .09em; line-height: 1.3; text-transform: uppercase; }
.eyebrow.light { color: var(--accent); background: rgba(255, 209, 109, .1); }
.eyebrow-line { display: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.05em; }
h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(54px, 5.4vw, 82px); font-weight: 780; line-height: 1.06; }
h1 em, .contact h2 em { color: var(--accent); font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.hero-intro { max-width: 540px; margin-bottom: 33px; color: #bfccda; font-size: 17px; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 54px; padding: 13px 20px; border-radius: 10px; font-size: 14px; font-weight: 760; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: #ffe2a0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; font-weight: 730; }
.text-link:hover { color: #bd593d; }
.light-link { color: var(--white); }
.light-link:hover { color: var(--accent); }
.hero-visual { position: relative; min-width: 0; padding: 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 23px; background: linear-gradient(145deg, #27374a, #18263a 67%, #1e3540); box-shadow: 0 26px 80px rgba(1, 7, 16, .32); }
.visual-topline { display: flex; align-items: center; gap: 8px; margin: 2px 1px 20px; color: #a8b7c3; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.visual-topline span:last-child { margin-left: auto; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 209, 109, .11); }
.signal-card { padding: 22px 22px 13px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 15px; background: #152236; }
.signal-heading, .signal-labels { display: flex; justify-content: space-between; align-items: center; }
.signal-heading { color: #eef2eb; font-size: 15px; font-weight: 660; }
.signal-icon { color: var(--accent); font-size: 23px; }
.signal-chart { width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.gridline { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; stroke-dasharray: 3 7; }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.chart-line.muted { stroke: var(--coral); opacity: .75; }
.chart-line.bright { stroke: var(--accent); }
.signal-labels { color: #9bacc0; font-size: 11px; font-weight: 720; letter-spacing: .15em; }
.visual-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mini-card { min-width: 0; padding: 17px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .065); }
.mini-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 9px; color: var(--ink); font-size: 19px; font-weight: 750; }
.mini-icon.orange { background: var(--coral); }
.mini-icon.lime { background: var(--accent); }
.mini-card strong, .mini-card small { display: block; }
.mini-card strong { font-size: 13px; line-height: 1.35; }
.mini-card small { margin-top: 4px; color: #afbdcb; font-size: 12px; line-height: 1.45; }
.visual-caption { margin: 12px 1px 0; color: #afbdcb; font-size: 11px; text-align: right; }
.hero-bottom { position: relative; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 0; padding-bottom: 36px; color: #d3dde5; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero-bottom span { padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; background: rgba(255, 255, 255, .045); }

.intro { padding-bottom: 36px; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(50px, 10vw, 150px); align-items: end; }
h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(36px, 3.8vw, 54px); font-weight: 760; line-height: 1.12; }
.intro-body p { max-width: 500px; margin-bottom: 25px; color: var(--muted); font-size: 16px; line-height: 1.65; }

.services { padding-top: 30px; background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 34px; }
.section-heading > p { max-width: 320px; margin-bottom: 3px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { display: flex; flex-direction: column; min-width: 0; min-height: 405px; padding: clamp(25px, 2.5vw, 35px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 34px rgba(17, 27, 44, .035); }
.service-card.featured { color: var(--white); background: var(--ink); border-color: var(--ink); }
.service-card.featured .service-number { color: var(--accent); }
.service-card.featured .service-symbol { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.service-card.featured p { color: #cbd5e0; }
.service-card.featured ul { color: #edf1f5; border-color: rgba(255, 255, 255, .2); }
.service-card.featured li::before { color: var(--accent); }
.service-number { color: #586577; font-size: 11px; font-weight: 780; letter-spacing: .15em; }
.service-symbol { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 25px 0 22px; border: 1px solid #dfd4bf; border-radius: 11px; font-size: 31px; line-height: 1; }
.service-card:not(.featured) .service-symbol { border-color: var(--line); color: #b5563a; }
h3 { font-size: 25px; font-weight: 680; line-height: 1.18; }
.service-card h3 { max-width: 250px; margin-bottom: 13px; }
.service-card p { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-card ul { display: grid; gap: 8px; margin: auto 0 0; padding: 19px 0 0; border-top: 1px solid rgba(17, 27, 44, .15); list-style: none; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.service-card li::before { content: "↗"; margin-right: 9px; color: #ba563b; }

.expertise { background: var(--white); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.expertise-group { min-width: 0; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.expertise-label { color: #a14933; font-size: 11px; font-weight: 780; letter-spacing: .15em; }
.expertise-group h3 { margin: 18px 0 23px; }
.expertise-group ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.expertise-group li { display: grid; gap: 5px; }
.expertise-group li strong { font-size: 14px; line-height: 1.35; }
.expertise-group li span { color: var(--muted); font-size: 13px; line-height: 1.6; }

.models { padding-top: 0; background: var(--white); }
.models-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(55px, 8vw, 120px); align-items: center; padding: clamp(35px, 5vw, 68px); border: 1px solid #eee7da; border-radius: 26px; background: #f8f5ee; }
.models-copy > p:not(.eyebrow) { max-width: 480px; margin-top: 24px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.models-copy .fine-print { margin-top: 25px !important; font-size: 12px !important; }
.model-list { border-top: 1px solid #ddd5c8; }
.model-row { display: grid; grid-template-columns: 120px minmax(130px, 1fr) minmax(0, 1.1fr); align-items: baseline; gap: 15px; padding: 24px 8px; border-bottom: 1px solid #ddd5c8; }
.model-row strong { color: #a44e37; font-size: 21px; letter-spacing: -.06em; }
.model-row span { font-size: 14px; font-weight: 750; }
.model-row p { margin: 0; color: var(--muted); font-size: 13px; }

.approach { padding-top: 0; background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step-index { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink); background: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.steps h3 { margin: 22px 0 11px; }
.steps p { max-width: 320px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact { color: var(--white); background: #182b38; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 80px; align-items: end; }
.contact h2 { color: var(--white); }
.contact p:not(.eyebrow) { max-width: 490px; margin: 22px 0 29px; color: #b4c5ce; font-size: 16px; line-height: 1.65; }
.contact-details { display: grid; gap: 10px; padding: 25px 0 0 32px; border-left: 1px solid rgba(255, 255, 255, .2); }
.contact-details span { color: var(--accent); font-size: 11px; font-weight: 790; letter-spacing: .15em; }
.contact-details a { margin-bottom: 31px; font-size: clamp(19px, 2.3vw, 28px); font-weight: 650; letter-spacing: -.045em; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--accent); }
.contact-details address { color: #b4c5ce; font-size: 14px; font-style: normal; line-height: 1.7; }
.site-footer { color: #a6b6c0; border-top: 1px solid rgba(255, 255, 255, .12); background: #182b38; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 35px; min-height: 95px; padding-top: 20px; padding-bottom: 20px; }
.site-footer .brand { padding: 4px 9px; border-radius: 8px; background: var(--paper); }
.site-footer .footer-logo { height: 40px; }
.footer-inner p, .footer-links a { margin: 0; font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 25px; }
.footer-links a:hover { color: var(--accent); }

.contact-hero { padding: 76px 0 80px; color: var(--white); background: var(--ink); }
.contact-hero h1 { max-width: 850px; margin-bottom: 20px; }
.contact-hero p:not(.eyebrow) { max-width: 600px; margin-bottom: 0; color: #bfccda; font-size: 18px; line-height: 1.7; }
.contact-page { background: var(--paper); }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(50px, 8vw, 120px); align-items: start; }
.form-panel { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-panel h2 { font-size: clamp(30px, 3vw, 40px); }
.form-intro { margin: 10px 0 30px; color: var(--muted); font-size: 14px; }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #fbfaf7; color: var(--ink); font: inherit; font-size: 14px; }
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #916235; box-shadow: 0 0 0 3px rgba(255, 209, 109, .4); }
.field input::placeholder, .field textarea::placeholder { color: #818b95; }
.marketing-choice { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; cursor: pointer; }
.marketing-choice input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.form-submit { width: max-content; border: 0; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 22px; margin: 0; font-size: 13px; }
.form-status[data-state="success"] { color: #267047; }
.form-status[data-state="error"] { color: #a43e32; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.botcheck { display: none; }
.contact-aside { padding-top: 12px; }
.contact-aside h2 { margin: 0 0 28px; font-size: clamp(30px, 3.4vw, 44px); }
.contact-aside > p:not(.eyebrow) { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.contact-info-block { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.contact-info-block:first-of-type { margin-top: 36px; }
.contact-info-block span { color: #a14933; font-size: 11px; font-weight: 780; letter-spacing: .15em; text-transform: uppercase; }
.contact-info-block a { width: max-content; max-width: 100%; font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.contact-info-block a:hover { color: #a14933; }
.contact-info-block address { color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.75; }

.privacy-hero { padding-top: 68px; padding-bottom: 72px; }
.privacy-page { background: var(--paper); }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(40px, 7vw, 105px); align-items: start; }
.privacy-summary { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.privacy-updated { margin-bottom: 15px; color: #873e22; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.privacy-summary p:not(.privacy-updated) { color: var(--muted); font-size: 14px; line-height: 1.7; }
.privacy-content { min-width: 0; }
.privacy-content section { padding: 0 0 26px; border-bottom: 1px solid var(--line); }
.privacy-content section + section { padding-top: 29px; }
.privacy-content h2 { margin: 0 0 12px; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.2; }
.privacy-content p { margin-bottom: 13px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.privacy-content p:last-child { margin-bottom: 0; }
.privacy-content a { color: #873e22; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-content a:hover { color: var(--ink); }

@media (max-width: 1100px) {
  .hero-grid { gap: 35px; }
  h1 { font-size: clamp(48px, 5.4vw, 66px); }
  .service-card { min-height: 475px; }
  .model-row { grid-template-columns: 110px minmax(105px, 1fr); }
  .model-row p { grid-column: 2; }
}
@media (max-width: 900px) {
  .container { width: min(100% - 40px, 760px); }
  .section { padding: 76px 0; }
  .intro { padding-bottom: 34px; }
  .services { padding-top: 34px; }
  .models, .approach { padding-top: 0; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 17px 20px 25px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 35px rgba(17, 27, 44, .08); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 12px 3px; }
  .site-nav .nav-cta { width: max-content; margin-top: 13px; padding: 11px 17px; }
  .hero-grid, .intro-grid, .models-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; padding-top: 62px; padding-bottom: 46px; }
  h1 { font-size: clamp(48px, 10vw, 70px); }
  h2 { font-size: clamp(37px, 8vw, 52px); }
  .hero-visual { max-width: 570px; }
  .hero-bottom { justify-content: start; }
  .intro-grid, .models-grid { gap: 28px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 19px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card ul { margin-top: 5px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 12px; }
  .model-row { grid-template-columns: 110px minmax(130px, 1fr) minmax(0, 1fr); }
  .model-row p { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { padding: 24px; }
  .steps h3 { margin-top: 17px; }
  .contact-grid { gap: 54px; }
  .contact-details { padding-left: 24px; }
  .contact-page-grid, .privacy-layout { grid-template-columns: 1fr; }
  .contact-aside { padding-top: 0; }
  .privacy-summary { max-width: 650px; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 32px, 430px); }
  .brand-logo { height: 48px; }
  .hero-grid { padding-top: 53px; }
  h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: flex-start; gap: 21px; flex-direction: column; }
  .hero-visual { padding: 13px; }
  .visual-topline { font-size: 10px; }
  .signal-card { padding: 15px 15px 10px; }
  .mini-card { padding: 12px; }
  .mini-card strong { font-size: 12px; }
  .mini-card small { font-size: 11px; }
  .hero-bottom { font-size: 11px; }
  .expertise-group { padding: 23px; }
  .models-grid { padding: 28px 20px; border-radius: 20px; }
  .model-row { grid-template-columns: 104px minmax(0, 1fr); gap: 3px 10px; padding: 19px 4px; }
  .model-row strong { font-size: 18px; }
  .model-row p { grid-column: 2; }
  .contact-details { padding-left: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-hero { padding: 60px 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
