:root {
  --ground: #FAFAF7;
  --band: #F2EFE8;
  --white: #FFFFFF;
  --ink: #1C1C1A;
  --body: #4A4843;
  --muted: #5E5B55;
  --line: #E6E2DA;
  --line-strong: #D9D4CA;
  --field: #C9C3B8;
  --accent: #2F4A3A;
  --accent-dark: #233829;
  --accent-soft: #E4EBE6;
  --placeholder: #E9E4DA;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

h1, h2, h3 { font-family: Jost, Inter, sans-serif; margin: 0; color: var(--ink); }
p { margin: 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: Jost, sans-serif; font-size: 24px; font-weight: 500; letter-spacing: 0.04em; }
.brand-tag { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 6px 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 12px; font-size: 13px; }
.lang a { text-decoration: none; color: var(--muted); padding: 6px 2px; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 300; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.01em; }
.hero .lead { font-size: 19px; color: var(--body); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { flex: 1 1 520px; min-width: 0; }
.hero-media img { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; background: var(--placeholder); }

/* Audiences */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audiences { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.audience { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.audience h2 { font-weight: 400; font-size: 24px; line-height: 1.25; }
.audience p { color: var(--body); }
.audience a { font-weight: 500; margin-top: auto; padding-top: 4px; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section h2.big { font-weight: 300; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.brand-card { display: flex; flex-direction: column; gap: 16px; }
.brand-card .photo { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; background: var(--placeholder); }
.brand-card .photo-empty {
  width: 100%;
  aspect-ratio: 6 / 5;
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Jost, sans-serif;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.brand-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
.brand-meta h3 { font-weight: 400; font-size: 24px; }
.brand-meta span { font-size: 14px; color: var(--muted); text-align: right; }

/* Steps */
.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 20px; }
.step .num { font-family: Jost, sans-serif; font-size: 15px; color: var(--muted); }
.step h3 { font-weight: 400; font-size: 22px; }
.step p { color: var(--body); }

/* Why */
.why { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.why-media { flex: 1 1 460px; min-width: 0; }
.why-media img { width: 100%; height: clamp(300px, 36vw, 500px); object-fit: cover; background: var(--placeholder); }
.why-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.why-text h2 { font-weight: 300; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; }
.values { display: flex; flex-direction: column; gap: 18px; }
.values h3 { font-weight: 500; font-size: 19px; margin-bottom: 2px; }
.values p { color: var(--body); }

/* Reseller band */
.reseller { background: var(--accent); color: var(--white); }
.reseller-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.reseller-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.reseller h2 { color: var(--white); font-weight: 300; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; }
.reseller p { font-size: 18px; color: var(--accent-soft); max-width: 620px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; }
.contact-info .intro { color: var(--body); }
.person { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.person .name { font-family: Jost, sans-serif; font-size: 20px; }
.person .role, .person .place { color: var(--muted); font-size: 15px; }
.form-wrap { flex: 1 1 520px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 500; }
.form-field .req { color: var(--accent); margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--field);
  background: var(--white);
  padding: 12px 14px;
  min-height: 46px;
  border-radius: 0;
  width: 100%;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-field [aria-invalid="true"] { border-color: #A3352B; }
.field-error { color: #A3352B; font-size: 14px; }
.form-error { color: #A3352B; margin-bottom: 14px; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { color: var(--muted); font-size: 14px; }
.form-status { color: var(--muted); }
.thanks { border: 1px solid var(--line-strong); background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.thanks h3 { font-weight: 400; font-size: 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--band); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 1000px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header { position: static; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .main-nav { order: 3; width: 100%; gap: 4px 20px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .brands, .steps, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact { gap: 40px; }
}
/* Journal, post and legal pages */
.page-title { font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-card a { text-decoration: none; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.post-card a:hover h2 { color: var(--accent); }
.post-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--placeholder); }
.post-cover-empty { display: block; }
.post-card-body { display: flex; flex-direction: column; gap: 10px; }
.post-card h2 { font-weight: 400; font-size: 22px; line-height: 1.3; }
.post-meta { font-size: 14px; color: var(--muted); }
.post-excerpt { color: var(--body); }
.post-read { font-weight: 500; font-size: 15px; text-decoration: underline; }
.more-wrap { margin-top: 40px; }
.post-wrap { max-width: 820px; }
.post-wrap h1 { font-weight: 300; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin-bottom: 14px; }
.back { margin-bottom: 24px; font-size: 15px; }
.post-hero { width: 100%; max-height: 520px; object-fit: cover; margin: 28px 0 36px; background: var(--placeholder); }
.post-status { padding: 40px 0; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-weight: 400; font-size: 28px; line-height: 1.25; margin-top: 1.6em; }
.prose h3 { font-weight: 500; font-size: 21px; margin-top: 1.4em; }
.prose p { margin: 0 0 1em; }
.prose p:empty { display: none; }
.prose li p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: 0.4em; }
.prose li p { margin: 0; }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--line-strong); color: var(--body); }
.legal { font-size: 16px; }
.legal h2 { font-size: 22px; }
.related-title { font-weight: 400; font-size: 24px; margin-top: 56px; margin-bottom: 14px; }
.related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.post-cta { margin-top: 56px; padding: 32px; background: var(--band); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-cta h2 { font-weight: 400; font-size: 26px; }
.post-cta p { color: var(--body); }
.main-nav a[aria-current="page"] { font-weight: 600; }
@media (max-width: 1000px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .post-list { grid-template-columns: minmax(0, 1fr); } .prose { font-size: 17px; } }