:root {
  --navy: #10233f;
  --orange: #ff7a1a;
  --paper: #f7f9fc;
  --navy-rgb: 16, 35, 63;
  --orange-rgb: 255, 122, 26;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(var(--navy-rgb), .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--paper); font-family: "DM Sans", sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--orange); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: .25s ease; }
.site-header.scrolled { background: rgba(247, 249, 252, .92); border-bottom: 1px solid rgba(var(--navy-rgb), .08); backdrop-filter: blur(16px); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: Manrope, sans-serif; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: var(--paper); font-size: .85rem; letter-spacing: -.03em; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { text-decoration: none; font-size: .94rem; font-weight: 600; }
.main-nav a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta { padding: .7rem 1rem; color: var(--paper); background: var(--navy); border-radius: 10px; }
.menu-button { display: none; background: none; border: 0; padding: .5rem; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); }

.hero { min-height: 760px; padding: 150px 0 90px; display: grid; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 6rem; align-items: center; }
.eyebrow { margin: 0 0 1.25rem; color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 5.6vw, 5.7rem); }
.hero-lead { max-width: 650px; margin: 1.8rem 0 0; color: rgba(var(--navy-rgb), .72); font-size: clamp(1.08rem, 1.4vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 50px; padding: .78rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--navy); box-shadow: 0 12px 28px rgba(var(--orange-rgb), .22); }
.button-secondary { border-color: rgba(var(--navy-rgb), .18); background: transparent; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 3.2rem 0 0; padding: 0; list-style: none; }
.hero-proof li { display: flex; gap: .5rem; font-size: .9rem; font-weight: 600; }
.hero-proof span { color: var(--orange); font-size: .7rem; font-weight: 800; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 410px; height: 410px; border-radius: 50%; background: var(--orange); opacity: .12; filter: blur(2px); }
.orbit { position: absolute; width: 470px; height: 470px; border: 1px solid rgba(var(--navy-rgb), .13); border-radius: 50%; }
.code-card { position: relative; z-index: 2; width: min(100%, 440px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; color: var(--paper); background: var(--navy); box-shadow: var(--shadow); transform: rotate(-2deg); }
.code-top { padding: 1rem 1.2rem; display: flex; gap: .4rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.code-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.code-top span:nth-child(2), .code-top span:nth-child(3) { opacity: .35; }
.code-top small { margin-left: auto; opacity: .55; }
.code-card pre { margin: 0; padding: 2.1rem 1.8rem 2.5rem; font-size: .94rem; line-height: 1.9; white-space: pre-wrap; }
.code-card b, .code-card em { color: var(--orange); font-style: normal; }
.floating-note { position: absolute; z-index: 3; min-width: 155px; padding: .9rem 1rem; border: 1px solid rgba(var(--navy-rgb), .1); border-radius: 14px; background: var(--paper); box-shadow: 0 16px 38px rgba(var(--navy-rgb), .12); }
.floating-note strong, .floating-note span { display: block; }
.floating-note strong { font-family: Manrope, sans-serif; }
.floating-note span { margin-top: .15rem; font-size: .76rem; opacity: .6; }
.note-one { top: 4%; right: -4%; }
.note-two { bottom: 3%; left: -4%; }

.section { padding: 115px 0; }
.section-heading { max-width: 740px; margin-bottom: 3rem; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(2.25rem, 4.4vw, 4.25rem); }
.section-heading > p:last-child { color: rgba(var(--navy-rgb), .68); font-size: 1.08rem; }
.section-heading-row { max-width: none; display: grid; grid-template-columns: 1.3fr .7fr; gap: 5rem; align-items: end; }
.section-heading-row > p { margin: 0 0 .4rem; }

.solutions { background: var(--navy); color: var(--paper); }
.solutions .section-heading > p:last-child { color: rgba(247,249,252,.68); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(247,249,252,.14); }
.service-card { min-height: 310px; padding: 2.2rem; background: var(--navy); }
.service-card-accent { background: var(--orange); color: var(--navy); }
.service-number { color: var(--orange); font-size: .75rem; font-weight: 800; }
.service-card-accent .service-number { color: var(--navy); }
.service-card h3 { margin: 4.5rem 0 .8rem; font-size: 1.7rem; }
.service-card p { max-width: 470px; color: rgba(247,249,252,.7); }
.service-card-accent p { color: rgba(var(--navy-rgb), .75); }
.service-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.service-tags span { padding: .32rem .6rem; border: 1px solid rgba(247,249,252,.16); border-radius: 99px; font-size: .74rem; }
.service-card-accent .service-tags span { border-color: rgba(var(--navy-rgb), .2); }

.project-featured { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 560px; overflow: hidden; border-radius: 28px; background: var(--navy); color: var(--paper); box-shadow: var(--shadow); }
.project-content { padding: clamp(2rem, 5vw, 4.6rem); }
.project-kicker { color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-content h3 { margin: 1rem 0; font-size: clamp(2.8rem, 5vw, 5rem); }
.project-intro { max-width: 560px; font-size: 1.25rem; font-weight: 600; }
.project-content > p:not(.project-intro) { color: rgba(247,249,252,.7); }
.project-highlights { padding: 0; list-style: none; }
.project-highlights li { position: relative; margin: .55rem 0; padding-left: 1.25rem; }
.project-highlights li::before { content: ""; position: absolute; top: .7rem; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.project-links > span { font-size: .78rem; opacity: .55; }
.pricing-visual { position: relative; padding: 4rem 2rem; display: grid; place-items: center; background: var(--orange); }
.price-panel { width: min(100%, 390px); padding: 1.5rem; border-radius: 18px; color: var(--navy); background: var(--paper); box-shadow: 0 30px 60px rgba(var(--navy-rgb), .24); transform: rotate(2deg); }
.price-panel-head, .price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price-panel-head { padding-bottom: 1.2rem; border-bottom: 1px solid rgba(var(--navy-rgb), .1); font-weight: 700; }
.price-panel-head small { color: var(--orange); }
.price-value { padding: 2rem 0 1.3rem; }
.price-value small, .price-value strong { display: block; }
.price-value small { opacity: .55; }
.price-value strong { margin-top: .2rem; font: 800 2.7rem Manrope, sans-serif; letter-spacing: -.05em; }
.price-bar { height: 8px; margin-bottom: 2rem; border-radius: 8px; background: rgba(var(--navy-rgb), .1); }
.price-bar span { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--orange); }
.price-row { padding: .75rem 0; border-top: 1px solid rgba(var(--navy-rgb), .08); font-size: .87rem; }
.segment-tabs { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: .3rem; }
.segment-tabs span { padding: .35rem .55rem; border-radius: 7px; background: var(--navy); color: var(--paper); font-size: .65rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.project-card { min-height: 390px; padding: 2rem; display: flex; flex-direction: column; border: 1px solid rgba(var(--navy-rgb), .1); border-radius: 22px; background: var(--paper); }
.project-icon { width: 52px; height: 52px; margin-bottom: 3.2rem; display: grid; place-items: center; border-radius: 15px; background: var(--navy); color: var(--paper); font-family: Manrope, sans-serif; font-weight: 800; }
.project-card h3 { margin: .6rem 0 .7rem; font-size: 2rem; }
.project-card p { color: rgba(var(--navy-rgb), .67); }
.project-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 1.5rem; }
.project-meta span { padding: .3rem .5rem; border-radius: 6px; background: rgba(var(--navy-rgb), .06); font-size: .7rem; font-weight: 700; }
.project-card > a { font-weight: 800; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.project-status { font-weight: 800; color: var(--orange); }

.about { border-top: 1px solid rgba(var(--navy-rgb), .1); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; }
.about-copy > p:first-child { margin-top: 0; font-size: 1.2rem; font-weight: 600; }
.about-copy > p { color: rgba(var(--navy-rgb), .72); }
.stack-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.stack-list span { padding: .5rem .75rem; border: 1px solid rgba(var(--navy-rgb), .13); border-radius: 9px; font-size: .8rem; font-weight: 700; }

.contact { padding: 95px 0; background: var(--orange); color: var(--navy); }
.contact .eyebrow { color: var(--navy); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: end; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; align-items: center; }
.button-light { background: var(--paper); }
.text-link-light { font-weight: 800; text-underline-offset: 5px; }

.site-footer { padding: 2.1rem 0; background: var(--navy); color: var(--paper); }
.site-footer .brand-mark { background: var(--orange); color: var(--navy); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-inner p, .footer-inner > span { opacity: .55; font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 920px) {
  .hero-grid, .project-featured, .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .hero-visual { min-height: 430px; }
  .section-heading-row { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid { gap: 2.5rem; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { height: 72px; }
  .brand-name { font-size: .9rem; }
  .menu-button { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; padding: 7rem 1.5rem 2rem; display: flex; flex-direction: column; align-items: stretch; gap: .6rem; background: var(--paper); transform: translateX(100%); transition: transform .25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: .8rem; font-size: 1.2rem; }
  .nav-cta { color: var(--paper); text-align: center; }
  .hero { min-height: 0; padding: 115px 0 60px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .hero-proof { display: grid; gap: .7rem; margin-top: 2.4rem; }
  .hero-visual { min-height: 350px; }
  .orbit, .hero-visual::before { width: 300px; height: 300px; }
  .code-card { width: 90%; }
  .code-card pre { padding: 1.4rem 1.2rem 1.8rem; font-size: .76rem; }
  .floating-note { min-width: 130px; padding: .65rem .75rem; }
  .note-one { right: 0; }
  .note-two { left: 0; }
  .section { padding: 80px 0; }
  .services-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; padding: 1.5rem; }
  .service-card h3 { margin-top: 3rem; }
  .project-content { padding: 2rem 1.5rem 2.5rem; }
  .pricing-visual { padding: 3rem 1rem; }
  .project-card { min-height: 360px; }
  .contact { padding: 70px 0; }
  .contact-inner { gap: 2rem; }
  .contact-actions { display: grid; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .footer-inner p { margin: .4rem 0; }
}
