:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --paper-2: #f1eadf;
  --ink: #151515;
  --muted: #68615a;
  --line: #d8cfc0;
  --acid: #d7ff3f;
  --mint: #43d6c9;
  --coral: #ff704f;
  --blue: #3148ff;
  --shadow: 0 28px 70px rgba(28, 22, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.035) 1px, transparent 1px) 0 0 /
      76px 76px,
    linear-gradient(180deg, var(--paper) 0%, #fffaf3 48%, #f5efe4 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body::selection {
  color: var(--ink);
  background: var(--acid);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(251, 247, 239, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
}

nav a.active {
  color: var(--ink);
  border-bottom: 3px solid var(--coral);
}

.header-cta,
.primary-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.primary-btn {
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
}

.header-cta {
  padding: 0 18px;
}

.primary-btn {
  padding: 0 24px;
}

.text-link {
  color: var(--ink);
  border-bottom: 3px solid var(--coral);
}

.hero {
  min-height: calc(100svh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 6vw, 94px);
  padding: clamp(44px, 6vw, 78px) clamp(18px, 5vw, 76px) clamp(38px, 6vw, 72px);
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 11vw, 9.8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.4vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.1;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: #34302d;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-board {
  position: relative;
  min-height: 690px;
}

.board-icon {
  position: absolute;
  top: 20px;
  right: 2%;
  z-index: 4;
  width: clamp(94px, 12vw, 142px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(7deg);
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 30px;
  background: #111;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-large {
  right: 9%;
  top: 10px;
  width: min(390px, 54vw);
  aspect-ratio: 1280 / 2856;
  transform: rotate(2deg);
}

.phone-small {
  left: 0;
  bottom: 12px;
  width: min(285px, 38vw);
  aspect-ratio: 1280 / 2856;
  transform: rotate(-6deg);
}

.ticker {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker span {
  flex: 0 0 auto;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 54px);
  color: var(--ink);
  background: var(--acid);
  border-right: 2px solid var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 950;
}

.ticker span:nth-child(2n) {
  background: var(--mint);
}

.ticker span:nth-child(3n) {
  background: var(--coral);
}

.studio,
.feature-panel,
.screens,
.download,
.responsible {
  padding: clamp(64px, 9vw, 124px) clamp(18px, 5vw, 76px);
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

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

.section-copy p:last-child {
  max-width: 640px;
  font-size: 1.1rem;
}

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

.workflow-grid article,
.features article {
  min-height: 230px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 6px 6px 0 var(--ink);
}

.workflow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  font-weight: 950;
}

.workflow-grid article:nth-child(2) span {
  background: var(--acid);
}

.workflow-grid article:nth-child(3) span {
  background: var(--coral);
}

.feature-panel {
  color: #fff;
  background: var(--ink);
}

.feature-panel .eyebrow {
  color: var(--acid);
}

.feature-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1.1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.feature-heading h2 {
  grid-column: 1 / -1;
  max-width: 1050px;
}

.features {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.features article {
  color: var(--ink);
  background: var(--paper);
}

.features article:nth-child(2n) {
  background: #e7f7ef;
}

.features article:nth-child(3n) {
  background: #fff0df;
}

.screens {
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.screen-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
}

figure {
  margin: 0;
  scroll-snap-align: start;
}

figure img {
  width: 100%;
  aspect-ratio: 1280 / 2856;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #111;
  box-shadow: 7px 7px 0 var(--ink);
}

figcaption {
  margin-top: 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
}

.download h2 {
  max-width: 1120px;
}

.responsible {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(28px, 6vw, 76px);
  color: #fff;
  background: var(--blue);
}

.responsible h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
}

.responsible p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 5vw, 76px);
  background: var(--ink);
}

footer .brand {
  color: #fff;
}

footer .brand img {
  border-color: #fff;
  box-shadow: 5px 5px 0 var(--acid);
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.policy-page {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 76px)
    clamp(70px, 8vw, 112px);
}

.policy-hero {
  max-width: 1120px;
  margin-bottom: clamp(32px, 6vw, 70px);
}

.policy-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
}

.policy-hero p {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.policy-content {
  max-width: 920px;
  padding: clamp(24px, 4vw, 46px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 8px 8px 0 var(--ink);
}

.policy-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.policy-content h2:first-of-type {
  margin-top: 28px;
}

.policy-content h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.policy-content p,
.policy-content li {
  color: #3f3933;
  font-size: 1rem;
  line-height: 1.76;
}

.policy-content ul {
  margin: 12px 0 22px;
  padding-left: 22px;
}

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

.policy-content a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .studio,
  .responsible {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-board {
    min-height: 560px;
  }

  .phone-large {
    right: 5%;
    width: min(360px, 66vw);
  }

  .phone-small {
    width: min(250px, 46vw);
  }

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

  .workflow-grid article {
    min-height: 0;
  }

  .download {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    max-width: 140px;
    white-space: normal;
    line-height: 1.05;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-board {
    min-height: 500px;
  }

  .board-icon {
    width: 88px;
  }

  .phone-large {
    width: 68vw;
    border-radius: 24px;
  }

  .phone-small {
    width: 43vw;
    border-radius: 22px;
  }

  .ticker span {
    min-height: 58px;
  }

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

  .features article {
    min-height: 0;
  }

  .screen-strip {
    grid-auto-columns: minmax(190px, 72vw);
  }

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