:root {
  --ink: #071925;
  --ink-soft: #17313d;
  --paper: #f5f6f0;
  --paper-bright: #fbfcf8;
  --line: rgba(7, 25, 37, 0.12);
  --cyan: #22d3c5;
  --blue: #1688df;
  --coral: #ff806f;
  --yellow: #ffd16a;
  --radius: 30px;
  --shadow: 0 24px 70px rgba(2, 20, 31, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Avenir Next, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  padding: 27px 0;
  color: white;
  transform: translateX(-50%);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 18px;
  font-weight: 730;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.wordmark-mark {
  display: grid;
  width: 24px;
  height: 24px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  transform: rotate(3deg);
}
.wordmark-mark span { border-radius: 3px; background: currentColor; }
.wordmark-mark span:nth-child(2), .wordmark-mark span:nth-child(3) { opacity: 0.72; }
.wordmark-mark span:nth-child(4) { opacity: 0.42; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; }
.site-nav a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: white; }

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  padding: 128px max(48px, calc((100vw - 1180px) / 2)) 92px;
  background: radial-gradient(circle at 52% 18%, rgba(31, 111, 134, 0.18), transparent 30%), linear-gradient(145deg, #061822 0%, #092633 55%, #083946 100%);
  color: white;
}
.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 80px;
  background: var(--paper);
  clip-path: polygon(0 85%, 100% 0, 100% 100%, 0 100%);
  content: "";
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.46; pointer-events: none; }
.hero-glow-one { top: 8%; right: -110px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(34, 211, 197, 0.42), transparent 70%); }
.hero-glow-two { bottom: 3%; left: -190px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(22, 136, 223, 0.24), transparent 69%); }
.hero-copy, .hero-art { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow span { width: 22px; height: 2px; border-radius: 999px; background: var(--cyan); }
.eyebrow.dark { color: rgba(7, 25, 37, 0.54); }
.hero h1 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(54px, 6.1vw, 88px);
  font-weight: 690;
  letter-spacing: -0.066em;
  line-height: 0.96;
}
.hero h1 em { color: var(--cyan); font-family: Georgia, Times New Roman, serif; font-weight: 400; letter-spacing: -0.06em; }
.hero-lede { max-width: 580px; margin: 32px 0 0; color: rgba(255, 255, 255, 0.68); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 730;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav a:focus-visible, .wordmark:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button-primary { background: var(--cyan); color: #04242a; box-shadow: 0 14px 34px rgba(34, 211, 197, 0.18); }
.button-primary:hover { background: #43dfd2; }
.button-quiet { color: rgba(255, 255, 255, 0.76); }
.button-quiet:hover { color: white; }

.hero-art { display: grid; min-height: 500px; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 50%; }
.orbit-one { width: 490px; height: 490px; }
.orbit-two { width: 380px; height: 380px; }
.app-preview {
  position: relative;
  z-index: 2;
  width: min(390px, 86%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background: rgba(248, 251, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 9, 16, 0.42);
  transform: rotate(-2deg);
  backdrop-filter: blur(16px);
  animation: float 7s ease-in-out infinite;
}
.app-preview-top { display: flex; align-items: flex-start; justify-content: space-between; }
.app-preview-top img { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 12px 30px rgba(8, 115, 160, 0.24); }
.status-pill, .platform { display: inline-flex; align-items: center; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.status-pill { padding: 8px 11px; background: #e4f7f3; color: #0b736d; }
.app-preview-copy { padding: 38px 5px 24px; }
.app-preview-copy p, .platform { margin: 0 0 8px; color: #62808c; }
.app-preview-copy h2 { margin: 0 0 8px; font-size: 31px; font-weight: 730; letter-spacing: -0.045em; line-height: 1.06; }
.app-preview-copy > span { color: #52717c; font-size: 15px; }
.timeline { position: relative; display: grid; height: 75px; grid-template-columns: repeat(4, 1fr); gap: 6px; overflow: hidden; padding: 6px; border-radius: 20px; background: #dfe8e8; }
.timeline-frame { border-radius: 14px; }
.frame-one { background: linear-gradient(145deg, #ffc76e, #ff826e); }
.frame-two { background: linear-gradient(145deg, #8fd9d0, #1688df); }
.frame-three { background: linear-gradient(145deg, #787dda, #d683cf); }
.frame-four { background: linear-gradient(145deg, #9dcc69, #2ba88f); }
.timeline-play { position: absolute; top: 50%; left: 50%; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(7, 25, 37, 0.88); color: white; transform: translate(-50%, -50%); }
.timeline-play svg { width: 16px; fill: currentColor; }
.mini-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 30, 40, 0.88);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(0, 8, 13, 0.22);
  font-size: 12px;
  font-weight: 680;
  backdrop-filter: blur(12px);
}
.mini-card-top { top: 15%; right: -2%; transform: rotate(4deg); }
.mini-card-bottom { bottom: 14%; left: -1%; transform: rotate(-4deg); }
.mini-spark, .quality-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--coral); box-shadow: 0 0 14px rgba(255, 128, 111, 0.72); }
.quality-dot { border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(34, 211, 197, 0.72); }

.apps-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 132px 0 148px; }
.section-heading { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr); column-gap: 100px; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .approach-intro h2, .closing-section h2 { margin: 0; font-size: clamp(40px, 4.2vw, 62px); font-weight: 680; letter-spacing: -0.057em; line-height: 1.03; }
.section-heading > p:last-child { max-width: 510px; margin: 0; color: #5d7078; font-size: 17px; line-height: 1.75; }
.featured-app { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); box-shadow: 0 20px 60px rgba(23, 49, 61, 0.07); }
.featured-app-main { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 34px; align-items: center; padding: 48px; }
.featured-icon { width: 144px; height: 144px; border-radius: 32px; box-shadow: 0 18px 40px rgba(9, 122, 167, 0.2); }
.featured-app h3 { margin: 0 0 14px; font-size: clamp(30px, 3vw, 42px); font-weight: 720; letter-spacing: -0.045em; }
.featured-description { max-width: 720px; margin: 0; color: #5d7078; font-size: 17px; line-height: 1.7; }
.feature-list { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); list-style: none; }
.feature-list li { display: flex; min-height: 84px; align-items: center; gap: 13px; padding: 22px 28px; color: #314d58; font-size: 14px; font-weight: 650; }
.feature-list li + li { border-left: 1px solid var(--line); }
.feature-list svg { width: 22px; height: 22px; fill: none; stroke: #118e91; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.approach-section { display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(540px, 1.2fr); gap: 90px; padding: 130px max(48px, calc((100vw - 1180px) / 2)); background: var(--ink); color: white; }
.approach-intro { align-self: start; }
.approach-intro h2 { max-width: 460px; }
.principle-grid { display: grid; }
.principle-grid article { position: relative; padding: 34px 12px 36px 64px; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.principle-grid article:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.principle-number { position: absolute; top: 39px; left: 0; color: var(--cyan); font-family: Georgia, Times New Roman, serif; font-size: 14px; font-style: italic; }
.principle-grid h3 { margin: 0 0 9px; font-size: 23px; font-weight: 660; letter-spacing: -0.03em; }
.principle-grid p { max-width: 520px; margin: 0; color: rgba(255, 255, 255, 0.58); line-height: 1.7; }

.closing-section { display: flex; min-height: 500px; flex-direction: column; align-items: center; justify-content: center; padding: 100px 24px; background: radial-gradient(circle at 28% 20%, rgba(34, 211, 197, 0.23), transparent 30%), radial-gradient(circle at 80% 80%, rgba(255, 128, 111, 0.17), transparent 33%), #e5eee9; text-align: center; }
.closing-section > p { margin: 0 0 20px; color: #4f6e77; font-size: 12px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.closing-section h2 { max-width: 760px; }
.button-light { margin-top: 36px; background: var(--ink); color: white; box-shadow: 0 15px 35px rgba(7, 25, 37, 0.15); }
.button-light:hover { background: var(--ink-soft); }

.site-footer { display: grid; width: min(1180px, calc(100% - 48px)); min-height: 130px; margin: 0 auto; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: #65777e; font-size: 13px; }
.footer-wordmark { color: var(--ink); }
.site-footer p { margin: 0; }
.site-footer > span:last-child { justify-self: end; }

.error-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 75% 20%, rgba(34, 211, 197, 0.18), transparent 30%), linear-gradient(145deg, #061822, #083946); color: white; }
.error-card { width: min(620px, 100%); padding: clamp(34px, 7vw, 70px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(7, 25, 37, 0.74); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.error-code { margin: 82px 0 14px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: 0.18em; }
.error-card h1 { margin: 0; font-size: clamp(43px, 8vw, 70px); font-weight: 680; letter-spacing: -0.06em; line-height: 1; }
.error-card > p:not(.error-code) { max-width: 480px; margin: 24px 0 34px; color: rgba(255, 255, 255, 0.64); font-size: 17px; }

@keyframes float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

@media (max-width: 920px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding-top: 156px; padding-bottom: 125px; }
  .hero-copy { max-width: 740px; }
  .hero-art { min-height: 460px; }
  .section-heading, .approach-section { grid-template-columns: 1fr; }
  .section-heading { gap: 28px; }
  .approach-section { gap: 64px; }
  .approach-intro h2 { max-width: 670px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 32px); padding-top: 20px; }
  .site-nav { display: none; }
  .hero { padding-right: 20px; padding-left: 20px; }
  .hero h1 { font-size: clamp(48px, 15vw, 67px); }
  .hero-lede { font-size: 17px; }
  .hero-art { min-height: 400px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 300px; height: 300px; }
  .app-preview { width: min(335px, 92%); padding: 17px; border-radius: 31px; }
  .app-preview-top img { width: 90px; height: 90px; border-radius: 21px; }
  .app-preview-copy { padding-top: 30px; }
  .app-preview-copy h2 { font-size: 27px; }
  .mini-card-top { right: -4%; }
  .mini-card-bottom { bottom: 8%; left: -3%; }
  .apps-section { width: calc(100% - 32px); padding: 105px 0; }
  .featured-app-main { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
  .featured-icon { width: 112px; height: 112px; border-radius: 25px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li + li { border-top: 1px solid var(--line); border-left: 0; }
  .approach-section { padding: 105px 20px; }
  .principle-grid article { padding-right: 0; padding-left: 48px; }
  .closing-section { min-height: 430px; }
  .site-footer { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .site-footer > span:last-child { justify-self: start; }
}

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