:root {
  --bg: #fbf8f7;
  --surface: #ffffff;
  --surface-soft: #efeeee;
  --ink: #080b14;
  --muted: #4e5463;
  --subtle: #72798a;
  --line: #cdd2dd;
  --line-strong: #aeb6c5;
  --primary: #003ddc;
  --primary-dark: #002da4;
  --aqua: #30f0cf;
  --shadow: 0 18px 48px rgba(10, 18, 40, 0.08);
  --radius: 8px;
  --max-width: 1070px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

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

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

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--primary);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 650;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  content: "";
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.primary-button,
.secondary-button,
.download-button,
.browse-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 5px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.primary-button:hover,
.download-button:hover,
.browse-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 44px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  margin: 2px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.side-ad {
  width: 150px;
  height: min(620px, calc(100vh - 128px));
  min-height: 420px;
  position: fixed;
  top: 96px;
  z-index: 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(230, 230, 230, 0.94)),
    var(--surface-soft);
}

.side-ad-left {
  left: 18px;
}

.side-ad-right {
  right: 18px;
}

.side-ad ins {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.side-ad span {
  position: relative;
  z-index: 0;
  color: #10131b;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ad-shell {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto 64px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(230, 230, 230, 0.9)),
    var(--surface-soft);
}

.ad-shell ins {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ad-shell span {
  position: relative;
  z-index: 0;
  color: #10131b;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mid-ad {
  min-height: 128px;
  margin-top: 80px;
  margin-bottom: 96px;
  border-radius: 0;
}

.featured-section {
  width: min(1150px, calc(100% - 40px));
  margin: 64px auto 74px;
}

.featured-card {
  min-height: 380px;
  padding: 42px 32px;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.featured-copy {
  max-width: 485px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 28px;
  padding: 5px 12px;
  color: #0a6256;
  background: var(--aqua);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.4vw, 45px);
  line-height: 1.05;
  letter-spacing: 0;
}

.featured-copy p {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 16px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-button,
.secondary-button {
  min-width: 180px;
  padding: 0 19px;
  border: 1px solid var(--primary);
  font-size: 13px;
}

.primary-button {
  color: #fff;
  background: var(--primary);
}

.secondary-button {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
}

.secondary-button:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.button-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.featured-media {
  min-width: 0;
  aspect-ratio: 1024 / 500;
  border: 1px solid #b9c7de;
  border-radius: 6px;
  overflow: hidden;
  background: #e9eef7;
}

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

.carousel-dots {
  height: 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 17px;
  height: 3px;
  padding: 0;
  border: 0;
  background: #b4c1ec;
  cursor: pointer;
}

.carousel-dots button.active {
  width: 48px;
  background: var(--primary);
}

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

.content-section.compact {
  margin-bottom: 94px;
}

.editorial-section {
  padding: 14px 0 12px;
}

.editorial-section > .eyebrow {
  margin-bottom: 18px;
  color: #00614c;
}

.editorial-section h2 {
  max-width: 860px;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
}

.editorial-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin-bottom: 34px;
}

.editorial-copy p,
.editorial-points p {
  margin: 0;
  color: #283143;
  font-size: 15px;
  line-height: 1.72;
}

.editorial-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.editorial-points h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 38px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.section-head-row .section-title {
  margin-bottom: 0;
}

.section-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--primary);
}

.section-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.all-projects {
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.top-selling-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
}

.mini-app {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.mini-app:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.mini-app img {
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ddd;
  object-fit: cover;
}

.mini-app-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.mini-app strong {
  display: -webkit-box;
  max-height: 2.5em;
  overflow-wrap: anywhere;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.25;
}

.mini-app-copy span {
  display: -webkit-box;
  max-height: 2.9em;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.45;
}

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

.app-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.app-banner {
  width: 100%;
  aspect-ratio: 1.96 / 1;
  background: #eceff5;
  object-fit: cover;
}

.app-body {
  padding: 15px 22px 22px;
}

.app-card h3,
.watch-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.3;
}

.app-card p,
.watch-card p {
  margin: 15px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.download-button,
.browse-button {
  width: 100%;
  min-height: 44px;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  font-size: 13px;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 74px;
}

.watch-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: transparent;
}

.watch-art {
  width: min(190px, 100%);
  aspect-ratio: 1;
  margin: 0 auto -44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e6e2e2;
  box-shadow: 0 6px 18px rgba(12, 18, 34, 0.22);
  position: relative;
  z-index: 2;
}

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

.watch-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 60px 22px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.watch-card h3 {
  width: 100%;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}

.watch-card p {
  width: 100%;
  margin: 24px 0 20px;
  font-size: 16px;
  line-height: 1.45;
}

.watch-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.watch-thumb-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 42px;
  margin: 0;
}

.watch-thumb {
  width: 40px;
  height: 40px;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid #bdc6d8;
  border-radius: 50%;
  background: #f0f1f5;
  cursor: pointer;
}

.watch-thumb:hover,
.watch-thumb:focus-visible,
.fit-gallery-button:hover,
.fit-gallery-button:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.watch-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.watch-thumb-more {
  border-color: #aeb8ce;
}

.watch-thumb-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 248, 252, 0.68);
}

.watch-thumb-more span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.fit-preview-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  color: var(--primary);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.fit-preview-button:hover {
  text-decoration: underline;
}

.fit-preview-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.watch-card .download-button {
  min-height: 54px;
  margin-top: 10px;
  font-size: 16px;
}

.modal-open {
  overflow: hidden;
}

.fit-modal[hidden] {
  display: none;
}

.fit-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.fit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 28, 0.72);
}

.fit-modal-panel {
  width: min(1280px, 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.fit-modal-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.fit-modal-head p {
  margin: 0 0 5px;
  color: #00614c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fit-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.16;
}

.fit-close-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f6f7fa;
  cursor: pointer;
}

.fit-close-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.fit-preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1671 / 695;
  overflow: hidden;
  background: #f8f5f2;
}

.fit-device-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.fit-watch-face {
  position: absolute;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.fit-watch-face-1 {
  left: 6.104%;
  top: 30.791%;
  width: 17.056%;
  height: 41.007%;
}

.fit-watch-face-2 {
  left: 29.383%;
  top: 31.223%;
  width: 17.056%;
  height: 41.007%;
}

.fit-watch-face-3 {
  left: 54.039%;
  top: 30.791%;
  width: 15.978%;
  height: 38.417%;
}

.fit-watch-face-4 {
  left: 76.601%;
  top: 30.935%;
  width: 17.654%;
  height: 42.446%;
}

.fit-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.fit-gallery:empty {
  display: none;
}

.fit-gallery-button {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #eef0f5;
  cursor: pointer;
}

.fit-gallery-button.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 61, 220, 0.12);
}

.fit-gallery-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fit-modal-actions {
  display: flex;
  justify-content: center;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.fit-download-button {
  width: min(360px, 100%);
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  color: #697084;
}

.watch-card .coming-soon {
  margin-top: 6px;
  color: var(--muted);
  font-style: italic;
}

.download-button.disabled {
  pointer-events: none;
  color: #8b909d;
  background: #c8cbd3;
  border-color: #c8cbd3;
}

.expertise-band {
  margin: 10px 0 0;
  padding: 62px 20px 72px;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
}

.expertise-band p {
  margin: 0 0 27px;
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.skill-list {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.skill-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #edeff2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.site-footer {
  padding: 56px 20px 60px;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer h2 {
  margin: 0 0 30px;
  font-size: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 36px;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
}

.privacy-page {
  background: #faf9f9;
}

.privacy-main {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 112px;
}

.privacy-hero {
  margin-bottom: 38px;
}

.privacy-hero p {
  margin: 0 0 14px;
  color: #00614c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
}

.privacy-hero span {
  display: block;
  max-width: 760px;
  color: #1d2432;
  font-size: 17px;
  line-height: 1.6;
}

.privacy-card {
  padding: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(12, 18, 34, 0.06);
}

.privacy-card section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.privacy-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.privacy-card p {
  margin: 0;
  color: #283143;
  font-size: 15px;
  line-height: 1.72;
}

.privacy-card p + p {
  margin-top: 16px;
}

.privacy-card a {
  color: var(--primary);
  font-weight: 700;
}

.support-main {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 92px 0 150px;
  overflow: visible;
}

.support-hero {
  max-width: 760px;
  margin-bottom: 96px;
}

.support-hero h1 {
  margin: 0 0 22px;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), #4b245f);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(48px, 6.6vw, 78px);
  font-weight: 800;
  line-height: 1.06;
  -webkit-text-fill-color: transparent;
}

.support-hero p {
  max-width: 720px;
  margin: 0;
  color: #1d2432;
  font-size: 16px;
  line-height: 1.55;
}

.support-workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  margin-bottom: 76px;
}

.project-filter {
  display: grid;
  gap: 12px;
}

.project-filter p,
.field > span {
  margin: 0 0 10px;
  color: #005844;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.filter-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  color: #111827;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.filter-button.active {
  color: #06483d;
  background: var(--aqua);
}

.filter-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.support-card {
  min-width: 0;
  padding: 60px 56px 58px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(12, 18, 34, 0.06);
}

.form-intro {
  max-width: 620px;
  margin-bottom: 34px;
}

.form-intro h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
}

.form-intro p {
  margin: 0;
  color: #252b3a;
  font-size: 15px;
  line-height: 1.45;
}

.field {
  max-width: 310px;
  display: grid;
  margin-bottom: 26px;
}

.wide-field {
  max-width: 650px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  color: #111827;
  border: 1px solid #b8bed0;
  border-radius: 7px;
  background: #fbf9f9;
  font: inherit;
  font-size: 15px;
}

.field textarea {
  min-height: 138px;
  padding-top: 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(0, 61, 220, 0.14);
  border-color: var(--primary);
}

.upload-box {
  min-height: 154px;
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  color: #111827;
  border: 2px dashed #b8c1dd;
  border-radius: 7px;
  background: #fbf9f9;
  text-align: center;
  cursor: pointer;
}

.upload-box.dragging {
  border-color: var(--primary);
  background: #f1f6ff;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-box svg {
  width: 34px;
  height: 34px;
  fill: var(--primary);
}

.upload-box strong {
  font-size: 15px;
  font-weight: 500;
}

.upload-box strong span {
  color: var(--primary);
  font-weight: 800;
}

.upload-box small {
  color: #545c6e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upload-summary,
.form-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.send-report-button {
  min-width: 252px;
  min-height: 62px;
  padding: 0 34px;
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 7px;
  background: var(--primary);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.send-report-button:hover {
  background: var(--primary-dark);
}

.support-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  margin-left: 304px;
  margin-bottom: 72px;
}

.support-notes article {
  min-width: 0;
}

.support-notes h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #00614c;
  font-size: 16px;
  font-weight: 500;
}

.support-notes svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.support-notes p {
  margin: 0;
  color: #2a3040;
  font-size: 15px;
  line-height: 1.55;
}

.support-ad {
  min-height: 150px;
  margin-left: 304px;
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 22px 88px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.support-ad ins {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.support-ad span {
  color: #777f94;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.support-ad p {
  width: min(760px, 100%);
  margin: 0;
  padding: 28px 48px;
  color: #10131b;
  border: 1px dashed #b8c1dd;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
}

.contact-page {
  font-family: Georgia, "Times New Roman", serif;
}

.contact-page .site-header,
.contact-page .nav-shell,
.contact-page .brand,
.contact-page .nav-links,
.contact-page button,
.contact-page input,
.contact-page textarea {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.contact-main {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
  padding: 120px 0 150px;
  overflow: visible;
}

.contact-hero {
  max-width: 820px;
  margin-bottom: 92px;
}

.contact-hero h1 {
  margin: 0 0 42px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.contact-hero h1 span {
  color: var(--primary);
}

.contact-hero p {
  max-width: 820px;
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.45;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  align-items: start;
  gap: 34px;
}

.contact-form-card,
.social-panel,
.response-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(12, 18, 34, 0.06);
}

.contact-form-card {
  min-width: 0;
  padding: 42px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-field {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.contact-field span,
.response-card h2,
.social-panel strong {
  color: #00614c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-field span {
  font-size: 19px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  color: #111;
  border: 1px solid #b8bed0;
  border-radius: 6px;
  background: #fbf9f9;
  font-size: 18px;
}

.contact-field textarea {
  min-height: 214px;
  padding-top: 22px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 3px solid rgba(0, 61, 220, 0.14);
  border-color: var(--primary);
}

.send-message-button {
  min-width: 238px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 36px;
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 18px 34px rgba(0, 61, 220, 0.18);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.send-message-button:hover {
  background: var(--primary-dark);
}

.send-message-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-sidebar {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.contact-ad {
  min-height: 286px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 72px;
  overflow: hidden;
  padding: 34px;
  border: 1px dashed #b8c1dd;
  border-radius: var(--radius);
  text-align: center;
}

.contact-ad ins {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.contact-ad span {
  color: #71778a;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-ad p {
  margin: 0;
  color: #6a6f7f;
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
}

.social-panel {
  min-height: 106px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 26px;
  padding: 28px;
}

.social-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: #dedfff;
}

.social-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.social-panel strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
}

.social-panel small {
  color: #111;
  font-size: 18px;
}

.social-arrow {
  width: 28px;
  height: 28px;
  fill: #697084;
}

.response-card {
  padding: 38px 30px 34px;
}

.response-card h2 {
  margin: 0 0 28px;
  font-size: 18px;
}

.response-card p {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 34px;
  color: #111;
  font-size: 18px;
}

.response-card p svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.response-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.response-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 15px;
  background: #efeeee;
  color: #1f2634;
  font-size: 17px;
}

.json-builder-page {
  background: #f8fafc;
}

.stats-page {
  min-height: 100vh;
  background: #f8fafc;
}

.stats-main {
  width: min(720px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 72px 0;
}

.stats-card {
  width: 100%;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(12, 18, 34, 0.08);
  text-align: center;
}

.stats-card p {
  margin: 0 0 12px;
  color: #00614c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stats-card h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}

.stats-card strong {
  display: block;
  color: var(--primary);
  font-size: clamp(64px, 13vw, 132px);
  font-weight: 900;
  line-height: 0.98;
}

.stats-card span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.builder-main {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 96px;
}

.builder-hero {
  margin-bottom: 34px;
}

.builder-hero p,
.builder-field span,
.builder-fieldset legend {
  margin: 0;
  color: #00614c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.builder-hero h1 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
}

.builder-hero span {
  max-width: 760px;
  display: block;
  color: var(--muted);
  font-size: 16px;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(460px, 1.14fr);
  align-items: start;
  gap: 24px;
}

.builder-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(12, 18, 34, 0.06);
}

.builder-form {
  position: sticky;
  top: 94px;
}

.builder-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.builder-card-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.builder-card-head span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.builder-field {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.builder-field input,
.builder-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid #b8bed0;
  border-radius: 6px;
  background: #fbf9f9;
  font: inherit;
  font-size: 14px;
}

.builder-field textarea {
  min-height: 92px;
  padding-top: 13px;
  resize: vertical;
}

.builder-field input:focus,
.builder-field textarea:focus {
  outline: 3px solid rgba(0, 61, 220, 0.14);
  border-color: var(--primary);
}

.builder-fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.builder-fieldset legend {
  margin-bottom: 10px;
}

.builder-fieldset label {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  color: var(--ink);
  font-size: 14px;
}

.builder-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.builder-toggle {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbf9f9;
  color: var(--ink);
  font-weight: 700;
}

.builder-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-toggle span {
  width: 42px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #c8cbd3;
}

.builder-toggle span::after {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 3px;
  left: 3px;
  content: "";
  border-radius: 50%;
  background: #fff;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.builder-toggle input:checked + span {
  background: var(--primary);
}

.builder-toggle input:checked + span::after {
  transform: translateX(18px);
}

.builder-primary-button,
.builder-secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.builder-primary-button {
  color: #fff;
  border: 1px solid var(--primary);
  background: var(--primary);
}

.builder-primary-button.compact {
  min-height: 38px;
  font-size: 13px;
}

.builder-primary-button.full-width,
.builder-secondary-button.full-width {
  width: 100%;
}

.builder-secondary-button {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: #f5f6f9;
}

.builder-status {
  min-height: 21px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.builder-side {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.builder-file-loader {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 1px dashed #aeb6ca;
  border-radius: 6px;
  background: #fbf9f9;
  color: var(--primary);
  font-weight: 900;
  cursor: pointer;
}

.builder-file-loader input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.builder-file-loader span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-help-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.builder-app-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

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

.builder-app-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbf9f9;
}

.builder-app-item img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #e6e8ef;
  object-fit: cover;
}

.builder-app-item strong,
.builder-app-item span,
.builder-app-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-app-item strong {
  color: var(--ink);
  font-size: 14px;
}

.builder-app-item span {
  color: var(--muted);
  font-size: 12px;
}

.builder-app-item small {
  color: var(--primary);
  font-size: 11px;
  text-transform: uppercase;
}

.builder-app-item button {
  min-height: 34px;
  padding: 0 12px;
  color: #9b1c1c;
  border: 1px solid #efb9b9;
  border-radius: 5px;
  background: #fff5f5;
  font-weight: 800;
  cursor: pointer;
}

.json-preview {
  max-height: 540px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111827;
  color: #e5f8ef;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre;
}

.loading-block,
.empty-state,
.error-state {
  min-height: 170px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.loading-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 900ms infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1450px) {
  .side-ad {
    display: none;
  }
}

@media (max-width: 920px) {
  .side-ad {
    display: none;
  }

  .support-main {
    width: min(100% - 40px, 760px);
    padding-top: 62px;
  }

  .support-workspace {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-filter p {
    grid-column: 1 / -1;
  }

  .support-card {
    padding: 38px 28px;
  }

  .field,
  .wide-field {
    max-width: none;
  }

  .support-notes,
  .support-ad {
    margin-left: 0;
  }

  .support-notes {
    gap: 34px;
  }

  .contact-main {
    width: min(100% - 40px, 860px);
    padding-top: 72px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .builder-main {
    width: min(100% - 40px, 860px);
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-form {
    position: static;
  }

  .nav-toggle {
    display: block;
  }

  .nav-shell {
    min-height: 66px;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: max-height 180ms ease;
  }

  .nav-links.open {
    max-height: 340px;
    padding-bottom: 18px;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-media {
    order: -1;
  }

  .top-selling-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
  }

  .app-grid,
  .watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .nav-shell,
  .ad-shell,
  .featured-section,
  .content-section {
    width: min(100% - 28px, var(--max-width));
  }

  .brand {
    max-width: 250px;
    font-size: 20px;
  }

  .support-main {
    width: min(100% - 28px, 760px);
    padding: 48px 0 88px;
  }

  .privacy-main {
    width: min(100% - 28px, 760px);
    padding: 54px 0 84px;
  }

  .privacy-card {
    padding: 24px;
  }

  .privacy-card section + section {
    margin-top: 26px;
    padding-top: 26px;
  }

  .support-hero {
    margin-bottom: 58px;
  }

  .support-hero h1 {
    font-size: 44px;
  }

  .support-hero p {
    font-size: 14px;
  }

  .project-filter,
  .support-notes {
    grid-template-columns: 1fr;
  }

  .filter-button {
    min-height: 48px;
  }

  .support-card {
    padding: 28px 18px;
  }

  .upload-box {
    min-height: 140px;
    padding: 20px 16px;
  }

  .send-report-button {
    width: 100%;
    min-width: 0;
  }

  .support-ad {
    padding: 18px;
  }

  .support-ad p {
    padding: 22px 18px;
    font-size: 13px;
  }

  .contact-main {
    width: min(100% - 28px, 860px);
    padding: 58px 0 88px;
  }

  .contact-hero {
    margin-bottom: 48px;
  }

  .contact-hero h1 {
    margin-bottom: 26px;
    font-size: 42px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-form-card {
    padding: 26px 20px;
  }

  .contact-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-field span {
    font-size: 14px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 15px;
  }

  .send-message-button {
    width: 100%;
    min-width: 0;
  }

  .contact-ad {
    min-height: 220px;
    gap: 36px;
  }

  .social-panel {
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    gap: 16px;
    padding: 20px;
  }

  .social-icon {
    width: 52px;
    height: 52px;
  }

  .social-panel strong {
    font-size: 16px;
  }

  .social-panel small,
  .response-card p,
  .response-tags span {
    font-size: 15px;
  }

  .builder-main {
    width: min(100% - 28px, 860px);
    padding: 48px 0 72px;
  }

  .builder-card {
    padding: 18px;
  }

  .builder-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-toggle-grid {
    grid-template-columns: 1fr;
  }

  .builder-app-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .builder-app-item img {
    width: 48px;
    height: 48px;
  }

  .builder-app-item button {
    grid-column: 1 / -1;
  }

  .ad-shell {
    margin-bottom: 42px;
  }

  .featured-card {
    min-height: auto;
    padding: 18px;
    gap: 24px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .featured-copy h2 {
    font-size: 34px;
  }

  .featured-copy p {
    font-size: 14px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .section-head-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .section-title {
    gap: 12px;
    margin-bottom: 26px;
  }

  .editorial-copy,
  .editorial-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .top-selling-strip,
  .app-grid,
  .watch-grid {
    grid-template-columns: 1fr;
  }

  .mini-app img {
    width: 74px;
    height: 74px;
  }

  .watch-grid {
    column-gap: 16px;
    row-gap: 64px;
  }

  .mid-ad {
    margin-top: 48px;
    margin-bottom: 70px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}
