:root {
  color-scheme: light;
  --bg: #f4f7f7;
  --surface: #ffffff;
  --surface-soft: #eef6f4;
  --ink: #10201c;
  --muted: #5f706a;
  --line: #d9e3e0;
  --accent: #096b63;
  --accent-strong: #064f49;
  --accent-soft: #dff2ee;
  --danger: #9f2d2d;
  --danger-bg: #ffe9e9;
  --warning: #80520c;
  --warning-bg: #fff4d7;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(246, 250, 249, 0.88);
  backdrop-filter: blur(18px);
}

.brand-mark,
.site-nav,
.hero-actions,
.result-actions {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 9px;
  font-size: 1.08rem;
  font-weight: 900;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

.site-nav {
  gap: 18px;
  color: #30433e;
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--accent);
}

.button,
.mini-button,
.text-button {
  border: 1px solid transparent;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary,
.button.ghost,
.mini-button {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.mini-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.84rem;
}

.text-button {
  min-height: 28px;
  padding: 0 8px;
  background: transparent;
  color: var(--accent);
  font-size: 0.82rem;
}

.text-button:hover {
  background: var(--accent-soft);
}

.hero-section {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(740px, 78vh);
  padding: 108px clamp(18px, 6vw, 78px) 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 28, 24, 0.82), rgba(8, 28, 24, 0.5) 44%, rgba(8, 28, 24, 0.18)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, var(--bg), rgba(244, 247, 247, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: #a4eee3;
}

.hero-content h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.seo-strip,
.tool-shell,
.content-band,
.blog-section,
.feedback-section,
.site-footer {
  max-width: 1500px;
  margin: 0 auto;
}

.seo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  transform: translateY(-24px);
}

.seo-strip div {
  padding: 18px 20px;
  background: var(--surface);
}

.seo-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.96rem;
}

.seo-strip span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.tool-shell,
.content-band,
.blog-section,
.feedback-section {
  padding: 54px clamp(16px, 3vw, 28px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 24px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2,
.feedback-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.06;
}

.section-heading p,
.feedback-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.config-panel,
.results-panel,
.feedback-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.config-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.results-panel {
  min-height: 720px;
  padding: 18px;
}

.panel-title,
.block-head,
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title h3,
.panel-title h2 {
  margin-bottom: 0;
}

.panel-title span {
  color: var(--muted);
  font-size: 0.86rem;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  font-size: 0.88rem;
  font-weight: 800;
}

.field em {
  color: var(--accent);
  font-size: 0.74rem;
  font-style: normal;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}

input,
select {
  min-height: 42px;
  padding: 0 11px;
}

textarea {
  min-height: 86px;
  resize: vertical;
  padding: 10px 11px;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 25%, transparent);
  outline-offset: 1px;
}

small {
  color: var(--muted);
  font-size: 0.78rem;
}

.checkbox-grid,
.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  color: #2a3531;
  font-size: 0.86rem;
}

.checkbox-grid input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}

.form-actions {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 10px;
  padding-top: 6px;
}

.quality-strip {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.quality-strip strong {
  display: block;
  margin-bottom: 4px;
}

.quality-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.quality-strip.warning {
  border-color: #e5be76;
  background: var(--warning-bg);
  color: var(--warning);
}

.quality-strip.danger {
  border-color: #edb6b6;
  background: var(--danger-bg);
  color: var(--danger);
}

.empty-state {
  display: grid;
  align-content: center;
  min-height: 320px;
  border: 1px dashed #bbc7c3;
  border-radius: var(--radius);
  padding: 34px;
  background: #fbfcfc;
}

.empty-state h3 {
  max-width: 540px;
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.empty-state p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.channel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.channel-tab {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
}

.channel-tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.results-list {
  display: grid;
  gap: 14px;
}

.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.result-header {
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.result-header h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.result-meta {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.output-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.output-block {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.output-block:nth-child(2n),
.output-block:last-child {
  border-right: 0;
}

.output-block.wide {
  grid-column: 1 / -1;
  border-right: 0;
}

.output-block p {
  margin-bottom: 0;
  color: #25302c;
  line-height: 1.58;
  white-space: pre-line;
}

.script-copy {
  max-width: 82ch;
}

.result-card:lang(zh) .output-block p {
  font-size: 1rem;
  line-height: 1.76;
}

.block-head {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-panel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  padding: 10px 12px;
}

.history-item strong {
  display: block;
  margin-bottom: 3px;
}

.history-item p,
.history-item span,
.history-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.content-band.muted {
  background: #eaf3f1;
}

.feature-grid,
.steps-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.feature-grid article,
.steps-grid article,
.blog-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.feature-grid span,
.blog-grid p {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid h3,
.steps-grid h3,
.blog-grid h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.feature-grid p,
.steps-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.steps-grid strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

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

.blog-grid h3 {
  min-height: 74px;
  font-size: 1.14rem;
  line-height: 1.25;
}

.blog-grid span {
  color: var(--muted);
  font-size: 0.84rem;
}

.feedback-section {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 22px;
  align-items: start;
}

.feedback-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.feedback-copy-button {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(16px, 3vw, 28px) 42px;
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 32, 28, 0.42);
}

.modal {
  display: grid;
  gap: 16px;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 24px 80px rgba(16, 32, 28, 0.24);
}

.modal-actions {
  padding-top: 0;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 40px));
  border-radius: 6px;
  background: #10201c;
  color: #ffffff;
  padding: 10px 12px;
  box-shadow: 0 12px 28px rgba(16, 32, 28, 0.22);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .workspace,
  .feedback-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps-grid,
  .blog-grid,
  .seo-strip {
    grid-template-columns: 1fr;
  }

  .results-panel {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .panel-title,
  .result-header {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-section {
    min-height: 680px;
    padding: 118px 18px 60px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  .checkbox-grid,
  .inline-fields,
  .output-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .output-block {
    border-right: 0;
  }

  .empty-state {
    min-height: 250px;
    padding: 22px;
  }
}

/* Pondfish SaaS landing refresh */
.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-weight: 950;
}

.wordmark-main {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-size: 1.28rem;
  letter-spacing: 0;
}

.wordmark-main::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -5px;
  height: 5px;
  border: 2px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: skewX(-18deg);
}

.wordmark-fin {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-left: 0;
  border-radius: 2px 12px 12px 2px;
  transform: rotate(-18deg) skewX(-10deg);
}

.brand-wordmark.small .wordmark-main {
  font-size: 1rem;
}

.landing-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.52fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: min(780px, 86vh);
  padding-top: 118px;
  background:
    linear-gradient(90deg, rgba(8, 28, 24, 0.88), rgba(8, 28, 24, 0.62) 48%, rgba(8, 28, 24, 0.34)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.landing-copy h1 {
  max-width: 960px;
}

.hero-console {
  position: relative;
  z-index: 1;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.console-label {
  margin-bottom: 8px;
  color: #a4eee3;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-console h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.signal-row {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signal-row span {
  color: rgba(255, 255, 255, 0.78);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1500px;
  margin: -24px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  position: relative;
  z-index: 2;
}

.proof-strip div {
  padding: 18px;
  background: var(--surface);
}

.proof-strip strong {
  display: block;
  margin-bottom: 5px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 92px;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.stacked-steps {
  display: grid;
  gap: 14px;
}

.stacked-steps article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.stacked-steps span {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 950;
}

.stacked-steps h3,
.audience-grid h3 {
  margin-bottom: 7px;
}

.stacked-steps p,
.audience-grid p,
.credibility-copy p,
.credibility-copy li,
.faq-list p {
  color: var(--muted);
  line-height: 1.6;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

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

.audience-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.credibility-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfc;
}

.credibility-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.pricing-section,
.faq-section,
.blog-index {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px clamp(16px, 3vw, 28px);
}

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

.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.pricing-grid p,
.blog-index p {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-grid strong {
  display: block;
  margin: 12px 0;
  font-size: 1.9rem;
}

.pricing-grid ul {
  min-height: 116px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.pricing-muted {
  background: #fbfcfc !important;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
}

.final-cta {
  max-width: 1100px;
  margin: 20px auto 54px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}

.final-cta .eyebrow {
  color: #a4eee3;
}

.final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.tool-hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 112px clamp(16px, 3vw, 28px) 18px;
}

.tool-hero h1 {
  max-width: 940px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 1.02;
}

.tool-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.compact-tool {
  padding-top: 24px;
}

.blog-hero {
  padding-bottom: 34px;
}

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

.blog-index article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.blog-index h2 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.15;
}

.blog-index span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer div {
  display: flex;
  gap: 14px;
}

@media (max-width: 1080px) {
  .landing-hero,
  .split-band,
  .credibility-band,
  .proof-strip,
  .four-up,
  .audience-grid,
  .pricing-grid,
  .blog-index {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-console {
    display: none;
  }

  .proof-strip {
    margin-top: -10px;
  }

  .stacked-steps article {
    grid-template-columns: 1fr;
  }

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

/* Homepage refinement fixes */
.stacked-steps article {
  grid-template-areas:
    "num title"
    "num copy";
  align-items: start;
}

.stacked-steps span {
  grid-area: num;
}

.stacked-steps h3 {
  grid-area: title;
  margin-bottom: 0;
}

.stacked-steps p {
  grid-area: copy;
  margin-bottom: 0;
}

.single-pricing {
  max-width: 680px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.privacy-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px clamp(16px, 3vw, 28px);
}

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

.privacy-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.privacy-grid h3 {
  margin-bottom: 8px;
}

.privacy-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

@media (max-width: 1080px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .stacked-steps article {
    grid-template-areas:
      "num"
      "title"
      "copy";
  }
}

/* Requested homepage adjustments */
.button,
.mini-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.landing-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: min(700px, 78vh);
  background-color: #eaf8f5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='150' viewBox='0 0 220 150'%3E%3Cg fill='none' stroke='%23096b63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.34'%3E%3Cpath d='M42 68c18-20 43-20 61 0-18 20-43 20-61 0Z'/%3E%3Cpath d='M42 68 23 52v32l19-16Z'/%3E%3Ccircle cx='88' cy='62' r='2.5' fill='%23096b63'/%3E%3Cpath d='M145 34c12-12 29-12 41 0-12 12-29 12-41 0Z'/%3E%3Cpath d='M145 34l-13-10v20l13-10Z'/%3E%3Ccircle cx='176' cy='30' r='2' fill='%23096b63'/%3E%3Cpath d='M128 112c16-16 37-16 53 0-16 16-37 16-53 0Z'/%3E%3Cpath d='M128 112l-16-13v26l16-13Z'/%3E%3Ccircle cx='166' cy='107' r='2.3' fill='%23096b63'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.9) 0 8%, transparent 9%),
    radial-gradient(circle at 84% 72%, rgba(181,235,225,.78) 0 10%, transparent 11%),
    linear-gradient(135deg, #f8fffd 0%, #dff4ef 48%, #eef8ff 100%);
  background-size: 260px 180px, 520px 520px, 420px 420px, auto;
  background-position: 24px 36px, -120px -120px, calc(100% + 80px) calc(100% + 80px), center;
  color: var(--ink);
}

.landing-hero .hero-overlay {
  display: none;
}

.landing-hero .eyebrow {
  color: var(--accent);
}

.landing-copy {
  max-width: 780px;
}

.landing-copy h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 1.02;
}

.landing-copy p {
  max-width: 620px;
  color: #3e524c;
}

.landing-hero .button.light {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.workflow-preview {
  display: flex;
  justify-content: center;
  margin: -4px 0 24px;
}

.product-console {
  width: min(620px, 100%);
  border-color: rgba(9, 107, 99, 0.26);
  background: #10201c;
  color: #ffffff;
}

.pricing-grid article {
  text-align: center;
}

.pricing-grid ul {
  display: inline-block;
  min-height: 0;
  text-align: left;
}

.pricing-grid .button {
  min-width: 180px;
}

.privacy-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 28px) 72px;
}

.privacy-page article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.privacy-page h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.privacy-page p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.privacy-hero h1 {
  max-width: 820px;
}

@media (max-width: 1080px) {
  .privacy-page {
    grid-template-columns: 1fr;
  }
}


/* Feedback, admin, blog publishing, and hero readability updates */
.landing-hero {
  background-color: #f3fbf8;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='178' viewBox='0 0 260 178'%3E%3Cg fill='none' stroke='%23096b63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.16'%3E%3Cpath d='M48 74c19-20 45-20 64 0-19 20-45 20-64 0Z'/%3E%3Cpath d='M48 74 28 58v32l20-16Z'/%3E%3Ccircle cx='94' cy='68' r='2.5' fill='%23096b63'/%3E%3Cpath d='M178 38c12-12 30-12 42 0-12 12-30 12-42 0Z'/%3E%3Cpath d='M178 38l-14-10v20l14-10Z'/%3E%3Ccircle cx='210' cy='34' r='2' fill='%23096b63'/%3E%3Cpath d='M148 132c16-16 38-16 54 0-16 16-38 16-54 0Z'/%3E%3Cpath d='M148 132l-17-13v26l17-13Z'/%3E%3Ccircle cx='188' cy='127' r='2.3' fill='%23096b63'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.95) 0 9%, transparent 10%),
    linear-gradient(135deg, #fbfffd 0%, #e4f6f1 52%, #f5fbff 100%);
  background-size: 340px 232px, 620px 620px, auto;
  background-position: calc(100% - 24px) 36px, -180px -160px, center;
  background-repeat: repeat, no-repeat, no-repeat;
}

.landing-copy h1,
.landing-copy p,
.landing-copy .eyebrow {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

.feedback-form small:empty {
  display: none;
}

.dynamic-blog {
  display: block;
}

.dynamic-posts {
  margin-top: 0;
}

.blog-loading,
.admin-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-empty {
  margin-top: 0;
}

.post-card {
  overflow: hidden;
}

.post-card .post-cover,
.admin-preview .post-cover {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: 190px;
  margin: -22px -22px 18px;
  object-fit: cover;
  background: var(--surface-soft);
}

.post-excerpt {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.55;
}

.post-body {
  margin-top: 14px;
}

.post-body summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 900;
}

.post-body p,
.rendered-body p {
  color: #25302c;
  line-height: 1.72;
  text-transform: none;
}

.post-body img,
.rendered-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 12px 0;
}

.post-body a,
.rendered-body a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.65fr);
  gap: 16px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 28px) 64px;
  align-items: start;
}

.admin-panel {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.post-editor {
  grid-row: span 2;
}

.editor-toolbar,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.body-editor {
  min-height: 340px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.admin-actions {
  grid-template-columns: 0.5fr 1fr;
}

.admin-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
  padding: 18px;
}

.admin-preview h2 {
  margin-bottom: 8px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  padding: 12px;
}

.admin-list-item strong {
  display: block;
  margin-bottom: 4px;
}

.admin-list-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.feedback-item {
  grid-template-columns: 1fr;
}

.feedback-item p {
  margin: 10px 0 0;
  color: #25302c;
  line-height: 1.55;
}

.danger-button {
  color: var(--danger);
}

.feedback-admin .button {
  justify-self: start;
}

@media (max-width: 1080px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .post-editor {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .admin-list-item,
  .admin-actions {
    grid-template-columns: 1fr;
  }

  .post-card .post-cover,
  .admin-preview .post-cover {
    height: 160px;
  }
}


/* Real backend admin, feedback page, and rich blog editor */
.admin-login-panel,
.feedback-page-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 28px) 72px;
}

.login-card {
  max-width: 520px;
  margin: 0 auto;
}

.rich-editor {
  min-height: 420px;
  padding: 14px;
  overflow: auto;
  line-height: 1.72;
}

.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.rich-editor h2,
.rich-editor h3,
.rendered-body h2,
.rendered-body h3 {
  margin: 1.2em 0 0.45em;
}

.rich-editor p,
.rendered-body p {
  margin: 0 0 1em;
}

.rich-editor img,
.rendered-body img,
.blog-article-detail img {
  max-width: 100%;
  border-radius: var(--radius);
}

.cover-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
  padding: 12px;
}

.cover-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.feedback-page-form {
  max-width: 760px;
  margin: 0 auto;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.blog-article-detail {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(18px, 3vw, 34px);
}

.detail-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.blog-article-detail .rendered-body {
  color: #25302c;
  font-size: 1.02rem;
  line-height: 1.78;
}

.post-card h2 a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .cover-preview {
    grid-template-columns: 1fr;
  }
}


/* Admin editor link insertion panel */
.link-panel {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) auto auto;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
  padding: 12px;
}

.link-panel[hidden] {
  display: none;
}

.link-panel .field {
  gap: 5px;
}

@media (max-width: 900px) {
  .link-panel {
    grid-template-columns: 1fr;
  }
}
