:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --panel: #ffffff;
  --panel-soft: #eef4f4;
  --ink: #172326;
  --muted: #647275;
  --line: #d9e2e4;
  --line-strong: #bdd1d4;
  --teal: #0f766e;
  --teal-dark: #073f41;
  --teal-strong: #0b5e57;
  --green: #16803f;
  --amber: #b7791f;
  --shadow: 0 18px 50px rgba(23, 35, 38, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0, var(--bg) 35rem, #ffffff 100%);
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fill-icon path {
  fill: currentColor;
  stroke: none;
}

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

p {
  color: var(--muted);
  line-height: 1.6;
}

.site-header,
.section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(217, 226, 228, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 8px;
}

.brand.small {
  font-size: 20px;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #314244;
  font-size: 14px;
  font-weight: 750;
}

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

.site-nav a:hover,
.site-footer a:hover {
  color: var(--teal-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: 48px;
  padding: 68px 0 58px;
}

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

.hero h1 {
  color: var(--teal-dark);
  font-size: clamp(66px, 8vw, 116px);
  line-height: 0.9;
  font-weight: 900;
}

.hero-lede {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
}

.hero-copy > p:not(.hero-lede) {
  max-width: 650px;
  color: #2c3a3d;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 22px;
  color: var(--teal-strong);
  background: #ffffff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(23, 35, 38, 0.05);
}

.button.primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(180deg, #0f766e, #0b5e57);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.23);
}

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

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 0;
  max-width: 690px;
  padding-top: 18px;
}

.capability-strip div {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  min-height: 112px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.capability-strip div:first-child {
  border-left: 0;
  padding-left: 0;
}

.capability-strip svg {
  color: var(--teal);
  width: 30px;
  height: 30px;
}

.capability-strip span {
  color: #253437;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.hero-screen {
  display: grid;
  gap: 16px;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 24px 70px rgba(23, 35, 38, 0.16);
}

.live-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.live-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.live-brand img {
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.18);
}

.live-brand strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.05;
}

.live-brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #253437;
  background: #ffffff;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(23, 35, 38, 0.07);
}

.status-pill i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 128, 63, 0.12);
}

.live-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.live-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.live-panel-head strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.live-panel-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mini-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 0 !important;
  border-radius: 7px;
  padding: 0 10px;
  color: #ffffff !important;
  background: var(--teal);
  font-size: 11px !important;
  font-weight: 850;
  white-space: nowrap;
}

.live-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.live-profile-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.live-card-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.live-card-title span {
  color: var(--teal-strong);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-card-title b {
  border: 1px solid rgba(22, 128, 63, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--green);
  background: rgba(22, 128, 63, 0.08);
  font-size: 10px;
  font-weight: 850;
}

.live-profile-card > strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.live-profile-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.live-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 4px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #edf1f2;
}

.live-facts div:last-child {
  grid-column: 1 / -1;
}

.live-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.live-facts dd {
  margin: 2px 0 0;
  color: #253437;
  font-size: 11px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

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

.compact-live-panel {
  align-content: start;
}

.live-empty {
  display: grid;
  place-items: center;
  min-height: 62px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.ok {
  color: var(--green) !important;
}

.warn {
  color: var(--amber) !important;
}

.flow,
.screenshots,
.reliability,
.setup,
.relay-callout {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.flow h2,
.reliability h2,
.setup h2,
.screenshots h2,
.relay-callout h2 {
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  text-align: center;
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.flow-steps article {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.flow-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 58px);
  width: calc(100% - 76px);
  height: 2px;
  background: var(--teal);
}

.flow-steps article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 32px;
  right: -17px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  transform: rotate(45deg);
}

.flow-steps img,
.flow-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(23, 35, 38, 0.05);
}

.flow-steps img.putio-flow-icon {
  border-color: #272b2d;
  background: #272b2d;
}

.flow-icon {
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 900;
}

.media-icon::before {
  content: "";
  width: 40px;
  height: 28px;
  border: 3px solid var(--teal);
  border-radius: 6px;
  background: linear-gradient(135deg, transparent 48%, rgba(15, 118, 110, 0.18) 48%);
}

.flow-steps h3 {
  font-size: 16px;
}

.flow-steps p {
  max-width: 190px;
  font-size: 14px;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head p {
  font-size: 17px;
}

.dashboard-capture {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.dashboard-capture img {
  display: block;
  width: 100%;
  height: auto;
}

.connection-showcase,
.download-profile-showcase,
.link-profile-showcase,
.sonarr-config-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.guided-setup {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.guided-copy,
.connection-copy,
.download-profile-copy,
.link-profile-copy,
.sonarr-config-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  align-self: start;
}

.guided-copy h3,
.connection-copy h3,
.download-profile-copy h3,
.link-profile-copy h3,
.sonarr-config-copy h3 {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
}

.guided-copy p,
.connection-copy p,
.download-profile-copy p,
.link-profile-copy p,
.sonarr-config-copy p {
  font-size: 15px;
}

.guided-copy ul,
.connection-copy ul,
.download-profile-copy ul,
.link-profile-copy ul,
.sonarr-config-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guided-copy li,
.connection-copy li,
.download-profile-copy li,
.link-profile-copy li,
.sonarr-config-copy li {
  position: relative;
  padding-left: 22px;
  color: #253437;
  font-size: 14px;
  line-height: 1.45;
}

.guided-copy li::before,
.connection-copy li::before,
.download-profile-copy li::before,
.link-profile-copy li::before,
.sonarr-config-copy li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

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

.connection-capture {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.connection-capture img {
  display: block;
  width: 100%;
  height: auto;
}

.connection-capture figcaption {
  padding: 10px 12px;
  border-top: 1px solid #edf1f2;
  color: var(--teal-strong);
  font-size: 12px;
  font-weight: 850;
}

.download-profile-capture,
.link-profile-capture,
.sonarr-config-capture,
.wizard-capture {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.download-profile-capture img,
.link-profile-capture img,
.sonarr-config-capture img,
.wizard-capture img {
  display: block;
  width: 100%;
  height: auto;
}

.sonarr-config-capture {
  display: grid;
  align-items: start;
  justify-items: center;
  align-self: start;
  background: #202020;
  padding: 12px;
}

.sonarr-config-capture img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
}

.policy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #edf1f2;
  border-radius: 8px;
  color: #253437;
  font-size: 13px;
}

.policy-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.policy-row b,
.policy-row em {
  font-size: 12px;
  font-style: normal;
}

.policy-row b {
  color: var(--teal-strong);
}

.policy-row em {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.feature-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 26px;
  background: #ffffff;
}

.feature-grid svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
}

.feature-grid h3 {
  font-size: 18px;
  line-height: 1.2;
}

.feature-grid p {
  font-size: 14px;
}

.setup {
  display: grid;
  gap: 28px;
}

.setup > div:first-child {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.setup > div:first-child p {
  max-width: 720px;
  font-size: 17px;
}

.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: start;
}

pre {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

code {
  color: #253437;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95em;
  line-height: 1;
  white-space: nowrap;
}

pre code {
  display: block;
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
}

ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

ol li {
  position: relative;
  min-height: 38px;
  padding-left: 52px;
  color: #253437;
  line-height: 1.45;
  counter-increment: setup;
}

ol li::before {
  content: counter(setup);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.45);
  border-radius: 999px;
  color: var(--teal-strong);
  background: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.relay-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
}

.relay-callout h2 {
  text-align: left;
  font-size: 24px;
}

.relay-callout p {
  margin-top: 8px;
}

.relay-callout .button {
  flex: 0 0 auto;
  min-width: 210px;
}

.doc-hero {
  display: grid;
  gap: 18px;
  padding: 58px 0 34px;
}

.doc-kicker {
  color: var(--teal-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-hero h1 {
  max-width: 880px;
  color: var(--teal-dark);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.doc-hero p {
  max-width: 780px;
  color: #2c3a3d;
  font-size: 18px;
}

.agent-doc-hero {
  padding-bottom: 46px;
}

.agent-doc-hero h1 {
  max-width: 1120px;
  font-size: 64px;
  line-height: 1;
}

.agent-doc-hero p {
  max-width: 1080px;
  font-size: 20px;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 24px 0 64px;
}

.doc-toc {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.doc-toc strong {
  color: var(--ink);
  font-size: 13px;
}

.doc-toc a {
  color: #314244;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.doc-toc a:hover {
  color: var(--teal-strong);
}

.doc-content {
  display: grid;
  gap: 24px;
}

.doc-section {
  display: grid;
  gap: 18px;
  padding-bottom: 12px;
}

.doc-section h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.doc-section h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.agent-brief-section {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
}

.doc-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.doc-section-head > div {
  display: grid;
  gap: 10px;
}

.doc-section-head p {
  max-width: 760px;
  color: #314244;
  line-height: 1.6;
}

.copy-button {
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
}

.copy-button svg {
  width: 20px;
  height: 20px;
}

.copy-status {
  min-height: 22px;
  color: var(--teal-strong);
  font-size: 14px;
  font-weight: 800;
}

.doc-section > p,
.doc-section li {
  color: #314244;
  line-height: 1.6;
}

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

.doc-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
}

.doc-card h2,
.doc-card h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.doc-card p {
  color: var(--muted);
  font-size: 14px;
}

.doc-card span {
  align-self: end;
  color: var(--teal-strong);
  font-size: 13px;
  font-weight: 850;
}

.doc-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.doc-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.doc-note {
  border-left: 4px solid var(--teal);
  padding: 16px 18px;
  border-radius: 8px;
  color: #253437;
  background: var(--panel-soft);
  line-height: 1.55;
}

.doc-list,
.doc-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.doc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.doc-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.doc-table th,
.doc-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf1f2;
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  color: var(--teal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc-table tr:last-child td {
  border-bottom: 0;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 96px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-screen {
    min-height: 460px;
  }

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

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

  .flow-steps article::before,
  .flow-steps article::after {
    display: none;
  }

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

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

  .doc-toc {
    position: static;
  }

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

@media (max-width: 820px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero {
    gap: 34px;
    padding: 34px 0 46px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

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

  .button {
    width: 100%;
  }

  .capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .capability-strip div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .live-card-row,
  .live-preview-grid,
  .connection-showcase,
  .connection-captures,
  .download-profile-showcase,
  .link-profile-showcase,
  .sonarr-config-showcase,
  .guided-setup,
  .feature-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .live-topbar,
  .live-panel-head {
    display: grid;
    justify-content: stretch;
  }

  .mini-button {
    justify-self: start;
  }

  .relay-callout,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .relay-callout {
    display: grid;
  }

  .site-footer {
    padding: 24px 0;
  }

  .doc-hero {
    padding-top: 38px;
  }

  .agent-doc-hero h1 {
    font-size: 48px;
  }

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

  .doc-section-head {
    grid-template-columns: 1fr;
  }

  .copy-button {
    justify-self: stretch;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .site-header {
    display: grid;
    gap: 16px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .capability-strip div {
    min-height: auto;
    border-left: 0;
    padding: 0 0 0 0;
  }

  .hero-screen {
    padding: 14px;
  }

  .connection-showcase,
  .download-profile-showcase,
  .link-profile-showcase,
  .sonarr-config-showcase,
  .guided-setup {
    padding: 14px;
  }

  .live-brand {
    align-items: flex-start;
  }

  .flow,
  .screenshots,
  .reliability,
  .setup {
    padding: 42px 0;
  }
}
