:root {
  color-scheme: light;
  --bg: #f3f5f6;
  --surface: #ffffff;
  --ink: #10181c;
  --ink-soft: #33444b;
  --muted: #5b6b72;
  --rule: #d8dfe2;
  --accent: #0b8577;
  --accent-contrast: #ffffff;
  --hero-line: rgba(11, 133, 119, 0.06);
  --header-bg: rgba(243, 245, 246, 0.92);
  --contrast-bg: #0f1417;
  --contrast-surface: #161d22;
  --contrast-rule: #273037;
  --contrast-muted: #9aa5aa;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1417;
  --surface: #161d22;
  --ink: #e9edee;
  --ink-soft: #b9c2c6;
  --muted: #8a969d;
  --rule: #262f35;
  --accent: #2ec4b0;
  --accent-contrast: #06231f;
  --hero-line: rgba(46, 196, 176, 0.05);
  --header-bg: rgba(15, 20, 23, 0.9);
  --contrast-bg: #0a0e10;
  --contrast-surface: #161d22;
  --contrast-rule: #273037;
  --contrast-muted: #9aa5aa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.header-content,
.hero,
.section,
.section-narrow,
footer {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 11px;
}

.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a,
.header-action {
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-side {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
  gap: 68px;
  min-height: 680px;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding: 86px 0 92px;
}

.hero-copy,
.hero-panel,
.header-content > * {
  min-width: 0;
}

.eyebrow,
.panel-label,
.step-label {
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.panel-label,
.step-label {
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.45;
}

.hero-stage-note {
  margin: 18px 0 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
}

.button-secondary {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-audience {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}

.hero-audience span {
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 12px;
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.hero-audience p {
  flex-basis: 100%;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--contrast-bg);
  color: #e9edee;
  padding: 38px;
}

.panel-label {
  color: #48d6c3;
}

.hero-panel ol,
.contact-brief ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  border-top: 1px solid var(--contrast-rule);
  padding: 23px 0;
}

.hero-panel li > span,
.contact-brief li > span {
  color: #48d6c3;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.hero-panel li p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hero-panel del {
  color: #7f8b91;
  font-size: 13px;
}

.hero-panel strong {
  font-size: 17px;
  line-height: 1.35;
}

.panel-note {
  margin-top: 16px;
  border-left: 3px solid #48d6c3;
  background: var(--contrast-surface);
  padding: 18px 20px;
}

.panel-note strong {
  color: #48d6c3;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-note p {
  margin: 9px 0 0;
  color: var(--contrast-muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 112px 0;
}

.section-narrow {
  padding: 72px 0;
}

h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.focus {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  border-top: 1px solid var(--rule);
}

.focus h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  border: 1px solid var(--rule);
}

.focus-card {
  padding: 28px;
}

.focus-card + .focus-card {
  border-left: 1px solid var(--rule);
}

.focus-card-main {
  background: var(--surface);
}

.focus-card span {
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.focus-card p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.situations,
.result,
.format,
.corporate-contact {
  border-top: 1px solid var(--rule);
}

.section-heading {
  max-width: 920px;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
  border: 1px solid var(--rule);
  background: var(--rule);
  gap: 1px;
}

.situation-grid article {
  min-height: 330px;
  background: var(--surface);
  padding: 32px;
}

.card-index {
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.situation-grid h3 {
  max-width: 480px;
  margin: 74px 0 20px;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.situation-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.result {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 78px;
}

.result-intro {
  position: sticky;
  top: 32px;
  align-self: start;
}

.result-intro h2 {
  font-size: clamp(36px, 4.4vw, 58px);
}

.result-intro > p:last-child {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.deliverables {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.deliverables li {
  display: grid;
  grid-template-columns: 42px minmax(170px, 0.7fr) minmax(220px, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}

.deliverables span {
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.deliverables strong {
  font-size: 18px;
  line-height: 1.35;
}

.deliverables p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.collaboration {
  display: grid;
  grid-template-columns: 80px minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--rule);
}

.collaboration-mark {
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 36px;
  font-weight: 300;
}

.collaboration h2 {
  font-size: clamp(32px, 3.7vw, 48px);
}

.collaboration-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.collaboration-copy ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.collaboration-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.collaboration-copy li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 60px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.format-steps {
  margin-top: 58px;
  border-top: 1px solid var(--rule);
}

.format-steps article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(180px, 260px);
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  padding: 34px 0;
}

.step-number {
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
}

.step-label {
  margin-bottom: 12px;
}

.step-body h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.step-body > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.step-price {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.step-price strong {
  font-size: 22px;
}

.step-price span {
  color: var(--muted);
  font-size: 13px;
}

.corporate-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: stretch;
}

.contact-copy {
  align-self: center;
}

.contact-copy h2 {
  max-width: 760px;
}

.contact-copy > p:last-of-type {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}

.contact-brief {
  background: var(--contrast-bg);
  padding: 36px;
  color: #e9edee;
}

.contact-brief ol {
  border-top: 1px solid var(--contrast-rule);
}

.contact-brief li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--contrast-rule);
  padding: 21px 0;
  color: #c6cdd0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--rule);
  padding: 34px 0 50px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--accent);
}

footer p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: var(--ink);
}

.cookie-consent__content {
  display: grid;
  width: min(980px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(16, 24, 28, 0.2);
  padding: 22px 24px;
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.cookie-consent__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent__copy a {
  color: var(--accent);
  font-weight: 700;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-consent__button--primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
}

.cookie-consent__button--secondary {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
}

.cookie-consent__button:focus-visible,
.footer-links [data-cookie-settings]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .header-content {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .focus,
  .result,
  .collaboration,
  .split-heading,
  .corporate-contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 50px;
    padding-top: 64px;
  }

  .hero-panel {
    min-height: 520px;
  }

  .focus,
  .result,
  .collaboration,
  .corporate-contact {
    gap: 42px;
  }

  .result-intro {
    position: static;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .header-content,
  .hero,
  .section,
  .section-narrow,
  footer {
    width: min(100% - 28px, 1220px);
  }

  .header-content {
    min-height: 62px;
    gap: 12px;
  }

  .header-action {
    padding: 9px 13px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    padding: 54px 0 70px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions .button,
  .contact-actions .button {
    flex: 1 1 100%;
  }

  .hero-panel {
    min-height: 0;
    padding: 26px 22px;
  }

  .section {
    padding: 78px 0;
  }

  .section-narrow {
    padding: 58px 0;
  }

  h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .focus-grid,
  .situation-grid {
    grid-template-columns: 1fr;
  }

  .focus-card + .focus-card {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .situation-grid article {
    min-height: 300px;
    padding: 24px 22px;
  }

  .situation-grid h3 {
    margin-top: 52px;
  }

  .deliverables li {
    grid-template-columns: 34px 1fr;
  }

  .deliverables p {
    grid-column: 2;
  }

  .format-steps article {
    grid-template-columns: 38px 1fr;
    gap: 18px;
  }

  .step-price {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .contact-brief {
    padding: 28px 22px;
  }

  footer {
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .cookie-consent__content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 19px;
  }

  .cookie-consent__actions {
    display: grid;
  }

  .cookie-consent__button--primary {
    grid-row: 1;
  }
}
