:root {
  --ink: #111111;
  --cream: #f6f0e7;
  --traffic-red: #d94841;
  --canal-green: #2e6f57;
  --sun-yellow: #e9b949;
  --concrete: #c8c2b8;
  --river-blue: #2e6171;
  --paper: #fffdf8;
  --muted: #5f564f;
  --card: rgba(255, 251, 244, 0.76);
  --border: rgba(17, 17, 17, 0.08);
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 72, 65, 0.15), transparent 28%),
    radial-gradient(circle at bottom right, rgba(46, 111, 87, 0.14), transparent 26%),
    linear-gradient(180deg, #fff9f0 0%, #f7efe4 45%, #fffdfa 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(17, 17, 17, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
}

.page-glow-one {
  top: -8rem;
  right: -6rem;
  background: rgba(233, 185, 73, 0.45);
}

.page-glow-two {
  bottom: -8rem;
  left: -8rem;
  background: rgba(46, 97, 113, 0.28);
}

.site-header,
.site-footer,
.section-shell {
  width: min(1180px, calc(100vw - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-kicker,
.eyebrow,
.panel-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

main {
  padding: 2rem 0 4rem;
}

.section-shell {
  position: relative;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 32px;
  background: rgba(255, 252, 246, 0.62);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.page-hero {
  min-height: unset;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
  min-height: 70vh;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 9ch;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  max-width: 12ch;
}

.hero-copy,
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-text,
.section-heading p,
.feature-panel p,
.info-card p,
.mini-card p,
.pricing-card p,
.site-footer p,
.hero-highlights,
.final-cta p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-solid {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.18);
}

.button-outline {
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.button-ghost {
  color: var(--ink);
  background: rgba(233, 185, 73, 0.24);
}

.hero-highlights {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.2rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--traffic-red);
}

.member-gated {
  position: relative;
  border-radius: 22px;
}

.member-gated.compact {
  padding: 0.4rem;
}

.member-gated.is-locked > :not(.member-gate-overlay) {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.member-gate-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1rem;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 253, 248, 0.95), rgba(246, 240, 231, 0.92));
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.12);
}

.member-gate-overlay p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.member-gated:not(.is-locked) .member-gate-overlay {
  display: none;
}

.hero-card-stack {
  display: grid;
  gap: 1rem;
  align-content: end;
}

.feature-panel,
.info-card,
.mini-card,
.pricing-card {
  border-radius: 28px;
  padding: 1.35rem;
  background: var(--card);
  border: 1px solid rgba(17, 17, 17, 0.07);
}

.feature-panel-main {
  min-height: 18rem;
  background: linear-gradient(160deg, rgba(217, 72, 65, 0.12), rgba(255, 253, 248, 0.88) 42%, rgba(46, 97, 113, 0.12));
}

.feature-panel h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric-number {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.metric-label {
  color: var(--muted);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid-three,
.business-grid {
  grid-template-columns: repeat(3, 1fr);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-card {
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.08);
  display: grid;
  gap: 0.6rem;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.blog-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(17, 17, 17, 0.04);
}

.blog-detail-shell h1 {
  margin: 0.2rem 0 0.5rem;
}

.blog-detail-cover {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  margin: 0.6rem 0 0.9rem;
}

.blog-meta {
  color: var(--muted);
  margin: 0;
  font-weight: 700;
}

.blog-body {
  display: grid;
  gap: 0.7rem;
}

.blog-body h1,
.blog-body h2,
.blog-body h3,
.blog-body h4,
.blog-body h5,
.blog-body h6 {
  margin: 0.6rem 0 0.2rem;
  font-family: "Fraunces", serif;
}

.blog-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.blog-body ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.blog-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  padding: 0.1rem 0.4rem;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.blog-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.blog-figure figcaption {
  padding: 0.7rem 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.accent-red {
  border-top: 5px solid rgba(217, 72, 65, 0.7);
}

.accent-green {
  border-top: 5px solid rgba(46, 111, 87, 0.7);
}

.accent-blue {
  border-top: 5px solid rgba(46, 97, 113, 0.7);
}

.accent-gold {
  border-top: 5px solid rgba(233, 185, 73, 0.75);
}

.info-card h3,
.mini-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.top-gap {
  margin-top: 1rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.tight h2 {
  max-width: 10ch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(233, 185, 73, 0.12));
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.price-note {
  font-weight: 800;
  color: var(--muted);
}

.pricing-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.language-section {
  display: grid;
  gap: 1.25rem;
}

.language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.language-pills a,
.language-pills span {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.language-pills a:hover {
  border-color: rgba(17, 17, 17, 0.2);
  transform: translateY(-1px);
}

.panel-block {
  border-radius: 28px;
  padding: 1.35rem;
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.checkout-grid,
.dashboard-grid,
.field-grid {
  display: grid;
  gap: 1rem;
}

.checkout-grid,
.dashboard-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.field-label {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-weight: 700;
}

.field-label.full,
.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.form-shell {
  display: grid;
  gap: 1rem;
}

.status-box {
  margin: 1rem 0 0;
  padding: 1rem 1rem;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--muted);
}

.status-box.warning {
  background: rgba(233, 185, 73, 0.18);
  color: var(--ink);
}

.provider-card {
  margin-top: 1rem;
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.qr-preview {
  margin-top: 1rem;
  width: min(18rem, 100%);
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: white;
}

.table-shell {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(46, 97, 113, 0.88));
  color: var(--paper);
}

.final-cta p,
.final-cta .eyebrow {
  color: rgba(255, 251, 244, 0.82);
}

.final-cta .button-solid {
  background: var(--sun-yellow);
  color: var(--ink);
}

.final-cta .button-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--paper);
}

.final-cta .button-outline {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-end;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .grid-four,
  .grid-three,
  .business-grid,
  .media-grid,
  .blog-grid,
  .blog-gallery,
  .checkout-grid,
  .dashboard-grid,
  .field-grid,
  .metrics-strip,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .site-header,
  .section-shell {
    width: min(100vw - 1rem, 100%);
    padding: 1.1rem;
    border-radius: 22px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .button {
    width: 100%;
  }
}
