:root {
  --background: #f8fbfb;
  --foreground: #0e3c3c;
  --primary: #039c9b;
  --primary-dark: #02716f;
  --muted: #557373;
  --border: #cbe3e3;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgb(130 199 199 / 12%), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 38%, #f3f9f9 100%);
  color: var(--foreground);
}

button {
  appearance: none;
  border: 1px solid transparent;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1:focus,
h2:focus {
  outline: none;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

.brand-header {
  position: relative;
  z-index: 10;
  min-height: 82px;
  border-bottom: 1px solid rgb(22 79 88 / 9%);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 24px rgb(20 77 87 / 5%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  width: min(1160px, 100% - 40px);
  min-height: 82px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0 auto;
}

.pg-logo-frame {
  position: relative;
  grid-column: 2;
  width: 50px;
  height: 50px;
  overflow: hidden;
}

.pg-logo-frame img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 112px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.header-context {
  justify-self: end;
  color: #527474;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gate-stage,
.compact-stage {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 72px) 20px;
}

.gate-card,
.status-card,
.profession-panel {
  width: min(930px, 100%);
  border: 1px solid rgb(60 165 163 / 18%);
  border-radius: 24px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 26px 80px rgb(14 60 60 / 10%);
  padding: clamp(26px, 5vw, 58px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgb(255 255 255 / 78%);
  text-align: left;
}

.eyebrow.align-left {
  text-align: left;
}

.gate-card h1,
.status-card h1,
.profession-panel h1 {
  margin: 0 0 28px;
  color: var(--foreground);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  text-align: center;
}

.gate-copy {
  color: #315858;
  font-size: 15px;
  line-height: 1.7;
}

.gate-copy p {
  margin: 0;
}

.gate-copy ol {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding-left: 24px;
}

.gate-copy li {
  padding-left: 6px;
}

.gate-copy li::marker {
  color: var(--primary);
  font-weight: 800;
}

.gate-question {
  font-weight: 700;
  text-align: center;
}

.gate-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  background: var(--primary);
  box-shadow: 0 10px 24px rgb(3 156 155 / 24%);
  color: white;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--primary-dark);
}

.secondary-action {
  min-width: 92px;
  border-color: #a8cccc;
  background: white;
  color: var(--foreground);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.profession-card:focus-visible {
  outline: 3px solid rgb(60 165 163 / 42%);
  outline-offset: 3px;
}

.status-card {
  max-width: 680px;
  padding-block: clamp(44px, 8vw, 76px);
  text-align: center;
}

.status-card h1 {
  max-width: 570px;
  margin-inline: auto;
}

.status-card p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.status-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e5f6f6;
  color: var(--primary);
}

.status-icon.small {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.profession-panel {
  max-width: 840px;
}

.profession-panel h1 {
  max-width: 620px;
  margin-inline: auto;
}

.profession-intro {
  max-width: 620px;
  margin: -10px auto 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

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

.profession-card {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  border-color: var(--border);
  border-radius: 14px;
  background: #fbfefe;
  padding: 0 20px;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.profession-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.profession-card .arrow {
  color: var(--primary);
  font-size: 20px;
  transition: transform 160ms ease;
}

.profession-card:hover,
.profession-card:focus-visible {
  border-color: var(--primary);
  background: #eefafa;
}

.profession-card:hover .arrow,
.profession-card:focus-visible .arrow {
  transform: translateX(3px);
}

.content-stage {
  padding: clamp(30px, 5vw, 72px) 20px clamp(56px, 8vw, 104px);
}

.content-hero {
  display: grid;
  width: min(1160px, 100%);
  min-height: 410px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 30px 80px rgb(2 113 111 / 18%);
  color: white;
  padding: clamp(34px, 6vw, 76px);
}

.nasivin-brand-plate {
  position: relative;
  width: clamp(238px, 27vw, 286px);
  height: clamp(72px, 8vw, 86px);
  overflow: hidden;
  margin-bottom: 26px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 28px rgb(14 60 60 / 14%);
}

.nasivin-brand-plate img,
.video-brand-plate img,
.footer-logo img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.content-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(30px, 4.3vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.content-hero p {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
}

.spc-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 17px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 12px;
  background: rgb(255 255 255 / 13%);
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.spc-link svg {
  flex: none;
}

.spc-link:hover {
  border-color: white;
  background: rgb(255 255 255 / 23%);
}

.spc-link:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.spc-dialog {
  inset: 0;
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  height: min(960px, calc(100dvh - 32px));
  max-height: none;
  overflow: hidden;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: white;
  box-shadow: 0 30px 90px rgb(0 30 36 / 28%);
  color: var(--foreground);
}

.spc-dialog[open] {
  display: flex;
  flex-direction: column;
}

.spc-dialog::backdrop {
  background: rgb(0 30 36 / 72%);
}

.spc-dialog-header,
.spc-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: white;
}

.spc-dialog-header {
  border-bottom: 1px solid var(--border);
}

.spc-dialog-header h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 750;
  line-height: 1.3;
}

.spc-dialog-close {
  display: grid;
  flex: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #eff8f8;
  color: var(--foreground);
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
}

.spc-dialog-close:hover,
.spc-dialog-close:focus-visible {
  background: #dceeee;
}

.spc-dialog-close:focus-visible,
.spc-dialog-footer a:focus-visible,
.spc-zoom button:focus-visible,
.spc-document:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.spc-document {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f0f5f5;
}

.spc-pages {
  display: flex;
  width: max-content;
  min-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.spc-page {
  display: block;
  width: var(--spc-page-width);
  height: auto;
  background: white;
  box-shadow: 0 4px 18px rgb(0 30 36 / 14%);
}

.spc-status {
  padding: 24px;
  color: var(--foreground);
  text-align: center;
}

.spc-dialog-footer {
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

.spc-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spc-zoom button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--foreground);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
}

.spc-zoom button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.spc-zoom output {
  min-width: 52px;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.spc-dialog-footer a {
  color: var(--primary-dark, #02716f);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-section {
  width: min(1060px, 100%);
  margin: clamp(52px, 8vw, 92px) auto 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: -0.025em;
}

.verified-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.verified-label span {
  color: var(--primary);
  font-size: 17px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 8px solid white;
  border-radius: 22px;
  background: var(--primary-dark);
  box-shadow: 0 24px 70px rgb(14 60 60 / 16%);
}

.video-frame iframe,
.video-start {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-start {
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  cursor: pointer;
  padding: 34px;
}

.video-brand-plate {
  position: relative;
  display: block;
  width: clamp(170px, 23vw, 242px);
  height: clamp(52px, 7vw, 72px);
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 24px rgb(14 60 60 / 14%);
}

.video-title {
  max-width: 620px;
  margin-top: 10px;
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: 750;
  line-height: 1.2;
}

.play-button {
  display: grid;
  width: clamp(58px, 8vw, 82px);
  height: clamp(58px, 8vw, 82px);
  place-items: center;
  margin-top: clamp(20px, 3vw, 34px);
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 50%;
  background: white;
  box-shadow: 0 16px 40px rgb(0 64 66 / 28%);
  color: var(--primary);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
}

.video-cta {
  margin-top: 12px;
  color: rgb(255 255 255 / 84%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.video-start:hover .play-button,
.video-start:focus-visible .play-button {
  transform: scale(1.06);
  box-shadow: 0 18px 46px rgb(0 64 66 / 36%);
}

.video-start:focus-visible {
  outline: 4px solid #a8f4ed;
  outline-offset: -7px;
}

.minimal-footer {
  padding: 25px 20px;
  border-top: 1px solid rgb(22 79 88 / 9%);
  background: white;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  display: grid;
  width: min(1160px, 100%);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.minimal-footer p {
  margin: 0;
  text-align: center;
}

.footer-logo {
  position: relative;
  width: 106px;
  height: 30px;
  overflow: hidden;
  justify-self: start;
}

.footer-note {
  justify-self: end;
}

.stage-enter:not([hidden]) {
  animation: stage-in 260ms ease-out both;
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .brand-header,
  .header-inner {
    min-height: 70px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .header-context {
    display: none;
  }

  .gate-stage,
  .compact-stage {
    place-items: start center;
    padding: 18px 12px 28px;
  }

  .gate-card,
  .status-card,
  .profession-panel {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .gate-card h1,
  .status-card h1,
  .profession-panel h1 {
    margin-bottom: 22px;
  }

  .gate-copy {
    font-size: 14px;
    line-height: 1.62;
  }

  .gate-copy ol {
    padding-left: 20px;
  }

  .gate-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .profession-intro {
    font-size: 14px;
  }

  .profession-grid {
    grid-template-columns: 1fr;
  }

  .profession-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .content-stage {
    padding: 18px 12px 54px;
  }

  .content-hero {
    min-height: auto;
    border-radius: 20px;
    padding: 34px 22px 42px;
  }

  .nasivin-brand-plate {
    margin-bottom: 20px;
  }

  .content-hero p {
    margin-top: 20px;
  }

  .spc-link {
    width: 100%;
    justify-content: center;
    padding: 13px 14px;
  }

  .spc-dialog {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .spc-dialog-header {
    padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  }

  .spc-dialog-footer {
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .verified-label {
    font-size: 12px;
  }

  .video-frame {
    border-width: 5px;
    border-radius: 15px;
  }

  .video-start {
    padding: 16px;
  }

  .play-button {
    margin-top: 15px;
  }

  .video-cta {
    display: none;
  }

  .footer-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-logo,
  .footer-note {
    justify-self: auto;
  }
}

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