:root {
  --red: #f00612;
  --amber: #ff9800;
  --amber-soft: #ffb74d;
  --ink: #f8fafc;
  --muted: #a7b0be;
  --soft: #d8e0ea;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(18, 18, 18, 0.82);
  --panel-strong: #151515;
  --page: #050505;
  --green: #22c55e;
  --cyan: #38bdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(240, 6, 18, 0.1), transparent 360px),
    #050505;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 max(18px, calc((100vw - min(86vw, 1560px)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 5, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand span span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.header-cta {
  justify-self: end;
}

.nav-links a:hover {
  color: #fff;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  border: 1px solid transparent;
  color: #fff;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--red), var(--amber));
  box-shadow: 0 18px 44px rgba(240, 6, 18, 0.28);
}

.button {
  border: 1px solid var(--line);
  padding: 0 20px;
}

.button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--amber));
  box-shadow: 0 18px 44px rgba(240, 6, 18, 0.28);
}

.button.secondary {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
  padding: 82px clamp(18px, 5vw, 72px) 28px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.9) 48%, rgba(5, 5, 5, 0.98) 100%),
    linear-gradient(135deg, rgba(240, 6, 18, 0.18), transparent 42%),
    linear-gradient(225deg, rgba(255, 152, 0, 0.12), transparent 38%),
    #060606;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: -2;
  background: linear-gradient(180deg, transparent, #050505);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(360px, 40fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(85vw, 1640px);
  margin: 0 auto;
}

.hero-copy-block {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 7vw, 112px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 26px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  width: min(92%, 660px);
  justify-self: end;
  margin-top: 34px;
  border: 1px solid rgba(255, 152, 0, 0.26);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.product-preview {
  scroll-margin-top: 96px;
  padding: 110px clamp(18px, 5vw, 72px) 88px;
}

.demo-video {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 152, 0, 0.32);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.demo-video::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.demo-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section,
.workflow-section,
.support-section,
.faq-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section,
.workflow-section {
  padding: 88px 0;
}

.use-cases {
  padding-bottom: 56px;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.faq-section h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.section-heading .demo-kicker {
  color: var(--amber-soft);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading p:not(.eyebrow),
.faq-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.feature-slider::before,
.feature-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(12vw, 160px);
  pointer-events: none;
}

.feature-slider::before {
  left: 0;
  background: linear-gradient(90deg, #050505, transparent);
}

.feature-slider::after {
  right: 0;
  background: linear-gradient(270deg, #050505, transparent);
}

.feature-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 14px;
  animation: feature-slide 42s linear infinite;
}

.feature-slider:hover .feature-track {
  animation-play-state: paused;
}

.feature-card,
.use-case-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.use-case-grid article {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.use-case-grid article:hover {
  border-color: rgba(255, 152, 0, 0.62);
  background:
    radial-gradient(circle at top left, rgba(255, 152, 0, 0.16), transparent 42%),
    radial-gradient(circle at bottom right, rgba(240, 6, 18, 0.1), transparent 44%),
    var(--panel);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.32),
    0 0 54px rgba(255, 152, 0, 0.22),
    inset 0 0 28px rgba(255, 152, 0, 0.08);
  transform: translateY(-4px);
}

.feature-card {
  flex: 0 0 clamp(330px, 31vw, 460px);
  display: flex;
  flex-direction: column;
  min-height: 430px;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(255, 152, 0, 0.42);
  transform: translateY(-4px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #151515, #0d0d0d);
  padding: 8px;
}

.feature-card h3,
.workflow h3,
.use-case-grid h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}

.feature-card p,
.workflow p,
.use-case-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

@keyframes feature-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.feature-page {
  min-height: 100vh;
  padding: 126px clamp(18px, 5vw, 72px) 88px;
}

.feature-page-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-page-hero {
  width: min(1080px, 100%);
  margin: 0 auto 56px;
  border: 1px solid rgba(255, 152, 0, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 152, 0, 0.12), transparent 52%),
    rgba(18, 18, 18, 0.62);
  padding: clamp(22px, 3vw, 34px);
  text-align: left;
}

.feature-page-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
}

.feature-page-copy .feature-title-gold {
  color: var(--amber);
  font-size: clamp(34px, 4.2vw, 54px);
  text-shadow: 0 18px 54px rgba(255, 152, 0, 0.24);
}

.feature-page-copy p {
  max-width: 700px;
  color: var(--soft);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
}

.feature-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-hero-tags span,
.feature-hero-tags a {
  border: 1px solid rgba(255, 152, 0, 0.28);
  border-radius: 8px;
  color: var(--amber-soft);
  background: rgba(255, 152, 0, 0.08);
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(1180px, 100%);
  margin: 0 auto 72px;
  scroll-margin-top: 108px;
}

.feature-story.is-reversed {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.85fr);
}

.feature-story-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
}

.feature-story-copy .eyebrow {
  color: var(--amber);
}

.feature-story-copy p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.65;
}

.feature-page-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.feature-page-list li {
  color: var(--muted);
  padding-left: 4px;
}

.feature-page-media {
  overflow: hidden;
  border: 1px solid rgba(255, 152, 0, 0.28);
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.feature-page-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  padding: 12px;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow article {
  min-height: 250px;
  border-radius: 8px;
  background: linear-gradient(180deg, #181818, #101010);
  padding: 22px;
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 152, 0, 0.54);
  border-radius: 50%;
  color: var(--amber);
  font-weight: 900;
}

.support-section {
  display: grid;
  justify-items: center;
  gap: 24px;
  margin: 0 auto 76px;
  width: min(920px, calc(100% - 36px));
  border: 1px solid rgba(255, 152, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 6, 18, 0.14), transparent 45%),
    rgba(18, 18, 18, 0.82);
  padding: clamp(22px, 3.5vw, 34px);
  text-align: center;
}

.support-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.08;
}

.support-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  max-width: 620px;
}

.support-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 360px);
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.support-button.patreon {
  background: #ff5a56;
}

.support-button.tagmango {
  color: #111;
  background: #ffb84d;
}

.support-icon {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  font-size: 15px;
}

.faq-section {
  padding: 40px 0 42px;
}

.faq-section .section-heading {
  margin-bottom: 28px;
}

.faq-section .eyebrow {
  color: var(--amber);
  margin-bottom: 8px;
}

.faq-section h2 {
  font-size: clamp(22px, 2.5vw, 28px);
}

.faq-list {
  display: grid;
  gap: 14px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 152, 0, 0.07), transparent 42%),
    rgba(18, 18, 18, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.faq-list details[open] {
  border-color: rgba(255, 152, 0, 0.38);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
  padding: 20px 22px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 152, 0, 0.28);
  border-radius: 50%;
  color: var(--amber);
  background: rgba(255, 152, 0, 0.08);
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 22px 22px;
  max-width: 780px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(5, 5, 5, 0.72);
  padding: 38px max(18px, calc((100vw - min(82vw, 1560px)) / 2));
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  width: max-content;
}

.footer-brand .brand {
  display: contents;
}

.footer-brand .brand img {
  grid-row: 1 / 3;
}

.footer-brand .brand span {
  grid-column: 2;
}

.site-footer p {
  margin: 0 0 0;
  font-weight: 800;
}

.footer-brand p {
  grid-column: 2;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
  padding-left: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-group h3 {
  margin: 0 0 4px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-group a,
.footer-contact summary {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-group a:hover,
.footer-contact summary:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact summary {
  cursor: pointer;
  list-style: none;
}

.footer-contact summary::-webkit-details-marker {
  display: none;
}

.footer-contact summary::after {
  content: "+";
  color: var(--amber);
  margin-left: 8px;
}

.footer-contact[open] summary::after {
  content: "-";
}

.footer-contact a {
  display: block;
  margin-top: 8px;
  white-space: nowrap;
}


.policy-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 88px;
}

.policy-hero {
  padding: 0;
}

.policy-hero h1 {
  margin: 0;
  color: var(--amber);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.policy-hero p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.policy-content {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.72;
}

.policy-content h2 {
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.policy-content p {
  margin: 0;
}

.policy-content code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--amber-soft);
  padding: 2px 6px;
}

.seo-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 124px 0 76px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  margin-bottom: 38px;
}

.seo-hero h1 {
  margin: 0;
  color: var(--amber);
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.seo-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.seo-hero-copy {
  display: grid;
  gap: 18px;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.seo-visual {
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 152, 0, 0.13), transparent 56%),
    rgba(18, 18, 18, 0.78);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  padding: 14px;
}

.seo-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  object-fit: contain;
  object-position: center;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.seo-article,
.seo-side-card {
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 152, 0, 0.09), transparent 52%),
    rgba(18, 18, 18, 0.78);
}

.seo-article {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.seo-article section {
  display: grid;
  gap: 10px;
}

.seo-article h2,
.seo-side-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}

.seo-article p,
.seo-article li,
.seo-side-card p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.7;
}

.seo-article ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.seo-side-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.seo-side-card .button {
  width: 100%;
}

.seo-link-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.seo-link-list a {
  color: var(--soft);
  font-weight: 800;
}

.seo-link-list a:hover {
  color: var(--amber);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 88px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.98)),
      linear-gradient(135deg, rgba(240, 6, 18, 0.16), transparent 44%),
      #060606;
  }

  .hero-inner,
  .workflow,
  .use-case-grid,
  .support-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    width: min(100%, 720px);
  }

  .hero-visual img {
    height: auto;
  }

  .hero-visual {
    width: 100%;
    justify-self: stretch;
    margin-top: 10px;
  }

  .feature-card {
    flex-basis: min(84vw, 380px);
    min-height: 400px;
  }

  .feature-page-inner {
    grid-template-columns: 1fr;
  }

  .feature-page-hero {
    text-align: left;
  }

  .feature-story,
  .feature-story.is-reversed {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .seo-content {
    grid-template-columns: 1fr;
  }

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

  .seo-side-card {
    position: static;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .header-cta {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-preview {
    padding-bottom: 52px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}
