@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --ink: #173328;
  --soft: #486157;
  --bg-a: #f2f8f2;
  --bg-b: #e6efe4;
  --card: rgba(255, 255, 255, 0.9);
  --line: #ccddd3;
  --accent: #0f7a55;
  --accent-strong: #09543a;
  --danger: #b42318;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(214, 237, 224, 0.55), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(245, 239, 203, 0.48), transparent 32%),
    linear-gradient(180deg, var(--bg-a), var(--bg-b));
  display: grid;
  place-items: center;
  padding: 16px;
}

body.top-aligned {
  place-items: start center;
  align-content: start;
}

.shell {
  width: min(980px, 96vw);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 20px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(14, 62, 44, 0.12);
  padding: 18px 16px;
}

.shell--single .page-nav {
  margin-bottom: 14px;
}

.shell > .page-nav {
  grid-column: 1 / -1;
}

.shell--single {
  width: min(980px, 96vw);
  grid-template-columns: 1fr;
}

.shell--single .detail-page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.login-panel,
.register-panel {
  border: 1px solid #d2e1d9;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  padding: 18px 16px;
}

.about-panel {
  border: 1px solid #d2e1d9;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(243, 251, 247, 0.95), rgba(255, 255, 255, 0.9));
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 238, 224, 0.48), transparent 70%);
  pointer-events: none;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  color: #0f2f24;
}

p {
  margin: 0 0 12px;
  color: var(--soft);
  line-height: 1.5;
}

.about-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #143b2d;
}

.about-copy {
  margin: 0 0 12px;
  color: #3d5b50;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.about-copy--cta {
  margin-top: 12px;
  margin-bottom: 0;
}

.video-section {
  margin: 14px 0 12px;
}

.video-section-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.video-section-heading {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #143b2d;
}

.video-section-sub {
  margin: 0 0 12px;
  color: #3d5b50;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.video-compact {
  display: block;
  width: 100%;
}

.video-play-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #c9d9d0;
  background: linear-gradient(135deg, rgba(13, 34, 25, 0.96), rgba(23, 51, 40, 0.92));
  box-shadow: 0 14px 26px rgba(14, 62, 44, 0.14);
  color: #f6fcf8;
  cursor: pointer;
  text-align: left;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.video-play-trigger:hover {
  transform: translateY(-1px);
  border-color: #b8cdc1;
  box-shadow: 0 18px 30px rgba(14, 62, 44, 0.18);
}

.video-play-trigger:focus-visible {
  outline: 3px solid rgba(15, 122, 85, 0.22);
  outline-offset: 3px;
}

.video-play-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #f7f0c8, #d5eee0);
  color: #0a3e2d;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(8, 58, 40, 0.18);
}

.video-play-copy {
  display: grid;
  gap: 3px;
}

.video-play-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.video-play-subtitle {
  font-size: 12px;
  color: rgba(246, 252, 248, 0.8);
  font-weight: 600;
}

.video-wrapper {
  position: relative;
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d2219;
  box-shadow: 0 14px 26px rgba(14, 62, 44, 0.14);
  border: 1px solid #c9d9d0;
}

.video-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(8, 22, 17, 0.72);
  color: #f3fbf7;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  z-index: 2;
}

.video-close-btn:hover {
  background: rgba(8, 22, 17, 0.88);
  filter: none;
  transform: translateY(0);
}

.video-close-btn:focus-visible {
  outline: 3px solid rgba(247, 240, 200, 0.9);
  outline-offset: 2px;
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

.video-wrapper[hidden] {
  display: none;
}

.sample-downloads {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(160, 191, 176, 0.5);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 249, 245, 0.88));
}

.sample-downloads-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f5f4b;
}

.sample-downloads-copy {
  margin: 6px 0 10px;
  color: #3d5b50;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.sample-downloads-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sample-download-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(170, 202, 186, 0.75);
  border-radius: 10px;
  background: #ffffff;
  color: #113f30;
  text-decoration: none;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.sample-link-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sample-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #f5c842;
  background: linear-gradient(90deg, #fff8e6, #fffbf0);
  color: #6a4c11;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  flex: 0 0 auto;
}

.sample-download-link::after {
  content: "Download";
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1d6b4d;
}

.sample-download-link:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 164, 135, 0.9);
  background: #f9fefb;
}

.sample-download-link:focus-visible {
  outline: 3px solid rgba(49, 122, 91, 0.25);
  outline-offset: 2px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.cta-proof-label {
  margin: 10px 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3e6253;
}

.trust-chips--inline {
  justify-content: flex-start;
  margin: 0 0 8px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #c7d8ce;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.88);
  color: #365147;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.trust-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #278955, #0d643e);
  box-shadow: 0 0 0 3px rgba(39, 137, 85, 0.14);
}

.about-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #2f4a40;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.about-list li {
  margin-bottom: 6px;
}

.info-sections {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.info-card {
  border: 1px solid rgba(170, 202, 186, 0.72);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 246, 0.9));
  padding: 12px 13px;
  box-shadow: 0 8px 18px rgba(14, 62, 44, 0.06);
}

.info-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #143b2d;
}

.info-copy {
  margin: 0;
  color: #3d5b50;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 122, 85, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: #1f5f45;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.info-link:hover,
.info-link:focus-visible {
  text-decoration: none;
  border-color: rgba(15, 122, 85, 0.34);
  box-shadow: 0 8px 16px rgba(14, 62, 44, 0.08);
}

.detail-page {
  width: 100%;
}

.detail-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  color: #0f2f24;
}

.detail-lead {
  margin: 0 0 16px;
  color: #3d5b50;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.detail-card {
  border: 1px solid rgba(170, 202, 186, 0.72);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 246, 0.9));
  padding: 14px 14px 13px;
}

.detail-card h2,
.detail-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #143b2d;
}

.detail-card p {
  margin: 0 0 8px;
  font-size: 13px;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: #2f4a40;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.detail-list li {
  margin-bottom: 6px;
}

.detail-note {
  margin: 14px 0 0;
  padding: 12px 13px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: rgba(15, 122, 85, 0.06);
  color: #355349;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 122, 85, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #1f5f45;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(14, 62, 44, 0.06);
}

.detail-action-link:hover,
.detail-action-link:focus-visible {
  text-decoration: none;
  border-color: rgba(15, 122, 85, 0.34);
  transform: translateY(-1px);
}

.detail-action-link--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border-color: transparent;
}

.detail-action-link--primary:hover,
.detail-action-link--primary:focus-visible {
  color: #fff;
}

.row {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
}

.social-auth {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

button.social-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d0ddd6;
  border-radius: 4px;
  padding: 10px 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1f362d;
  background: #fff;
  box-shadow: none;
  letter-spacing: 0;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

button.social-btn:hover {
  border-color: #a9c0b5;
  background: #fbfdfc;
  transform: translateY(-1px);
  filter: none;
}

button.social-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 93, 67, 0.2);
}

button.social-btn.google {
  border-color: #dadce0;
  color: #3c4043;
  font-weight: 600;
}

button.social-btn.google:hover {
  border-color: #c9ccd1;
  background: #f8f9fa;
}

button.social-btn.google:focus-visible {
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}

button.social-btn.microsoft {
  border-color: #d2d2d2;
  color: #1b1b1b;
  font-weight: 600;
}

button.social-btn.microsoft:hover {
  border-color: #c3c3c3;
  background: #fafafa;
}

button.social-btn.microsoft:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.24);
}

.social-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

button.social-btn.microsoft .social-icon {
  width: 18px;
  height: 18px;
}

.social-label {
  line-height: 1.25;
  text-align: left;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 12px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #d4e2db;
}

.auth-divider span {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  padding: 0 10px;
  color: #5a7066;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #24493b;
}

input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bfd1c8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: #1f362d;
  background: #fff;
}

.login-panel input {
  margin-bottom: 12px;
}

input:focus-visible {
  outline: 3px solid rgba(15, 122, 85, 0.25);
  outline-offset: 1px;
  border-color: #7cae98;
}

.help {
  font-size: 12px;
  color: #5f7169;
  margin-top: -4px;
}

button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(9, 84, 58, 0.26);
}

button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.message {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  color: #355349;
  font-weight: 600;
}

.message.error {
  color: var(--danger);
}

.links {
  margin-top: 16px;
  font-size: 13px;
  color: #4a6359;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.links a {
  color: #1f5f45;
  font-weight: 700;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-section,
  .video-play-trigger {
    transition: none;
  }
}
