:root {
  --color-accent-soft: #6f9dff;
  --color-accent: #0a3eff;
  --color-accent-deep: #10296e;
  --color-bg: #ffffff;
  --color-surface: #f8f8f8;
  --color-surface-2: #f4f4f4;
  --color-border-soft: #e2e2e2;
  --color-border: #d3d3d3;
  --color-text-muted: #878787;
  --color-text-subtle: #5f5f5f;
  --color-text: #202020;
  --shadow-soft: 0 24px 80px rgba(16, 41, 110, 0.08);
  --shadow-card: 0 16px 40px rgba(16, 41, 110, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container-width: 1200px;
  --header-height: 88px;
  --font-display: "Switzer", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --space-section: 112px;
  --space-section-mobile: 80px;
  --text-body: 1.04rem;
  --text-body-mobile: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, rgba(111, 157, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

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

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

button,
a.button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container-width));
  margin: 0 auto;
}

.section {
  padding: var(--space-section) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(248, 248, 248, 0.66), rgba(244, 244, 244, 0.92));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(211, 211, 211, 0.75);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.brand-mark-accent {
  color: #e64059;
}

.brand-tagline {
  color: var(--color-text-subtle);
  max-width: none;
  font-size: 0.68rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-text-subtle);
  font-size: 0.95rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

.button-primary:hover {
  background: #143fff;
}

.button-secondary {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
}

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

.button-light {
  background: #ffffff;
  color: var(--color-accent-deep);
  font-weight: 600;
}

.hero {
  padding-top: 88px;
  padding-bottom: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: end;
}

.hero-headline h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-headline h1 span {
  display: block;
}

.hero-headline h1 span:nth-child(2) {
  font-style: italic;
}

.hero-copy {
  max-width: 460px;
  justify-self: end;
}

.hero-copy p {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.68;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 52px;
}

.section-heading-centered {
  display: block;
  margin-bottom: 56px;
  text-align: center;
}

.section-heading-copy h2 {
  margin: 0;
  max-width: 700px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading-centered .section-heading-copy h2 {
  max-width: none;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 700;
}

.section-heading-copy p {
  margin: 18px 0 0;
  max-width: 580px;
  color: var(--color-text-subtle);
  font-size: var(--text-body);
  line-height: 1.72;
}

.section-heading-centered .section-heading-copy p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.72;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.capability-card,
.offering-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(211, 211, 211, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.capability-card {
  min-height: 240px;
  padding: 28px;
}

.capability-card-wide {
  grid-column: 1 / -1;
}

.capability-card h3,
.offering-card h4 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.capability-card p,
.offering-card p {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: var(--text-body);
  line-height: 1.68;
}

.services-section {
  padding-bottom: 144px;
  background:
    radial-gradient(circle at 80% 20%, rgba(10, 62, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.services-intro {
  margin-bottom: 10px;
}

.services-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-tab {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(211, 211, 211, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-text-subtle);
  font: inherit;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-tab:hover {
  transform: translateY(-1px);
  border-color: var(--color-accent-soft);
}

.service-tab.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.services-panels {
  position: relative;
}

.service-panel {
  position: static;
  min-height: auto;
  margin: 0;
  padding: 0;
  opacity: 1;
  transform: none;
  filter: none;
}

.service-panel[hidden] {
  display: none;
}

.service-panel-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  min-height: auto;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 248, 0.95));
  border: 1px solid rgba(211, 211, 211, 0.85);
  box-shadow: var(--shadow-soft);
}

.service-panel-head {
  padding-top: 8px;
}

.service-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.service-summary {
  margin: 16px 0 0;
  max-width: 280px;
  color: var(--color-text-subtle);
  font-size: 1rem;
  line-height: 1.58;
}

.service-offerings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-content: start;
}

.offering-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px 22px;
  min-height: 0;
  border-radius: 20px;
}

.offering-card h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.15;
}

.approach-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(111, 157, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.approach-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.approach-item {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(211, 211, 211, 0.9);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.approach-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.approach-toggle-meta {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
}

.approach-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.approach-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.approach-step {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.approach-subhead {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: 1.58;
}

.approach-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: 0 28px 28px;
  border-top: 1px solid rgba(211, 211, 211, 0.6);
  overflow: hidden;
  opacity: 1;
  transition: opacity 240ms ease;
}

.approach-content[hidden] {
  display: none;
}

.approach-processes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-processes li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248, 248, 248, 0.96);
  color: var(--color-text-subtle);
  font-size: 0.98rem;
  line-height: 1.5;
}

.approach-body {
  margin: 18px 0 0;
  color: var(--color-text-subtle);
  font-size: var(--text-body);
  line-height: 1.72;
}

.clarity-section {
  background: #f7f6f4;
  overflow: hidden;
}

.clarity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: start;
}

.clarity-visual h2 {
  margin: 0 0 28px;
  max-width: 360px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.clarity-lines {
  width: 100%;
  height: auto;
  overflow: visible;
}

.clarity-line-base path,
.clarity-line-active path {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.clarity-line-base path {
  stroke: rgba(10, 62, 255, 0.22);
}

.clarity-line-active path {
  stroke: #0a3eff;
  transition: stroke-dashoffset 120ms linear;
}

.clarity-steps {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-top: 6px;
}

.clarity-step {
  max-width: 360px;
}

.clarity-step-number {
  margin: 0 0 12px;
  color: #0a3eff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.clarity-step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.clarity-step p:last-child {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: var(--text-body);
  line-height: 1.7;
}

.why-section {
  background: #17327f;
  color: #ffffff;
}

.why-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.why-header {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.why-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.why-header p {
  margin: 24px auto 0;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.66;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
}

.why-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--text-body);
  line-height: 1.68;
}

.why-icon {
  position: relative;
  width: 34px;
  height: 34px;
  color: #ffffff;
}

.why-icon span {
  position: absolute;
  display: block;
  background: currentColor;
}

.why-icon span:nth-child(1) {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.why-icon span:nth-child(2) {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.why-icon-slash span {
  width: 70%;
  height: 3px;
  top: 50%;
  left: 15%;
  transform: translateY(-50%) rotate(45deg);
}

.why-icon-grid span:nth-child(1),
.why-icon-grid span:nth-child(2),
.why-icon-grid span:nth-child(3),
.why-icon-grid span:nth-child(4) {
  width: 10px;
  height: 10px;
  transform: none;
}

.why-icon-grid span:nth-child(1) {
  top: 4px;
  left: 4px;
}

.why-icon-grid span:nth-child(2) {
  top: 4px;
  right: 4px;
}

.why-icon-grid span:nth-child(3) {
  bottom: 4px;
  left: 4px;
}

.why-icon-grid span:nth-child(4) {
  bottom: 4px;
  right: 4px;
}

.why-icon-plus span:nth-child(1) {
  width: 70%;
  height: 3px;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
}

.why-icon-plus span:nth-child(2) {
  width: 3px;
  height: 70%;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}

.contact-band {
  background:
    linear-gradient(135deg, rgba(16, 41, 110, 0.98), rgba(10, 62, 255, 0.9));
  color: #ffffff;
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: start;
}

.contact-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-card-intro p {
  margin: 18px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-body);
  line-height: 1.72;
}

.contact-card {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  box-shadow: 0 22px 60px rgba(6, 16, 50, 0.22);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.3;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ececec;
  background: #f4f4f4;
  border-radius: 0;
  padding: 14px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text-subtle);
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.contact-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  background: #10296e;
  color: #ffffff;
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.footer-brand-tagline {
  max-width: 82px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.footer-copy {
  margin: 20px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-body);
  line-height: 1.72;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

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

.footer-column h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.footer-column a,
.footer-copy-button,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.56;
}

.footer-copy-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-column a:hover,
.footer-copy-button:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.copy-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(16, 41, 110, 0.95);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(6, 16, 50, 0.26);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .clarity-grid,
  .footer-inner,
  .service-panel-inner,
  .contact-band-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-copy {
    justify-self: start;
    max-width: 560px;
  }

  .capability-grid,
  .service-offerings {
    grid-template-columns: 1fr;
  }

  .service-offerings {
    display: flex;
  }

  .offering-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-panel,
  .service-panel-inner {
    min-height: auto;
  }

  .service-summary {
    max-width: none;
  }

  .services-tabs {
    justify-content: flex-start;
  }

  .clarity-step {
    max-width: none;
  }

  .approach-content {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 78px;
    --text-body: var(--text-body-mobile);
  }

  .section {
    padding: var(--space-section-mobile) 0;
  }

  .header-inner {
    min-height: var(--header-height);
    align-items: flex-start;
  }

  .brand-tagline {
    max-width: none;
    font-size: 0.68rem;
  }

  .header-inner .button-primary {
    display: none;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 92px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-headline h1 {
    font-size: clamp(3.05rem, 14vw, 4.6rem);
    line-height: 0.92;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
  }

  .service-panel {
    top: auto;
    margin-bottom: 0;
  }

  .service-panel-inner {
    padding: 24px;
  }

  .capability-card,
  .offering-card {
    padding: 22px;
  }

  .contact-band-inner {
    gap: 24px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading-centered .section-heading-copy h2,
  .why-header h2 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    line-height: 0.96;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .clarity-visual h2 {
    margin-bottom: 20px;
  }

  .approach-toggle {
    padding: 20px 22px;
  }

  .approach-toggle-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .approach-content {
    padding: 0 22px 22px;
  }

  .why-inner {
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .why-card {
    min-height: auto;
  }

  .site-footer {
    padding-top: 44px;
  }

  .contact-card {
    padding: 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-copy {
    max-width: 100%;
  }
}
