:root {
  --om-bg: #f5f1e8;
  --om-surface: #fffdf8;
  --om-surface-strong: #f0e5d4;
  --om-text: #17212b;
  --om-text-soft: #4f5b66;
  --om-border: rgba(23, 33, 43, 0.12);
  --om-accent: #bb5a35;
  --om-accent-dark: #943f1f;
  --om-secondary: #0d5b63;
  --om-secondary-dark: #083e45;
  --om-shadow: 0 20px 50px rgba(23, 33, 43, 0.08);
  --om-radius: 24px;
  --om-radius-sm: 16px;
  --om-container: min(1180px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(187, 90, 53, 0.12), transparent 28%),
    radial-gradient(circle at left center, rgba(13, 91, 99, 0.08), transparent 26%),
    var(--om-bg);
  color: var(--om-text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--om-text);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

ul,
ol {
  margin: 0 0 1rem 1.25rem;
}

.om-container {
  width: var(--om-container);
  margin-inline: auto;
}

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

.om-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(245, 241, 232, 0.88);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
}

.om-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

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

.om-brand__name {
  font-weight: 800;
  font-size: 1.05rem;
}

.om-brand__tag {
  color: var(--om-text-soft);
  font-size: 0.88rem;
}

.om-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.om-nav__cta {
  display: flex;
  align-items: center;
}

.om-nav__list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.om-nav__list a {
  text-decoration: none;
  font-weight: 600;
}

.om-nav__list .current-menu-item a,
.om-nav__list a:hover {
  color: var(--om-accent-dark);
}

.om-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.om-nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--om-text);
}

.om-main {
  overflow: clip;
}

.om-breadcrumbs {
  padding: 1rem 0 0;
}

.om-breadcrumbs .om-container {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: var(--om-text-soft);
  font-size: 0.95rem;
}

.om-breadcrumbs a {
  text-decoration: none;
}

.om-hero {
  position: relative;
  padding: 5rem 0 4rem;
}

.om-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 91, 99, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 100%);
  pointer-events: none;
}

.om-hero__grid,
.om-article-shell,
.om-text-grid,
.om-compare-grid,
.om-site-footer__grid {
  display: grid;
  gap: 2rem;
}

.om-hero__grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  align-items: center;
}

.om-hero__content,
.om-hero__panel,
.om-section,
.om-entry--single,
.om-entry--page {
  position: relative;
  z-index: 1;
}

.om-hero__panel .om-panel-card,
.om-card,
.om-compare-card,
.om-sidebar-card,
.om-contact-form,
.om-post-card,
.om-faq__item {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius);
  box-shadow: var(--om-shadow);
}

.om-panel-card {
  padding: 2rem;
}

.om-panel-card__label,
.om-eyebrow,
.om-post-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--om-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.om-lead {
  max-width: 72ch;
  color: var(--om-text-soft);
  font-size: 1.12rem;
}

.om-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.om-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

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

.om-button--secondary {
  background: var(--om-secondary);
  color: #fff;
}

.om-button--ghost {
  border-color: var(--om-border);
  background: transparent;
  color: var(--om-text);
}

.om-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.om-highlight-list span {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 91, 99, 0.2);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  font-weight: 600;
}

.om-section {
  padding: 2.25rem 0;
}

.om-section--accent {
  padding-bottom: 4rem;
}

.om-section--accent .om-container {
  padding: 2.4rem;
  border-radius: calc(var(--om-radius) + 4px);
  background:
    linear-gradient(135deg, rgba(13, 91, 99, 0.93), rgba(8, 62, 69, 0.96)),
    var(--om-secondary);
  color: #f7f7f3;
  box-shadow: var(--om-shadow);
}

.om-section--accent h2,
.om-section--accent p,
.om-section--accent .om-eyebrow {
  color: inherit;
}

.om-section-heading {
  max-width: 70ch;
  margin-bottom: 1.5rem;
}

.om-card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.om-card {
  padding: 1.5rem;
}

.om-card p:last-child,
.om-card ul:last-child {
  margin-bottom: 0;
}

.om-list {
  margin: 0;
  padding-left: 1.1rem;
}

.om-list li {
  margin-bottom: 0.6rem;
}

.om-inline-link,
.om-section-link a,
.om-post-card h2 a {
  color: var(--om-accent-dark);
  text-decoration: none;
  font-weight: 700;
}

.om-text-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.om-step {
  padding: 1.4rem;
  border-radius: var(--om-radius-sm);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--om-border);
}

.om-step__index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--om-accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.om-compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-compare-card {
  padding: 1.8rem;
}

.om-compare-card--accent {
  background: linear-gradient(180deg, rgba(13, 91, 99, 0.12), rgba(13, 91, 99, 0.06)), rgba(255, 253, 248, 0.94);
}

.om-faq {
  display: grid;
  gap: 1rem;
}

.om-faq__item {
  overflow: hidden;
}

.om-faq__item summary {
  padding: 1.25rem 1.4rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.om-faq__item summary::-webkit-details-marker {
  display: none;
}

.om-faq__content {
  padding: 0 1.4rem 1.25rem;
  color: var(--om-text-soft);
}

.om-entry--page .om-section:first-child,
.om-entry--single .om-section:first-child {
  padding-top: 2rem;
}

.om-seed-article {
  display: grid;
  gap: 2rem;
}

.om-article-hero {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--om-border);
}

.om-article-section + .om-article-section {
  padding-top: 0.5rem;
}

.om-article-cta {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: var(--om-radius-sm);
  background: linear-gradient(135deg, rgba(13, 91, 99, 0.1), rgba(187, 90, 53, 0.08));
}

.om-section--article-header {
  padding-bottom: 1rem;
}

.om-article-shell {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
}

.om-article-content {
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius);
  padding: 2rem;
  box-shadow: var(--om-shadow);
}

.om-article-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.om-article-sidebar {
  align-self: start;
  position: sticky;
  top: 120px;
}

.om-sidebar-card {
  padding: 1.5rem;
}

.om-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.om-post-card {
  padding: 1.4rem;
}

.om-post-card h2 {
  font-size: 1.5rem;
}

.om-form-message {
  padding: 1rem 1.2rem;
  border-radius: var(--om-radius-sm);
  margin-bottom: 1rem;
  font-weight: 600;
}

.om-form-message--success {
  background: rgba(13, 91, 99, 0.12);
  color: var(--om-secondary-dark);
}

.om-form-message--error {
  background: rgba(187, 90, 53, 0.12);
  color: var(--om-accent-dark);
}

.om-contact-form {
  padding: 1.4rem;
}

.om-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.om-contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.om-contact-form input,
.om-contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--om-border);
  background: #fff;
  color: var(--om-text);
  font: inherit;
}

.om-site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background: #0f1821;
  color: rgba(255, 255, 255, 0.78);
}

.om-site-footer__grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.om-site-footer__title,
.om-site-footer h3 {
  color: #fff;
}

.om-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.om-footer-list li {
  margin-bottom: 0.6rem;
}

.om-footer-list a {
  text-decoration: none;
}

.om-site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.om-site-footer__bottom p {
  margin: 0;
}

.om-page .om-section:last-child {
  padding-bottom: 4rem;
}

@media (max-width: 1100px) {
  .om-card-grid--four,
  .om-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .om-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .om-nav-toggle {
    display: block;
  }

  .om-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    background: rgba(245, 241, 232, 0.98);
    border-bottom: 1px solid var(--om-border);
  }

  .om-nav.is-open {
    display: block;
  }

  .om-nav__list,
  .om-nav__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .om-nav__list {
    margin-bottom: 1rem;
  }

  .om-hero__grid,
  .om-text-grid,
  .om-compare-grid,
  .om-site-footer__grid,
  .om-article-shell {
    grid-template-columns: 1fr;
  }

  .om-card-grid,
  .om-card-grid--three,
  .om-card-grid--four,
  .om-form-grid,
  .om-post-grid {
    grid-template-columns: 1fr;
  }

  .om-article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .om-site-header__inner {
    min-height: 76px;
  }

  .om-hero {
    padding: 4.2rem 0 3rem;
  }

  .om-section {
    padding: 1.8rem 0;
  }

  .om-card,
  .om-compare-card,
  .om-step,
  .om-post-card,
  .om-contact-form,
  .om-article-content,
  .om-sidebar-card {
    padding: 1.25rem;
  }

  .om-section--accent .om-container {
    padding: 1.6rem;
  }
}
