@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  a { color: inherit; }
  button, input, textarea { font: inherit; }
}

@layer base {
  @font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  :root { color-scheme: light; --paper: #f7f9fc; --ink: #17243b; --muted: #4e5f75; --line: #d7dfeb; --accent: #c4d9ff; --brand-orange: #f5a018; --brand-orange-soft: #fff0d8; --brand-orange-ink: #965000; --radius: 18px; }
  html { scroll-behavior: smooth; scroll-padding-top: 24px; }
  body { background: var(--paper); color: var(--ink); font-family: Manrope, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
  ::selection { background: var(--brand-orange); color: var(--ink); }
  a { text-underline-offset: 5px; }
  a, summary { -webkit-tap-highlight-color: transparent; }
  :focus-visible { outline: 3px solid #235bc5; outline-offset: 6px; }
  h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
  h1 { font-size: clamp(3.3rem, 6.6vw, 6rem); font-weight: 750; }
  h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); font-weight: 700; }
  h3 { font-size: 1.3rem; letter-spacing: -.025em; }
  p { color: var(--muted); }
  address { font-style: normal; }
  [id] { scroll-margin-top: 24px; }
}

@layer layout {
  .container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
  .section { padding-block: 76px; }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; }
  .hero-grid, .speed-grid, .faq-grid { display: grid; gap: 48px; }
  .section-heading { display: grid; gap: 24px; margin-bottom: 40px; }
  .section-heading > p { max-width: 390px; align-self: end; }
  .services-grid, .projects-grid, .process-grid { display: grid; gap: 20px; }
  .footer-grid { display: grid; gap: 32px; }
}

@layer components {
  .icon { display: inline-block; width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.2em; }

  .service-icon .icon { width: 26px; height: 26px; }
  .mock-spark .icon { display: block; width: 1em; height: 1em; }
  .mock-button { display: inline-flex; align-items: center; gap: 8px; }
  .skip-link { position: absolute; top: 12px; left: 20px; transform: translateY(-160%); background: var(--ink); color: white; padding: 12px 20px; z-index: 10; }
  .skip-link:focus { transform: translateY(0); }
  .site-header { border-bottom: 1px solid var(--line); }
  .wordmark { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; min-height: 44px; }
  .wordmark img { display: block; width: 210px; height: auto; max-width: 100%; }

  .navigation { display: none; gap: 28px; }
  .navigation a { text-decoration: none; font-size: 1rem; font-weight: 600; }
  .navigation a:hover { text-decoration: underline; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 17px 24px; min-height: 48px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 1rem; font-weight: 700; transition: background .2s, transform .2s; }
  .button-dark { background: var(--ink); color: var(--paper); }
  .button-dark:hover { background: #2a4879; transform: translateY(-2px); }
  .button-small { padding: 12px 17px; font-size: 1rem; gap: 16px; }
  .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
  .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #235bc5; flex-shrink: 0; box-shadow: 0 0 0 4px #235bc512; }
  .hero { padding-block: 56px 64px; }
  .hero h1 { margin-bottom: 28px; }
  .highlight { position: relative; isolation: isolate; white-space: nowrap; }
  .highlight::after { content: ""; position: absolute; left: -3px; right: -5px; bottom: 3px; height: 32%; z-index: -1; background: var(--brand-orange); transform: rotate(-1.5deg); }
  .lead { max-width: 470px; font-size: 1.05rem; line-height: 1.8; }
  .button-group { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
  .text-link { display: inline-flex; align-items: center; gap: 18px; font-weight: 700; font-size: 1rem; text-decoration: none; min-height: 44px; }
  .text-link:hover { text-decoration: underline; }
  .hero-note { margin-top: 23px; font-size: 1rem; }
  .hero-art { min-width: 0; min-height: 395px; position: relative; display: flex; align-items: center; padding: 55px 20px 65px; background: #e6edf9; border-radius: 24px; overflow: hidden; isolation: isolate; }
  .art-topline, .art-bottomline { position: absolute; left: 24px; right: 24px; display: flex; justify-content: space-between; gap: 12px; font-size: 1rem; letter-spacing: .1em; font-weight: 700; color: #475b7c; }
  .art-topline { top: 22px; } .art-bottomline { bottom: 22px; }
  .orbit { width: 400px; height: 400px; border: 1px solid #c7d6ed; position: absolute; border-radius: 50%; z-index: -1; }
  .orbit-one { right: -150px; top: -150px; } .orbit-two { left: -220px; bottom: -260px; width: 550px; height: 550px; }
  .browser { width: 100%; background: #ffffff; border: 1px solid #cbd7e9; border-radius: 10px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 24px 40px #17243b18; }
  .browser-bar { display: flex; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid #dde5f1; font-size: 1rem; color: #4e5f75; }
  .browser-dots { letter-spacing: 2px; color: #637ba1; }
  .browser-content { padding: 24px; }
  .mock-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 36px; }
  .mock-nav strong { font-size: 1rem; letter-spacing: -.05em; } .mock-nav strong span { color: #235bc5; }
  .mock-nav > span { font-size: 1rem; }
  .mock-label { font-size: 1rem; letter-spacing: .13em; }
  .mock-heading { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.06em; line-height: 1.12; margin-block: 12px 18px; color: var(--ink); }
  .mock-heading em { font-style: normal; color: #235bc5; }
  .mock-bottom { display: flex; align-items: center; justify-content: space-between; }
  .mock-button { font-size: 1rem; background: var(--ink); color: white; padding: 11px 16px; border-radius: 4px; }
  .mock-spark { font-size: 5rem; color: var(--brand-orange); line-height: .8; }
  .mock-cards { display: flex; gap: 10px; margin-top: 25px; }
  .mock-cards span { height: 38px; background: #edf1f8; flex: 1; border-radius: 5px; }
  .mock-cards span:nth-child(2) { background: #dce7fa; }
  .delivery-tag { position: relative; align-self: end; right: auto; bottom: auto; display: flex; align-items: center; gap: 12px; background: var(--brand-orange); padding: 15px 20px; border-radius: 10px; transform: rotate(4deg); box-shadow: 0 8px 20px #17243b12; margin-top: 24px; }
  .delivery-tag strong, .delivery-tag div > span { display: block; }
  .delivery-tag strong { font-size: 1rem; } .delivery-tag div > span { font-size: 1rem; }
  .tag-icon { font-size: 2rem; }
  .benefit-strip { border-block: 1px solid var(--line); }
  .benefit-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-block: 22px; justify-content: space-between; }
  .benefit-inner > span { font-size: 1rem; display: flex; align-items: center; gap: 12px; }
  .benefit-inner b { color: #235bc5; }
  .service-card { position: relative; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
  .service-icon { display: inline-flex; align-items: center; justify-content: center; height: 46px; width: 46px; background: var(--brand-orange-soft); color: var(--brand-orange-ink); border-radius: 10px; font-size: 1.8rem; line-height: 1; margin-bottom: 32px; }
  .code-icon { font-size: 1.1rem; font-weight: 700; }
  .card-index { position: absolute; top: 33px; right: 25px; font-size: 1rem; color: #4e5f75; }
  .service-card h3 { margin-bottom: 16px; }
  .service-card p { font-size: 1rem; margin-bottom: 28px; }
  .card-tag { display: inline-block; font-size: 1rem; border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; color: var(--muted); }
  .speed-section { background: var(--ink); color: var(--paper); }
  .speed-section .eyebrow { color: var(--accent); }
  .speed-section h2 { margin-bottom: 25px; }
  .speed-section p { color: #c2cfe3; }
  .speed-section .muted { color: #a6c4f9; }
  .speed-grid > div > p:not(.eyebrow) { max-width: 400px; }
  .speed-card { display: flex; align-items: center; gap: 28px; border-bottom: 1px solid #415473; padding-block: 24px; }
  .speed-card:first-child { padding-top: 0; }
  .speed-number { color: var(--brand-orange); font-size: 4rem; line-height: 1; font-weight: 700; letter-spacing: -.06em; min-width: 105px; }
  .speed-number span { display: block; font-size: 1rem; letter-spacing: 0; font-weight: 400; margin-top: 9px; }
  .speed-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .speed-card p { font-size: 1rem; }
  .small-print { font-size: 1rem; margin-block: 20px 12px; }
  .speed-options > .text-link { color: var(--accent); }
  .project-preview { display: block; border-radius: var(--radius); position: relative; overflow: hidden; text-decoration: none; transition: transform .2s; border: 1px solid var(--line); background: white; }
  .project-image { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 900; }
  .project-preview:hover { transform: translateY(-4px); }









  .project-open { position: absolute; right: 16px; bottom: 16px; border-radius: 50%; width: 35px; height: 35px; display: grid; place-items: center; background: #ffffffb0; font-size: 1.2rem; }








  .project-info { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 14px; margin-top: 22px; }
  .project-info h3 { font-size: 1.13rem; margin-bottom: 8px; }
  .project-info h3 a { text-decoration: none; } .project-info h3 a:hover { text-decoration: underline; }
  .project-info p { font-size: 1rem; }
  .preview-note { font-size: 1rem; margin-top: 26px; }
  .process-section { border-block: 1px solid var(--line); background: #edf2fa; }
  .process-grid { list-style: none; padding: 0; margin: 0; gap: 32px; }
  .step-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #c4d1e5; border-radius: 50%; font-size: 1rem; margin-bottom: 24px; }
  .process-grid h3 { margin-bottom: 14px; font-size: 1.15rem; }
  .process-grid p { font-size: 1rem; max-width: 330px; }
  .faq-list { border-top: 1px solid var(--line); }
  details { border-bottom: 1px solid var(--line); }
  summary { position: relative; cursor: pointer; padding: 23px 30px 23px 0; font-size: 1rem; font-weight: 700; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: ""; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; position: absolute; right: 0; top: 18px; font-size: 1.4rem; font-weight: 400; }
  details[open] summary::after { background-size: 100% 2px, 2px 0; }
  details p { padding: 0 24px 24px 0; font-size: 1rem; }
  .contact-section { background: var(--accent); padding-block: 68px; overflow: hidden; }
  .contact-inner { text-align: center; }
  .contact-inner .eyebrow { justify-content: center; }
  .contact-section h2 { font-size: clamp(3.25rem, 6.5vw, 6rem); margin-bottom: 28px; }
  .contact-section h2 > span { color: #244f9b; }
  .contact-section p { color: #283f64; }
  .contact-email { display: inline-flex; align-items: center; gap: 25px; font-size: clamp(1.45rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.04em; margin-top: 30px; text-decoration-thickness: 1px; text-underline-offset: 9px; }
  .contact-note { margin-top: 22px; font-size: 1rem; }
  .site-footer { padding-top: 55px; }
  .footer-grid { padding-bottom: 44px; }
  .footer-grid p, .footer-grid address, .footer-grid > div > a:not(.wordmark) { font-size: 1rem; }
  .footer-grid p { margin-top: 17px; }
  .footer-label { text-transform: uppercase; font-size: 1rem; letter-spacing: .1em; margin-bottom: 17px; }
  .footer-bottom { border-top: 1px solid var(--line); padding-block: 23px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 1rem; color: var(--muted); }
}

@layer responsive {
  @media (max-width: 959px) {
    .header-inner { flex-wrap: nowrap; padding-block: 16px; gap: 12px; }
    .site-header .wordmark { flex-shrink: 1; min-width: 0; }
    .site-header .wordmark img { width: clamp(140px, 30vw, 210px); }
    .header-contact { margin-left: auto; flex-shrink: 0; white-space: nowrap; padding-inline: 12px; gap: 8px; }
    .hero-art { flex-direction: column; padding: 80px 24px 110px; }
    .art-topline, .art-bottomline { flex-wrap: wrap; font-size: 1rem; letter-spacing: .02em; }
    .browser { transform: none; }
    .browser-content { padding: 20px; }
    .browser-bar { flex-wrap: wrap; gap: 8px; }
    .mock-nav > span { display: none; }
    .mock-bottom { flex-wrap: wrap; gap: 16px; }
    .mock-spark { font-size: 3rem; }
    .projects-grid { grid-template-columns: minmax(0, 1fr); }







    .desktop-break { display: none; }
  }
  @media (min-width: 600px) {
    .container { width: min(1200px, calc(100% - 64px)); }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-art { padding: 65px 40px 85px; }
    .mock-heading { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > div:first-child { grid-column: 1 / -1; }





  }
  @media (min-width: 960px) {
    .navigation { display: flex; }
    .section { padding-block: 100px; }
    .hero { padding-block: 75px 80px; }
    .hero-grid { grid-template-columns: 1.08fr 1fr; align-items: center; gap: 45px; }
    .hero-art { min-height: 510px; padding: 100px 32px 110px; flex-direction: column; }
    .mock-heading { font-size: 3rem; }
    .mock-nav { margin-bottom: 44px; }
    .delivery-tag { right: auto; bottom: auto; }
    .section-heading { grid-template-columns: 1.2fr 1fr; gap: 80px; margin-bottom: 46px; }
    .section-heading > p { justify-self: end; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .service-card { padding: 27px 23px; display: flex; flex-direction: column; align-items: start; }
    .service-card .card-tag { margin-top: auto; }
    .service-card h3 { font-size: 1.2rem; }
    .speed-grid { grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }





    .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; }
    .faq-grid { grid-template-columns: 1fr 1.3fr; gap: 80px; }
    .contact-section { padding-block: 85px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
    .footer-grid > div:first-child { grid-column: auto; }
  }
  @media (max-width: 380px) {
    .header-contact { padding-inline: 12px; gap: 8px; font-size: 1rem; }
    h1 { font-size: 3rem; }
    .browser-content { padding: 18px; }
    .speed-card { gap: 14px; }
    .speed-number { min-width: 85px; }


  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
  @media (forced-colors: active) {
    .button, .service-card, .project-preview, .speed-card, .step-number { border: 1px solid ButtonText; }
    .highlight::after { display: none; }
    .status-dot { background: CanvasText; }
  }
}
