@font-face {
  font-family: "SpaceMonoCustom";
  src: url("/assets/brand/fonts/space-mono-regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --background: #f2f4f6;
  --second-background: #fffffe;
  --headline: #00214d;
  --paragraph: #1b2d45;
  --my-green: #00ebc7;
  --my-red: #ff5470;
  --my-yellow: #fde24f;
  --border: #e9e9e9;
  --font: #00214d;
  --darkbg: #001534;
  --lightbg: #fffffe;
  --shadow: 0 14px 36px rgba(0, 21, 52, 0.08);
  --page-gradient-start: #ffffff;
  --page-gradient-end: #e7edf6;
  --header-bg: rgba(242, 244, 246, 0.92);
  --footer-bg: rgba(255, 255, 255, 0.75);
  --hero-art-start: #ffffff;
  --hero-art-end: #edf5ff;
  --muted: #3f5066;
  --card-shell-start: #0c2446;
  --card-shell-end: #184a83;
  --card-shell-shadow: 0 22px 48px rgba(0, 21, 52, 0.22);
  --phone-notch: rgba(255, 255, 255, 0.16);
  --screen-start: #fefefe;
  --screen-end: #eef4fc;
  --screen-flat: #f7fbff;
  --placeholder-card-start: #d8e8fb;
  --placeholder-card-end: #f4f8fd;
  --placeholder-card-border: #c9d8ea;
  --placeholder-line: #cfdae8;
  --placeholder-pill: #d6e1ef;
  --placeholder-pill-strong: rgba(0, 235, 199, 0.36);
  --panel-glass: rgba(255, 255, 255, 0.94);
  --panel-glass-strong: rgba(255, 255, 255, 0.96);
  --disabled-bg: #e6ebf1;
  --disabled-border: #ccd5e0;
  --disabled-text: #536274;
  --app-card-text: #0e2c5a;
  --fake-input: #e6e6e6;
  --timeline-gradient: linear-gradient(
    180deg,
    rgba(0, 33, 77, 0.1) 0%,
    rgba(0, 235, 199, 0.75) 22%,
    rgba(0, 33, 77, 0.16) 100%
  );
  --process-number-border: rgba(0, 33, 77, 0.1);
  --process-number-shadow: 0 10px 22px rgba(0, 21, 52, 0.12);
  --process-memory-border: #cfe9e3;
  --code-bg: #fff;
  --input-bg: #fff;
  --input-disabled-bg: #f4f7fb;
  --status-error: #9f1239;
  --status-success: #14532d;
  --badge-bg: #fff;
  --action-bg: #fff;
  --action-danger-border: #f2b6c0;
  --action-danger-text: #8a1c32;
  --type-chip-bg: #e8fbf7;
  --type-chip-border: #b8efe4;
  --app-card-bg: #fffffe;
  --app-card-border: #dce2ea;
  --help-trigger-bg: #eef1f4;
  --help-trigger-bg-hover: #e7ebf0;
  --help-trigger-bg-active: #e2e7ed;
  --help-trigger-border: #c7ced8;
  --help-trigger-border-strong: #aeb7c3;
  --help-trigger-text: #5b6573;
  --help-trigger-text-strong: #3f4752;
  --help-panel-bg: #fffffe;
  --help-panel-border: #d8dde5;
  --help-focus: #b6bfca;
}

html[data-theme="dark"] {
  --background: #001534;
  --second-background: #1b2d45;
  --headline: #fffffe;
  --paragraph: #b7c9e4;
  --my-green: #00caac;
  --my-red: #ce3b53;
  --my-yellow: #ebd247;
  --border: #00214d;
  --font: #fffffe;
  --darkbg: #001534;
  --lightbg: #fffffe;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --page-gradient-start: #082146;
  --page-gradient-end: #000d1f;
  --header-bg: rgba(0, 21, 52, 0.88);
  --footer-bg: rgba(4, 22, 49, 0.82);
  --hero-art-start: #11294f;
  --hero-art-end: #0a1e3b;
  --muted: #93a9c8;
  --card-shell-start: #183a6d;
  --card-shell-end: #2d6ec1;
  --card-shell-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
  --phone-notch: rgba(255, 255, 255, 0.2);
  --screen-start: #f2f7ff;
  --screen-end: #dce9fb;
  --screen-flat: #edf4ff;
  --placeholder-card-start: #27446e;
  --placeholder-card-end: #1c3556;
  --placeholder-card-border: #32527f;
  --placeholder-line: #4f6e96;
  --placeholder-pill: #426284;
  --placeholder-pill-strong: rgba(0, 202, 172, 0.42);
  --panel-glass: rgba(17, 41, 79, 0.92);
  --panel-glass-strong: rgba(18, 43, 82, 0.96);
  --disabled-bg: #29415f;
  --disabled-border: #3e5f8b;
  --disabled-text: #93a9c8;
  --app-card-text: #15315c;
  --fake-input: #bfd0e8;
  --timeline-gradient: linear-gradient(
    180deg,
    rgba(183, 201, 228, 0.14) 0%,
    rgba(0, 202, 172, 0.8) 22%,
    rgba(183, 201, 228, 0.18) 100%
  );
  --process-number-border: rgba(255, 255, 255, 0.16);
  --process-number-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  --process-memory-border: #295e72;
  --code-bg: #11294f;
  --input-bg: #0f2649;
  --input-disabled-bg: #162d53;
  --status-error: #ff9aad;
  --status-success: #7ee6bb;
  --badge-bg: #163056;
  --action-bg: #122947;
  --action-danger-border: #7e3343;
  --action-danger-text: #ffb8c4;
  --type-chip-bg: #143f45;
  --type-chip-border: #1d7f75;
  --app-card-bg: #f4f8ff;
  --app-card-border: #b9cbe3;
  --help-trigger-bg: #21344f;
  --help-trigger-bg-hover: #29415f;
  --help-trigger-bg-active: #304a6b;
  --help-trigger-border: #476280;
  --help-trigger-border-strong: #6483a6;
  --help-trigger-text: #b8c7da;
  --help-trigger-text-strong: #eff5ff;
  --help-panel-bg: #173050;
  --help-panel-border: #355273;
  --help-focus: #7086a2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at 8% 8%, var(--page-gradient-start) 0%, var(--background) 38%, var(--page-gradient-end) 100%);
  color: var(--paragraph);
  font-family: "SpaceMonoCustom", "Segoe UI", Tahoma, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html[data-country-gated="true"],
html[data-country-gated="true"] body {
  overflow: hidden;
}

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

a {
  color: var(--headline);
}

code,
pre {
  font-family: "SpaceMonoCustom", Consolas, monospace;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.country-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.country-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 235, 199, 0.2), transparent 30%),
    rgba(242, 244, 246, 0.94);
  backdrop-filter: blur(10px);
}

.country-gate__panel {
  position: relative;
  width: min(100%, 34rem);
  padding: 1.75rem;
  border: 1px solid var(--app-card-border);
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
  box-shadow: 0 24px 60px rgba(0, 21, 52, 0.18);
  color: var(--headline);
}

.country-gate__panel::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(0, 33, 77, 0.08);
  pointer-events: none;
}

.country-gate__eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.country-gate__title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  line-height: 1.14;
  max-width: 16ch;
  text-wrap: balance;
}

.country-gate__description {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--paragraph);
}

.country-gate__supported {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 33, 77, 0.08);
}

.country-gate__actions {
  margin-top: 1.1rem;
}

.country-gate__action {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(0, 33, 77, 0.12);
  border-radius: 999px;
  background: var(--my-green);
  color: var(--headline);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.country-gate__action:hover,
.country-gate__action:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.06);
  outline: none;
}

.country-gate__supported-label {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.country-gate__country-list {
  display: grid;
  gap: 0.8rem;
}

.country-gate__country-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--second-background);
  border: 1px solid var(--border);
}

.country-gate__flag {
  font-size: 1.6rem;
  line-height: 1;
}

.country-gate__country-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--headline);
}

html[data-theme="dark"] .country-gate__backdrop {
  background:
    radial-gradient(circle at top left, rgba(0, 202, 172, 0.18), transparent 32%),
    rgba(0, 21, 52, 0.92);
}

html[data-theme="dark"] .country-gate__panel {
  background:
    linear-gradient(180deg, rgba(17, 41, 79, 0.98), rgba(10, 30, 59, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .country-gate__action {
  color: #001534;
}

html[data-theme="dark"] .country-gate__panel::before,
html[data-theme="dark"] .country-gate__supported {
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .country-gate {
    padding: 1rem;
  }

  .country-gate__panel {
    padding: 1.25rem;
    border-radius: 1.35rem;
  }

  .country-gate__supported {
    padding: 0.85rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--headline);
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-theme-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  font: inherit;
  border: 0;
  background: transparent;
  color: var(--headline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.nav-theme-toggle:hover,
.nav-theme-toggle:focus-visible {
  transform: translateY(-1px);
  color: var(--my-green);
  opacity: 1;
  outline: none;
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.top-nav a.active,
.top-nav a:hover {
  background: var(--my-green);
  color: var(--headline);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 1.25rem;
  padding: 2.2rem 0 1.4rem;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.8rem;
  color: var(--headline);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  max-width: 13ch;
}

.hero-copy p {
  margin-top: 0.6rem;
  line-height: 1.65;
}

.hero-lead {
  max-width: 38rem;
  font-size: 1rem;
}

.eyebrow {
  margin: 0;
  color: var(--headline);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-art {
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(155deg, var(--hero-art-start) 0%, var(--hero-art-end) 100%);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.8rem;
  min-height: 260px;
}

.hero-art-frame {
  min-height: 260px;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hero-microcopy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.store-badge-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}

.store-badge-image {
  width: 170px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-benefits {
  margin-top: 0.9rem;
}

.hero-benefit {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--panel-glass);
  border: 1px solid var(--border);
  color: var(--headline);
  font-weight: 700;
}

.hero-install-art {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: minmax(0, 1fr);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero-product-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  min-height: 100%;
}

.hero-product-card-plain {
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-phone-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  padding: 0.9rem 0 1.9rem;
}

.hero-phone-float {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: 1.7rem;
  animation: heroPhoneFloat 7.8s ease-in-out infinite;
  will-change: transform;
}

.hero-phone-shadow {
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  width: min(238px, 80%);
  transform: translateX(-50%) scale(1);
  transform-origin: center;
  opacity: 0.42;
  animation: heroPhoneShadow 7.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-phone-shadow img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

.phone-placeholder,
.demo-phone {
  position: relative;
  width: min(280px, 100%);
  margin: 0 auto;
  border-radius: 32px;
  padding: 0.7rem;
  background: linear-gradient(165deg, var(--card-shell-start) 0%, var(--card-shell-end) 100%);
  box-shadow: var(--card-shell-shadow);
}

.phone-placeholder-notch,
.demo-phone-notch {
  width: 34%;
  height: 12px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: var(--phone-notch);
}

.phone-placeholder-screen,
.demo-phone-screen {
  position: relative;
  display: grid;
  gap: 0.7rem;
  min-height: 470px;
  padding: 1.05rem 0.95rem 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--screen-start) 0%, var(--screen-end) 100%);
}

.demo-phone-screen {
  min-height: 300px;
}

.phone-video-screen {
  padding: 0;
  min-height: unset;
  aspect-ratio: 864 / 1750;
  overflow: hidden;
  background: var(--screen-flat);
}

.app-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heroPhoneFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-0.45deg);
  }

  50% {
    transform: translateY(-16px) rotate(0.45deg);
  }
}

@keyframes heroPhoneShadow {

  0%,
  100% {
    transform: translateX(-50%) scale(1.04);
    opacity: 0.46;
  }

  50% {
    transform: translateX(-50%) scale(0.82);
    opacity: 0.24;
  }
}

.placeholder-label,
.demo-placeholder-label {
  color: var(--headline);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.placeholder-ui-card {
  min-height: 138px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--placeholder-card-start) 0%, var(--placeholder-card-end) 100%);
  border: 1px solid var(--placeholder-card-border);
}

.placeholder-ui-card-tall {
  min-height: 170px;
}

.placeholder-ui-line {
  height: 12px;
  border-radius: 999px;
  background: var(--placeholder-line);
}

.placeholder-ui-line-wide {
  width: 78%;
}

.placeholder-ui-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
}

.placeholder-ui-pill {
  flex: 1;
  min-height: 42px;
  border-radius: 14px;
  background: var(--placeholder-pill);
}

.placeholder-ui-pill-strong {
  background: var(--placeholder-pill-strong);
}

.hero-product-note {
  margin: 0;
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: var(--panel-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.floating-qr {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 30;
  width: min(220px, calc(100vw - 2rem));
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  background: var(--panel-glass-strong);
  backdrop-filter: blur(10px);
}

.qr-label,
.qr-copy {
  margin: 0;
  text-align: center;
}

.qr-label {
  color: var(--headline);
  font-weight: 900;
  line-height: 1.4;
}

.qr-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.qr-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.qr-copy {
  color: var(--muted);
  font-size: 0.83rem;
}

.button-row {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  color: var(--headline);
}

.btn-primary {
  background: var(--my-green);
}

.btn-secondary {
  background: var(--second-background);
  border-color: var(--border);
}

.btn-danger {
  background: color-mix(in srgb, var(--my-red) 16%, var(--second-background));
  border-color: color-mix(in srgb, var(--my-red) 48%, var(--border));
  color: var(--my-red);
}

.btn-google {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  padding: 0.72rem 1.2rem 0.72rem 0.95rem;
  gap: 0.9rem;
  border-radius: 16px;
  border: 1px solid #0c0c0c;
  background: linear-gradient(180deg, #1d1d1d 0%, #060606 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.btn-google:hover,
.btn-google:focus {
  color: #fff;
  background: linear-gradient(180deg, #272727 0%, #101010 100%);
}

.btn-google-icon {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  align-self: center;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
  background: linear-gradient(145deg, #00d2ff 0%, #00ebc7 34%, #fde24f 67%, #ff5470 100%);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.28));
}

.btn-google-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.16rem;
}

.btn-google-copy {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
  line-height: 1;
}

.btn-google-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  white-space: nowrap;
}

.btn-disabled,
.btn[aria-disabled="true"] {
  background: var(--disabled-bg);
  border-color: var(--disabled-border);
  color: var(--disabled-text);
  pointer-events: none;
  cursor: not-allowed;
}

.panel {
  background: var(--second-background);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.panel h2,
.panel h3 {
  margin-top: 0.2rem;
  color: var(--headline);
}

.page-section {
  padding: 1.1rem 0;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0.3rem 0 0;
  color: var(--headline);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  line-height: 1.18;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 1.3rem;
}

.feature-card {
  background: var(--second-background);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.9rem;
}

.feature-card img {
  width: 100%;
  border-radius: 12px;
  height: 145px;
  object-fit: cover;
}

.feature-card h3 {
  margin: 0.7rem 0 0.35rem;
  color: var(--headline);
}

.feature-card a {
  display: inline-flex;
  margin-top: 0.4rem;
  font-weight: 700;
}

.creator-grid,
.demo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
}

.creator-points,
.faq-list {
  display: grid;
  gap: 0.9rem;
}

.demo-step,
.benefit-card,
.application-card,
.creator-point,
.creator-visual,
.benefits-note {
  margin: 0;
}

.demo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.demo-step {
  position: relative;
  padding-top: 1rem;
}

.demo-placeholder-card {
  margin: -0.2rem -0.25rem 0.9rem;
  padding: 0.45rem 0.45rem 0;
  border-radius: 20px;
  background: transparent;
}

.step-number {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--my-green);
  color: var(--headline);
  font-weight: 900;
}

.demo-grid .step-number {
  display: none;
}

.process-step h3,
.process-memory h3,
.demo-step h3,
.benefit-card h3,
.application-card h3,
.creator-point h3 {
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.process-step p,
.process-memory p,
.demo-step p,
.benefit-card p,
.application-card p,
.creator-section p,
.faq-item p {
  margin-bottom: 0;
  line-height: 1.65;
}

.application-card {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.application-card h3 {
  margin: 0;
  padding: 0 0.1rem;
  text-align: right;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--paragraph);
}

.application-card-panel {
  margin: 0;
  display: flex;
  align-items: flex-start;
}

.application-card-panel .card {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px 18px;
  background: var(--app-card-bg);
  border: 1px solid var(--app-card-border);
  border-radius: 15px;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.application-card-panel .flag-area {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 1px;
}

.application-card-panel .flag {
  width: 103px;
  height: 71px;
  object-fit: cover;
  display: block;
}

.application-card-panel .word {
  margin: 0;
  color: var(--app-card-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.2px;
  font-family: Arial, Helvetica, sans-serif;
}

.application-card-panel .question {
  margin: 0;
  color: var(--app-card-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.35px;
  max-width: 250px;
  font-family: Arial, Helvetica, sans-serif;
}

.application-card-panel .fake-input {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 10px;
  height: 4px;
  background: var(--fake-input);
  border-radius: 999px;
}

.demo-step-label {
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 0.35rem 0 0;
  text-align: center;
  color: var(--headline);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.creator-visual img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.benefits-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.benefits-note {
  margin-top: 0.9rem;
  color: var(--headline);
  font-weight: 700;
}

.creator-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.creator-point h3 {
  margin: 0;
  font-size: 1rem;
}

.creator-visual {
  display: flex;
  align-items: center;
}

.flow-section {
  position: relative;
}

.process-axis {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.5rem;
  align-items: start;
}

.process-axis::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 2.15rem;
  width: 2px;
  background: var(--timeline-gradient);
}

.process-step,
.process-memory {
  margin: 0;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  min-height: 150px;
  padding: 1rem 1.1rem 1rem 0.95rem;
  background: var(--second-background);
  box-shadow: none;
}

.process-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.05rem;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--my-green);
  border: 2px solid var(--process-number-border);
  color: var(--headline);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: var(--process-number-shadow);
}

.process-content h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.process-content p {
  color: var(--muted);
}

.process-memory {
  position: relative;
  margin-left: 4rem;
  padding: 1.15rem 1.25rem;
  background: var(--second-background);
  border-color: var(--process-memory-border);
  box-shadow: none;
}

.process-memory-label {
  margin: 0 0 0.45rem;
  color: var(--headline);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--headline);
  font-weight: 800;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item p {
  padding: 0.95rem 1.1rem 1.05rem;
}

.site-footer {
  margin-top: 1.2rem;
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  min-height: 64px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-main {
  flex: 1 0 auto;
  padding: 1.5rem 0 1.2rem;
}

.page-head h1 {
  margin: 0;
  color: var(--headline);
}

.page-head p {
  margin: 0.35rem 0 0;
}

.docs-main pre {
  overflow-x: auto;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
}

.creator-main {
  display: grid;
  gap: 1rem;
}

.creator-panel {
  margin: 0;
}

.creator-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.creator-head-row h2 {
  margin: 0.2rem 0 0;
}

.creator-actions {
  margin-top: 0;
  margin-left: auto;
  align-items: center;
}

.creator-actions-download {
  margin-left: auto;
}

.creator-form {
  display: grid;
  gap: 0.65rem;
}

.creator-note {
  margin-bottom: 0;
}

.field-row {
  display: grid;
  gap: 0.35rem;
  position: relative;
}

.field-row label {
  font-weight: 700;
}

.field-label-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  min-height: 1.6rem;
}

.field-label-text {
  font-weight: 700;
  color: var(--headline);
}

.field-help-trigger {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--help-trigger-border);
  background: var(--help-trigger-bg);
  color: var(--help-trigger-text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.field-help-trigger:hover {
  border-color: var(--help-trigger-border-strong);
  background: var(--help-trigger-bg-hover);
  color: var(--help-trigger-text);
}

.field-help-trigger[aria-expanded="true"] {
  border-color: var(--help-trigger-border-strong);
  background: var(--help-trigger-bg-active);
  color: var(--help-trigger-text-strong);
}

.field-help-trigger:focus-visible {
  outline: 2px solid var(--help-focus);
  outline-offset: 2px;
}

.field-help-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.45rem);
  z-index: 30;
  width: min(100%, 28rem);
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--help-panel-border);
  background: var(--help-panel-bg);
  color: var(--paragraph);
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.field-help-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 1.15rem;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--help-panel-border);
  border-left: 1px solid var(--help-panel-border);
  background: var(--help-panel-bg);
  transform: rotate(45deg);
}

.field-help-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: var(--input-bg);
  color: var(--paragraph);
}

.field-row textarea {
  resize: vertical;
  min-height: 80px;
}

.field-disabled select,
.field-disabled textarea,
.field-disabled input {
  opacity: 0.62;
  background: var(--input-disabled-bg);
}

.field-row.is-filled input,
.field-row.is-filled select,
.field-row.is-filled textarea,
.field-row.is-filled .toggle-field-shell,
.field-row.is-filled .flip-field-shell {
  border-color: var(--my-green);
}

.field-row.is-required-empty input,
.field-row.is-required-empty select,
.field-row.is-required-empty textarea,
.field-row.is-required-empty .flip-field-shell,
.field-row.is-required-empty .toggle-field-shell {
  border-color: var(--my-yellow);
}

.toggle-field-shell,
.flip-field-shell {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--input-bg);
}

.toggle-field-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  justify-content: stretch;
  overflow: hidden;
}

.field-disabled .toggle-field-shell,
.field-disabled .flip-field-shell {
  opacity: 0.62;
  background: var(--input-disabled-bg);
}

.field-disabled .toggle-field-shell {
  pointer-events: none;
}

.field-disabled.is-filled input,
.field-disabled.is-filled select,
.field-disabled.is-filled textarea,
.field-disabled.is-filled .toggle-field-shell,
.field-disabled.is-filled .flip-field-shell,
.field-disabled.is-required-empty input,
.field-disabled.is-required-empty select,
.field-disabled.is-required-empty textarea,
.field-disabled.is-required-empty .toggle-field-shell,
.field-disabled.is-required-empty .flip-field-shell {
  border-color: var(--border);
}

.tf-toggle-option {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  line-height: 1.15;
  text-transform: lowercase;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.tf-toggle-option:hover {
  color: var(--headline);
}

.tf-toggle-option[aria-pressed="true"] {
  background: color-mix(in srgb, var(--my-green) 22%, var(--input-bg));
  color: var(--headline);
}

.tf-toggle-option + .tf-toggle-option {
  border-left: 1px solid var(--border);
}

.tf-toggle-option:focus-visible {
  outline: 2px solid var(--help-focus);
  outline-offset: 2px;
}

.field-disabled .tf-toggle-option {
  color: var(--muted);
  cursor: not-allowed;
}

.field-disabled .tf-toggle-option:hover,
.field-disabled .tf-toggle-option[aria-pressed="true"] {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

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

.split-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-message {
  margin: 0.25rem 0 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
}

.form-message.is-error {
  color: var(--status-error);
}

.form-message.is-success {
  color: var(--status-success);
}

@media (max-width: 720px) {
  .field-help-panel {
    width: 100%;
  }
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--badge-bg);
  color: var(--headline);
  font-size: 0.85rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
}

.creator-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.creator-table th,
.creator-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.45rem;
  text-align: left;
  vertical-align: top;
}

.creator-table th {
  color: var(--headline);
  font-size: 0.85rem;
}

.action-btn {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.42rem 0.7rem;
  background: var(--action-bg);
  color: var(--headline);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.action-btn-danger {
  border-color: var(--action-danger-border);
  color: var(--action-danger-text);
}

.actions-cell {
  white-space: nowrap;
}

.actions-cell .action-btn {
  margin-right: 0.45rem;
}

.actions-cell .action-btn:last-child {
  margin-right: 0;
}

.type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--type-chip-bg);
  border: 1px solid var(--type-chip-border);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .creator-grid,
  .demo-grid,
  .benefits-grid,
  .applications-grid {
    grid-template-columns: 1fr;
  }

  .creator-actions {
    width: 100%;
  }

  .creator-actions-download {
    margin-left: 0;
  }

  .hero-install-art {
    grid-template-columns: 1fr;
  }

  .hero-phone-scene {
    padding-bottom: 1.65rem;
  }

  .floating-qr {
    display: none;
  }

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

  .process-axis {
    padding-left: 0.5rem;
  }

  .process-axis::before {
    left: 1.15rem;
  }

  .process-step {
    grid-template-columns: 3rem minmax(0, 1fr);
    padding-right: 0.95rem;
    min-height: 0;
  }

  .process-memory {
    margin-left: 3rem;
  }
}

@media (max-width: 640px) {
  .nav-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .top-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
  }

  .split-row {
    grid-template-columns: 1fr;
  }

  .process-axis {
    gap: 0.85rem;
    padding-left: 0;
  }

  .process-axis::before {
    left: 1rem;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.9rem;
    min-height: 0;
  }

  .process-marker {
    justify-content: flex-start;
  }

  .process-memory {
    margin-left: 1.9rem;
    padding: 1rem;
  }

  .btn {
    width: 100%;
  }

  .store-badge-link {
    width: 100%;
    justify-content: center;
  }

  .hero-benefits {
    flex-direction: column;
  }

  .hero-benefit {
    width: 100%;
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-phone-scene {
    width: min(320px, 100%);
    padding-top: 0.5rem;
    padding-bottom: 1.35rem;
  }

  .hero-phone-float {
    margin-bottom: 1.35rem;
    animation-name: heroPhoneFloatMobile;
  }

  .hero-phone-shadow {
    width: min(205px, 78%);
    bottom: 0.45rem;
  }

  .phone-placeholder,
  .demo-phone {
    width: min(250px, 100%);
  }

  .demo-step-label {
    width: min(250px, 100%);
  }

  .phone-placeholder-screen,
  .demo-phone-screen {
    min-height: 250px;
  }

  .faq-item summary,
  .faq-item p {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .actions-cell {
    min-width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-phone-float,
  .hero-phone-shadow {
    animation: none;
  }

  .hero-phone-float {
    transform: none;
  }

  .hero-phone-shadow {
    transform: translateX(-50%) scale(0.94);
    opacity: 0.32;
  }
}

@keyframes heroPhoneFloatMobile {

  0%,
  100% {
    transform: translateY(0) rotate(-0.3deg);
  }

  50% {
    transform: translateY(-11px) rotate(0.3deg);
  }
}
