:root {
  --paper: #f5f8fa;
  --ink: #112634;
  --muted: #667784;
  --line: #d7e0e5;
  --accent: #bff5f1;
  --deep-green: #112e3b;
  --warm: #d9eaff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

.site-shell { width: min(100%, 1440px); margin: 0 auto; padding: 0 1.6rem; }
.site-header { min-height: 8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--ink); font-size: 1.35rem; font-weight: 750; line-height: .9; letter-spacing: -.05em; text-decoration: none; }
.brand-mark { width: 3.6rem; height: 3.6rem; border-radius: 50%; object-fit: cover; }
.site-nav { display: none; }
.header-contact, .text-link { font-size: 1.35rem; font-weight: 650; text-decoration: none; }
.header-contact span, .text-link span, .contact-email span { color: #087e9a; }

.hero { position: relative; display: grid; min-height: 65rem; overflow: hidden; margin: 1.6rem 0 6.4rem; padding: 4.8rem 2.4rem 3.2rem; border-radius: 2rem; background: var(--accent); }
.hero::before { content: ""; position: absolute; width: 39rem; height: 39rem; right: -18rem; bottom: -13rem; border: 1px solid rgba(17, 38, 52, .18); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(17, 38, 52, .035), 0 0 0 14rem rgba(17, 38, 52, .025); }
.hero-intro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-label, .principle-index { margin: 0; color: var(--muted); font-size: 1.1rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { color: var(--ink); display: flex; align-items: center; gap: .8rem; }
.eyebrow span { width: .8rem; height: .8rem; border-radius: 50%; background: #0a9db8; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 8.4ch; margin: 5.2rem 0 2.4rem; font-size: clamp(5.2rem, 15vw, 9rem); font-weight: 600; letter-spacing: -.085em; line-height: .88; }
em { color: var(--deep-green); font-style: normal; }
.hero-copy { max-width: 38rem; margin-bottom: 3.2rem; color: #36505e; font-size: 1.65rem; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 2.2rem; }
.button { display: inline-flex; align-items: center; gap: 2.4rem; padding: 1.4rem 1.8rem; border-radius: 999px; font-size: 1.4rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.hero-aside { position: relative; z-index: 1; align-self: end; }
.hero-note { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.hero-number { position: absolute; right: 0; bottom: 0; margin: 0; color: rgba(17, 38, 52, .32); font-size: 1.2rem; font-weight: 700; }
.orbit { position: absolute; border: 1px solid rgba(17, 38, 52, .25); border-radius: 50%; }
.orbit-one { width: 8rem; height: 8rem; right: 4.5rem; bottom: -1.6rem; }
.orbit-two { width: 2.4rem; height: 2.4rem; right: 8rem; bottom: 3rem; background: #18bfd3; border: 0; }

.manifesto { display: grid; gap: 3.2rem; padding: 0 0 5.6rem; border-bottom: 1px solid var(--line); }
.manifesto h2, .stack-section h2 { max-width: 11ch; margin-bottom: 2.4rem; font-size: clamp(3.8rem, 10vw, 6.4rem); font-weight: 600; letter-spacing: -.075em; line-height: .94; }
.manifesto div > p { max-width: 53rem; margin: 0; color: var(--muted); font-size: 1.7rem; }
.principles { display: grid; padding: 0 0 6.4rem; border-bottom: 1px solid var(--line); }
.principles article { min-height: 20rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.principles article:last-child { border: 0; }
.principle-index { margin-bottom: 4.8rem; }
.principles h3 { margin-bottom: 1.2rem; font-size: 2.2rem; font-weight: 650; letter-spacing: -.05em; }
.principles p:last-child { max-width: 30rem; margin: 0; color: var(--muted); font-size: 1.45rem; }

.product-section { display: grid; gap: 4rem; margin: 6.4rem 0; }
.product-heading h2 { margin: 2.4rem 0 1.6rem; font-size: clamp(6.4rem, 18vw, 10.4rem); font-weight: 600; letter-spacing: -.095em; line-height: .8; }
.product-heading > p:not(.section-label) { max-width: 35rem; margin-bottom: 2.4rem; color: var(--muted); }
.product-showcase { position: relative; min-height: 43rem; overflow: hidden; border-radius: 1.6rem; background: linear-gradient(135deg, #173b4d 0%, var(--deep-green) 48%, #0d2632 100%); }
.showcase-glow { position: absolute; width: 18rem; height: 18rem; top: -8rem; left: -6rem; border: 1px solid rgba(108, 239, 244, .25); border-radius: 50%; box-shadow: 0 0 0 4.4rem rgba(108, 239, 244, .045), 0 0 0 8.8rem rgba(108, 239, 244, .025); }
.phone { position: absolute; overflow: hidden; border: .5rem solid #101c18; border-radius: 2.3rem; background: #101c18; box-shadow: 0 2.4rem 4rem rgba(0, 0, 0, .25); }
.phone img { display: block; width: 100%; }
.phone-back { width: 17rem; right: -1rem; top: 7rem; transform: rotate(10deg); opacity: .75; }
.phone-front { width: 19rem; right: 8rem; top: 6rem; transform: rotate(-6deg); }
.showcase-caption { position: absolute; left: 2.4rem; bottom: 2.4rem; margin: 0; color: white; font-size: 1.6rem; font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }

.stack-section { display: grid; gap: 4rem; padding: 6.4rem 0; border-top: 1px solid var(--line); }
.stack-section h2 { margin: 2.4rem 0 0; }
.stack-list { margin: 0; padding: 0; list-style: none; }
.stack-list li { display: grid; gap: .8rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.stack-list span { color: var(--muted); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stack-list strong { font-size: 1.7rem; font-weight: 550; letter-spacing: -.03em; }

.contact-section { margin-bottom: 1.6rem; padding: 4.8rem 2.4rem; border-radius: 1.6rem; background: var(--warm); }
.contact-section h2 { margin: 4.8rem 0; font-size: clamp(4.5rem, 12vw, 7rem); font-weight: 600; letter-spacing: -.08em; line-height: .9; }
.contact-email { display: inline-flex; gap: 1.8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 650; letter-spacing: -.05em; text-decoration: none; }
.site-footer { display: flex; justify-content: space-between; gap: 1.6rem; padding: 2.4rem 0 3.2rem; color: var(--muted); font-size: 1.2rem; }
.site-footer p { margin: 0; }

@media (min-width: 390px) {
  .site-shell { padding: 0 2rem; }
  .hero { padding: 5.6rem 3.2rem 3.2rem; }
  .phone-front { right: 11rem; }
}

@media (min-width: 768px) {
  .site-shell { padding: 0 3.2rem; }
  .site-header { min-height: 9.6rem; border-bottom: 0; }
  .site-nav { display: flex; align-items: center; gap: .4rem; margin-left: auto; padding: .5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .4); }
  .site-nav a { padding: .8rem 1.3rem; border-radius: 999px; color: var(--muted); font-size: 1.35rem; font-weight: 650; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
  .site-nav a:hover { background: var(--ink); color: var(--paper); }
  .header-contact { margin-left: 1.6rem; padding: 1.15rem 1.6rem; border-radius: 999px; background: var(--ink); color: var(--paper); transition: transform .2s ease, background-color .2s ease; }
  .header-contact span { color: var(--accent); }
  .header-contact:hover { transform: translateY(-2px); background: var(--deep-green); }
  .hero { grid-template-columns: minmax(0, 1fr) 21rem; min-height: 70rem; padding: 7.2rem 6.4rem 5.6rem; border-radius: 2.8rem; }
  .hero-copy { font-size: 1.8rem; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-aside { justify-self: end; }
  .manifesto { grid-template-columns: 1fr 2fr; gap: 5rem; padding-bottom: 8rem; }
  .manifesto h2 { margin-top: -.8rem; }
  .principles { grid-template-columns: repeat(3, 1fr); gap: 3.2rem; padding-bottom: 8rem; }
  .principles article { min-height: 27rem; padding: 3.2rem 0; border-bottom: 0; }
  .principles article + article { border-left: 1px solid var(--line); padding-left: 3.2rem; }
  .product-section { grid-template-columns: minmax(0, .8fr) minmax(40rem, 1.2fr); align-items: center; gap: 6rem; margin: 8rem 0; }
  .product-showcase { min-height: 54rem; }
  .phone-back { width: 22rem; right: 4rem; top: 9rem; }
  .phone-front { width: 25rem; right: 18rem; top: 7rem; }
  .showcase-caption { left: 4rem; bottom: 4rem; font-size: 2rem; }
  .stack-section { grid-template-columns: 1fr 1fr; gap: 8rem; padding: 8rem 0; }
  .stack-list li { grid-template-columns: 11rem 1fr; align-items: baseline; }
  .contact-section { padding: 6.4rem; border-radius: 2.8rem; }
}

@media (min-width: 1024px) {
  .site-shell { padding: 0 4.8rem; }
  .hero { grid-template-columns: minmax(0, 1fr) 27rem; min-height: 75rem; padding-left: 9.6rem; padding-right: 9.6rem; }
  h1 { max-width: 8.8ch; }
  .manifesto { grid-template-columns: 1fr 1.65fr; padding-left: 9.6rem; padding-right: 9.6rem; }
  .principles { padding-left: 9.6rem; padding-right: 9.6rem; }
  .contact-section { padding: 8rem 9.6rem; }
  .product-showcase { min-height: 58rem; }
}

@media (min-width: 1280px) {
  .hero { min-height: 78rem; }
  .product-section { gap: 8rem; }
}

@media (min-width: 1536px) {
  .site-shell { max-width: 1536px; }
}

@media (min-width: 1728px) {
  .site-shell { max-width: 1728px; }
}

@media (min-width: 1920px) {
  .site-shell { max-width: 1920px; padding-left: 7.2rem; padding-right: 7.2rem; }
}
