:root {
  --ink: #0b1739;
  --ink-soft: #53607b;
  --indigo: #4a43f2;
  --indigo-dark: #342dda;
  --coral: #ff6b52;
  --paper: #ffffff;
  --mist: #f3f5fb;
  --line: #dfe4f0;
  --max: 1180px;
  --radius-lg: 36px;
  --radius-md: 24px;
  --shadow: 0 24px 70px rgba(25, 39, 83, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand::after {
  width: 8px;
  height: 8px;
  margin: 2px 0 0 9px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--indigo);
  content: "";
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 670px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: 46px;
}

.eyebrow,
.product-label {
  margin: 0 0 18px;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(54px, 6.3vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--indigo);
}

.hero-intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.product-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--indigo);
}

.text-link,
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

.hero-art {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 88%;
  aspect-ratio: 1;
  top: 7%;
  right: 0;
  background: var(--ink);
}

.orb-two {
  width: 54%;
  aspect-ratio: 1;
  right: -3%;
  bottom: 2%;
  z-index: -1;
  background: #ebe9ff;
}

.wordmark-stage {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  left: 26%;
  top: 23%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34%;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(-4deg);
  color: #fff;
  font-size: clamp(1.2rem, 2.7vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-align: left;
}

.wordmark-stage > span {
  display: block;
  width: 72%;
  transform: rotate(4deg);
}

.wordmark-stage strong {
  display: block;
  margin-top: 0.18em;
  color: var(--coral);
  font-size: 1.45em;
}

.idea-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(11, 23, 57, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.card-one {
  top: 13%;
  left: -3%;
}

.card-two {
  top: 49%;
  right: -4%;
}

.card-three {
  bottom: 9%;
  left: 1%;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-dot.coral {
  background: var(--coral);
}

.card-dot.indigo {
  background: var(--indigo);
}

.card-dot.navy {
  background: var(--ink);
}

.company-section {
  margin-top: 90px;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 100px;
  background: var(--mist);
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.company-copy > p {
  max-width: 690px;
  margin: 4px 0 48px;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
}

.principles {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.principles li {
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.principles span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.principles h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.products-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

.section-kicker {
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-kicker .eyebrow,
.section-kicker > p {
  margin: 0;
}

.section-kicker > p:last-child {
  color: var(--ink-soft);
  font-size: 15px;
}

.product-card {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}

.product-copy {
  padding: clamp(48px, 7vw, 84px);
}

.product-label {
  color: #a9a6ff;
}

.product-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.product-copy > p:not(.product-label) {
  max-width: 570px;
  margin: 28px 0 0;
  color: #c9d0e2;
  font-size: 19px;
  line-height: 1.65;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: #e9e8ff;
}

.product-link {
  color: var(--paper);
}

.product-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--indigo);
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.product-visual::before {
  width: 360px;
  height: 360px;
  top: -110px;
  right: -90px;
  background: var(--coral);
}

.product-visual::after {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -110px;
  border: 60px solid #7771ff;
}

.machine-window {
  position: absolute;
  z-index: 2;
  width: 82%;
  min-height: 330px;
  left: 9%;
  top: 17%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 38px 80px rgba(8, 14, 41, 0.32);
  transform: rotate(3deg);
}

.machine-topbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.machine-topbar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7ccdb;
}

.machine-topbar i:first-child {
  background: var(--coral);
}

.machine-content {
  padding: 36px 32px;
}

.machine-line {
  width: 78%;
  height: 15px;
  margin-bottom: 15px;
  border-radius: 99px;
  background: #cfd5e6;
}

.machine-line.short {
  width: 42%;
  background: var(--ink);
}

.machine-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.machine-grid span {
  height: 100px;
  border-radius: 18px;
  background: #e8ebf5;
}

.machine-grid span:nth-child(2) {
  background: #dcdafe;
}

.contact-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: end;
  gap: 80px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
  border-color: var(--indigo);
  color: var(--indigo);
}

.site-footer {
  padding: 54px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  background: var(--mist);
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand span,
.footer-meta {
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-meta a {
  font-weight: 800;
}

.legal-page {
  background: var(--mist);
}

.legal-content {
  width: min(calc(100% - 48px), 820px);
  min-height: calc(100vh - 260px);
  margin: 70px auto 110px;
  padding: clamp(34px, 7vw, 74px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(25, 39, 83, 0.08);
}

.legal-content h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-date {
  margin: 18px 0 52px;
  color: var(--ink-soft);
  font-size: 14px;
}

.legal-content section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.legal-content section p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-content section a {
  color: var(--indigo-dark);
  font-weight: 750;
}

.compact-footer {
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .hero {
    min-height: 0;
    padding: 70px 0 50px;
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(100%, 620px);
    min-height: 520px;
    margin: 0 auto;
  }

  .company-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    width: min(calc(100% - 32px), var(--max));
    min-height: 86px;
  }

  .brand {
    font-size: 15px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero,
  .products-section,
  .contact-section {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(49px, 15.5vw, 68px);
  }

  .hero-art {
    min-height: 410px;
  }

  .idea-card {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 12px;
  }

  .company-section {
    margin-top: 30px;
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .products-section {
    padding: 82px 0;
  }

  .section-kicker {
    display: block;
  }

  .section-kicker > p:last-child {
    margin-top: 8px;
  }

  .product-copy {
    padding: 44px 30px 54px;
  }

  .product-copy > p:not(.product-label) {
    font-size: 17px;
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-visual {
    min-height: 330px;
  }

  .machine-window {
    min-height: 255px;
  }

  .machine-grid span {
    height: 64px;
  }

  .contact-section {
    margin-bottom: 82px;
  }

  .contact-email {
    font-size: 19px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-content {
    width: min(calc(100% - 24px), 820px);
    margin-top: 28px;
    margin-bottom: 60px;
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
