@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --navy: #064266;
  --navy-deep: #032f49;
  --blue: #004266;
  --ink: #0b0b0c;
  --charcoal: #121417;
  --paper: #fdfbf1;
  --paper-deep: #fcf8ee;
  --sand: #d9a27a;
  --salmon: #fa8072;
  --green: #0b6e4f;
  --surface: #ffffff;
  --surface-soft: #f5f6f7;
  --line: #d9dee2;
  --line-strong: #b8c3ca;
  --muted: #4f5f68;
  --white: #ffffff;
  --shadow-low: 0 2px 8px rgba(11, 11, 12, 0.05);
  --shadow-medium: 0 8px 24px rgba(6, 66, 102, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(217, 162, 122, 0.12), transparent 360px),
    var(--surface-soft);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--salmon);
  outline-offset: 3px;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.billing-disabled [data-billing-feature],
.billing-disabled a[href^="/account/"],
.billing-disabled a[href^="/subscriptions/"],
.billing-disabled a[href^="/workway-connect-payment-"] {
  display: none !important;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(3, 47, 73, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(3, 47, 73, 0.2);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand) 0 78%, var(--salmon) 78%);
  content: "";
}

.header-inner,
.page,
.site-footer-inner {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}

.brand-wordmark {
  display: block;
  width: 188px;
  height: 59px;
  object-fit: contain;
}

.brand-mark {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(217, 162, 122, 0.2);
  color: var(--white);
}

.page {
  margin-block: 32px 56px;
  padding-block: 48px 64px;
}

.home-page {
  padding-top: 0;
}

.page-header {
  position: relative;
  min-height: 190px;
  margin-bottom: 34px;
  padding: 0 340px 30px 0;
  border-bottom: 1px solid var(--line);
}

.page-header::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 300px;
  aspect-ratio: 856 / 479;
  background: url("/assets/branding/workway-horse-lockup.png?v=20260830-text-free-1") center / contain no-repeat;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.home-page .page-header {
  margin: 0 0 40px;
  min-height: 280px;
  padding: 56px 390px 56px 56px;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 0;
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow-medium);
}

.home-page .page-header::after {
  right: 44px;
  width: 310px;
  background-image: url("/assets/branding/workway-wolf-outline-on-navy.svg?v=20260912-2");
  filter: drop-shadow(0 5px 10px rgba(11, 11, 12, 0.28));
}

.section-label {
  margin: 0 0 12px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: 46px;
  font-weight: 800;
}

.home-page h1 {
  color: var(--white);
}

h2 {
  margin: 40px 0 12px;
  font-size: 25px;
  font-weight: 800;
}

h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

p,
li {
  max-width: 76ch;
}

p {
  margin-block: 0 16px;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.home-page .lede {
  color: rgba(255, 255, 255, 0.82);
}

.meta {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 10px;
  border: 1px solid rgba(6, 66, 102, 0.14);
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--paper-deep);
  border: 1px solid rgba(217, 162, 122, 0.38);
  border-radius: 8px;
}

.support-panel h2 {
  margin-top: 0;
}

.support-address {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

.support-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-link,
.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.action-link {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(6, 66, 102, 0.18);
}

.action-link:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.secondary-link {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.section-intro h2 {
  margin: 0;
}

.section-intro p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.policy-link {
  position: relative;
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: center;
  padding: 22px 48px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy-deep);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.policy-link::after {
  position: absolute;
  right: 20px;
  color: var(--sand);
  content: "\2192";
  font-size: 23px;
  font-weight: 800;
}

.policy-link:hover {
  border-color: rgba(6, 66, 102, 0.42);
  box-shadow: var(--shadow-low);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.policy-link strong {
  font-size: 17px;
}

.policy-link span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.review-notice,
.callout {
  margin-top: 24px;
  padding: 16px 18px;
  background: #fff4ef;
  border-left: 4px solid var(--salmon);
  border-radius: 0 8px 8px 0;
}

.review-notice {
  font-weight: 700;
}

.section-list {
  padding-left: 24px;
}

.section-list li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.faq-item {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.faq-item h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.account-page {
  max-width: 1080px;
}

.account-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-low);
}

.account-panel h2 {
  margin-top: 0;
}

.account-panel-copy p {
  color: var(--muted);
}

.account-form {
  display: grid;
  gap: 10px;
}

.account-form label:not(.checkbox-control) {
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.account-form input:focus {
  outline: 3px solid rgba(250, 128, 114, 0.32);
  border-color: var(--navy);
}

.checkbox-control {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox-control input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.primary-command,
.secondary-command,
.text-command {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-command {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(6, 66, 102, 0.16);
}

.primary-command:hover:not(:disabled) {
  background: var(--navy-deep);
}

.secondary-command {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
}

.text-command {
  border: 0;
  background: transparent;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.primary-command:disabled,
.secondary-command:disabled,
.text-command:disabled {
  cursor: wait;
  opacity: 0.62;
}

.account-status {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
  font-weight: 700;
}

.account-status[data-tone="success"] {
  border-color: rgba(11, 110, 79, 0.35);
  background: #edf8f3;
  color: var(--green);
}

.account-status[data-tone="error"] {
  border-color: rgba(163, 44, 44, 0.34);
  background: #fff1f1;
  color: #8d2020;
}

.account-dashboard {
  display: block;
}

.account-dashboard-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.signed-in-email {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 28px 0 0;
  border-block: 1px solid var(--line);
}

.billing-summary div {
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}

.billing-summary div:first-child {
  padding-left: 0;
}

.billing-summary div:last-child {
  padding-right: 0;
  border-right: 0;
}

.billing-summary dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.billing-summary dd {
  margin: 0;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.billing-guidance {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--sand);
  border-radius: 0 8px 8px 0;
  background: var(--paper-deep);
}

.billing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.billing-actions .text-command {
  grid-column: 1 / -1;
  justify-self: center;
}

.account-security-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--paper-deep);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-brand {
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .policy-link {
    transition: none;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .page,
  .site-footer-inner {
    width: min(calc(100% - 28px), 1080px);
  }

  .header-inner {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding-block: 8px 5px;
  }

  .brand {
    align-self: center;
  }

  .brand-wordmark {
    display: block;
    width: min(176px, 62vw);
    height: auto;
  }

  .brand-mark {
    display: none;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    min-height: 40px;
    padding: 8px 7px;
    white-space: nowrap;
  }

  .page {
    margin-block: 18px 36px;
    padding-block: 34px 44px;
  }

  .page-header {
    min-height: 0;
    padding: 0 0 30px;
  }

  .page-header::after {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(100%, 320px);
    margin: 26px auto 0;
    transform: none;
  }

  .home-page .page-header {
    margin: 0 0 32px;
    padding: 42px 24px 46px;
  }

  .home-page .page-header::after {
    right: auto;
    width: min(100%, 320px);
    margin-top: 28px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }

  .lede {
    font-size: 16px;
  }

  .support-panel,
  .policy-grid,
  .account-panel {
    grid-template-columns: 1fr;
  }

  .account-panel {
    gap: 24px;
    padding: 22px;
  }

  .billing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .billing-summary div,
  .billing-summary div:first-child,
  .billing-summary div:last-child {
    padding: 14px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .billing-summary div:last-child {
    border-bottom: 0;
  }

  .support-panel {
    gap: 22px;
    padding: 22px;
  }

  .section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
  }

  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
  }

  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .table-wrap tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .table-wrap td {
    border: 0;
  }

  .table-wrap td:first-child {
    background: var(--paper-deep);
    color: var(--navy-deep);
    font-weight: 800;
  }

  .table-wrap td + td {
    border-top: 1px solid var(--line);
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 24px;
  }
}

@media (max-width: 430px) {
  .site-nav a {
    padding-inline: 5px;
    font-size: 11px;
  }

  .home-page .page-header {
    padding-inline: 18px;
  }

  .support-address {
    font-size: 15px;
  }

  .account-dashboard-header {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-summary,
  .billing-actions {
    grid-template-columns: 1fr;
  }

  .billing-actions .text-command {
    grid-column: auto;
  }
}

/* Product learning home */

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.learning-page {
  overflow: clip;
  background: var(--white);
}

.learning-inner {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.learning-band {
  padding-block: 84px;
  scroll-margin-top: 96px;
}

.learning-band h2,
.search-results-band h2 {
  margin: 0;
  font-size: 38px;
}

.section-lede {
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.learning-hero {
  position: relative;
  padding: 62px 0 34px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(217, 162, 122, 0.14), transparent 38%),
    var(--navy-deep);
  border-bottom: 5px solid var(--sand);
  color: var(--white);
}

.learning-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  height: 5px;
  background: var(--salmon);
  content: "";
}

.learning-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 56px;
  align-items: center;
}

.learning-hero-copy {
  position: relative;
  z-index: 1;
  animation: learning-enter 480ms ease-out both;
}

.learning-hero h1 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 58px;
}
.hero-statement {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-primary {
  min-width: 150px;
  background: var(--sand);
  color: var(--ink);
  box-shadow: none;
}

.hero-primary:hover {
  background: var(--salmon);
  color: var(--ink);
}

.hero-secondary {
  min-width: 150px;
  border-color: rgba(255, 255, 255, 0.56);
  background: transparent;
  color: var(--white);
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.learning-hero-wolf {
  display: block;
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
  animation: learning-enter 480ms 100ms ease-out both;
}

.learn-search {
  position: relative;
  z-index: 2;
  margin-top: 46px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  animation: learning-enter 480ms 180ms ease-out both;
}

.learn-search > label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 800;
}

.learn-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.learn-search-row input {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.learn-search-row input:focus,
.guide-form input:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(250, 128, 114, 0.3);
}

.learn-search-row button,
.guide-form button {
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.search-suggestions span {
  font-weight: 800;
}

.search-suggestions button,
.topic-filter button,
.guide-related button {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.search-suggestions button:hover,
.guide-related button:hover {
  border-color: var(--navy);
  background: rgba(217, 162, 122, 0.16);
}

.search-results-band {
  padding-block: 54px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.search-results-heading {
  align-items: center;
  margin-bottom: 24px;
}

.search-status {
  margin: 8px 0 0;
  color: var(--muted);
}

.search-results-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.search-result,
.answer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.search-result h3,
.answer-card h3 {
  margin: 4px 0 9px;
  font-size: 19px;
}

.search-result > p:not(.answer-category),
.answer-card > p:not(.answer-category) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.guide-link {
  color: var(--navy);
  font-weight: 800;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border-left: 4px solid var(--salmon);
  background: var(--white);
}

.search-empty p {
  max-width: 760px;
}

.why-band {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.why-grid > div:first-child > p:last-child {
  color: var(--muted);
}

.reason-list {
  border-top: 1px solid var(--line-strong);
}

.reason-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.reason-number {
  grid-row: 1 / span 2;
  color: var(--sand);
  font-size: 20px;
  font-weight: 800;
}

.reason-list h3 {
  margin: 0 0 5px;
}

.reason-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.app-preview-band {
  background:
    linear-gradient(180deg, rgba(6, 66, 102, 0.05), transparent 45%),
    #edf1f2;
}

.app-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.app-scenes figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-medium);
  animation: learning-enter 420ms ease-out both;
}

.app-scenes figure:nth-child(2) {
  animation-delay: 90ms;
}

.app-scenes figure:nth-child(3) {
  animation-delay: 180ms;
}

.app-scenes img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  object-position: top;
  background: var(--navy-deep);
}

.app-scenes figcaption {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
}

.app-scenes figcaption strong {
  color: var(--navy-deep);
  font-size: 18px;
}

.app-scenes figcaption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.guide-band {
  background: var(--white);
}

.guide-heading {
  align-items: center;
}

.role-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-soft);
}

.role-switch button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.role-switch button[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-low);
}

.role-guide {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.journey-intro {
  position: sticky;
  top: 122px;
}

.journey-intro h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.journey-intro > p:last-child {
  color: var(--muted);
}

.journey-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey-step;
}

.journey-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: journey-step;
}

.journey-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.journey-steps li::before {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--navy);
  content: counter(journey-step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
}

.journey-steps strong,
.journey-steps span {
  display: block;
}

.journey-steps strong {
  color: var(--navy-deep);
  font-size: 17px;
}

.journey-steps span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.app-map {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
  border-block: 1px solid var(--line-strong);
}

.app-map article {
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}

.app-map article:last-child {
  border-right: 0;
}

.app-map article > span,
.app-map article > strong {
  display: block;
}

.app-map article > span {
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
}

.app-map article > strong {
  color: var(--navy-deep);
}

.app-map p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.video-band {
  background:
    linear-gradient(115deg, rgba(250, 128, 114, 0.13), transparent 46%),
    var(--navy-deep);
  color: var(--white);
}

.video-band h2,
.video-band .section-lede {
  color: var(--white);
}

.video-band .section-lede {
  color: rgba(255, 255, 255, 0.78);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: 72px;
  align-items: start;
}

.video-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-checklist li {
  margin: 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--sand);
}

.video-checklist strong,
.video-checklist span {
  display: block;
}

.video-checklist strong {
  color: var(--white);
}

.video-checklist span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.answer-band {
  background: var(--surface-soft);
}

.topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.topic-filter button[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.answer-card {
  min-height: 210px;
}

.answer-card .text-command {
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 0;
}

.answer-category {
  margin: 0;
  color: var(--sand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-directory {
  background: var(--paper);
}

.support-directory-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.support-directory-grid h2 {
  margin-bottom: 16px;
}

.support-directory-grid > div > p:not(.section-label) {
  color: var(--muted);
}

.support-directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.resource-links {
  border-top: 1px solid var(--line-strong);
}

.resource-links a {
  position: relative;
  display: block;
  padding: 18px 42px 18px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--navy-deep);
  text-decoration: none;
}

.resource-links a::after {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--sand);
  content: "\2192";
  font-size: 21px;
  transform: translateY(-50%);
}

.resource-links strong,
.resource-links span {
  display: block;
}

.resource-links span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.guide-launcher {
  position: fixed;
  z-index: 45;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(3, 47, 73, 0.32);
  cursor: pointer;
  font-weight: 800;
}

.guide-launcher:hover {
  background: var(--navy-deep);
}

.guide-launcher[aria-expanded="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.guide-launcher-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 20px;
}

.guide-panel {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: min(410px, calc(100vw - 40px));
  max-height: min(620px, calc(100vh - 120px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(3, 47, 73, 0.28);
}

.guide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: var(--navy-deep);
  color: var(--white);
}

.guide-panel-header p {
  margin: 0 0 3px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-panel-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
}

.guide-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.guide-messages {
  min-height: 220px;
  padding: 18px;
  overflow-y: auto;
  background: var(--surface-soft);
}

.guide-message {
  width: fit-content;
  max-width: 90%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.guide-message-user {
  margin-left: auto;
  border-color: rgba(217, 162, 122, 0.65);
  background: #fff4ef;
}

.guide-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.guide-message .guide-link {
  display: inline-block;
  margin-top: 9px;
  font-size: 13px;
}

.guide-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.guide-related button {
  min-height: 31px;
  padding-block: 4px;
  text-align: left;
}

.guide-form {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.guide-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.guide-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.guide-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.guide-form > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

@keyframes learning-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .learning-hero-copy,
  .learning-hero-wolf,
  .learn-search,
  .app-scenes figure {
    animation: none;
  }
}

@media (max-width: 900px) {
  .learning-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 32px;
  }

  .why-grid,
  .video-grid,
  .support-directory-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .role-guide {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .learning-inner {
    width: min(calc(100% - 28px), 1180px);
  }

  .learning-band {
    padding-block: 58px;
    scroll-margin-top: 116px;
  }

  .learning-band h2,
  .search-results-band h2 {
    font-size: 29px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
  }

  .learning-hero {
    padding: 38px 0 24px;
  }

  .learning-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .learning-hero h1 {
    font-size: 40px;
  }

  .hero-statement {
    font-size: 17px;
  }

  .learning-hero-wolf {
    width: min(250px, 76vw);
    max-height: 140px;
    margin-inline: auto;
  }

  .learn-search {
    margin-top: 24px;
    padding: 15px;
  }

  .learn-search-row input {
    min-height: 52px;
  }

  .search-suggestions {
    gap: 6px;
  }

  .search-results-band {
    padding-block: 42px;
  }

  .search-results-list,
  .answer-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-lede {
    font-size: 18px;
  }

  .app-scenes {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    padding: 4px 0 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .app-scenes figure {
    scroll-snap-align: start;
  }

  .guide-heading {
    align-items: stretch;
  }

  .role-switch {
    width: 100%;
  }

  .role-guide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .journey-intro {
    position: static;
  }

  .journey-intro h3 {
    font-size: 25px;
  }

  .app-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-map article,
  .app-map article:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .app-map article:nth-child(2n) {
    border-right: 0;
  }

  .app-map article:last-child {
    border-bottom: 0;
  }

  .video-checklist {
    grid-template-columns: 1fr;
  }

  .answer-card {
    min-height: 0;
  }

  .support-directory-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 82vh;
    border-radius: 8px 8px 0 0;
  }

  .guide-launcher {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 430px) {
  .learning-hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  }

  .hero-primary,
  .hero-secondary {
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }

  .learning-hero-wolf {
    width: min(170px, 58vw);
    max-height: 90px;
  }

  .learn-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .learn-search-row button {
    width: auto;
    padding-inline: 14px;
  }

  .search-suggestions button:nth-of-type(n + 3) {
    display: none;
  }

  .reason-list article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .app-scenes {
    grid-template-columns: repeat(3, minmax(232px, 1fr));
  }

  .app-map {
    grid-template-columns: 1fr;
  }

  .app-map article,
  .app-map article:nth-child(2n),
  .app-map article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-map article:last-child {
    border-bottom: 0;
  }

  .support-directory-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-launcher > span:last-child {
    display: none;
  }

  .guide-launcher {
    width: 52px;
    padding: 8px;
    border-radius: 50%;
  }

  .guide-launcher-mark {
    width: 34px;
    height: 34px;
  }
}