:root {
  color-scheme: light;
  --background: #ffffff;
  --ink: #111111;
  --graphite: #2b2b2b;
  --muted: #737373;
  --line: #e7e7e7;
  --line-strong: #d2d2d2;
  --focus: #5b6cff;
  --shadow: 0 24px 70px rgb(16 18 22 / 9%), 0 4px 16px rgb(16 18 22 / 5%);
  --soft-shadow: 0 10px 30px rgb(16 18 22 / 8%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 80px), 1440px);
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 206px;
  height: auto;
  display: block;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--focus);
}

.header-meta,
.language-switch,
.footer-meta {
  display: flex;
  align-items: center;
}

.header-meta {
  gap: 24px;
}

.language-switch {
  gap: 4px;
}

.language-switch a {
  min-width: 32px;
  padding: 7px 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}

.language-switch a[aria-current="true"] {
  color: var(--ink);
  background: #f3f3f3;
}

.language-switch a:focus-visible,
.studio-credit:focus-visible {
  outline: 2px solid #8f9196;
  outline-offset: 2px;
}

.hero {
  min-height: calc(100vh - 250px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  padding: clamp(72px, 9vh, 120px) 0;
}

.hero-copy {
  max-width: 660px;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 680;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero-description {
  max-width: 590px;
  margin: 34px 0 0;
  color: #3f4145;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 430;
  line-height: 1.48;
  letter-spacing: -0.018em;
}

.primary-action {
  width: fit-content;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding: 0 20px 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 8px 22px rgb(0 0 0 / 14%);
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #202124;
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}

.primary-action:focus-visible,
.brand:focus-visible {
  outline: 3px solid #8f9196;
  outline-offset: 4px;
}

.product-preview {
  width: 100%;
  max-width: 720px;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-preview > img {
  width: 100%;
  height: auto;
  display: block;
}

.product-preview figcaption {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.preview-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}

.preview-wordmark {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.preview-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 4px 13px rgb(0 0 0 / 16%);
}

.preview-body {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(180px, 0.7fr);
}

.intent-space {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.connections path {
  fill: none;
  stroke: #c7c9cd;
  stroke-width: 1;
}

.intent {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #c7c9cd;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  font-weight: 560;
  letter-spacing: -0.035em;
  text-align: center;
}

.intent-main {
  width: 146px;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  border-color: #252629;
  box-shadow: 0 16px 42px rgb(16 18 22 / 13%), inset 0 0 0 5px #ffffff, inset 0 0 0 6px #c8c9cc;
  font-size: 19px;
  line-height: 1.08;
}

.intent-one,
.intent-two,
.intent-three,
.intent-four {
  z-index: 1;
  color: #393b3f;
  font-size: 12px;
}

.intent-one {
  width: 80px;
  left: 9%;
  top: 9%;
}

.intent-two {
  width: 96px;
  left: 5%;
  bottom: 12%;
}

.intent-three {
  width: 104px;
  right: 5%;
  top: 8%;
}

.intent-four {
  width: 88px;
  right: 8%;
  bottom: 10%;
}

.presentation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 24px;
}

.presentation-title,
.presentation-line,
.presentation-row {
  display: block;
  border-radius: 999px;
  background: #d4d5d8;
}

.presentation-title {
  width: 58%;
  height: 12px;
  margin-bottom: 14px;
  background: var(--ink);
}

.presentation-line {
  width: 78%;
  height: 7px;
}

.presentation-line-long {
  width: 100%;
}

.presentation-line-short {
  width: 62%;
}

.presentation-divider {
  height: 1px;
  margin: 18px 0 6px;
  background: var(--line);
}

.presentation-row {
  width: 100%;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgb(16 18 22 / 5%);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles p {
  min-height: 110px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 clamp(20px, 3vw, 46px);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 570;
  letter-spacing: -0.03em;
}

.principles p:first-child {
  padding-left: 0;
}

.principles p + p {
  border-left: 1px solid var(--line);
}

.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta {
  gap: 22px;
}

.studio-credit {
  color: var(--muted);
  text-decoration-color: #c8c8c8;
  text-underline-offset: 3px;
}

.studio-credit:hover {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 42px;
  }

  .preview-body {
    grid-template-columns: 1fr 170px;
  }

  .intent-main {
    width: 126px;
    font-size: 17px;
  }
}

@media (max-width: 860px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 40px), 720px);
  }

  .site-header {
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 66px 0 72px;
  }

  h1 {
    max-width: 700px;
    font-size: clamp(48px, 9vw, 68px);
  }

  .hero-description {
    max-width: 650px;
  }

  .product-preview {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 32px), 520px);
  }

  .brand {
    max-width: 52%;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 14px 0;
  }

  .brand img {
    width: 172px;
  }

  .status {
    width: 100%;
    justify-content: flex-end;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero {
    gap: 46px;
    padding: 52px 0 60px;
  }

  h1 {
    font-size: clamp(40px, 11.5vw, 52px);
    line-height: 1.01;
  }

  .hero-description {
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.5;
  }

  .primary-action {
    width: 100%;
    min-height: 60px;
    justify-content: space-between;
    margin-top: 34px;
  }

  .product-preview {
    border-radius: 22px;
  }

  .preview-topbar {
    min-height: 62px;
    padding: 0 20px;
  }

  .preview-dot {
    width: 28px;
    height: 28px;
  }

  .preview-body {
    min-height: 330px;
    grid-template-columns: 1fr;
  }

  .intent-space {
    min-height: 330px;
    border-right: 0;
  }

  .presentation {
    display: none;
  }

  .intent-main {
    width: 124px;
  }

  .intent-one {
    left: 7%;
  }

  .intent-two {
    width: 84px;
    left: 5%;
  }

  .intent-three {
    width: 92px;
    right: 4%;
  }

  .intent-four {
    width: 82px;
    right: 5%;
  }

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

  .principles p,
  .principles p:first-child {
    min-height: 76px;
    padding: 0;
  }

  .principles p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px 0;
  }

  .header-meta {
    display: contents;
  }

  .language-switch a {
    min-width: 28px;
    padding-inline: 4px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }

  .studio-credit {
    overflow-wrap: anywhere;
  }
}

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

  .primary-action {
    transition: none;
  }
}
