﻿:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-strong: #f0f3f7;
  --ink: #101828;
  --muted: #667085;
  --soft: #98a2b3;
  --line: #d9dee7;
  --brand: #0e7490;
  --brand-strong: #155e75;
  --accent: #f97316;
  --success: #15803d;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(14, 116, 144, 0.08), rgba(246, 247, 249, 0) 360px),
    var(--bg);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0, transparent 520px);
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 48px;
  padding-top: 8px;
  backdrop-filter: blur(18px);
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

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

.brand-lockup > div {
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: #101828;
  color: #ffffff;
  font-weight: 800;
}

.brand-lockup h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lockup p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.is-active {
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.top-nav a.is-active {
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-card {
  display: block;
  margin-bottom: 28px;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 0 12px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.subtitle {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(820px, 100%);
  padding: 10px;
}

.search-panel input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.search-panel input::placeholder {
  color: var(--soft);
}

.search-panel input:focus {
  border-color: rgba(14, 116, 144, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}

button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.16);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

#analyzeBtn {
  min-width: 118px;
  background: var(--brand);
}

#analyzeBtn:hover {
  background: var(--brand-strong);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-shell[hidden] {
  display: none;
}

.status-shell {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status {
  color: var(--ink);
  font-weight: 800;
}

.notice {
  display: none;
  min-height: 20px;
  color: var(--danger);
  font-size: 0.93rem;
  font-weight: 800;
}

.notice.show {
  display: block;
}

.progress-shell {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e7ec;
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.25s ease;
}

.progress-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

#result {
  margin-top: 24px;
}
.home-ad-section {
  display: grid;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.home-ad-mid {
  margin-top: 34px;
}

.ad-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.home-ad-placeholder {
  min-height: 120px;
  padding: 20px;
  border: 1px dashed rgba(15, 118, 140, 0.32);
  border-radius: var(--radius);
  background: #f8fbff;
  text-align: center;
}

.home-ad-placeholder p {
  margin: 0;
  color: var(--muted);
}
body.modal-open {
  overflow: hidden;
}

.analysis-modal[hidden] {
  display: none;
}

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.analysis-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.58);
  backdrop-filter: blur(8px);
}

.analysis-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(900px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 22px;
  background: var(--surface);
}

.analysis-modal-header {
  padding-right: 44px;
}

.analysis-modal-header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.12;
}

.analysis-modal-body {
  display: grid;
  gap: 12px;
}

.modal-progress {
  display: grid;
  gap: 16px;
}

.flow-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.modal-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-progress-row strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.modal-progress-row span {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.google-ad-slot {
  width: 100%;
  min-height: 180px;
}

.ad-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
}

.media-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.media-info h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.media-info p {
  margin: 0;
  color: var(--muted);
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
}

.formats {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.format-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.format-label {
  margin: 0 0 5px;
  color: var(--ink);
  font-weight: 900;
}

.format-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-btn {
  min-width: 116px;
  background: var(--success);
}

.ad-gate,
.download-ready {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
}

.ad-gate-header h2,
.download-ready h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.ad-gate-header p,
.download-ready p,
.ad-gate-note {
  margin: 0;
  color: var(--muted);
}

.ad-gate-note {
  font-size: 1rem;
  line-height: 1.5;
}

.ad-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 800;
}

.ad-slot {
  display: grid;
  min-height: 190px;
  place-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(15, 118, 140, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 140, 0.1), rgba(37, 99, 235, 0.08)),
    #ffffff;
}

.ad-slot span {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.ad-slot p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.ad-continue-btn,
.final-download-link {
  justify-self: start;
}

.ad-continue-btn {
  background: var(--brand);
}

.final-download-link {
  background: var(--success);
}

.error,
.empty {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.error {
  background: #fef3f2;
  color: var(--danger);
}

.empty {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
}

.feature-grid,
.blog-card-grid,
.blog-list {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.feature-card,
.blog-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.tool-benefits {
  margin-top: 56px;
}

.section-header.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-header.centered p {
  max-width: 820px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.benefit-card {
  min-height: 190px;
  padding: 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #65a30d;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.benefit-card p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.platform-section {
  margin-top: 64px;
  padding: 18px 0 8px;
}

.platform-intro {
  max-width: 980px;
  margin: 0 auto 36px;
  text-align: center;
}

.platform-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.platform-intro p {
  margin: 0 auto;
  max-width: 900px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 58px;
  max-width: 1060px;
  margin: 0 auto;
}

.platform-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.platform-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: #65a30d;
}

.platform-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-item h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.platform-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.feature-card h2,
.blog-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.feature-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blog-preview {
  margin-top: 46px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.section-header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.blog-card a {
  text-decoration: none;
}

.blog-card-image,
.post-hero-image {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.post-hero-image {
  max-width: 760px;
  aspect-ratio: 16 / 8.5;
  margin: 18px 0 20px;
}

.blog-card h3 a:hover {
  color: var(--brand);
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.post-card-meta span {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--surface-strong);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.keyword-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.keyword-list-large {
  margin-bottom: 28px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.read-more:hover {
  color: var(--brand-strong);
}

.page-hero {
  max-width: 860px;
  margin: 0 auto 22px;
  padding: 28px;
}

.page-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.page-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.page-cta {
  margin-top: 8px;
  background: var(--brand);
}

.blog-post p {
  max-width: 720px;
}

.blog-post h3 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.post-meta {
  color: var(--brand) !important;
  font-weight: 900;
}

.post-summary {
  font-size: 1.08rem;
}

.article-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-section p {
  margin: 0 0 14px;
}

.faq-section details {
  max-width: 760px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.faq-section summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
}

.faq-section details p {
  margin: 0;
  padding: 0 16px 16px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 32px;
  background:
    radial-gradient(circle at 8% 0%, rgba(25, 167, 184, 0.34), transparent 34%),
    linear-gradient(135deg, #0b1220 0%, #111827 52%, #083344 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.22);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.footer-brand-row,
.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  font-weight: 950;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.footer-brand h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1;
}

.footer-brand p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.footer-cta:hover,
.footer-cta:focus-visible {
  transform: translateY(-1px);
  background: #e6fbff;
  outline: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.15fr;
  gap: 18px;
}

.footer-section {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-section h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a,
.footer-section li {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-section p {
  margin: 0 0 10px;
}

.footer-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section li + li {
  margin-top: 0;
}

.footer-section a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  text-decoration: none;
}

.footer-section a:hover,
.footer-section a:focus-visible {
  background: rgba(25, 167, 184, 0.22);
  color: #ffffff;
  outline: none;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .media-card,
  .feature-grid,
  .benefit-grid,
  .platform-grid,
  .blog-card-grid,
  .blog-list,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .platform-intro {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1180px);
    padding-top: 12px;
  }

  .hero {
    margin-bottom: 30px;
  }

  .hero-top,
  .status-row,
  .modal-progress-row,
  .format-item {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-top {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .brand-lockup {
    width: 100%;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-lockup h3 {
    font-size: 0.98rem;
  }

  .brand-lockup p {
    font-size: 0.8rem;
  }

  .top-nav {
    display: none;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
    white-space: normal;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  #analyzeBtn,
  .download-btn {
    width: 100%;
  }

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

  .hero-chips span {
    justify-content: center;
  }

  .platform-section {
    margin-top: 48px;
  }

  .platform-grid {
    gap: 24px;
  }

  .platform-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .platform-item h3 {
    font-size: 1.14rem;
  }

  .platform-item p {
    font-size: 0.98rem;
  }

  .status-row {
    display: grid;
    gap: 6px;
  }

  .progress-label {
    white-space: normal;
  }

  .analysis-modal {
    padding: 12px;
  }

  .analysis-modal-panel {
    max-height: 88vh;
    padding: 16px;
  }

  .site-footer,
  .page-hero {
    padding: 20px;
  }

  .footer-brand-row,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-cta {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-lockup {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .brand-lockup h3 {
    font-size: 0.92rem;
  }

  .brand-lockup p {
    display: none;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .footer-section {
    padding: 14px;
  }

  .footer-tags span,
  .footer-section a {
    width: 100%;
    justify-content: center;
  }

}


