@font-face {
  font-family: "Euclid";
  src:
    url("../font/EuclidCircularA-Regular-WebS.woff2") format("woff2"),
    url("../font/EuclidCircularA-Regular-WebS.woff") format("woff"),
    url("../font/EuclidCircularA-Regular-WebS.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid";
  src:
    url("../font/EuclidCircularA-Semibold-WebS.woff2") format("woff2"),
    url("../font/EuclidCircularA-Semibold-WebS.woff") format("woff"),
    url("../font/EuclidCircularA-Semibold-WebS.ttf") format("truetype");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #050505;
  --muted: #66666b;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --wash: #fbf6f7;
  --line: rgba(0, 0, 0, 0.1);
  --menu-bg: rgba(255, 255, 255, 0.9);
  --max: 1120px;
  --pad: clamp(22px, 3.2vw, 48px);
  --header-h: 86px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Euclid", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.25;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-small {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand-small img {
  display: block;
  width: clamp(132px, 12vw, 164px);
  height: auto;
}

.tagline-top {
  justify-self: center;
  margin: 0;
  font-size: clamp(14px, 1.35vw, 18px);
  white-space: nowrap;
}

.menu-button {
  justify-self: end;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.menu-button:hover {
  background: rgba(0, 0, 0, 0.045);
}

.menu-button:active {
  transform: scale(0.96);
}

.hamburger {
  position: relative;
  width: 30px;
  height: 24px;
  display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 220ms ease, top 220ms ease, opacity 180ms ease;
}

.hamburger::before {
  top: 1px;
}

.hamburger span {
  top: 10px;
}

.hamburger::after {
  top: 19px;
}

body.menu-open .hamburger::before {
  top: 10px;
  transform: rotate(45deg);
}

body.menu-open .hamburger span {
  opacity: 0;
}

body.menu-open .hamburger::after {
  top: 10px;
  transform: rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 24px) var(--pad) var(--pad);
  background: var(--menu-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.menu-open .menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-nav {
  width: min(760px, 100%);
  text-align: center;
}

.menu-nav a {
  display: block;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
}

.menu-nav a:first-child {
  border-top: 1px solid var(--line);
}

.menu-nav small {
  display: block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}

main {
  min-height: calc(100vh - 120px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 24px) var(--pad) 70px;
  overflow: hidden;
}

.stain-corner {
  position: absolute;
  top: -145px;
  right: -70px;
  width: min(48vw, 650px);
  min-width: 360px;
  opacity: 0.46;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  display: grid;
  justify-items: center;
  margin-top: 2vh;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(72vw, 980px);
  min-width: min(860px, 86vw);
  height: auto;
}

.hero h1 {
  margin: clamp(48px, 6vh, 76px) 0 0;
  font-size: clamp(30px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.03;
}

.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.15vw, 30px);
  line-height: 1.14;
}

.content-shell {
  position: relative;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  padding: clamp(150px, 20vh, 220px) 0 72px;
}

.page-intro {
  position: relative;
  overflow: hidden;
}

.page-intro .stain-corner {
  top: -190px;
  right: -190px;
  opacity: 0.34;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.page-intro h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(58px, 10vw, 128px);
  font-weight: 400;
  line-height: 0.94;
}

.support-page .page-intro h1 {
  line-height: 1.04;
  padding-bottom: 0.08em;
}

.page-intro > p:not(.eyebrow) {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.08;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 8vw, 90px);
}

.product-card a,
.placeholder-grid article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.product-card a {
  position: relative;
  transition: background-color 180ms ease, transform 180ms ease;
}

.product-card a:hover {
  background: #f1f1ef;
  transform: translateY(-2px);
}

.product-card img,
.product-card a > .color-dot {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  margin-bottom: auto;
}

.product-mark {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 64px;
  height: 64px;
}

.product-card span:not(.color-dot),
.placeholder-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h2,
.placeholder-grid h2,
.split-section h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
}

.product-card p,
.placeholder-grid p,
.section-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.28;
}

.placeholder-grid p a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.color-dot {
  display: inline-block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff 0 9%, transparent 10%),
    conic-gradient(from 20deg, #ff4f7a, #ffd86b, #6ee7a8, #69a7ff, #7d5cff, #ff4f7a);
}

.product-hero {
  min-height: 420px;
}

.product-icon,
.product-mark {
  width: 86px;
  height: 86px;
  margin-bottom: 28px;
}

.product-hero .product-icon,
.product-hero .product-mark {
  position: static;
  display: block;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  margin-top: clamp(66px, 9vw, 110px);
  padding-top: clamp(56px, 8vw, 84px);
  border-top: 1px solid var(--line);
}

.split-section h2 {
  margin-top: 0;
}

.section-copy p:first-child {
  margin-top: 0;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(44px, 7vw, 78px);
}

.placeholder-grid article {
  min-height: 260px;
  justify-content: space-between;
  background: #fff;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flippad-main {
  padding: var(--header-h) 0 96px;
}

.flippad-hero {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: clamp(360px, 52vh, 560px);
  padding: clamp(56px, 8vw, 112px) var(--pad) clamp(42px, 7vw, 72px);
  overflow: hidden;
  text-align: center;
}

.flippad-hero .stain-corner {
  opacity: 0.32;
}

.app-icon,
.download-app-icon {
  width: clamp(96px, 11vw, 132px);
  height: auto;
  margin-bottom: 26px;
  border-radius: 24px;
  filter: drop-shadow(0 18px 32px rgba(78, 35, 156, 0.2));
}

.download-app-icon {
  width: clamp(76px, 8vw, 104px);
  margin: 0 auto 28px;
}

.flippad-hero h1 {
  margin: 0;
  font-size: clamp(70px, 13vw, 138px);
  font-weight: 650;
  line-height: 0.9;
}

.flippad-hero p {
  max-width: 760px;
  margin: clamp(34px, 5vw, 56px) 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.18;
}

.flippad-section {
  --section-color: #ffffff;
  width: min(1120px, calc(100% - 44px));
  margin: 20px auto;
  padding: clamp(48px, 6.5vw, 76px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--section-color) 98%, transparent) 0%,
      color-mix(in srgb, var(--section-color) 95%, transparent) 58%,
      color-mix(in srgb, var(--section-color) 92%, transparent) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 28px 80px rgba(0, 0, 0, 0.045);
}

.feature-section {
  --section-color: #e3b5ce;
}

.beta-section {
  --section-color: #d7cea2;
}

.roadmap-section {
  --section-color: #c79ec7;
}

.download-section {
  --section-color: #f7f7f5;
}

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

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.flippad-section h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 650;
  line-height: 1.02;
}

.section-heading p,
.split-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.32;
}

.feature-grid,
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--section-color) 40%, #000 5%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--section-color) 40%, #000 5%);
}

.feature {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  background: #ffffff80;
}

.feature-number {
  display: block;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 650;
}

.feature p,
.roadmap p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.flippad-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 72px);
  align-items: start;
}

.flippad-split h2 {
  max-width: 540px;
}

.compat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.compat-list span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  color: #2d2d2f;
  font-weight: 650;
}

.roadmap {
  padding: 0;
  margin: 0;
  list-style: none;
}

.roadmap li {
  min-height: 260px;
  padding: clamp(24px, 3vw, 30px);
  background: #ffffff80;
}

.roadmap span {
  display: inline-flex;
  margin-bottom: 42px;
  color: #311c3f;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roadmap strong {
  display: block;
  margin-bottom: 12px;
  font-size: 21px;
}

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

.download-card {
  min-height: 260px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 38px 28px;
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
  transition: background-color 180ms ease, transform 180ms ease;
}

.download-card.available:hover {
  background: #eeeeef;
  transform: translateY(-2px);
}

.download-card.disabled {
  color: #9a9aa0;
  cursor: not-allowed;
}

.platform-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  opacity: 0.92;
}

.download-card.disabled .platform-logo {
  opacity: 0.46;
}

.platform {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.02em;
}

.disabled .platform {
  color: #9a9aa0;
}

.download-card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
}

.download-card small {
  color: var(--muted);
  font-size: 15px;
}

.download-license-note {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.34;
  text-align: center;
}

.download-license-note a {
  color: var(--ink);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.account-shell {
  width: min(920px, calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  padding: clamp(142px, 18vh, 190px) 0 78px;
}

.auth-panel {
  width: min(540px, 100%);
  margin: 0 auto;
}

.auth-panel h1,
.account-hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 400;
  line-height: 0.95;
}

.auth-copy,
.account-hero p,
.account-section p,
.auth-alt {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.28;
}

.auth-copy {
  margin: 22px 0 0;
}

.account-form,
.inline-form,
.form-stack {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.form-stack {
  margin-top: 0;
  gap: 24px;
}

.form-stack .account-form {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-stack .account-form:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-tool {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-tool summary {
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-size: 19px;
  font-weight: 650;
  list-style: none;
}

.admin-tool summary::-webkit-details-marker {
  display: none;
}

.admin-tool summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.admin-tool[open] summary {
  border-bottom: 1px solid var(--line);
}

.admin-tool[open] summary::after {
  content: "-";
}

.admin-tool .account-form {
  padding: 20px;
  border-top: 0;
}

.account-form label,
.inline-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-form input,
.inline-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 15px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.account-form select {
  appearance: none;
}

.account-form .check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}

.account-form .check-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.account-form textarea {
  min-height: 520px;
  resize: vertical;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.45;
}

.account-form button,
.inline-form button,
.license-card button,
.device-card button,
.button-link {
  min-height: 52px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.button-link {
  align-self: end;
}

.auth-alt {
  margin: 26px 0 0;
}

.resend-form {
  margin-top: 18px;
}

.resend-form button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
}

.auth-alt a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.account-actions {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.28;
}

.account-actions a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.account-actions span {
  color: var(--muted);
}

.form-message {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}

.form-message.error {
  background: #fff5f5;
}

.account-dashboard {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
}

.account-hero {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.account-hero p {
  margin: 24px 0 0;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
}

.account-section h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.account-section p {
  margin: 16px 0 0;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.info-field {
  position: relative;
  display: grid;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.editable-info {
  padding-right: 66px;
}

.edit-marker {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.edit-marker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-field > span:first-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-field input,
.info-field select,
.info-field strong {
  width: 100%;
  margin: 14px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.info-field input:focus,
.info-field select:focus {
  outline: 0;
}

.info-field input::placeholder {
  color: var(--ink);
  opacity: 1;
}

.info-field select {
  appearance: none;
  cursor: pointer;
}

.editable-info:focus-within {
  border-color: var(--ink);
  background: #fff;
}

.editable-info:focus-within .edit-marker {
  color: var(--ink);
  border-color: var(--ink);
}

.profile-save {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.inline-form {
  margin-top: 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.check-row input {
  width: auto;
}

.license-list {
  display: grid;
  gap: 14px;
}

.license-tabs {
  display: grid;
  gap: 10px;
}

.license-tab {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.license-tab summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.license-tab summary::-webkit-details-marker {
  display: none;
}

.license-tab summary::after {
  content: "+";
  grid-row: 1 / span 3;
  grid-column: 2;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

.license-tab[open] summary::after {
  content: "-";
}

.license-tab summary span,
.device-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-tab summary strong {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
}

.license-tab summary small {
  color: var(--muted);
  font-size: 16px;
}

.license-panel {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.license-card {
  min-height: 170px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.license-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-card h3 {
  margin: 18px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.purchase-card h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
}

.purchase-card h3 strong {
  font-weight: 400;
}

.purchase-card h3 small {
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
}

.license-card p {
  margin: 14px 0 0;
  font-size: 17px;
}

.release-card code {
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.release-tools {
  min-width: min(260px, 100%);
  align-self: start;
}

.release-tools summary {
  width: 100%;
  padding: 15px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  text-align: center;
  list-style: none;
}

.release-tools summary::-webkit-details-marker {
  display: none;
}

.release-tools[open] summary {
  margin-bottom: 14px;
}

.compact-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.compact-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-form input,
.compact-form select {
  min-height: 42px;
  margin-top: 7px;
  padding: 9px 11px;
  font-size: 15px;
}

.compact-form button {
  min-height: 42px;
  padding: 10px 14px;
}

.release-tools > a {
  display: inline-block;
  margin-top: 12px;
}

.license-card form {
  align-self: end;
}

.purchase-card form {
  min-width: min(220px, 100%);
}

.purchase-form {
  display: grid;
  gap: 16px;
}

.license-card.empty {
  display: block;
}

.device-card {
  min-height: 126px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

.device-card h3 {
  margin: 12px 0 0;
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 400;
  line-height: 1.05;
}

.device-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.device-card form {
  align-self: end;
}

.device-card.empty {
  display: block;
}

.generated-panel {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.generated-panel h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
}

.generated-panel p,
.generated-panel ul {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.generated-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.generated-panel code {
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.inline-result {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.inline-result article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.inline-result h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
}

.inline-result p,
.inline-result ul {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.inline-result ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.inline-result code {
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.admin-edit-card {
  display: grid;
  gap: 18px;
}

.admin-edit-card .account-form {
  margin-top: 0;
}

.compact-admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-admin-form button,
.compact-admin-form .check-row {
  grid-column: 1 / -1;
}

.admin-related-list {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-related-list h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.admin-edit-card .danger-form {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-edit-card .danger-form button {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  place-items: start;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.admin-edit-card .danger-form button:hover {
  color: var(--ink);
}

.changelog-panel pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  color: var(--ink);
  font-family: "Euclid", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.json-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.json-panel pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.45;
}

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

.sales-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.sales-table th,
.sales-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.sales-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-panel {
  display: grid;
  gap: 14px;
}

.app-stats {
  display: grid;
  gap: 14px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.app-stats:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.app-stats > h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stats-grid article,
.stats-columns article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.stats-columns {
  display: grid;
  gap: 10px;
}

.stats-columns h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 400;
}

.stats-columns p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.stats-columns p strong {
  color: var(--ink);
  font-weight: 650;
}

.site-footer {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.footer-support {
  margin-left: auto;
}

@media (max-width: 840px) {
  :root {
    --header-h: 82px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .tagline-top {
    display: none;
  }

  .brand-small img {
    width: 138px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 16px);
  }

  .stain-corner {
    top: -100px;
    right: -170px;
    width: 520px;
    min-width: 0;
    opacity: 0.4;
  }

  .hero-logo {
    width: 88vw;
    min-width: 0;
  }

  .content-shell {
    width: min(100% - 44px, var(--max));
  }

  .product-grid,
  .placeholder-grid,
  .support-grid,
  .split-section,
  .account-section,
  .feature-grid,
  .roadmap,
  .download-grid,
  .flippad-split,
  .compact-admin-form {
    grid-template-columns: 1fr;
  }

  .product-card a,
  .placeholder-grid article,
  .feature,
  .roadmap li {
    min-height: 250px;
  }

  .feature-number,
  .roadmap span {
    margin-bottom: 26px;
  }

  .flippad-section {
    width: min(100% - 24px, 1120px);
    margin: 14px auto;
    padding: 46px 18px;
  }

  .menu-nav a {
    font-size: clamp(42px, 14vw, 72px);
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 20px;
  }

  .page-intro h1 {
    font-size: clamp(54px, 18vw, 84px);
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    margin-top: 16px;
  }

  .footer-support {
    display: inline-block;
    margin-top: 16px;
    margin-left: 0;
  }

  .license-card {
    display: block;
  }

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

  .device-card {
    display: block;
  }

  .license-card form {
    margin-top: 22px;
  }

  .device-card form {
    margin-top: 18px;
  }
}

@media print {
  .site-header,
  .menu-panel,
  .site-footer,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .account-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .account-hero,
  .account-section {
    display: block;
    padding: 24px 0;
    page-break-inside: avoid;
  }

  .account-hero h1 {
    font-size: 52px;
  }
}
