.fardriver-page {
  --fd-shell: min(1180px, calc(100vw - 48px));
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 7%, var(--theme-accent-softer), transparent 34rem),
    var(--theme-bg);
  color: var(--theme-text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fardriver-page h1,
.fardriver-page h2,
.fardriver-page h3,
.fardriver-page p {
  margin: 0;
}

.fd-shell {
  width: var(--fd-shell);
  margin: 0 auto;
}

.fd-header {
  position: fixed;
  z-index: 100;
  display: flex;
  width: min(1180px, calc(100vw - 32px));
  height: 64px;
  top: 10px;
  left: 50%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 16px;
  border: 1px solid var(--theme-border);
  border-radius: 17px;
  background: var(--theme-header);
  box-shadow: 0 12px 36px rgb(28 28 30 / 10%);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.fd-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fd-header nav > a:not(.fd-header-cta) {
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease;
}

.fd-header nav > a:not(.fd-header-cta):hover {
  color: var(--theme-text);
}

.fd-header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 17px;
  border-radius: 11px;
  background: var(--theme-primary-bg);
  color: var(--theme-primary-fg);
  font-size: 12px;
  font-weight: 750;
}

.fd-hero {
  position: relative;
  padding: 148px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-border);
}

.fd-hero::before {
  position: absolute;
  width: 720px;
  height: 720px;
  top: -430px;
  right: -140px;
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  box-shadow:
    0 0 0 85px var(--theme-accent-softer),
    0 0 0 170px var(--theme-accent-softer);
  content: "";
}

.fd-hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(48px, 8vw, 112px);
}

.fd-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--theme-quiet);
  font: 650 11px/1.4 "Space Mono", monospace;
}

.fd-breadcrumbs a:hover {
  color: var(--theme-text);
}

.fd-kicker,
.fd-label,
.fd-section-heading span,
.fd-download-content > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-quiet);
  font: 700 10px/1.4 "Space Mono", monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fd-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-success);
  box-shadow: 0 0 0 5px var(--theme-success-soft);
}

.fd-hero h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(47px, 6.4vw, 82px);
  font-weight: 760;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.fd-hero h1 em {
  color: var(--theme-muted);
  font-style: normal;
}

.fd-lede {
  max-width: 710px;
  margin-top: 26px;
  color: var(--theme-muted);
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.6;
}

.fd-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.fd-store-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 61px;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid var(--theme-border-strong);
  border-radius: 14px;
  background: var(--theme-surface);
  color: var(--theme-text);
  box-shadow: var(--theme-shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.fd-store-button:hover {
  border-color: var(--theme-text);
  transform: translateY(-2px);
}

.fd-store-button > span:last-child {
  display: flex;
  flex-direction: column;
}

.fd-store-button small {
  color: currentColor;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.fd-store-button strong {
  margin-top: 3px;
  font-size: 16px;
  line-height: 1;
}

.fd-store-primary {
  border-color: var(--theme-primary-bg);
  background: var(--theme-primary-bg);
  color: var(--theme-primary-fg);
}

.fd-store-primary:hover {
  background: var(--theme-text);
}

.fd-apple {
  width: 28px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 29px;
  line-height: 1;
  text-align: center;
}

.fd-download-note {
  margin-top: 13px;
  color: var(--theme-quiet);
  font-size: 11px;
}

.fd-independent-note {
  display: grid;
  max-width: 760px;
  margin-top: 27px;
  padding: 17px 19px;
  border: 1px solid var(--theme-border);
  border-left: 4px solid var(--theme-accent-strong);
  border-radius: 12px;
  background: var(--theme-surface);
  grid-template-columns: auto 1fr;
  gap: 5px 13px;
}

.fd-independent-note strong {
  color: var(--theme-text);
  font-size: 12px;
  white-space: nowrap;
}

.fd-independent-note span {
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.55;
}

.fd-independent-note a {
  grid-column: 2;
  color: var(--theme-link);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--theme-border-strong);
  text-underline-offset: 3px;
}

.fd-hero-panel {
  position: relative;
  padding: 21px;
  border: 1px solid var(--theme-border-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, var(--theme-accent-softer), transparent 17rem),
    var(--theme-surface);
  box-shadow: var(--theme-shadow);
  transform: rotate(1deg);
}

.fd-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 18px;
  color: var(--theme-quiet);
  font: 700 9px/1 "Space Mono", monospace;
  letter-spacing: 0.09em;
}

.fd-panel-top i {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-success);
  font-style: normal;
}

.fd-panel-top i b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-success);
}

.fd-controller-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--theme-border);
  border-radius: 14px;
  background: var(--theme-bg-grouped);
}

.fd-controller-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--theme-border-strong);
  border-radius: 12px;
  background: var(--theme-surface);
  font: 700 12px/1 "Space Mono", monospace;
}

.fd-controller-card > div {
  min-width: 0;
  flex: 1;
}

.fd-controller-card small,
.fd-controller-card strong {
  display: block;
}

.fd-controller-card small {
  color: var(--theme-quiet);
  font: 700 7px/1.3 "Space Mono", monospace;
  letter-spacing: 0.09em;
}

.fd-controller-card strong {
  margin-top: 5px;
  font-size: 13px;
}

.fd-signal {
  display: flex;
  height: 20px;
  align-items: flex-end;
  gap: 3px;
}

.fd-signal i {
  width: 3px;
  border-radius: 3px;
  background: var(--theme-success);
}

.fd-signal i:nth-child(1) { height: 7px; }
.fd-signal i:nth-child(2) { height: 12px; }
.fd-signal i:nth-child(3) { height: 18px; }

.fd-flow {
  display: grid;
  margin: 17px 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.fd-flow li {
  display: grid;
  align-items: center;
  padding: 15px 14px;
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
}

.fd-flow li > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--theme-accent-soft);
  color: var(--theme-quiet);
  font: 700 8px/1 "Space Mono", monospace;
}

.fd-flow strong,
.fd-flow small {
  display: block;
}

.fd-flow strong { font-size: 12px; }

.fd-flow small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 9px;
  line-height: 1.45;
}

.fd-flow b {
  color: var(--theme-success);
  font: 700 7px/1 "Space Mono", monospace;
  letter-spacing: 0.08em;
}

.fd-trace {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  border-top: 1px solid var(--theme-border);
  color: var(--theme-quiet);
  font: 400 8px/1.2 "Space Mono", monospace;
}

.fd-proof-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-bg-grouped);
}

.fd-proof-strip .fd-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.2vw, 29px);
  color: var(--theme-quiet);
  font: 700 8px/1.4 "Space Mono", monospace;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.fd-proof-strip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--theme-border-strong);
}

.fd-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--theme-border);
}

.fd-section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: 55px;
}

.fd-section-heading h2,
.fd-compatibility-copy h2,
.fd-faq-layout > header h2,
.fd-download-content h2 {
  margin-top: 17px;
  font-size: clamp(39px, 5vw, 66px);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 1.02;
}

.fd-section-heading > p,
.fd-compatibility-copy > p,
.fd-faq-layout > header > p {
  color: var(--theme-muted);
  font-size: 15px;
  line-height: 1.72;
}

.fd-capability-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.fd-capability-grid article {
  min-height: 265px;
  padding: 28px;
  border: 1px solid var(--theme-border);
  border-radius: 19px;
  background: var(--theme-surface);
  transition: transform 160ms ease, border-color 160ms ease;
}

.fd-capability-grid article:hover {
  border-color: var(--theme-border-strong);
  transform: translateY(-3px);
}

.fd-capability-grid article > span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 9px;
  color: var(--theme-quiet);
  font: 700 8px/1 "Space Mono", monospace;
}

.fd-capability-grid h3 {
  margin-top: 37px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.fd-capability-grid p {
  margin-top: 13px;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.65;
}

.fd-compatibility-section {
  background: var(--theme-bg-grouped);
}

.fd-compatibility-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(60px, 9vw, 130px);
}

.fd-compatibility-copy h2 {
  font-size: clamp(38px, 4.6vw, 61px);
}

.fd-compatibility-copy > p {
  margin-top: 24px;
}

.fd-text-link {
  display: inline-flex;
  margin-top: 27px;
  align-items: center;
  gap: 10px;
  color: var(--theme-text);
  font-size: 13px;
  font-weight: 760;
}

.fd-text-link span {
  transition: transform 160ms ease;
}

.fd-text-link:hover span { transform: translateX(4px); }

.fd-availability-card {
  overflow: hidden;
  border: 1px solid var(--theme-border-strong);
  border-radius: 21px;
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow);
}

.fd-availability-card > div {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 24px;
  border-bottom: 1px solid var(--theme-border);
}

.fd-availability-card > div:last-child { border-bottom: 0; }

.fd-availability-card span {
  color: var(--theme-muted);
  font-size: 12px;
}

.fd-availability-card strong {
  font-size: 12px;
  text-align: right;
}

.fd-safety-steps {
  display: grid;
  margin: 58px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  gap: 12px;
}

.fd-safety-steps li {
  display: grid;
  min-height: 238px;
  padding: 25px;
  border: 1px solid var(--theme-border);
  border-radius: 17px;
  background: var(--theme-surface);
  align-content: space-between;
}

.fd-safety-steps > li > span {
  color: var(--theme-quiet);
  font: 700 9px/1 "Space Mono", monospace;
}

.fd-safety-steps h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
}

.fd-safety-steps p {
  margin-top: 10px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.6;
}

.fd-resources-section {
  background: var(--theme-bg-grouped);
}

.fd-resource-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.fd-resource-grid > a {
  display: flex;
  min-height: 264px;
  padding: 30px;
  border: 1px solid var(--theme-border);
  border-radius: 19px;
  background: var(--theme-surface);
  flex-direction: column;
  transition: border-color 160ms ease, transform 160ms ease;
}

.fd-resource-grid > a:hover {
  border-color: var(--theme-text);
  transform: translateY(-3px);
}

.fd-resource-grid > a > span {
  color: var(--theme-quiet);
  font: 700 9px/1.4 "Space Mono", monospace;
  letter-spacing: 0.1em;
}

.fd-resource-grid h3 {
  margin-top: 27px;
  font-size: 25px;
  letter-spacing: -0.038em;
}

.fd-resource-grid p {
  margin-top: 12px;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.65;
}

.fd-resource-grid b {
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
}

.fd-faq-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(290px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(60px, 9vw, 125px);
}

.fd-faq-layout > header {
  position: sticky;
  top: 110px;
}

.fd-faq-layout > header h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.fd-faq-layout > header > p {
  margin-top: 23px;
  font-size: 13px;
}

.fd-faq-list {
  border-top: 1px solid var(--theme-border);
}

.fd-faq-list details {
  border-bottom: 1px solid var(--theme-border);
}

.fd-faq-list summary {
  position: relative;
  padding: 24px 40px 24px 0;
  color: var(--theme-text);
  font-size: 16px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

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

.fd-faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 6px;
  color: var(--theme-quiet);
  content: "+";
  font: 400 23px/1 "Space Mono", monospace;
}

.fd-faq-list details[open] summary::after { content: "−"; }

.fd-faq-list details p {
  max-width: 720px;
  padding: 0 45px 25px 0;
  color: var(--theme-muted);
  font-size: 13px;
  line-height: 1.7;
}

.fd-download-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-bg-grouped);
}

.fd-download-section::before {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 100px var(--theme-accent-softer),
    0 0 0 200px var(--theme-accent-softer);
}

.fd-download-content {
  position: relative;
  display: flex;
  min-height: 670px;
  max-width: 830px;
  align-items: center;
  justify-content: center;
  padding: 105px 0;
  flex-direction: column;
  text-align: center;
}

.fd-download-content > img {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  border: 1px solid var(--theme-border-strong);
  border-radius: 22px;
  box-shadow: var(--theme-shadow);
}

.fd-download-content > span { justify-content: center; }

.fd-download-content h2 {
  max-width: 810px;
  margin-top: 18px;
}

.fd-download-content > p {
  max-width: 660px;
  margin-top: 22px;
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.65;
}

.fd-store-actions-centered { justify-content: center; }

.fd-download-content > small {
  max-width: 650px;
  margin-top: 24px;
  color: var(--theme-quiet);
  font-size: 10px;
  line-height: 1.55;
}

.fardriver-page .site-footer {
  background: var(--theme-bg);
}

@media (max-width: 1040px) {
  .fd-header nav > a:not(.fd-header-cta) { display: none; }
  .fd-hero-grid { grid-template-columns: 1fr; }
  .fd-hero-copy { max-width: 830px; }
  .fd-hero-panel { max-width: 660px; transform: none; }
  .fd-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-safety-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .fardriver-page { --fd-shell: min(100% - 32px, 680px); }
  .fd-header { width: calc(100vw - 24px); }
  .fd-header nav { gap: 10px; }
  .fd-header .theme-toggle { min-width: 44px; padding-right: 7px; }
  .fd-header .theme-toggle [data-theme-toggle-label] { display: none; }
  .fd-hero { padding: 126px 0 74px; }
  .fd-hero h1 { font-size: clamp(45px, 12vw, 70px); }
  .fd-independent-note { grid-template-columns: 1fr; }
  .fd-independent-note strong { white-space: normal; }
  .fd-independent-note a { grid-column: 1; }
  .fd-proof-strip .fd-shell { min-height: 96px; flex-wrap: wrap; gap: 12px 19px; padding: 20px 0; }
  .fd-proof-strip i { display: none; }
  .fd-section { padding: 88px 0; }
  .fd-section-heading,
  .fd-compatibility-grid,
  .fd-faq-layout { grid-template-columns: 1fr; gap: 31px; }
  .fd-faq-layout > header { position: static; }
  .fd-resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .fd-header { padding: 0 12px; }
  .fd-header-cta { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .fd-hero { padding-top: 116px; }
  .fd-breadcrumbs { margin-bottom: 24px; }
  .fd-lede { font-size: 16px; }
  .fd-store-actions { align-items: stretch; flex-direction: column; }
  .fd-store-button { width: 100%; justify-content: center; }
  .fd-store-button > span:last-child { min-width: 116px; text-align: left; }
  .fd-hero-panel { padding: 15px; border-radius: 18px; }
  .fd-flow li { grid-template-columns: 31px 1fr; }
  .fd-flow b { display: none; }
  .fd-capability-grid,
  .fd-safety-steps { grid-template-columns: 1fr; }
  .fd-capability-grid article { min-height: 235px; }
  .fd-safety-steps li { min-height: 205px; }
  .fd-availability-card > div { align-items: flex-start; padding: 17px 19px; flex-direction: column; gap: 5px; }
  .fd-availability-card strong { text-align: left; }
  .fd-resource-grid > a { min-height: 250px; padding: 25px; }
  .fd-faq-list summary { font-size: 14px; }
  .fd-download-content { min-height: 620px; }
}

@media (max-width: 340px) {
  .fd-header { gap: 8px; }
  .fd-header .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fd-store-button,
  .fd-capability-grid article,
  .fd-resource-grid > a,
  .fd-text-link span {
    transition: none;
  }
}
