:root {
  --ink: #14222b;
  --ink-soft: #42545f;
  --paper: #fbfaf5;
  --paper-deep: #f1ecdf;
  --white: #fff;
  --red: #c83f38;
  --red-dark: #9f2f2a;
  --navy: #172f3f;
  --blue: #2f6f8f;
  --gold: #e6b85f;
  --green: #26735b;
  --amber: #9d671d;
  --line: #d9ddd9;
  --shadow: 0 22px 60px rgba(23, 47, 63, .12);
  --shadow-small: 0 8px 24px rgba(23, 47, 63, .09);
  --radius: 18px;
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 6vw, 5.35rem); }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.2rem; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow-shell { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 20px; top: -80px; background: var(--ink); color: white; padding: 10px 16px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 34, 43, .1);
  background: rgba(251, 250, 245, .94);
  backdrop-filter: blur(14px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 1.2rem; text-decoration: none; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 35px; height: 35px; display: inline-grid; place-items: center; border-radius: 8px 8px 12px 8px; background: var(--red); color: white; font-family: Georgia, serif; font-size: 1.35rem; box-shadow: 3px 3px 0 var(--ink); }
.site-header nav { display: flex; align-items: center; gap: 28px; margin-left: 10px; }
.site-header nav a, .text-link, .link-button { border: 0; background: transparent; color: var(--ink-soft); font-size: .94rem; font-weight: 680; text-decoration: none; }
.site-header nav a:hover, .text-link:hover, .link-button:hover { color: var(--red); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-actions form { display: contents; }
.button {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--red);
  border-radius: 10px;
  padding: 10px 19px;
  background: var(--red);
  color: white;
  box-shadow: 0 4px 0 var(--red-dark);
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { color: white; background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 0 #7e2925; }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-dark); }
.button-small { min-height: 40px; padding: 8px 15px; }
.button-large { min-height: 54px; padding: 14px 23px; }
.button-full { width: 100%; }
.button-secondary { border-color: var(--ink); background: transparent; color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.button-secondary:hover { background: var(--ink); color: white; box-shadow: 0 6px 0 #071118; }
.button-quiet { border-color: var(--line); background: white; color: var(--ink); box-shadow: none; }
.button-quiet:hover { background: var(--paper-deep); color: var(--ink); box-shadow: none; }
.button-danger { border-color: #a52c2c; background: #a52c2c; box-shadow: none; }
.button-danger:hover { background: #812121; box-shadow: none; }
.eyebrow { margin-bottom: 16px; color: var(--red); font-size: .76rem; font-weight: 860; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: #f2c86c; }
.hero { position: relative; overflow: hidden; padding: 86px 0 94px; background: radial-gradient(circle at 85% 35%, rgba(230, 184, 95, .18), transparent 32%), linear-gradient(180deg, #fbfaf5, #f3eee1); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(20,34,43,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,34,43,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right, transparent, black); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; }
.hero h1 { max-width: 720px; margin-bottom: 23px; }
.hero-copy .lead { max-width: 680px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.microcopy { margin: 17px 0 0; color: #64717a; font-size: .88rem; }
.proof-strip { background: var(--white); border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid span { position: relative; padding: 20px 24px 20px 42px; color: var(--ink-soft); font-weight: 700; font-size: .9rem; text-align: center; }
.proof-grid span::before { content: "✓"; position: absolute; margin-left: -25px; color: var(--green); font-weight: 900; }
.section { padding: 104px 0; }
.section-heading { max-width: 730px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading p { color: var(--ink-soft); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-small); }
.feature-card .number { display: inline-block; margin-bottom: 50px; color: var(--red); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 800; }
.feature-card p { margin-bottom: 0; color: var(--ink-soft); }
.section-dark { background: var(--navy); color: #e6edf0; }
.section-dark h2 { color: white; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list p { position: relative; margin: 0; padding: 18px 0 18px 40px; border-bottom: 1px solid rgba(255,255,255,.13); }
.check-list p::before { content: "✓"; position: absolute; left: 4px; top: 17px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; text-align: center; line-height: 24px; }
.final-cta { text-align: center; background: var(--gold); }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { margin-bottom: 27px; font-size: 1.1rem; }
.page-hero { padding: 80px 0 55px; text-align: center; }
.page-hero > div { max-width: 820px; }
.page-hero p { color: var(--ink-soft); font-size: 1.2rem; }
.content-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 100px; }
.content-cards article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.content-cards article p { margin: 0; color: var(--ink-soft); }
.pricing-section { padding: 72px 0 105px; }
.pricing-intro { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.pricing-grid, .billing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pricing-card, .billing-card { position: relative; display: flex; flex-direction: column; padding: 29px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-small); }
.pricing-card.featured { border: 2px solid var(--red); transform: translateY(-9px); }
.pricing-card .plan-name, .billing-card > span { font-weight: 850; }
.price, .billing-card > strong { display: block; margin: 18px 0; font-family: Georgia, serif; font-size: 2.65rem; line-height: 1; }
.price small, .billing-card > strong small { font-family: inherit; font-size: .95rem; color: var(--ink-soft); }
.pricing-card ul { flex: 1; margin: 0 0 25px; padding: 0; list-style: none; }
.pricing-card li { padding: 8px 0 8px 23px; color: var(--ink-soft); }
.pricing-card li::before { content: "✓"; margin-left: -23px; margin-right: 8px; color: var(--green); font-weight: 900; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); border-radius: 99px; padding: 5px 12px; background: var(--red); color: white; font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.legal-shell { width: min(calc(100% - 40px), 780px); margin: auto; padding: 75px 0 110px; }
.legal-shell h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.legal-shell .legal-intro { color: var(--ink-soft); font-size: 1.17rem; }
.legal-callout { margin-top: 35px; padding: 22px; border-left: 4px solid var(--gold); background: white; }
.newsroom-scene {
  position: relative;
  height: 450px;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: #deeced;
  box-shadow: 10px 12px 0 var(--ink), var(--shadow);
  isolation: isolate;
}
.newsroom-scene::before { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: #cba36b; border-top: 3px solid var(--ink); }
.newsroom-scene::after { content: ""; position: absolute; left: 8%; right: 8%; top: 42px; height: 93px; border: 2px solid var(--ink); background: #f7f0dc; box-shadow: 5px 6px 0 rgba(20,34,43,.18); transform: rotate(-1deg); z-index: -1; }
.paper-stack { position: absolute; bottom: 54px; width: 125px; z-index: 4; }
.paper-stack i { display: block; height: 22px; margin-top: -7px; border: 2px solid var(--ink); background: #f9f3e3; box-shadow: 2px 2px 0 rgba(20,34,43,.22); transform: skew(-5deg); }
.paper-stack i::after { content: ""; display: block; width: 58%; height: 3px; margin: 7px 8px; background: var(--ink-soft); opacity: .45; box-shadow: 0 6px 0 rgba(66,84,95,.4); }
.stack-left { left: 25px; transform: rotate(-3deg); }
.stack-right { right: 18px; transform: rotate(4deg); }
.open-paper { position: absolute; z-index: 5; left: 50%; bottom: 33px; width: 218px; height: 126px; padding: 16px; border: 2px solid var(--ink); background: #fff9e8; transform: translateX(-50%) perspective(200px) rotateX(6deg); box-shadow: 5px 7px 0 rgba(20,34,43,.28); }
.open-paper::before { content: "THE DAILY WARD"; display: block; padding-bottom: 7px; border-bottom: 3px double var(--ink); font-family: Georgia, serif; font-size: 14px; font-weight: 900; text-align: center; letter-spacing: .08em; }
.open-paper > span { display: block; width: 86%; height: 4px; margin-top: 8px; background: #75828a; }
.open-paper > span:nth-child(3) { width: 65%; }
.open-paper .headline-line { height: 8px; width: 72%; background: var(--red); }
.newsboy { position: absolute; z-index: 7; left: 50%; bottom: 142px; width: 172px; height: 243px; transform: translateX(-50%); animation: newsroom-search 5s ease-in-out infinite; transform-origin: 50% 100%; }
.face { position: absolute; z-index: 3; left: 53px; top: 47px; width: 77px; height: 82px; border: 3px solid var(--ink); border-radius: 43% 48% 44% 50%; background: #e8b27f; box-shadow: inset -8px -5px 0 rgba(171,89,48,.14); }
.cap { position: absolute; z-index: 5; left: 35px; top: 20px; width: 102px; height: 50px; border: 3px solid var(--ink); border-radius: 48% 58% 16% 18%; background: var(--navy); transform: rotate(-5deg); }
.cap::after { content: ""; position: absolute; right: -28px; bottom: -3px; width: 48px; height: 13px; border: 3px solid var(--ink); border-radius: 50%; background: var(--navy); transform: rotate(6deg); }
.cap span { position: absolute; left: 47%; top: -5px; width: 3px; height: 48px; background: rgba(255,255,255,.23); transform: rotate(10deg); }
.ear { position: absolute; left: -12px; top: 36px; width: 18px; height: 23px; border: 3px solid var(--ink); border-radius: 50%; background: #e8b27f; }
.eye { position: absolute; right: 18px; top: 27px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 4.5s infinite; }
.nose { position: absolute; right: -9px; top: 39px; width: 17px; height: 14px; border: 3px solid var(--ink); border-left: 0; border-radius: 0 60% 60% 0; background: #e8b27f; }
.face::after { content: ""; position: absolute; right: 14px; bottom: 15px; width: 25px; height: 10px; border-bottom: 3px solid var(--ink); border-radius: 50%; }
.body { position: absolute; z-index: 2; left: 37px; top: 118px; width: 105px; height: 121px; border: 3px solid var(--ink); border-radius: 31px 31px 13px 13px; background: #4e86a2; }
.body::before { content: ""; position: absolute; inset: 45px -3px -3px; border: 3px solid var(--ink); border-radius: 0 0 10px 10px; background: #355f79; }
.suspender { position: absolute; z-index: 2; top: 4px; width: 10px; height: 76px; background: #edc36c; border-inline: 2px solid var(--ink); }
.suspender.one { left: 22px; transform: rotate(-4deg); }
.suspender.two { right: 22px; transform: rotate(4deg); }
.arm { position: absolute; z-index: 6; left: 105px; top: 132px; width: 68px; height: 24px; border: 3px solid var(--ink); border-radius: 18px; background: #4e86a2; transform: rotate(46deg); transform-origin: left center; animation: arm-scan 3s ease-in-out infinite; }
.hand { position: absolute; right: -13px; top: -1px; width: 23px; height: 23px; border: 3px solid var(--ink); border-radius: 50%; background: #e8b27f; }
.magnifier { position: absolute; z-index: 8; left: 142px; top: 176px; width: 54px; height: 54px; border: 6px solid var(--ink); border-radius: 50%; background: rgba(214,242,246,.52); animation: lens-scan 3s ease-in-out infinite; }
.magnifier::after { content: ""; position: absolute; left: -34px; top: -19px; width: 41px; height: 8px; border: 3px solid var(--ink); border-radius: 8px; background: var(--gold); transform: rotate(45deg); }
.magnifier span { position: absolute; inset: 8px; border-radius: 50%; border-top: 4px solid rgba(255,255,255,.7); transform: rotate(-35deg); }
.signal-card { position: absolute; z-index: 2; border: 2px solid var(--ink); border-radius: 5px; padding: 7px 10px; background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 900; letter-spacing: .12em; box-shadow: 3px 3px 0 var(--ink); animation: card-float 4s ease-in-out infinite; }
.card-one { left: 33px; top: 56px; transform: rotate(-7deg); }
.card-two { right: 32px; top: 111px; background: #ef8b72; transform: rotate(6deg); animation-delay: -1.7s; }
@keyframes newsroom-search { 0%, 100% { transform: translateX(-50%) rotate(-1deg); } 50% { transform: translateX(-50%) rotate(2deg) translateY(3px); } }
@keyframes arm-scan { 0%, 100% { transform: rotate(44deg); } 50% { transform: rotate(57deg); } }
@keyframes lens-scan { 0%, 100% { transform: translate(-3px,-1px); } 50% { transform: translate(15px,7px); } }
@keyframes blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(.08); } }
@keyframes card-float { 0%,100% { margin-top: 0; } 50% { margin-top: -7px; } }
.messages { position: relative; z-index: 30; padding-top: 14px; }
.message { padding: 12px 16px; border: 1px solid #b9d2c8; border-radius: 10px; background: #edf7f3; color: #165342; }
.message.error { border-color: #e0b6b4; background: #fff0ef; color: #842923; }
.auth-section { padding: 70px 0 100px; }
.auth-shell { width: min(calc(100% - 40px), 1030px); margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: center; }
.auth-intro h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.auth-intro > p { color: var(--ink-soft); font-size: 1.1rem; }
.plain-checks { margin: 28px 0 0; padding: 0; list-style: none; }
.plain-checks li { margin: 10px 0; padding-left: 29px; font-weight: 680; }
.plain-checks li::before { content: "✓"; margin-left: -29px; margin-right: 11px; color: var(--green); }
.form-card, .panel, .result-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-small); }
.form-card { padding: 34px; }
.form-card.wide { padding: 38px; }
.form-card h1 { font-size: 2.3rem; }
.form-card h2 { font-family: inherit; font-size: 1.45rem; letter-spacing: -.02em; }
.form-grid { display: grid; gap: 17px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .87rem; font-weight: 780; }
.field input, .field select, .field textarea, .auth-card form p input {
  width: 100%;
  min-height: 47px;
  border: 1px solid #bec8cb;
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border .15s, box-shadow .15s;
}
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .auth-card form p input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,143,.15); }
.field small, .field .helptext { display: block; margin-top: 5px; color: #64717a; font-size: .8rem; }
.errorlist { margin: 5px 0 0; padding: 0; color: #a52c2c; font-size: .83rem; list-style: none; }
.form-errors { margin-bottom: 18px; padding: 11px 13px; border-radius: 8px; background: #fff0ef; color: #842923; font-size: .9rem; }
.check-field { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 22px; font-size: .88rem; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; }
.form-foot, .form-links { margin: 22px 0 0; color: var(--ink-soft); font-size: .9rem; text-align: center; }
.form-links { display: flex; justify-content: space-between; }
.form-actions, .heading-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-section { min-height: 63vh; padding: 75px 20px; display: grid; place-items: center; }
.auth-card, .result-card { width: min(100%, 500px); }
.result-card { padding: 45px; text-align: center; }
.result-card h1 { font-size: 2.6rem; }
.result-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; background: var(--paper-deep); color: var(--ink); font-size: 1.65rem; font-weight: 900; }
.result-icon.success { background: #ddefe7; color: var(--green); }
.result-icon.attention { background: #f8e4dc; color: #9d3b2f; }
.muted { color: #66747c; }
.app-section { min-height: 66vh; padding: 55px 0 100px; background: #f5f5f0; }
.app-heading { display: flex; justify-content: space-between; gap: 25px; align-items: flex-end; margin: 20px 0 32px; }
.app-heading.compact { margin-bottom: 25px; }
.app-heading h1 { margin-bottom: 7px; font-family: inherit; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.04em; }
.app-heading p { margin: 0; color: var(--ink-soft); }
.back-link { display: inline-block; color: var(--ink-soft); font-size: .88rem; font-weight: 730; text-decoration: none; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.metric-grid article { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.metric-grid span, .metric-grid small { display: block; color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.metric-grid strong { display: block; margin: 7px 0 3px; font-size: 2rem; line-height: 1; }
.app-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 22px; }
.panel { padding: 25px; }
.panel-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 17px; }
.panel-heading h2, .panel > h2 { margin: 0; font-family: inherit; font-size: 1.15rem; letter-spacing: -.02em; }
.panel-heading > span:not(.status) { display: grid; min-width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--paper-deep); font-size: .8rem; font-weight: 800; }
.publication-list { margin: 0 -10px; }
.publication-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 10px; border-top: 1px solid #edf0ed; color: var(--ink); text-decoration: none; }
.publication-row:hover { border-radius: 9px; background: #faf9f5; color: var(--ink); }
.publication-row strong, .publication-row small { display: block; }
.publication-row small { margin-top: 3px; color: var(--ink-soft); font-size: .78rem; }
.row-meta { display: flex; align-items: center; gap: 16px; text-align: right; }
.status { display: inline-flex; align-items: center; width: fit-content; border-radius: 99px; padding: 5px 9px; background: #eef1f1; color: #4c5c64; font-size: .69rem; font-weight: 840; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.status-active, .status-connected, .status-published, .status-ready { background: #e1f2ea; color: #1f684f; }
.status-shadow, .status-draft, .status-leased, .status-publishing { background: #e3eff5; color: #2e617b; }
.status-attention, .status-needs-attention { background: #f9e8d6; color: #8b5514; }
.status-paused, .status-skipped, .status-not-connected, .status-not_connected { background: #eee; color: #606970; }
.quick-panel { display: flex; flex-direction: column; gap: 5px; }
.quick-panel > h2 { margin-bottom: 8px; }
.quick-panel a { display: block; padding: 14px 5px; border-top: 1px solid #edf0ed; color: var(--ink); text-decoration: none; }
.quick-panel a strong, .quick-panel a span { display: block; }
.quick-panel a span { color: var(--ink-soft); font-size: .77rem; }
.empty-inline { padding: 25px 10px 10px; text-align: center; }
.empty-inline p { color: var(--ink-soft); }
.activity-panel { margin-top: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; border-top: 1px solid #e7ebe8; text-align: left; font-size: .86rem; }
th { color: var(--ink-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.connection-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.connection-summary > div { padding: 18px; border-radius: 11px; background: var(--paper); }
.connection-summary span, .connection-summary small, .settings-summary dt { display: block; color: var(--ink-soft); font-size: .76rem; }
.connection-summary strong { display: block; margin: 3px 0; }
.setup-steps { margin: 5px 0 25px; padding-left: 26px; color: var(--ink-soft); }
.setup-steps li { padding: 5px 0 5px 6px; }
.inline-connect { padding-top: 20px; border-top: 1px solid var(--line); }
.danger-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.danger-row p { margin: 0; color: var(--ink-soft); font-size: .84rem; }
.settings-summary dl { margin: 17px 0 23px; }
.settings-summary dl > div { padding: 11px 0; border-top: 1px solid #edf0ed; }
.settings-summary dd { margin: 2px 0 0; font-weight: 740; }
.notice { margin: 20px 0; padding: 14px 17px; border-left: 4px solid var(--amber); border-radius: 5px; background: #fff7e8; }
.notice.success { border-color: var(--green); background: #edf7f3; }
.notice p { margin: 3px 0 0; color: var(--ink-soft); }
.credential-list, .member-list { margin-bottom: 22px; }
.credential-list > div, .member-list > div { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf0ed; }
.credential-list strong, .credential-list small, .member-list strong, .member-list small { display: block; }
.credential-list small, .member-list small { color: var(--ink-soft); font-size: .78rem; }
.provider-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e1f2ea; }
.provider-form { margin-top: 15px; }
.security-note, .billing-note { margin: 23px 0 0; padding: 13px 16px; border-radius: 8px; background: var(--paper); color: var(--ink-soft); font-size: .82rem; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--navy); color: white; font-size: .72rem; font-weight: 850; }
.member-list .role { margin-left: auto; border-radius: 99px; padding: 4px 9px; background: var(--paper-deep); font-size: .72rem; font-weight: 800; }
.billing-card.current { border: 2px solid var(--green); }
.billing-card p { flex: 1; color: var(--ink-soft); font-size: .88rem; }
.site-footer { padding: 65px 0 25px; background: #102530; color: #aebbc1; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 45px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid strong { color: white; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a { color: #c7d1d5; font-size: .87rem; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-brand { color: white !important; font-size: 1.15rem !important; }
.footer-grid p { max-width: 280px; margin-top: 5px; font-size: .86rem; }
.copyright { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }
@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .newsroom-scene { width: min(100%, 580px); margin: auto; }
  .pricing-grid, .billing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .content-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-card:last-child, .content-cards article:last-child { grid-column: 1 / -1; }
  .auth-shell { grid-template-columns: 1fr; gap: 35px; }
  .auth-intro { text-align: center; }
  .plain-checks { display: inline-block; text-align: left; }
  .app-grid, .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 22px; }
}
@media (max-width: 720px) {
  .shell, .narrow-shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-shell { min-height: 67px; gap: 12px; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-actions .text-link { display: none; }
  .nav-actions { gap: 8px; }
  .hero { padding: 58px 0 70px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .newsroom-scene { height: 400px; box-shadow: 6px 7px 0 var(--ink); }
  .paper-stack { width: 102px; }
  .stack-left { left: 8px; }
  .stack-right { right: 5px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding: 8px 0; }
  .proof-grid span { padding: 12px 10px 12px 30px; text-align: left; }
  .section { padding: 72px 0; }
  .feature-grid, .content-cards, .split, .metric-grid { grid-template-columns: 1fr; }
  .feature-card:last-child, .content-cards article:last-child { grid-column: auto; }
  .split { gap: 35px; }
  .pricing-grid, .billing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .form-grid.two, .form-grid.three, .connection-summary { grid-template-columns: 1fr; }
  .form-card, .form-card.wide, .panel, .result-card { padding: 22px; }
  .app-heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { width: 100%; justify-content: space-between; }
  .row-meta { flex-direction: column; gap: 4px; align-items: flex-end; }
  .danger-row { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .brand > span:last-child { display: none; }
  .newsroom-scene { height: 365px; }
  .newsboy { transform: translateX(-50%) scale(.88); transform-origin: center bottom; animation: none; }
  .open-paper { width: 190px; }
  .signal-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .site-footer, .button, .messages { display: none !important; }
  body { background: white; color: black; }
}
