/* Default theme — modern SaaS-style. Light by default, dark-mode aware,
   sectioned layout that pairs with the bundled templates (saas-marketing,
   finance-blog, docs-site) and any custom content built from core blocks.

   Design tokens are CSS variables so sites can override accent / type
   without forking the theme. */

/* Self-hosted Inter — kills the FOUC from external font fetches. The
   variable font ships all weights in one file (~344KB). size-adjust
   tunes the system fallback's x-height to match Inter so the swap is
   visually invisible. */
@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2-variations'),
       url('fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 100%;
}

/* Tuned fallback face — when Inter is still loading, the system fallback
   uses these metric overrides so character widths + x-height roughly
   match Inter's. Cuts the visible swap to a flash you barely catch. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('-apple-system'), local('BlinkMacSystemFont'), local('Segoe UI'),
       local('Roboto'), local('Helvetica Neue'), local('Arial');
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 107%;
}

:root {
  /* Palette */
  --fg:            #0f172a;
  --fg-muted:     #475569;
  --fg-soft:      #64748b;
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-muted:     #f1f5f9;
  --bg-dark:      #0f172a;
  --border:       #e2e8f0;
  --border-soft:  #f1f5f9;

  /* Accent — easy to override per site via settings/theme.json later */
  --accent:        #4f46e5;
  --accent-hover:  #4338ca;
  --accent-soft:   #eef2ff;
  --accent-fg:     #ffffff;

  /* Typography */
  --font-sans:    'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --leading:      1.6;

  /* Layout */
  --container:    1140px;
  --container-narrow: 740px;
  --radius:       8px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow:      0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg:   0 12px 32px rgba(15, 23, 42, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg:           #e2e8f0;
    --fg-muted:     #94a3b8;
    --fg-soft:      #64748b;
    --bg:           #0b1120;
    --bg-soft:      #111827;
    --bg-muted:     #1f2937;
    --bg-dark:      #020617;
    --border:       #1f2937;
    --border-soft:  #111827;
    --accent-soft:  #1e1b4b;
    --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow:       0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg:    0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/var(--leading) var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.8; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Site header & footer ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}
.site-nav a {
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--fg);
  opacity: 1;
}

.content-main { min-height: 60vh; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 6rem;
  background: var(--bg-soft);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.site-footer__brand strong { font-size: 1.1rem; }
.site-footer__brand .site-tagline { color: var(--fg-muted); margin: 0.25rem 0 0; font-size: 0.9rem; }
.site-footer__copy { color: var(--fg-muted); font-size: 0.85rem; margin: 0; }

/* ---------- Page (kind=page) ---------- */

.page-single .page-body { padding: 0; }

/* ---------- Post (kind=post) ---------- */

.post-single { padding: 3rem 0; }
.post-single .post-header {
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: var(--container-narrow);
}
.post-single .post-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.post-meta {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}
.post-hero { margin: 2rem 0 0; }
.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.post-body { max-width: var(--container-narrow); padding-bottom: 2rem; }
.post-body p, .post-body ul, .post-body ol { font-size: 1.08rem; }
.post-footer { max-width: var(--container-narrow); }
.post-terms {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.post-terms a {
  background: var(--bg-muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: var(--fg);
  font-weight: 500;
}
.post-terms a:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- List view (blog index, term archives) ---------- */

.post-list { max-width: var(--container-narrow); margin: 0 auto; padding: 4rem 1.5rem; }
.list-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
}
.post-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.post-card:first-child { padding-top: 0; }
.post-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.post-card__title a { color: var(--fg); }
.post-card__title a:hover { color: var(--accent); opacity: 1; }
.post-card__meta { color: var(--fg-muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.post-card__excerpt { color: var(--fg-muted); margin: 0 0 0.75rem; }
.post-card__more a { font-weight: 600; font-size: 0.95rem; }

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pagination a { font-weight: 500; }

.empty { color: var(--fg-muted); padding: 5rem 0; text-align: center; }

/* ============================================================
   BLOCK STYLES — every core/* block partial
   ============================================================ */

/* Page-body blocks span the full container width by default — matches
   the site header so marketing layouts feel coherent edge-to-edge.
   Text-only blocks (paragraph / list / quote / code) constrain
   themselves to a reading-comfortable inner column via the rules
   below, but they're CENTERED within the full container so they look
   like part of a wide page, not a narrow blog. */
.page-body > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-body > h1,
.page-body > h2,
.page-body > h3 {
  text-align: center;
}

/* Headings — wide on pages, narrow on posts. The first H1 on a page
   gets a hero-style readable line length (clamp 2.25rem ↔ 3.5rem). */
.page-body > h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 4rem auto 1.5rem;
  max-width: 880px;       /* readable hero line length */
}
.page-body > h1:first-child {
  margin-top: 5rem;
  text-align: center;
}
.post-body > h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 4rem auto 1.5rem;
  max-width: var(--container-narrow);
}

.page-body > h2, .post-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 3.5rem auto 1.25rem;
}
.page-body > h3, .post-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem auto 0.75rem;
}
.page-body h4, .post-body h4 { font-size: 1.15rem; font-weight: 700; margin: 1.75rem auto 0.5rem; }
.page-body h5, .post-body h5 { font-size: 1rem; font-weight: 700; margin: 1.5rem auto 0.5rem; }
.page-body h6, .post-body h6 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-muted); margin: 1.5rem auto 0.5rem; }

/* Paragraphs — text constrained to readable inner column, but the
   block itself spans the page container so it sits centered. */
.page-body > p, .post-body > p {
  margin: 0 auto 1.25rem;
  color: var(--fg);
  max-width: 720px;
}
.page-body > p:first-child,
.page-body > h1 + p {
  font-size: 1.2rem;
  color: var(--fg-muted);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 720px;
}
/* Lists, quotes, code blocks: same inner reading column on pages. */
.page-body > ul,
.page-body > ol,
.page-body > .block-list,
.page-body > .block-quote,
.page-body > .block-code,
.page-body > .block-markdown,
.page-body > .block-html,
.page-body > .block-table {
  max-width: 720px;
}
.align-center { text-align: center; }
.align-right  { text-align: right; }
.align-left   { text-align: left; }

/* Lists */
.block-list {
  padding-left: 1.5rem;
  margin: 1rem auto 1.5rem;
}
.block-list li { margin-bottom: 0.5rem; }

/* Quote */
.block-quote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 1.5rem;
  margin: 2rem auto;
  color: var(--fg);
  font-size: 1.15rem;
  font-style: italic;
}
.block-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--fg-muted);
}

/* Code */
.block-code {
  background: var(--bg-muted);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font: 0.9rem/1.5 var(--font-mono);
  margin: 1.75rem auto;
  border: 1px solid var(--border);
}
.block-code code { background: transparent; padding: 0; }
.post-body code:not(pre code), .page-body code:not(pre code) {
  background: var(--bg-muted);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: var(--font-mono);
}

/* Embed */
.block-embed {
  margin: 2rem auto;
  border-radius: var(--radius);
  overflow: hidden;
}
.block-embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; }

/* Separator */
.block-separator {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 4rem auto;
}
.block-separator.style-dots { border-top-style: dotted; }
.block-separator.style-wide {
  width: 4rem;
  border-top-width: 3px;
  border-color: var(--accent);
  margin: 5rem auto;
}

/* Image — reserve space via aspect-ratio so the page doesn't reflow
   when the photo loads. Cumulative-layout-shift killer. */
.block-image {
  margin: 2rem auto;
}
.block-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.block-image.size-inline img { aspect-ratio: 16 / 10; }
.block-image figcaption {
  color: var(--fg-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.75rem;
}

/* Gallery — fixed square cells so loading doesn't shift the grid. */
.block-gallery {
  display: grid;
  gap: 0.75rem;
  margin: 2rem auto;
}
.block-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: color-mix(in srgb, currentColor 6%, transparent);
}

/* Columns */
.block-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 3rem auto;
}
.block-columns .column,
.block-columns > .block-group {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.block-columns .column:hover,
.block-columns > .block-group:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.block-columns h3,
.block-columns .block-group h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.block-columns p,
.block-columns .block-group p {
  margin: 0;
  color: var(--fg-muted);
  text-align: left;
}
.block-columns .block-list { margin: 1rem 0 1.25rem; }
.block-columns .block-button { margin: 1rem 0 0; }

/* Group (when not nested in columns) */
.page-body > .block-group {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem auto;
}

/* HTML + Markdown block (sanitized) */
.block-html, .block-markdown { margin: 1rem auto 1.5rem; }

/* Table */
.block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem auto;
  font-size: 0.95rem;
}
.block-table th, .block-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
}
.block-table th {
  background: var(--bg-muted);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}

/* Button */
.block-button {
  margin: 2rem auto;
  text-align: center;
}
.button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}
.button:hover { text-decoration: none; opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow); }
.button:active { transform: translateY(0); }
.button.style-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--shadow-sm);
}
.button.style-primary:hover { background: var(--accent-hover); }
.button.style-secondary {
  background: var(--bg-muted);
  color: var(--fg);
  border: 1px solid var(--border);
}
.button.style-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.button.style-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
}

/* CTA — big, prominent, gradient bg */
.block-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--accent-fg);
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  margin: 4rem auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.block-cta h3 {
  color: var(--accent-fg);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.block-cta p {
  color: var(--accent-fg);
  opacity: 0.95;
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  text-align: center;
}
.block-cta .button.style-primary {
  background: var(--accent-fg);
  color: var(--accent);
  font-weight: 700;
}
.block-cta .button.style-primary:hover {
  background: var(--accent-fg);
  opacity: 0.92;
}

/* Feature row — alternating text + image. Looks like the SaaS-landing
   "Comprehensive business lifecycle management" pattern. */
.block-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 5rem auto;
  max-width: var(--container);
}
.block-feature-row.is-reverse .block-feature-row__text { order: 2; }
.block-feature-row.is-reverse .block-feature-row__media { order: 1; }
.block-feature-row__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.block-feature-row__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
.block-feature-row__body {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.block-feature-row__body p { margin: 0 0 0.75rem; }
.block-feature-row__body p:last-child { margin-bottom: 0; }
.block-feature-row__body ul { padding-left: 1.25rem; }
.block-feature-row__cta { margin: 1.5rem 0 0; }
.block-feature-row__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: color-mix(in srgb, currentColor 6%, transparent);
}
@media (max-width: 768px) {
  .block-feature-row { grid-template-columns: 1fr; gap: 2rem; margin: 3rem auto; }
  .block-feature-row.is-reverse .block-feature-row__text { order: 1; }
  .block-feature-row.is-reverse .block-feature-row__media { order: 2; }
}

/* Logo strip — trusted-by section */
.block-logo-strip {
  text-align: center;
  margin: 4rem auto;
  padding: 2rem 0;
}
.block-logo-strip__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin: 0 0 2rem;
}
.block-logo-strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  filter: grayscale(100%);
  opacity: 0.65;
}
.block-logo-strip__logos img {
  max-height: 32px;
  width: auto;
}
.block-logo-strip__logos:hover { filter: none; opacity: 1; }

/* Stats — row of headline KPIs */
.block-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.block-stats__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}
.block-stats__label {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Testimonial */
.block-testimonial {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem auto;
  border: 1px solid var(--border);
  max-width: var(--container-narrow);
}
.block-testimonial__quote {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--fg);
}
.block-testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}
.block-testimonial__avatar {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.block-testimonial__name { font-weight: 600; }
.block-testimonial__role { color: var(--fg-muted); font-size: 0.9rem; }

/* Fallback (unknown block type) */
.block-fallback {
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--fg-muted);
  margin: 1rem auto;
  font-style: italic;
  text-align: center;
}

/* ============================================================
   Hero pattern — when a page starts with H1 + paragraph + button,
   the first H1 / paragraph / button get hero treatment via the
   :first-child selectors above. The button below H1 + paragraph
   gets extra padding for visual breathing room.
   ============================================================ */
.page-body > h1:first-child + p + .block-button {
  margin-bottom: 4rem;
}

/* ============================================================
   Forms (block-form) — uses the same vars as testimonial / cards so
   light + dark mode both pick up the right palette.
   ============================================================ */
.block-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 2rem auto;
  padding: 1.75rem;
  background: var(--bg-soft);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.block-form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.block-form__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}
.block-form__req { color: var(--accent); }
.block-form__field input,
.block-form__field textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.block-form__field input::placeholder,
.block-form__field textarea::placeholder {
  color: var(--fg-soft);
}
.block-form__field input:focus,
.block-form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.block-form__consent {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0.25rem 0 0;
}
.block-form__submit { align-self: flex-start; margin-top: 0.5rem; }
.block-form__msg {
  font-size: 0.85rem;
  color: #ef4444;
  min-height: 1.2em;
}
.block-form__success {
  padding: 1.25rem;
  margin: 0;
  text-align: center;
  color: var(--fg);
  font-weight: 500;
}

/* Mobile tightening */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: 1rem 0; }
  .site-nav ul { gap: 1rem; }
  .site-nav a { font-size: 0.9rem; }
  .post-single { padding: 2rem 0; }
  .block-columns { grid-template-columns: 1fr; gap: 1rem; }
  .block-cta { padding: 2.5rem 1.25rem; margin: 2rem auto; }
  .block-form { padding: 1.25rem; }
}
