:root {
  color-scheme: light;
  --background: #fafaf7;
  --surface: #ffffff;
  --surface-soft: #f2f0e8;
  --ink: #111318;
  --muted: #5e6470;
  --line: #e4dfd3;
  --accent: #008a72;
  --accent-dark: #006d5c;
  --warm: #f4b860;
  --violet: #3d315b;
  --focus: #0b6bff;
  --shadow: 0 24px 70px rgba(17, 19, 24, 0.08);
  --content: 1180px;
  --narrow: 820px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 24, 0.025) 1px, transparent 1px),
    var(--background);
  background-size: 72px 72px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 5rem;
}

h2 {
  font-size: 2.75rem;
}

p {
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
}

.site-shell {
  min-height: 100svh;
}

.site-main {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  padding: 0.65rem 0.9rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem;
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100%, var(--content));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(228, 223, 211, 0.86);
  border-radius: 8px;
  background: rgba(250, 250, 247, 0.9);
  box-shadow: 0 14px 40px rgba(17, 19, 24, 0.05);
  padding: 0.55rem 0.65rem;
}

.brand-link,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 0.65rem;
  flex: 0 0 auto;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-link:hover {
  background: var(--surface-soft);
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--background);
  background: var(--warm);
}

.nav-links {
  justify-content: center;
  gap: 0.2rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.nav-links a,
.language-switch a {
  border-radius: 7px;
  padding: 0.55rem 0.72rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active,
.language-switch a:hover,
.language-switch a.active {
  background: var(--surface-soft);
  color: var(--ink);
}

.language-switch {
  flex: 0 0 auto;
  gap: 0.1rem;
  color: var(--muted);
}

.studio-hero,
.app-hero,
.split-section,
.product-feature,
.organization-section,
.three-column-band,
.developer-band,
.legal-document {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
}

.studio-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 4rem;
  padding: 4.6rem 0 6rem;
}

.hero-copy {
  animation: rise-in 620ms ease both;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-subtitle {
  max-width: 670px;
  margin-top: 1.35rem;
  color: #30343b;
  font-size: 1.35rem;
  line-height: 1.45;
}

.hero-note {
  max-width: 520px;
  margin-top: 1.4rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.78rem 1.05rem;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.hero-visual {
  min-height: 480px;
  display: grid;
  place-items: center;
  animation: fade-in 780ms ease 120ms both;
}

.studio-plane {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(228, 223, 211, 0.95);
  border-radius: 8px;
  background:
    radial-gradient(circle at 25% 20%, rgba(244, 184, 96, 0.28), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, #f2f0e8 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.studio-plane::before,
.studio-plane::after {
  content: "";
  position: absolute;
  inset: 3.2rem;
  border: 1px solid rgba(0, 138, 114, 0.18);
  border-radius: 50%;
}

.studio-plane::after {
  inset: 6.4rem;
  border-color: rgba(61, 49, 91, 0.2);
}

.studio-plane > img:not(.goal-icon) {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  transform: translate(-50%, -50%);
  border-radius: 28%;
  box-shadow: 0 24px 52px rgba(17, 19, 24, 0.16);
}

.plane-line {
  position: absolute;
  height: 1px;
  background: rgba(17, 19, 24, 0.16);
  transform-origin: left center;
}

.line-a {
  left: 8%;
  top: 34%;
  width: 82%;
  transform: rotate(18deg);
}

.line-b {
  left: 17%;
  top: 67%;
  width: 70%;
  transform: rotate(-22deg);
}

.goal-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--surface);
  padding: 0.62rem;
  box-shadow: 0 14px 34px rgba(17, 19, 24, 0.12);
  animation: drift 5.8s ease-in-out infinite;
}

.icon-house {
  left: 20%;
  top: 24%;
}

.icon-plane {
  right: 18%;
  top: 32%;
  animation-delay: 600ms;
}

.icon-piggy {
  left: 54%;
  bottom: 18%;
  animation-delay: 1100ms;
}

.split-section,
.product-feature,
.organization-section,
.three-column-band,
.developer-band {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
}

.split-section p,
.product-copy p,
.organization-section p,
.developer-band p {
  max-width: 680px;
  font-size: 1.08rem;
}

.ruled-list,
.compact-list,
.feature-list {
  list-style: none;
  padding-left: 0;
}

.ruled-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.ruled-list li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.compact-list {
  margin-top: 1.5rem;
}

.compact-list li,
.feature-list li {
  position: relative;
  margin: 0.64rem 0;
  padding-left: 1.3rem;
}

.compact-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
}

.product-mark {
  width: min(100%, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #ece8dc);
  box-shadow: var(--shadow);
}

.product-mark img {
  width: 58%;
  border-radius: 28%;
}

.text-arrow {
  display: inline-flex;
  margin-top: 1.7rem;
  color: var(--accent-dark);
  font-weight: 760;
}

.text-arrow::after {
  content: "->";
  margin-left: 0.55rem;
  transition: transform 180ms ease;
}

.text-arrow:hover::after {
  transform: translateX(3px);
}

.section-heading {
  max-width: 760px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2.5rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.details-grid.compact {
  margin-top: 0;
}

.detail-item {
  min-width: 0;
  background: rgba(255, 255, 255, 0.72);
  padding: 1.1rem;
}

.detail-item dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail-item dd {
  margin: 0.4rem 0 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  font-weight: 650;
}

.app-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
  padding: 4.5rem 0 6rem;
}

.app-icon-shell {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 138, 114, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 138, 114, 0.16) 1px, transparent 1px),
    #ffffff;
  background-size: 34px 34px;
  box-shadow: var(--shadow);
}

.app-icon-shell img {
  width: 54%;
  border-radius: 28%;
}

.app-hero-copy {
  animation: rise-in 620ms ease both;
}

.feature-list {
  columns: 2;
  column-gap: 2.4rem;
}

.three-column-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.info-column {
  background: rgba(255, 255, 255, 0.78);
  padding: 1.6rem;
}

.info-column h2 {
  font-size: 1.42rem;
  line-height: 1.18;
}

.developer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: start;
}

.legal-page .site-main {
  padding-top: 2rem;
}

.legal-document {
  max-width: var(--narrow);
  padding: 4rem 0 6rem;
}

.legal-hero {
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: 3.5rem;
}

.legal-hero p {
  margin-top: 1rem;
  font-size: 1.06rem;
}

.legal-updated {
  color: var(--accent-dark);
  font-weight: 760;
}

.legal-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

.legal-section p + p {
  margin-top: 0.9rem;
}

.legal-section ul,
.legal-section ol {
  margin-top: 1rem;
}

.section-action {
  margin-top: 1.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 1rem 2rem;
  background: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
}

.footer-name {
  color: var(--ink);
  font-weight: 760;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-links h2 {
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--ink);
}

.copyright {
  width: min(100%, var(--content));
  margin: 2.2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .studio-hero,
  .app-hero,
  .split-section,
  .product-feature,
  .developer-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .studio-hero,
  .app-hero {
    gap: 2.5rem;
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .studio-plane {
    width: min(100%, 380px);
  }

  .product-feature,
  .developer-band,
  .split-section {
    gap: 2rem;
  }

  .three-column-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background-size: 44px 44px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .site-header {
    position: static;
    padding: 0.75rem;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .language-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a,
  .language-switch a {
    padding: 0.48rem 0.56rem;
  }

  .studio-hero,
  .app-hero,
  .split-section,
  .product-feature,
  .organization-section,
  .three-column-band,
  .developer-band,
  .legal-document {
    width: min(100% - 1.25rem, var(--content));
  }

  .studio-hero,
  .app-hero {
    min-height: auto;
    padding: 2.8rem 0 4rem;
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .goal-icon {
    width: 40px;
    height: 40px;
  }

  .split-section,
  .product-feature,
  .organization-section,
  .three-column-band,
  .developer-band {
    padding: 4rem 0;
  }

  .details-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .feature-list {
    columns: 1;
  }

  .legal-hero h1 {
    font-size: 2.45rem;
  }

  .legal-document {
    padding-top: 2rem;
  }
}

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