:root {
  --ink: #10251f;
  --ink-soft: #49615a;
  --paper: #f7f8f2;
  --paper-deep: #e9ecdf;
  --lime: #c9f34a;
  --mint: #82d9b4;
  --blue: #8eb6ff;
  --peach: #ffad78;
  --white: #ffffff;
  --line: rgba(16, 37, 31, 0.14);
  --shadow: 0 28px 80px rgba(16, 37, 31, 0.13);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 8%, rgba(201, 243, 74, 0.34), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(142, 182, 255, 0.25), transparent 31rem);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 248, 242, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 31px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.secondary {
  background: var(--white);
}

.button.small {
  min-height: 42px;
  padding-inline: 17px;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--ink);
  content: "";
}

.hero {
  min-height: 720px;
  padding: 82px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.1rem, 8.2vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero h1 .highlight {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hero h1 .highlight::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.02em;
  left: -0.02em;
  height: 0.24em;
  border-radius: 999px;
  background: var(--lime);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-copy {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-note span::before {
  margin-right: 8px;
  color: var(--ink);
  content: "✓";
}

.hero-art {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-orbit {
  width: min(100%, 500px);
  aspect-ratio: 1;
  position: absolute;
  border: 2px dashed rgba(16, 37, 31, 0.22);
  border-radius: 50%;
  animation: orbit 32s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.hero-orbit::before {
  width: 24px;
  height: 24px;
  top: 36px;
  left: 55px;
  background: var(--peach);
}

.hero-orbit::after {
  width: 16px;
  height: 16px;
  right: 30px;
  bottom: 112px;
  background: var(--blue);
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.phone-stack {
  width: 310px;
  height: 470px;
  position: relative;
}

.phone {
  width: 224px;
  height: 448px;
  position: absolute;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 44px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone::before {
  width: 72px;
  height: 19px;
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 50%;
  border-radius: 99px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.phone.back {
  top: 22px;
  left: 0;
  background: var(--blue);
  transform: rotate(-9deg);
}

.phone.front {
  z-index: 2;
  top: 0;
  right: 0;
  background: var(--lime);
  transform: rotate(7deg);
}

.screen {
  height: 100%;
  padding: 48px 19px 20px;
}

.screen-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.screen h3 {
  margin: 8px 0 20px;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.focus-ring {
  width: 142px;
  aspect-ratio: 1;
  margin: 28px auto;
  display: grid;
  place-items: center;
  border: 15px solid rgba(16, 37, 31, 0.13);
  border-top-color: var(--ink);
  border-radius: 50%;
  font-size: 1.55rem;
  font-weight: 900;
}

.mini-panel {
  margin-top: 16px;
  padding: 15px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  padding: 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
}

.check-list li::before {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--lime);
  content: "✓";
}

.section {
  padding: 112px 0;
}

.section.alt {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-heading h2,
.contact-card h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5.7vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.app-card {
  min-height: 610px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 7px 7px 0 var(--ink);
}

.app-preview {
  min-height: 344px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--app-color);
}

.app-preview::after {
  width: 220px;
  height: 220px;
  position: absolute;
  right: -90px;
  bottom: -105px;
  border: 32px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
}

.mini-phone {
  width: 164px;
  height: 316px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 32px 32px 0 0;
  background: var(--paper);
  box-shadow: 0 22px 45px rgba(16, 37, 31, 0.18);
  transform: translateY(40px) rotate(var(--tilt));
}

.mini-phone::before {
  width: 52px;
  height: 13px;
  position: absolute;
  top: 8px;
  left: 50%;
  border-radius: 99px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.mini-screen {
  height: 100%;
  padding: 38px 13px 13px;
}

.mini-title {
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 900;
}

.mini-row {
  height: 42px;
  margin-bottom: 9px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
}

.mini-row.short {
  width: 72%;
}

.mini-chart {
  height: 122px;
  margin-top: 14px;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
}

.mini-chart i {
  flex: 1;
  height: var(--h);
  border: 1.5px solid var(--ink);
  border-radius: 6px 6px 2px 2px;
  background: var(--app-color);
}

.mini-convert {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.mini-convert div {
  padding: 16px 12px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.app-meta {
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.app-meta span:last-child {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.app-card h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.045em;
}

.app-card p {
  margin: 11px 0 0;
  color: var(--ink-soft);
}

.app-card .text-link {
  margin-top: auto;
  padding-top: 22px;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.service-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 1.4rem;
  letter-spacing: -0.035em;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.principles {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.principle strong {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin: 0 0 6px;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-card {
  padding: clamp(35px, 6vw, 76px);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 40px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 10px 10px 0 var(--lime);
}

.contact-card::after {
  width: 330px;
  height: 330px;
  position: absolute;
  right: -150px;
  bottom: -210px;
  border: 62px solid var(--lime);
  border-radius: 50%;
  content: "";
  opacity: 0.88;
}

.contact-card .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.contact-card .eyebrow::before {
  box-shadow: 0 0 0 2px var(--white);
}

.contact-card p {
  max-width: 620px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-card .button {
  position: relative;
  z-index: 2;
  box-shadow: 5px 5px 0 var(--white);
}

.site-footer {
  padding: 44px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-copy {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  font-size: 0.86rem;
  font-weight: 750;
}

.footer-links a {
  text-underline-offset: 4px;
}

.legal-hero {
  padding: 100px 0 56px;
}

.legal-hero p {
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.legal-content {
  max-width: 820px;
  padding: 0 0 120px;
}

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

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 4px;
}

.legal-content li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

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

  .app-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 28px;
  }

  .app-preview {
    grid-row: 1 / 5;
  }

  .app-card .text-link {
    align-self: end;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    padding: 22px;
    display: none;
    align-items: stretch;
    border: 2px solid var(--ink);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 8px 2px;
  }

  .nav-links .button {
    margin-top: 6px;
  }

  .hero {
    padding: 58px 0 72px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.7rem);
  }

  .hero-art {
    min-height: 450px;
    transform: scale(0.88);
  }

  .section {
    padding: 78px 0;
  }

  .app-card {
    display: flex;
  }

  .app-preview {
    min-height: 330px;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .hero-art {
    margin-inline: -25px;
    transform: scale(0.78);
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-card {
    border-radius: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
