:root {
  color-scheme: light;
  --ds-bg: #f5f7fb;
  --ds-surface: #ffffff;
  --ds-surface-alt: #f0f3ff;
  --ds-text: #1d2231;
  --ds-text-light: #5a6075;
  --ds-primary: #4f9aab;
  --ds-primary-dark: #3a6f78;
  --ds-accent: #f78650;
  --ds-border: #d8deeb;
  --ds-shadow: 0 22px 45px rgba(43, 72, 112, 0.16);
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--ds-text);
  background: linear-gradient(180deg, #f6f9ff 0%, #f0f4ff 45%, #f8fbff 100%);
  line-height: 1.6;
}

a {
  color: var(--ds-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

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

.hero {
  background: radial-gradient(130% 90% at 10% 10%, rgba(79, 154, 171, 0.18), transparent),
              linear-gradient(120deg, rgba(79, 154, 171, 0.26), rgba(27, 48, 77, 0.5));
  color: #fff;
  padding: 2.5rem clamp(1.5rem, 4vw, 5rem) 4rem;
  min-height: 720px;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__dot {
  width: 14px;
  height: 14px;
  background: var(--ds-accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(247, 134, 80, 0.45);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__link:hover {
  color: #fff;
}

.nav__cta {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2rem, 6vw, 4.5rem);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

[data-env-label] {
  color: var(--ds-accent);
}

.lead {
  font-size: 1.1rem;
  max-width: 38ch;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
  background: var(--ds-accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(247, 134, 80, 0.35);
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(247, 134, 80, 0.35);
}

.button--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button--outline:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
}

.button--secondary {
  background: var(--ds-primary);
  color: #fff;
}

.button--secondary:hover {
  filter: brightness(1.05);
}

.button--ghost {
  background: transparent;
  color: var(--ds-primary-dark);
  border: 1px solid var(--ds-primary);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(24, 40, 69, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  max-width: 520px;
}

.meta__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.meta__value {
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-all;
}

.hero__visual {
  position: relative;
}

.visual__card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: 0 28px 58px rgba(15, 29, 57, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.visual__card h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.visual__card ul {
  margin: 1rem 0;
  padding-left: 1.4rem;
  line-height: 1.8;
}

.visual__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

main {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 6vw, 6rem);
}

.section {
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

.section header h2,
.section > h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section--dual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.section--dual article {
  background: var(--ds-surface);
  padding: clamp(2rem, 4vw, 2.6rem);
  border-radius: 22px;
  box-shadow: var(--ds-shadow);
}

.section--dual aside {
  display: flex;
  align-items: stretch;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-grid strong {
  font-size: 1.8rem;
  color: var(--ds-primary);
}

.feature-card {
  background: linear-gradient(160deg, #fdfbff, #f3f7ff);
  border-radius: 22px;
  padding: 2.4rem;
  border: 1px solid rgba(79, 154, 171, 0.18);
  box-shadow: var(--ds-shadow);
}

.feature-card dl {
  margin: 1.5rem 0;
}

.feature-card dt {
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ds-text-light);
  margin-top: 1rem;
}

.feature-card dd {
  margin: 0.4rem 0 0;
  font-weight: 600;
  word-wrap: break-word;
}

.small {
  font-size: 0.85rem;
  color: var(--ds-text-light);
}

.status-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-dot--pending {
  background: #ffcc66;
  box-shadow: 0 0 0 4px rgba(255, 204, 102, 0.22);
}

.status-dot--ok {
  background: #4fd38e;
  box-shadow: 0 0 0 4px rgba(79, 211, 142, 0.22);
}

.section--stories header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.story-grid article {
  background: var(--ds-surface);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--ds-border);
  box-shadow: 0 18px 42px rgba(31, 59, 98, 0.08);
}

.section--experience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.experience__content {
  background: var(--ds-surface);
  border-radius: 24px;
  border: 1px solid rgba(79, 154, 171, 0.1);
  padding: clamp(2rem, 4vw, 2.8rem);
  box-shadow: var(--ds-shadow);
}

.experience__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--ds-border);
  background: var(--ds-surface-alt);
  color: var(--ds-text);
  padding: 0.55rem 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
}

.chip--active {
  background: rgba(79, 154, 171, 0.15);
  border-color: rgba(79, 154, 171, 0.35);
}

.chip--link {
  display: inline-flex;
  align-items: center;
}

.experience__panels {
  display: grid;
  gap: 1.8rem;
}

.panel {
  background: var(--ds-surface);
  border-radius: 22px;
  padding: 2.2rem;
  border: 1px solid rgba(52, 86, 132, 0.12);
  box-shadow: 0 22px 48px rgba(42, 69, 110, 0.12);
}

.panel--accent {
  background: linear-gradient(145deg, rgba(79, 154, 171, 0.12), rgba(79, 154, 171, 0.32));
}

.panel__list {
  margin: 1.5rem 0 0;
  padding-left: 1.4rem;
}

.section--form {
  background: var(--ds-surface);
  padding: clamp(2rem, 6vw, 3rem);
  border-radius: 26px;
  border: 1px solid rgba(60, 87, 130, 0.12);
  box-shadow: var(--ds-shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.form__intro p {
  color: var(--ds-text-light);
}

.form {
  display: grid;
  gap: 1.2rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.form input,
.form select {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--ds-border);
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form select:focus {
  border-color: rgba(79, 154, 171, 0.6);
  box-shadow: 0 0 0 4px rgba(79, 154, 171, 0.16);
  outline: none;
}

.form__checkbox {
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ds-text-light);
}

.form__footnote {
  font-size: 0.9rem;
  color: var(--ds-text-light);
}

.form__success {
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(79, 154, 171, 0.12);
  border-radius: 12px;
  border: 1px solid rgba(79, 154, 171, 0.4);
  color: var(--ds-primary-dark);
  font-weight: 600;
}

.footer {
  background: #11182a;
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__links a {
  color: #fff;
  font-weight: 500;
}

@media (max-width: 960px) {
  .hero {
    min-height: unset;
    padding-bottom: 3rem;
  }

  .nav__actions {
    justify-content: center;
  }

  .hero__meta {
    max-width: none;
  }

  main {
    padding-inline: clamp(1.25rem, 5vw, 3rem);
  }
}

@media (max-width: 680px) {
  .nav {
    flex-direction: column;
  }

  .nav__actions {
    gap: 0.85rem;
  }

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

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