:root {
  color-scheme: dark;
  --bg: #06101a;
  --bg-deep: #02070d;
  --bg-band: #071827;
  --surface: rgba(9, 24, 38, 0.82);
  --surface-strong: rgba(11, 31, 48, 0.95);
  --line: rgba(212, 169, 94, 0.34);
  --line-cool: rgba(108, 166, 177, 0.24);
  --text: #f5f0e7;
  --muted: #c6d0d4;
  --soft: #8ea0aa;
  --gold: #d7a85d;
  --gold-strong: #f0c875;
  --teal: #6aa6b1;
  --ink: #050a10;
  --danger: #ffb3a7;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 168, 93, 0.1), transparent 24rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 28rem, #04111c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--ink);
  background: var(--gold-strong);
  border-radius: 4px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
  padding: 0 5vw;
  background: rgba(3, 9, 15, 0.72);
  border-bottom: 1px solid rgba(212, 169, 94, 0.16);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(3, 9, 15, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--gold);
}

.brand-mark svg,
.about-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark path,
.about-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .mark-arc,
.about-mark path:nth-last-child(-n + 2) {
  stroke-width: 2.2;
  opacity: 0.76;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 0.18rem;
  color: var(--soft);
  font-size: 0.76rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.primary-nav a,
.footer-nav a,
.text-link {
  transition: color 180ms ease, border-color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-strong);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  color: var(--gold-strong);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
  background: var(--gold-strong);
  border-color: var(--gold-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(212, 169, 94, 0.38);
  border-radius: 4px;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold-strong);
}

.hero {
  position: relative;
  min-height: 88vh;
  padding-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.96) 0%, rgba(3, 10, 17, 0.91) 36%, rgba(3, 10, 17, 0.28) 68%, rgba(3, 10, 17, 0.34) 100%),
    linear-gradient(180deg, rgba(2, 7, 13, 0.35), rgba(2, 7, 13, 0.92) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - 10vw));
  min-height: calc(88vh - var(--header-height));
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero-copy {
  width: min(640px, 100%);
}

.hero h1,
.section h2,
.clarity-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 620px;
  font-size: 4.95rem;
}

.hero h1::after {
  content: "";
  display: block;
  width: 5.4rem;
  height: 2px;
  margin-top: 1.4rem;
  background: linear-gradient(90deg, var(--gold-strong), transparent);
}

.hero-copy p {
  max-width: 570px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.55;
}

.hero-actions,
.clarity-layout,
.form-row,
.newsletter-form {
  display: flex;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  color: var(--ink);
  background: linear-gradient(180deg, #f1cf82, var(--gold));
  border-color: rgba(240, 200, 117, 0.8);
  box-shadow: 0 14px 32px rgba(215, 168, 93, 0.18);
}

.button-secondary,
.button-quiet {
  color: var(--text);
  background: rgba(7, 24, 39, 0.72);
  border-color: rgba(212, 169, 94, 0.55);
}

.button-quiet {
  color: var(--muted);
  border-color: rgba(108, 166, 177, 0.38);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-quiet:hover,
.button-quiet:focus-visible {
  color: var(--gold-strong);
  border-color: var(--gold-strong);
}

.trust-strip {
  border-top: 1px solid rgba(212, 169, 94, 0.22);
  border-bottom: 1px solid rgba(212, 169, 94, 0.22);
  background: rgba(4, 15, 25, 0.96);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 104px;
  padding: 1.1rem 1.25rem;
  border-left: 1px solid rgba(212, 169, 94, 0.2);
}

.trust-item:last-child {
  border-right: 1px solid rgba(212, 169, 94, 0.2);
}

.trust-icon {
  flex: 0 0 auto;
  width: 38px;
  color: var(--gold);
}

.trust-icon svg,
.service-icon svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.section {
  position: relative;
  border-bottom: 1px solid rgba(212, 169, 94, 0.18);
}

.section-inner {
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section h2,
.clarity-section h2 {
  font-size: 2.75rem;
}

.section h3 {
  margin: 0;
  color: var(--gold-strong);
  font-size: 1.25rem;
  line-height: 1.2;
}

.section p {
  color: var(--muted);
}

.section-heading p,
.section-lead {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.services-section {
  background:
    linear-gradient(180deg, rgba(5, 19, 31, 0.98), rgba(3, 13, 22, 0.98)),
    var(--bg-band);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 280px;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  border-left: 1px solid var(--line);
}

.service-icon {
  display: block;
  width: 52px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.service-card p {
  margin: 0.8rem 0 0;
}

.method-section {
  background:
    linear-gradient(90deg, rgba(9, 24, 38, 0.96), rgba(4, 12, 20, 0.96)),
    var(--bg);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.6fr;
  gap: 2.5rem;
  align-items: start;
}

.method-copy p:last-child {
  max-width: 460px;
}

.clear-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: rgba(4, 13, 22, 0.7);
  box-shadow: var(--shadow);
}

.clear-steps article {
  position: relative;
  min-height: 224px;
  padding: 1.45rem 1rem 1.2rem;
  border-right: 1px solid var(--line);
}

.clear-steps article:last-child {
  border-right: 0;
}

.clear-steps span {
  display: block;
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.clear-steps h3 {
  margin-top: 0.55rem;
  color: var(--text);
  font-size: 1rem;
}

.clear-steps p {
  margin: 0.65rem 0 0;
  font-size: 0.94rem;
}

.training-section {
  background:
    linear-gradient(180deg, rgba(5, 15, 24, 0.95), rgba(7, 24, 39, 0.95)),
    var(--bg);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.45fr;
  gap: 3rem;
  align-items: start;
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid rgba(212, 169, 94, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-copy p {
  margin: 0.85rem 0 0;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.64rem;
  height: 0.64rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--bg-band);
}

.content-section {
  background:
    linear-gradient(180deg, rgba(6, 16, 26, 0.98), rgba(3, 9, 15, 0.98)),
    var(--bg-deep);
}

.content-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.32fr;
  gap: 3rem;
  align-items: center;
}

.content-copy p:last-child {
  max-width: 500px;
}

.workflow-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.1rem;
  align-items: center;
}

.workflow-column {
  display: grid;
  gap: 0.7rem;
}

.workflow-column span {
  min-height: 48px;
  padding: 0.82rem 1rem;
  color: var(--muted);
  background: rgba(8, 24, 38, 0.8);
  border: 1px solid rgba(108, 166, 177, 0.28);
  border-radius: 6px;
  font-weight: 700;
}

.workflow-core {
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(212, 169, 94, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(14, 40, 58, 0.78), rgba(4, 14, 23, 0.88));
  box-shadow: var(--shadow);
}

.workflow-mark {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.workflow-core strong {
  max-width: 8rem;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.clarity-section {
  background:
    linear-gradient(90deg, rgba(9, 24, 38, 0.96), rgba(4, 11, 18, 0.96)),
    var(--bg);
}

.clarity-layout {
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.clarity-layout div {
  max-width: 650px;
}

.clarity-section p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.newsletter-section {
  background: rgba(4, 15, 25, 0.98);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.newsletter-copy p {
  margin-bottom: 0;
}

.newsletter-form {
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem;
  background: rgba(4, 13, 22, 0.72);
  border: 1px solid rgba(212, 169, 94, 0.28);
  border-radius: 8px;
}

.form-row {
  flex: 1 1 210px;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-row label span {
  color: var(--soft);
  font-weight: 500;
}

.form-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 0.9rem;
  color: var(--text);
  background: rgba(2, 7, 13, 0.82);
  border: 1px solid rgba(108, 166, 177, 0.36);
  border-radius: 4px;
  outline: none;
}

.form-row input:focus {
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 3px rgba(215, 168, 93, 0.16);
}

.newsletter-form .button {
  align-self: end;
  min-width: 160px;
}

.form-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.form-note.is-error {
  color: var(--danger);
}

.form-note.is-success {
  color: var(--gold-strong);
}

.about-section {
  background:
    linear-gradient(180deg, rgba(4, 13, 22, 0.98), rgba(2, 7, 13, 0.98)),
    var(--bg-deep);
}

.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-mark {
  width: 190px;
  color: rgba(215, 168, 93, 0.62);
}

.about-layout p {
  max-width: 820px;
}

.text-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--gold-strong);
  font-weight: 800;
  border-bottom: 1px solid rgba(215, 168, 93, 0.5);
}

.site-footer {
  background: #02070d;
  border-top: 1px solid rgba(212, 169, 94, 0.22);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 2rem;
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.footer-brand p,
.footer-meta p {
  color: var(--soft);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  align-content: start;
  color: var(--muted);
}

.footer-meta {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  justify-items: end;
  color: var(--soft);
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--gold-strong);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .method-layout,
  .split-layout,
  .content-layout,
  .newsletter-layout {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(3, 9, 15, 0.98);
    border-bottom: 1px solid rgba(212, 169, 94, 0.22);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(212, 169, 94, 0.12);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 13, 0.96), rgba(2, 7, 13, 0.72)),
      linear-gradient(180deg, rgba(2, 7, 13, 0.22), rgba(2, 7, 13, 0.96));
  }

  .hero-inner {
    min-height: calc(760px - var(--header-height));
    width: min(var(--max), calc(100% - 2rem));
    padding: 4.4rem 0 3rem;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .trust-item {
    min-height: 96px;
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid rgba(212, 169, 94, 0.2);
  }

  .section-inner {
    width: min(var(--max), calc(100% - 2rem));
    padding: 4rem 0;
  }

  .section h2,
  .clarity-section h2 {
    font-size: 2.2rem;
  }

  .clear-steps {
    grid-template-columns: 1fr;
  }

  .clear-steps article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .clear-steps article:last-child {
    border-bottom: 0;
  }

  .workflow-map {
    grid-template-columns: 1fr;
  }

  .workflow-core {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .clarity-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-mark {
    width: 150px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    width: min(var(--max), calc(100% - 2rem));
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 720px;
  }

  .hero-inner {
    min-height: calc(720px - var(--header-height));
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .hero-actions .button,
  .clarity-layout .button,
  .newsletter-form .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .trust-strip-inner,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:last-child,
  .service-card,
  .service-card:first-child,
  .service-card:nth-child(odd) {
    border-left: 0;
    border-right: 0;
  }

  .trust-item + .trust-item,
  .service-card + .service-card,
  .service-card:nth-child(-n + 2) {
    border-top: 1px solid rgba(212, 169, 94, 0.2);
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
    padding: 1.6rem 0;
  }

  .service-grid {
    border-left: 0;
    border-right: 0;
  }

  .feature-panel,
  .newsletter-form {
    padding: 1.2rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
