@layer reset, base, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p { margin: 0; }
  img { display: block; max-width: 100%; }
}

@layer base {
  :root {
    color-scheme: light;
    --navy-950: #061226;
    --navy-900: #0a1b34;
    --navy-800: #102d51;
    --blue-600: #086bc8;
    --blue-500: #27a7ec;
    --blue-100: #dff2ff;
    --ink: #122237;
    --muted: #56677b;
    --line: #d9e3ed;
    --mist: #f1f7fb;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(5, 27, 55, .14);
  }

  body {
    min-width: 320px;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }
  :focus-visible { outline: 3px solid #f7b32b; outline-offset: 4px; }
  h1, h2, h3 { color: var(--navy-950); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }
  h1 { max-width: 13ch; font-size: clamp(2.9rem, 7vw, 5.8rem); }
  h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
  h3 { font-size: 1.32rem; }
}

@layer components {
  .shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
  .skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: .7rem 1rem; border-radius: 8px; background: var(--white); color: var(--navy-950); font-weight: 700; transform: translateY(-160%); }
  .skip-link:focus { transform: translateY(0); }

  .site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(10, 27, 52, .08); background: rgba(255, 255, 255, .94); }
  .nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .brand { display: inline-flex; align-items: center; text-decoration: none; }
  .logo-crop { position: relative; width: 244px; height: 58px; display: block; overflow: hidden; }
  .logo-crop img { position: absolute; top: -31px; left: 0; width: 244px; max-width: none; height: auto; }
  nav { display: flex; align-items: center; gap: 30px; }
  nav a { font-size: .93rem; font-weight: 680; text-decoration: none; }
  nav a:not(.button):hover { color: var(--blue-600); }

  .button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 11px; padding: .75rem 1.25rem; border: 1px solid var(--blue-600); border-radius: 10px; background: var(--blue-600); color: var(--white); font-weight: 760; text-decoration: none; box-shadow: 0 10px 24px rgba(20, 125, 225, .2); transition: background-color .2s ease, transform .2s ease; }
  .button:hover { background: #065aa9; transform: translateY(-1px); }
  .button-small { min-height: 42px; padding: .55rem 1rem; }

  .hero { position: relative; overflow: hidden; background: linear-gradient(155deg, #f7fbfe 0%, #eef7fc 57%, #e6f1f8 100%); }
  .hero::after { content: ""; position: absolute; right: -10%; bottom: -52%; width: 70%; height: 78%; border: 1px solid rgba(39, 167, 236, .24); border-radius: 50%; box-shadow: 0 0 0 55px rgba(39, 167, 236, .05), 0 0 0 110px rgba(39, 167, 236, .035); transform: rotate(-8deg); }
  .hero-glow { position: absolute; inset: auto -15% -55% 45%; height: 100%; background: radial-gradient(circle, rgba(39, 167, 236, .23), transparent 67%); }
  .hero-grid { position: relative; z-index: 2; min-height: 690px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding-block: 94px 108px; }
  .eyebrow { margin-bottom: 18px; color: var(--blue-600); font-size: .78rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
  .hero-lede { max-width: 640px; margin-top: 27px; color: #40546a; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.7; }
  .hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
  .text-link { color: var(--navy-900); font-weight: 760; text-decoration-color: rgba(20, 125, 225, .38); text-underline-offset: 5px; }
  .trust-line { display: flex; align-items: center; gap: 8px; margin-top: 33px; color: var(--muted); font-size: .93rem; font-weight: 650; }
  .trust-line span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #d9f0e6; color: #13734d; }

  .hero-mark { position: relative; min-height: 440px; display: grid; place-items: center; }
  .hero-logo-panel { width: min(500px, 94%); padding: 42px 24px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
  .hero-logo-crop { position: relative; width: 100%; height: 150px; display: block; overflow: hidden; }
  .hero-logo-crop img { position: absolute; top: -54px; left: 0; width: 100%; height: auto; }
  .signal-card { position: absolute; min-width: 178px; display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 13px; background: rgba(255, 255, 255, .88); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
  .signal-card span { grid-row: span 2; color: var(--blue-600); font-size: .72rem; font-weight: 850; }
  .signal-card strong { color: var(--navy-950); font-size: .94rem; }
  .signal-card small { color: var(--muted); }
  .signal-card-one { top: 13%; right: -3%; }
  .signal-card-two { bottom: 12%; left: -2%; }
  .signal-card-three { right: -8%; bottom: 24%; }

  .services-preview { padding-block: 102px 110px; }
  .section-heading { max-width: 720px; }
  .section-heading > p:last-child { max-width: 630px; margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
  .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
  .service-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, #fff, #f8fbfd); }
  .service-number { display: block; margin-bottom: 54px; color: var(--blue-600); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
  .service-grid p { margin-top: 14px; color: var(--muted); }

  .credibility-band { padding-block: 105px; background: var(--navy-950); color: #d8e5f2; }
  .credibility-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
  .credibility-band .eyebrow { color: #65c5fa; }
  .credibility-band h2 { color: var(--white); }
  .credibility-copy > p { max-width: 610px; font-size: 1.1rem; }
  .check-list { display: grid; gap: 16px; margin: 32px 0; padding: 0; list-style: none; }
  .check-list li { position: relative; padding-left: 32px; }
  .check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #65c5fa; font-weight: 900; }
  .text-link-light { color: var(--white); text-decoration-color: rgba(101, 197, 250, .7); }

  .process-section { padding-block: 106px; background: var(--mist); }
  .section-heading-wide { max-width: 820px; }
  .process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 56px 0 0; padding: 0; border-top: 1px solid #bdcfdf; list-style: none; }
  .process-list li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 32px 30px 10px 0; }
  .process-list li + li { padding-left: 30px; border-left: 1px solid #bdcfdf; }
  .process-list > li > span { color: var(--blue-600); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
  .process-list p { margin-top: 10px; color: var(--muted); }

  .cta-section { padding-block: 92px; }
  .cta-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; padding: 58px; border-radius: 24px; background: linear-gradient(135deg, #0a1d39, #0c3764); color: #dceaf6; box-shadow: var(--shadow); }
  .cta-panel h2 { color: var(--white); }
  .cta-panel > div:last-child p { margin-bottom: 25px; font-size: 1.06rem; }
  .button-light { border-color: var(--white); background: var(--white); color: var(--navy-950); box-shadow: none; }
  .button-light:hover { background: var(--blue-100); }

  .site-footer { padding-block: 60px 28px; border-top: 1px solid var(--line); background: #f7fafc; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 40px; }
  .footer-grid nav { align-items: flex-start; flex-direction: column; gap: 9px; }
  .footer-grid nav a, .link-button { color: var(--muted); font: inherit; font-size: .9rem; font-weight: 650; text-decoration: none; }
  .link-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
  .footer-grid nav a:hover, .link-button:hover { color: var(--blue-600); text-decoration: underline; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
  .brand-footer { align-self: start; }

  .mobile-nav { display: none; position: relative; }
  .mobile-nav summary { min-width: 76px; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 750; text-align: center; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% + 12px); right: 0; min-width: 190px; align-items: stretch; flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
  .mobile-nav nav a { padding: 11px 12px; border-radius: 7px; }
  .mobile-nav nav a:hover { background: var(--mist); }

  .cookie-banner { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); padding: 22px; border: 1px solid #b9cbdb; border-radius: 14px; background: var(--white); box-shadow: 0 24px 70px rgba(6, 18, 38, .24); }
  .cookie-banner[hidden] { display: none; }
  .cookie-banner h2 { font-size: 1.2rem; }
  .cookie-banner p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
  .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .cookie-actions button { min-height: 42px; padding: .55rem .85rem; border: 1px solid var(--navy-800); border-radius: 8px; background: var(--navy-900); color: var(--white); font: inherit; font-size: .86rem; font-weight: 750; cursor: pointer; }
  .cookie-actions .button-secondary { background: var(--white); color: var(--navy-900); }

  .page-hero { position: relative; overflow: hidden; padding-block: 92px 96px; background: linear-gradient(135deg, var(--navy-950), #0b315b); color: #dce9f6; }
  .page-hero::after { content: ""; position: absolute; right: -7%; bottom: -75%; width: 55%; aspect-ratio: 1; border: 1px solid rgba(84, 190, 248, .25); border-radius: 50%; box-shadow: 0 0 0 55px rgba(84, 190, 248, .05), 0 0 0 110px rgba(84, 190, 248, .03); }
  .page-hero .shell { position: relative; z-index: 1; }
  .page-hero h1 { max-width: 14ch; color: var(--white); font-size: clamp(2.8rem, 6vw, 5rem); }
  .page-hero .page-lede { max-width: 720px; margin-top: 25px; color: #c5d7e8; font-size: clamp(1.05rem, 2vw, 1.25rem); }
  .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #9fc4e4; font-size: .82rem; font-weight: 700; }
  .breadcrumb a { text-underline-offset: 3px; }

  .content-section { padding-block: 92px; }
  .content-section-soft { background: var(--mist); }
  .two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; align-items: start; }
  .content-stack { display: grid; gap: 22px; color: var(--muted); }
  .content-stack h2, .content-stack h3 { margin-top: 14px; color: var(--navy-950); }
  .content-stack ul { display: grid; gap: 10px; margin: 0; padding-left: 1.25rem; }
  .content-stack a { color: #086bc8; font-weight: 700; }
  .intro-copy { max-width: 760px; color: var(--muted); font-size: 1.13rem; }

  .service-list { display: grid; gap: 24px; margin-top: 46px; }
  .service-feature { display: grid; grid-template-columns: 80px 1fr auto; gap: 28px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
  .service-feature > span { color: var(--blue-600); font-size: .8rem; font-weight: 850; letter-spacing: .14em; }
  .service-feature p { max-width: 650px; margin-top: 9px; color: var(--muted); }
  .service-feature > a { white-space: nowrap; color: var(--navy-900); font-weight: 800; text-underline-offset: 5px; }

  .outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
  .outcome-grid article { padding: 28px; border-left: 3px solid var(--blue-500); background: var(--white); box-shadow: 0 12px 35px rgba(6, 25, 47, .07); }
  .outcome-grid p { margin-top: 10px; color: var(--muted); }

  .detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
  .detail-aside { position: sticky; top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
  .detail-aside h2 { font-size: 1.3rem; }
  .detail-aside ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
  .detail-aside li { padding-left: 24px; position: relative; }
  .detail-aside li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-600); font-weight: 900; }

  .contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 78px; align-items: start; }
  .contact-note { padding: 28px; border-radius: var(--radius); background: var(--navy-950); color: #dce9f6; }
  .contact-note h2 { color: var(--white); font-size: 1.5rem; }
  .contact-note p { margin-top: 14px; }
  .contact-form { display: grid; gap: 22px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .field { display: grid; gap: 7px; }
  .field label, .field legend { color: var(--navy-950); font-size: .92rem; font-weight: 750; }
  .field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .72rem .8rem; border: 1px solid #acbed0; border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
  .field textarea { min-height: 150px; resize: vertical; }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue-600); }
  .field-hint { color: var(--muted); font-size: .82rem; }
  .checkbox-field { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
  .checkbox-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-600); }
  .checkbox-field label { font-size: .9rem; }
  .form-status { min-height: 28px; font-weight: 700; }
  .form-status[data-state="error"] { color: #a32121; }
  .form-status[data-state="success"] { color: #0a704b; }
  .honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

  .policy { max-width: 800px; }
  .policy h2 { margin-top: 42px; font-size: 1.65rem; }
  .policy h3 { margin-top: 28px; }
  .policy p, .policy ul { margin-top: 14px; color: var(--muted); }
  .policy ul { display: grid; gap: 8px; padding-left: 1.25rem; }
  .policy .effective-date { margin-top: 0; color: var(--ink); font-weight: 700; }
  .brand-story { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; margin-top: 48px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
  .brand-story img { width: min(100%, 520px); height: auto; aspect-ratio: 1774 / 887; object-fit: contain; justify-self: center; }
  .brand-story p { margin-top: 10px; color: var(--muted); }
}

@layer utilities {
  @media (max-width: 840px) {
    .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 32px; padding-block: 74px 78px; }
    .hero-mark { min-height: 360px; }
    .hero-mark > img { width: 300px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-grid article { min-height: 0; }
    .service-number { margin-bottom: 30px; }
    .credibility-grid, .cta-panel { grid-template-columns: 1fr; gap: 36px; }
    .process-list { grid-template-columns: 1fr; }
    .process-list li, .process-list li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid #bdcfdf; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brand-footer { grid-column: 1 / -1; }
    .two-column, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .detail-aside { position: static; }
    .service-feature { grid-template-columns: 55px 1fr; }
    .service-feature > a { grid-column: 2; }
    .outcome-grid { grid-template-columns: 1fr; }
    .brand-story { grid-template-columns: 1fr; }
  }

  @media (max-width: 760px) {
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
  }

  @media (max-width: 620px) {
    .shell { width: min(100% - 28px, 1160px); }
    .nav-wrap { min-height: 72px; }
    .logo-crop { width: 184px; height: 48px; }
    .logo-crop img { top: -24px; width: 184px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-mark { min-height: 310px; }
    .hero-logo-panel { width: min(100%, 390px); padding-inline: 14px; }
    .hero-logo-crop { height: 116px; }
    .hero-logo-crop img { top: -41px; }
    .signal-card { min-width: 150px; padding: 11px 13px; }
    .signal-card-one { right: 0; }
    .signal-card-two { left: 0; }
    .signal-card-three { right: 0; bottom: 23%; }
    .credibility-band, .process-section { padding-block: 74px; }
    .cta-section { padding-block: 68px; }
    .cta-panel { padding: 34px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-footer { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .page-hero { padding-block: 64px 70px; }
    .content-section { padding-block: 68px; }
    .service-feature { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
    .service-feature > a { grid-column: auto; margin-top: 8px; }
    .form-row { grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
