:root {
  --color-bg: #ffffff;
  --color-surface: #f5f4f8;
  --color-text: #1a1d23;
  --color-muted: #6b7280;
  --color-accent: #5b21b6;
  --color-accent-dark: #46158f;
  --color-border: #e3e0ea;
  --font-head: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1140px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.05rem);
}

h2 {
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.05rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  padding-left: 1.2em;
}

.od-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.od-skip {
  position: absolute;
  left: -9999px;
}

.od-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 60;
  background: #fff;
  padding: 10px 16px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
}

.od-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.od-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 16px;
}

.od-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -.02em;
}

.od-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--color-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 700;
}

.od-nav {
  display: none;
}

.od-nav--open {
  display: block;
}

.od-nav__list {
  list-style: none;
  margin: 0;
  padding: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.od-nav__link {
  display: block;
  padding: 9px 2px;
  color: var(--color-text);
  text-decoration: none;
  font-size: .97rem;
  border-bottom: 1px solid var(--color-border);
}

.od-nav__link:hover {
  color: var(--color-accent);
}

.od-burger {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  border-radius: var(--radius);
  width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 10px 11px;
}

.od-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}

.od-hero {
  padding: 44px 0 34px;
  border-bottom: 1px solid var(--color-border);
}

.od-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .73rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 14px;
}

.od-hero__lead {
  font-size: 1.09rem;
  color: var(--color-muted);
  max-width: 62ch;
}

.od-hero__media {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.od-hero__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.od-figure {
  margin: 0;
}

.od-figure__caption {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--color-muted);
  padding: 10px 14px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.od-section {
  padding: 46px 0;
  border-bottom: 1px solid var(--color-border);
}

.od-section--surface {
  background: var(--color-surface);
}

.od-section__head {
  max-width: 66ch;
  margin-bottom: 26px;
}

.od-section__kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 0 10px;
}

.od-section__intro {
  color: var(--color-muted);
  margin: 0;
}

.od-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.od-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.od-card__num {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 10px;
}

.od-card__title {
  margin: 0 0 .5em;
  font-size: 1.1rem;
}

.od-card__text {
  margin: 0;
  color: var(--color-muted);
  font-size: .96rem;
}

.od-featured {
  display: grid;
  gap: 24px;
  align-items: start;
}

.od-featured__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.od-featured__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.od-featured__body p:last-child {
  margin-bottom: 0;
}

.od-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.od-post {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}

.od-post__media img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.od-post__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.od-post__meta {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .71rem;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 0 10px;
}

.od-post__title {
  font-size: 1.08rem;
  margin: 0 0 .55em;
}

.od-post__title a {
  color: var(--color-text);
  text-decoration: none;
}

.od-post__title a:hover {
  color: var(--color-accent);
}

.od-post__text {
  color: var(--color-muted);
  font-size: .95rem;
  margin: 0 0 16px;
}

.od-post__more {
  margin-top: auto;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.od-longread {
  max-width: 72ch;
}

.od-longread h3 {
  margin-top: 1.7em;
}

.od-rule {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 30px 0;
}

.od-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.od-faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 17px 34px 17px 0;
  font: inherit;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
}

.od-faq__q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--color-accent);
  line-height: 1;
}

.od-faq__q[aria-expanded="true"]::after {
  content: "\2212";
}

.od-faq__a {
  padding: 0 0 18px;
  color: var(--color-muted);
  font-size: .96rem;
}

.od-faq__a p:last-child {
  margin-bottom: 0;
}

.od-cta {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
}

.od-cta h2 {
  color: #fff;
  margin-bottom: .4em;
}

.od-cta p {
  color: rgba(255, 255, 255, .88);
  max-width: 60ch;
}

.od-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--color-accent);
  cursor: pointer;
}

.od-btn:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.od-btn--light {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
}

.od-btn--light:hover {
  background: #f1eefa;
  border-color: #f1eefa;
}

.od-article {
  padding: 40px 0 46px;
}

.od-article__wrap {
  max-width: 74ch;
}

.od-breadcrumb {
  font-size: .84rem;
  color: var(--color-muted);
  margin: 0 0 16px;
}

.od-breadcrumb a {
  color: var(--color-muted);
}

.od-article__meta {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 0 20px;
}

.od-article__figure {
  margin: 0 0 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.od-article__figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.od-article__wrap h2 {
  margin-top: 1.6em;
}

.od-callout {
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96rem;
}

.od-callout p:last-child {
  margin-bottom: 0;
}

.od-legal {
  padding: 40px 0 48px;
}

.od-legal__wrap {
  max-width: 70ch;
}

.od-legal__wrap h2 {
  font-size: 1.24rem;
  margin-top: 1.7em;
}

.od-legal__wrap dt {
  font-weight: 600;
  margin-top: .8em;
}

.od-legal__wrap dd {
  margin: 0 0 .3em;
  color: var(--color-muted);
}

.od-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.od-form__field {
  display: grid;
  gap: 6px;
}

.od-form__label {
  font-size: .87rem;
  font-weight: 600;
}

.od-form__input,
.od-form__textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
}

.od-form__input:focus,
.od-form__textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.od-form__textarea {
  min-height: 130px;
  resize: vertical;
}

.od-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.od-form__note {
  font-size: .84rem;
  color: var(--color-muted);
  margin: 0;
}

.od-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.od-store {
  margin: 0;
}

.od-store__note {
  font-size: .84rem;
  color: var(--color-muted);
  margin: 10px 0 0;
}

.od-credits {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--color-muted);
}

.od-credits li {
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
}

.od-404 {
  padding: 70px 0 80px;
  text-align: center;
}

.od-404__code {
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin: 0 0 12px;
}

.od-footer {
  background: #14121c;
  color: #cfcbdb;
  padding: 40px 0 26px;
  font-size: .93rem;
}

.od-footer a {
  color: #cfcbdb;
  text-decoration: none;
}

.od-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.od-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.od-footer__title {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 700;
  margin: 0 0 12px;
}

.od-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.od-footer__list li {
  padding: 4px 0;
}

.od-footer__about {
  margin: 0;
  color: #9d98ad;
  max-width: 40ch;
}

.od-footer__bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #2a2637;
  color: #8b8699;
  font-size: .85rem;
}

.od-cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  padding: 18px;
  display: none;
}

.od-cookie--visible {
  display: block;
}

.od-cookie__text {
  margin: 0 0 14px;
  font-size: .9rem;
  color: var(--color-muted);
}

.od-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.od-cookie__btn {
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.od-cookie__btn--ghost {
  background: var(--color-bg);
  color: var(--color-accent);
}

@media (min-width: 860px) {
  .od-burger {
    display: none;
  }

  .od-nav {
    display: block;
  }

  .od-nav__list {
    flex-direction: row;
    gap: 22px;
    padding: 0;
  }

  .od-nav__link {
    border-bottom: 0;
    padding: 4px 0;
  }

  .od-hero {
    padding: 62px 0 46px;
  }

  .od-hero__media img {
    height: 420px;
  }

  .od-section {
    padding: 60px 0;
  }

  .od-featured {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
  }

  .od-featured__media img {
    height: 320px;
  }

  .od-article__figure img {
    height: 380px;
  }

  .od-cta {
    padding: 40px 38px;
  }

  .od-cookie {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 420px;
  }
}
