:root {
  color: #182128;
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #176b35;
  --green-dark: #10592b;
  --green-soft: #eef7ed;
  --ink: #182128;
  --muted: #6d7277;
  --line: #dfe3df;
  --surface: #f7f8f6;
  --shell: 1440px;
  --gutter: clamp(24px, 3.35vw, 48px);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-device: 0 28px 60px rgba(24, 33, 40, 0.16), 0 5px 18px rgba(24, 33, 40, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 107, 53, 0.24);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.shell {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(223, 227, 223, 0.9);
  box-shadow: 0 10px 30px rgba(24, 33, 40, 0.04);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 88px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 50px);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  color: #30383e;
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .language-nav {
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
}

.site-nav .language-nav::after {
  display: none;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(23, 107, 53, 0.15);
}

.button-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-outline {
  color: var(--green);
  background: #fff;
  border-color: var(--green);
}

.button-outline:hover {
  background: var(--green-soft);
}

.github-header {
  min-height: 44px;
  padding-inline: 18px;
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  min-height: 830px;
  padding: 170px 0 92px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(46px, 4vw, 64px);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(54px, 4.1vw, 60px);
  font-weight: 780;
  line-height: 1.04;
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.5;
}

.hero-actions,
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.receipt-backdrop {
  position: absolute;
  top: -30px;
  right: 28px;
  width: 55%;
  height: 470px;
  padding: 90px 50px;
  overflow: hidden;
  border: 1px solid #ecefec;
  background: #fff;
  box-shadow: 0 24px 60px rgba(24, 33, 40, 0.07);
  transform: rotate(1.5deg);
}

.receipt-backdrop::after,
.paper-canvas::after,
.terminal::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 76px;
  height: 76px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(225deg, #fff 48%, #eef3ee 49%);
  content: "";
}

.receipt-backdrop span {
  display: block;
  width: 70%;
  height: 7px;
  margin: 0 auto 22px;
  background: #dcecdf;
  border-radius: 999px;
}

.receipt-backdrop span:nth-child(2) {
  width: 48%;
}

.receipt-backdrop span:nth-child(3) {
  width: 60%;
}

.device {
  margin: 0;
}

.device-laptop {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 62px;
  width: 94%;
  filter: drop-shadow(0 26px 36px rgba(24, 33, 40, 0.14));
}

.device-laptop .device-screen {
  overflow: hidden;
  aspect-ratio: 1.44;
  border: 10px solid #121618;
  border-radius: 18px 18px 7px 7px;
  background: #fff;
}

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

.laptop-base {
  position: relative;
  width: 112%;
  height: 18px;
  margin-left: -6%;
  background: linear-gradient(#bdc3c3, #727a7b 68%, #9da4a4);
  border-radius: 1px 1px 18px 18px;
}

.laptop-base::after {
  position: absolute;
  top: 0;
  left: 43%;
  width: 14%;
  height: 5px;
  background: #8b9292;
  border-radius: 0 0 6px 6px;
  content: "";
}

.device-phone {
  position: absolute;
  z-index: 4;
  right: -4%;
  bottom: 18px;
  width: 28%;
  padding: 7px;
  overflow: hidden;
  border: 3px solid #111517;
  border-radius: 28px;
  background: #111517;
  box-shadow: var(--shadow-device);
}

.device-phone .device-screen {
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 20px;
  background: #fff;
}

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

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 33%;
  height: 10px;
  background: #111517;
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%);
}

.section {
  padding: clamp(96px, 9vw, 148px) 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 72px;
}

.section h2,
.principles h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 770;
  line-height: 1.05;
}

.section-heading p,
.section-lead,
.install-copy > p,
.support-grid > div > p {
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

.workflow {
  overflow: hidden;
  padding-top: 105px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: 0.82fr 0.82fr 1.36fr;
  gap: 34px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-steps li {
  position: relative;
  min-width: 0;
}

.step-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 50px;
  font-weight: 780;
  letter-spacing: -0.05em;
}

.step-line {
  position: absolute;
  top: 30px;
  left: 86px;
  width: calc(100% - 60px);
  height: 1px;
  background: var(--green);
}

.workflow-steps h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 750;
}

.workflow-steps > li > p {
  min-height: 58px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.workflow-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-device);
}

.phone-frame {
  width: min(100%, 275px);
  aspect-ratio: 390 / 844;
  margin-inline: auto;
  border: 7px solid #14191b;
  border-radius: 34px;
}

.phone-frame::before {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 32%;
  height: 10px;
  background: #14191b;
  border-radius: 0 0 8px 8px;
  content: "";
  transform: translateX(-50%);
}

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

.workflow-steps li:first-child .phone-frame img {
  object-position: top;
}

.desktop-frame {
  width: 100%;
  aspect-ratio: 1280 / 900;
  margin-top: 36px;
  overflow: hidden;
  border: 8px solid #14191b;
  border-radius: 18px 18px 7px 7px;
  background: #fff;
}

.desktop-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.features {
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding-bottom: clamp(96px, 9vw, 146px);
}

.features-copy h2 {
  max-width: 670px;
}

.section-lead {
  max-width: 650px;
  margin-bottom: 44px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 22px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.feature-list svg {
  width: 36px;
  height: 36px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-list h3 {
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 750;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.feature-media {
  position: relative;
  min-height: 650px;
}

.paper-canvas {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  aspect-ratio: 1280 / 900;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 62px rgba(24, 33, 40, 0.09);
  transform: translateY(-50%);
}

.shopping-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-phone {
  position: absolute;
  right: 3%;
  bottom: 1%;
  width: 24%;
  aspect-ratio: 390 / 844;
  padding: 6px;
  overflow: hidden;
  border: 3px solid #14191b;
  border-radius: 28px;
  background: #14191b;
  box-shadow: var(--shadow-device);
}

.catalog-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.principles {
  position: relative;
  overflow: hidden;
  padding: 68px 0 74px;
  color: #fff;
  background: var(--green);
}

.principles::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 90px;
  height: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(315deg, #fff 48%, #d8e8da 49%);
  content: "";
}

.principles h2 {
  color: #fff;
  font-size: clamp(36px, 3vw, 48px);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.principle-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
}

.principle-list article:first-child {
  padding-left: 0;
}

.principle-list article:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-list svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.principle-list h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 19px;
}

.principle-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.roadmap {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.roadmap-heading {
  max-width: 1040px;
}

.roadmap-heading p {
  max-width: 820px;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid #bfc9c0;
  list-style: none;
}

.roadmap-item {
  position: relative;
  min-width: 0;
  padding: 38px 42px 18px 0;
}

.roadmap-item:not(:last-child) {
  padding-right: 42px;
  margin-right: 42px;
  border-right: 1px solid var(--line);
}

.roadmap-item::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--surface);
  background: #96aa9a;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #96aa9a;
  content: "";
}

.roadmap-current::before {
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.roadmap-stage {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-item h3 {
  margin-bottom: 10px;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.roadmap-item p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.roadmap-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding-top: 34px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.roadmap-footer > p {
  max-width: 760px;
  margin: 0;
  color: #4f575d;
  font-size: 16px;
  line-height: 1.6;
}

.roadmap-footer strong {
  color: var(--ink);
}

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

.install-grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(70px, 9vw, 140px);
}

.install-grid > *,
.support-grid > *,
.features-grid > * {
  min-width: 0;
}

.install-copy h2 {
  max-width: 560px;
}

.install-copy > p {
  max-width: 560px;
  margin-bottom: 34px;
}

.install-actions {
  align-items: center;
}

.text-link {
  padding: 12px 6px;
  color: var(--green);
  font-size: 17px;
  font-weight: 680;
  text-underline-offset: 5px;
}

.terminal {
  position: relative;
  min-height: 310px;
  padding: 76px 44px 42px;
  overflow: hidden;
  color: #fff;
  background: #182128;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(24, 33, 40, 0.16);
}

.terminal::after {
  width: 68px;
  height: 68px;
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(225deg, #fff 48%, #dfe9df 49%);
}

.terminal-bar {
  position: absolute;
  top: 24px;
  left: 34px;
  display: flex;
  gap: 8px;
}

.terminal-bar span {
  width: 12px;
  height: 12px;
  background: #5b676c;
  border-radius: 50%;
}

.copy-button {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 88px;
  min-height: 34px;
  padding: 0 12px;
  color: #dce4e0;
  border: 1px solid #526066;
  border-radius: 7px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.terminal pre {
  margin: 0;
  overflow-x: auto;
  font: 17px/2.05 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal code span {
  color: #4dd277;
}

.tech-line {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.tech-line span {
  margin: 0 7px;
}

.support {
  border-top: 1px solid var(--line);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(70px, 9vw, 140px);
}

.support-grid h2 {
  font-size: clamp(42px, 4vw, 60px);
}

.support-grid > div > p {
  max-width: 600px;
  margin-bottom: 0;
}

.support-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.legal-main {
  min-height: 70vh;
  padding: 150px 0 112px;
  background:
    radial-gradient(circle at 88% 10%, rgba(23, 107, 53, 0.08), transparent 28rem),
    #fff;
}

.legal-shell {
  width: min(100%, 1040px);
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
}

.legal-breadcrumb:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-header {
  max-width: 820px;
  margin-bottom: 48px;
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-header h1 {
  max-width: none;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  font-size: clamp(48px, 6vw, 76px);
  hyphens: auto;
}

.legal-header p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.legal-meta {
  margin-top: 14px !important;
  font-size: 14px !important;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(24, 33, 40, 0.05);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 760;
  line-height: 1.15;
}

.legal-card h3 {
  margin: 24px 0 10px;
  font-size: 19px;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: #4f575d;
  font-size: 17px;
  line-height: 1.7;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card address:last-child {
  margin-bottom: 0;
}

.legal-card address {
  font-style: normal;
}

.legal-card ul {
  padding-left: 22px;
  margin: 12px 0 0;
}

.legal-card a {
  color: var(--green);
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 22px 24px;
  border: 1px solid #c6dac9;
  border-radius: var(--radius-md);
  color: #31533b;
  background: var(--green-soft);
  font-size: 15px;
  line-height: 1.65;
}

.legal-note strong {
  color: var(--green-dark);
}

.site-footer {
  padding: 64px 0 28px;
  color: #fff;
  background: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 54px;
}

.brand-inverse {
  color: #fff;
}

.footer-brand p {
  max-width: 280px;
  margin: 16px 0 0 46px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.45;
}

.footer-grid nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.footer-grid nav strong {
  margin-bottom: 3px;
  font-size: 16px;
}

.footer-grid nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav-shell {
    gap: 22px;
  }

  .site-nav {
    gap: 22px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    grid-template-columns: minmax(360px, 0.96fr) minmax(400px, 1.04fr);
    gap: 36px;
  }

  .hero-media {
    min-height: 470px;
  }

  .features-grid {
    grid-template-columns: minmax(380px, 0.9fr) minmax(450px, 1.1fr);
    gap: 48px;
  }

  .feature-media {
    min-height: 550px;
  }

  .principle-list article {
    padding-inline: 24px;
  }

  .github-header {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    min-height: 74px;
  }

  .github-header {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  .menu-button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    padding: 0 var(--gutter);
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease;
  }

  .site-nav.open {
    max-height: 360px;
    padding-block: 18px 28px;
    border-bottom-color: var(--line);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav .language-nav {
    width: fit-content;
    margin-top: 10px;
    padding: 10px 16px;
  }

  .hero {
    min-height: 0;
    padding: 138px 0 76px;
  }

  .hero-grid,
  .features-grid,
  .install-grid,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .workflow-steps li:last-child {
    grid-column: 1 / -1;
    width: min(100%, 690px);
    margin: 20px auto 0;
  }

  .features-grid {
    gap: 64px;
  }

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

  .feature-media {
    min-height: 580px;
  }

  .principle-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .principle-list article,
  .principle-list article:first-child,
  .principle-list article:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  }

  .principle-list article:last-child {
    border-bottom: 0;
  }

  .roadmap-list {
    grid-template-columns: minmax(0, 1fr);
    margin-left: 6px;
    border-top: 0;
    border-left: 1px solid #bfc9c0;
  }

  .roadmap-item,
  .roadmap-item:not(:last-child) {
    padding: 0 0 40px 34px;
    margin: 0;
    border-right: 0;
  }

  .roadmap-item:last-child {
    padding-bottom: 0;
  }

  .roadmap-item::before {
    top: 4px;
    left: -7px;
  }

  .roadmap-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .install-grid,
  .support-grid {
    gap: 58px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 24px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .brand span {
    font-size: 23px;
  }

  .hero {
    padding-top: 128px;
    padding-bottom: 58px;
  }

  .hero-grid {
    gap: 48px;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.04;
  }

  .hero-copy > p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.52;
  }

  .hero-actions,
  .install-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .install-actions .button {
    width: 100%;
    min-height: 58px;
  }

  .install-actions .text-link {
    justify-self: start;
  }

  .hero-media {
    width: 100%;
    min-height: 430px;
    overflow: hidden;
  }

  .receipt-backdrop {
    top: 6px;
    right: -4%;
    width: 82%;
    height: 350px;
  }

  .device-laptop {
    right: -28%;
    bottom: 64px;
    width: 126%;
  }

  .device-phone {
    right: auto;
    bottom: 0;
    left: 7%;
    width: 45%;
  }

  .section {
    padding: 86px 0;
  }

  .workflow {
    padding-top: 86px;
  }

  .section h2,
  .principles h2,
  .support-grid h2 {
    font-size: 40px;
    line-height: 1.07;
  }

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

  .section-heading p,
  .section-lead,
  .install-copy > p,
  .support-grid > div > p {
    font-size: 18px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .workflow-steps li:last-child {
    grid-column: auto;
    width: auto;
    margin: 0;
  }

  .step-line {
    right: 0;
    width: auto;
  }

  .workflow-steps > li > p {
    min-height: 0;
  }

  .phone-frame {
    width: min(84%, 310px);
  }

  .desktop-frame {
    margin-top: 28px;
  }

  .features-grid {
    gap: 46px;
  }

  .feature-list article {
    grid-template-columns: 38px 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .feature-list svg {
    width: 31px;
    height: 31px;
  }

  .feature-media {
    min-height: 390px;
  }

  .paper-canvas {
    top: 46%;
  }

  .catalog-phone {
    right: 4%;
    bottom: 0;
    width: 34%;
  }

  .principles {
    padding: 58px 0 64px;
  }

  .principles::after {
    width: 62px;
    height: 62px;
  }

  .principle-list {
    margin-top: 28px;
  }

  .principle-list article {
    grid-template-columns: 48px 1fr;
    gap: 17px;
  }

  .principle-list svg {
    width: 42px;
    height: 42px;
  }

  .terminal {
    min-height: 0;
    padding: 68px 20px 30px;
  }

  .terminal::after {
    width: 52px;
    height: 52px;
  }

  .copy-button {
    right: 66px;
  }

  .terminal pre {
    font-size: 12.5px;
    line-height: 2;
  }

  .tech-line {
    font-size: 12px;
    letter-spacing: 0;
  }

  .support-buttons {
    grid-template-columns: 1fr;
  }

  .roadmap-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .roadmap-actions .button {
    width: 100%;
    min-height: 58px;
  }

  .support-actions .button {
    min-height: 58px;
  }

  .legal-main {
    padding: 126px 0 78px;
  }

  .legal-header {
    margin-bottom: 34px;
  }

  .legal-header h1 {
    font-size: 43px;
  }

  .legal-header p {
    font-size: 18px;
  }

  .legal-card p,
  .legal-card li,
  .legal-card address {
    font-size: 16px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    margin-left: 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (max-width: 390px) {
  :root {
    --gutter: 20px;
  }

  h1 {
    font-size: 41px;
  }

  .section h2,
  .principles h2,
  .support-grid h2 {
    font-size: 36px;
  }

  .hero-media {
    min-height: 390px;
  }

  .feature-media {
    min-height: 340px;
  }

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

  .footer-brand,
  .footer-grid nav {
    grid-column: 1;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
