:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #070707;
  color: #f7f7f7;
  --bg: #070707;
  --panel: #151515;
  --panel-soft: #1b1b1b;
  --line: #2d2d2d;
  --line-soft: #3a3a3a;
  --text: #f7f7f7;
  --muted: #d0d0d0;
  --dim: #9d9d9d;
  --brand: #ff6a21;
  --brand-soft: #ffb080;
  --dark: #101010;
  --radius: 8px;
  --shadow: 0 24px 70px rgb(0 0 0 / 36%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgb(255 106 33 / 14%), transparent 25rem),
    linear-gradient(180deg, #101010 0%, #070707 42%, #000 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 18px 16px 38px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: contain;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #d2d2d2;
  font-size: 14px;
  font-weight: 800;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover,
.site-footer button:hover,
.doc a:hover,
.text-link:hover {
  color: var(--brand-soft);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #111 !important;
}

main {
  display: grid;
  gap: 72px;
  padding: 46px 0 38px;
}

section,
.section {
  display: grid;
  gap: 18px;
}

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

h1 {
  max-width: 860px;
  font-size: clamp(42px, 8vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

p,
li,
dd,
dt {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

ul,
ol {
  margin: 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.eyebrow {
  margin: 0;
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead {
  max-width: 780px;
  font-size: 20px;
}

.large-copy {
  max-width: 850px;
  color: #e5e5e5;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.28;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: 42px;
  min-height: min(720px, calc(100vh - 150px));
}

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

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--brand);
  color: #111;
  box-shadow: 0 14px 34px rgb(255 106 33 / 24%);
}

.button.secondary {
  border-color: var(--line-soft);
  color: var(--text);
  background: rgb(255 255 255 / 2%);
}

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

.panel,
.photo-frame,
.letter,
.cta-band,
.doc,
.note,
.feature-story,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.photo-frame {
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgb(0 0 0 / 4%) 0%, rgb(0 0 0 / 66%) 100%),
    radial-gradient(circle at 34% 18%, rgb(255 106 33 / 30%), transparent 18rem),
    linear-gradient(135deg, #27221f 0%, #111 54%, #050505 100%);
}

.photo-frame.has-image {
  position: relative;
  padding: 0;
  background: #101010;
}

.photo-frame.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.photo-frame.has-image .photo-real {
  object-fit: cover;
}

.photo-frame.has-image .screen-real {
  object-fit: contain;
  padding: 14px;
  background: #080808;
}

.photo-frame.small {
  min-height: 260px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

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

.panel,
.note,
.faq-item {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.step-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: #111;
  font-weight: 900;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: 22px;
  align-items: stretch;
  padding: 22px;
}

.story-points {
  display: grid;
  gap: 14px;
}

.story-point {
  display: grid;
  gap: 5px;
}

.story-point strong {
  color: #fff;
}

.letter {
  padding: clamp(24px, 5vw, 52px);
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgb(255 106 33 / 8%), transparent 28rem),
    var(--panel);
}

.signature {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.cta-band {
  padding: clamp(24px, 5vw, 42px);
  display: grid;
  gap: 16px;
  align-items: start;
  background:
    radial-gradient(circle at 90% 10%, rgb(255 106 33 / 18%), transparent 18rem),
    var(--panel-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #a8a8a8;
  font-size: 14px;
}

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

.footer-columns div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-columns strong {
  color: #fff;
  font-size: 13px;
}

.footer-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.text-link {
  color: var(--brand-soft);
  font-weight: 900;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: center;
}

.comparison {
  display: grid;
  gap: 12px;
}

.comparison .panel {
  background: #111;
}

.doc {
  padding: 26px;
  display: grid;
  gap: 14px;
  scroll-margin-top: 92px;
}

.doc p {
  max-width: 850px;
}

.back-link {
  width: fit-content;
  color: var(--brand-soft);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

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

.meta div {
  border: 1px solid #343434;
  border-radius: var(--radius);
  padding: 12px;
  background: #101010;
}

.meta dt {
  color: #9f9f9f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.meta dd {
  margin: 2px 0 0;
  color: var(--text);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item h3 {
  font-size: 19px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--dim);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--brand-soft);
  text-decoration: none;
}

.seo-page main {
  gap: 62px;
}

.seo-hero {
  min-height: min(680px, calc(100vh - 150px));
}

.seo-section {
  max-width: 920px;
}

.seo-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.author-box {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(255 106 33 / 7%), transparent 26rem),
    var(--panel);
}

.related-card h3 a {
  color: #fff;
  text-decoration: none;
}

.sticky-mobile-cta {
  display: none;
}

.analytics-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #101010;
  box-shadow: 0 20px 62px rgb(0 0 0 / 50%);
}

.analytics-consent-banner strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.analytics-consent-banner p {
  max-width: 680px;
  font-size: 14px;
  line-height: 1.45;
}

.analytics-consent-banner a {
  color: var(--brand-soft);
  font-weight: 800;
  text-decoration: none;
}

.analytics-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.analytics-consent-actions .button {
  min-height: 42px;
  padding-inline: 14px;
}

.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 920px) {
  .hero,
  .split,
  .feature-story,
  .grid-2,
  .grid-3,
  .grid-4,
  .meta,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .nav {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .page {
    width: 100%;
    max-width: 100vw;
    padding-inline: 14px;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header,
  .site-footer,
  main,
  section,
  .section,
  .hero,
  .seo-hero,
  .seo-section,
  .cta-band,
  .author-box,
  .faq-list {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-copy,
  main,
  section,
  .panel,
  .cta-band,
  .author-box,
  .faq-item,
  .story-points {
    min-width: 0;
  }

  .lead,
  .large-copy,
  h1,
  h2,
  h3,
  p,
  li {
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 34px);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  main {
    gap: 52px;
    padding-top: 30px;
  }

  .nav {
    gap: 10px 12px;
    min-width: 0;
    font-size: 13px;
  }

  .nav a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: 12px;
  }

  .button {
    width: 100%;
  }

  p,
  li,
  dd,
  dt {
    font-size: 16px;
  }

  .photo-frame {
    min-height: 320px;
  }

  .seo-page {
    padding-bottom: 90px;
  }

  .sticky-mobile-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 20;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--brand);
    color: #111;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 38px rgb(0 0 0 / 42%);
  }

  .has-analytics-consent-banner .sticky-mobile-cta {
    display: none;
  }

  .analytics-consent-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    max-height: min(52vh, 340px);
    padding: 14px;
    overflow: auto;
  }

  .analytics-consent-banner p {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .analytics-consent-actions,
  .analytics-consent-actions .button {
    width: 100%;
  }
}
