:root {
  --aw-ink: #111729;
  --aw-ink-soft: #263043;
  --aw-muted: #5c6573;
  --aw-teal: #116e65;
  --aw-teal-soft: #2f8a7e;
  --aw-mint: #d8f2e8;
  --aw-glass: rgba(244, 247, 249, 0.62);
  --aw-glass-strong: rgba(255, 255, 255, 0.72);
  --aw-glass-light: rgba(255, 255, 255, 0.46);
  --aw-border: rgba(255, 255, 255, 0.68);
  --aw-border-muted: rgba(83, 101, 111, 0.24);
  --aw-gold: #dfa943;
  --aw-gold-soft: rgba(245, 182, 68, 0.26);
  --aw-shadow: 0 24px 70px rgba(19, 28, 39, 0.22);
  --aw-shadow-soft: 0 14px 34px rgba(20, 30, 43, 0.14);
  --aw-widget-height: clamp(340px, 50vh, 450px);
  color: var(--aw-ink);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #cfd6da;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #cfd6da;
}

button,
input,
textarea {
  font: inherit;
}

button {
  letter-spacing: 0;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #ffffff;
  color: var(--aw-ink);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.app-page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  padding: 22px;
}

.app-page::before,
.app-page::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

.app-page::before {
  z-index: -2;
  background-image: url("/assets/workplace-benefits.png");
  background-position: center;
  background-size: cover;
  filter: blur(9px) saturate(0.9);
  transform: scale(1.08);
}

.app-page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(217, 224, 226, 0.26) 0%, rgba(247, 249, 250, 0.7) 48%, rgba(202, 210, 214, 0.5) 100%),
    rgba(226, 231, 234, 0.28);
}

.benefits-frame {
  position: relative;
  isolation: isolate;
  width: min(100%, 1550px);
  min-height: calc(100dvh - 44px);
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(10px, 1.8vh, 22px);
  overflow: hidden;
  border: clamp(5px, 0.6vw, 10px) solid rgba(17, 23, 35, 0.82);
  border-radius: clamp(26px, 3vw, 44px);
  background:
    linear-gradient(180deg, rgba(251, 252, 253, 0.42), rgba(232, 237, 239, 0.26)),
    rgba(238, 242, 244, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.54),
    var(--aw-shadow);
  padding: clamp(16px, 1.9vw, 30px);
  backdrop-filter: blur(7px);
}

.benefits-frame::before,
.benefits-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.benefits-frame::before {
  z-index: -2;
  background-image: url("/assets/workplace-benefits.png");
  background-position: center;
  background-size: cover;
  filter: blur(4px) saturate(0.9);
  opacity: 0.7;
  transform: scale(1.04);
}

.benefits-frame::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(242, 245, 247, 0.44), rgba(237, 241, 243, 0.58) 45%, rgba(223, 229, 232, 0.46)),
    rgba(232, 237, 240, 0.16);
}

.site-header,
.page-shell,
.footer-row {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(58px, 6.5vh, 78px);
  gap: 18px;
  border: 1px solid var(--aw-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 45px rgba(35, 45, 57, 0.16);
  padding: 0 clamp(16px, 1.8vw, 26px);
  backdrop-filter: blur(18px);
}

.brand-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  color: var(--aw-ink);
  text-decoration: none;
}

.brand-link:focus-visible,
.header-action:focus-visible,
.guide-pill:focus-visible,
.shortcut-card:focus-visible,
.prompt-helper button:focus-visible,
.prompt-helper a:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(17, 110, 101, 0.28);
  outline-offset: 4px;
}

.brand-mark {
  width: clamp(34px, 3.2vw, 44px);
  height: clamp(34px, 3.2vw, 44px);
  flex: 0 0 auto;
}

.brand-mark path:first-child {
  fill: var(--aw-teal-soft);
}

.brand-mark path:last-child {
  fill: rgba(255, 255, 255, 0.84);
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.brand-copy strong {
  color: var(--aw-ink);
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1;
  font-weight: 800;
}

.brand-copy span {
  display: none;
  color: var(--aw-muted);
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}

.brand-copy b {
  color: var(--aw-teal-soft);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--aw-ink-soft);
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
}

.header-action svg,
.guide-pill svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(242, 245, 247, 0.86);
  color: var(--aw-ink);
  font-size: 16px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--aw-ink);
  padding: 8px;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.76fr);
  grid-template-areas:
    "hero agent"
    "insight insight";
  gap: clamp(18px, 2.8vw, 44px);
  align-items: center;
}

.hero-copy {
  grid-area: hero;
  min-width: 0;
  align-self: center;
  padding-left: clamp(10px, 4.4vw, 84px);
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #0f1429;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5vw, 90px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 560px;
  margin: clamp(14px, 1.8vh, 20px) 0 0;
  color: rgba(42, 48, 59, 0.78);
  font-size: clamp(20px, 1.7vw, 29px);
  line-height: 1.28;
  font-weight: 500;
}

.shortcut-panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(74px, 1fr));
  gap: clamp(8px, 0.95vw, 14px);
  width: min(100%, 780px);
  margin-top: clamp(20px, 3vh, 40px);
}

.shortcut-card {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 11px;
  min-height: clamp(82px, 8.6vw, 122px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(245, 247, 249, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 28px rgba(31, 40, 54, 0.12);
  color: var(--aw-ink);
  cursor: pointer;
  padding: 12px 8px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.shortcut-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.66);
}

.shortcut-card.is-selected {
  border-color: rgba(229, 173, 70, 0.74);
  background:
    radial-gradient(circle at 50% 22%, rgba(249, 218, 154, 0.72), rgba(255, 255, 255, 0.48) 58%),
    rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 42px rgba(219, 159, 52, 0.34);
}

.shortcut-card__icon {
  display: grid;
  place-items: center;
  width: clamp(36px, 4.3vw, 52px);
  height: clamp(36px, 4.3vw, 52px);
  border-radius: 14px;
  color: var(--aw-teal);
  background: rgba(209, 239, 226, 0.72);
}

.shortcut-card__icon svg {
  width: 76%;
  height: 76%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shortcut-card strong {
  max-width: 100%;
  color: var(--aw-ink);
  font-size: clamp(13px, 1.22vw, 20px);
  line-height: 1.05;
  font-weight: 600;
}

.agent-section {
  grid-area: agent;
  min-width: 0;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--aw-border);
  border-radius: 18px;
  background: rgba(244, 247, 249, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    var(--aw-shadow-soft);
  backdrop-filter: blur(20px);
}

.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 14px 22px 10px;
}

.agent-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.agent-title img {
  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);
  flex: 0 0 auto;
  border-radius: 18px;
}

.agent-title p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--aw-ink);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.03;
  font-weight: 600;
}

.agent-title span:not(.status-dot) {
  display: block;
  margin-top: 3px;
  color: var(--aw-muted);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.2;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--aw-teal-soft);
}

.guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--aw-teal);
  padding: 0 14px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.widget-surface {
  display: block;
  width: calc(100% - 44px);
  min-height: var(--aw-widget-height);
  margin: 0 22px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(35, 45, 57, 0.13);
  overflow: hidden;
}

.prompt-helper {
  display: none;
}

.prompt-helper span {
  color: rgba(37, 46, 60, 0.68);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.prompt-helper button,
.prompt-helper a {
  min-width: 0;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
}

.prompt-helper button {
  overflow: hidden;
  border: 1px solid rgba(50, 69, 82, 0.25);
  background: rgba(255, 255, 255, 0.4);
  color: var(--aw-ink-soft);
  padding: 11px 14px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-helper a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  background: var(--aw-teal);
  color: #ffffff;
  padding: 0 14px;
  white-space: nowrap;
}

.insight-strip {
  grid-area: insight;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  align-items: stretch;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--aw-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 42px rgba(33, 43, 55, 0.16);
  backdrop-filter: blur(18px);
}

.insight-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: clamp(14px, 1.5vw, 20px) clamp(18px, 2.2vw, 28px);
  background: rgba(255, 255, 255, 0.22);
}

.insight-item + .insight-item {
  border-left: 1px solid rgba(80, 95, 110, 0.18);
}

.insight-item svg {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--aw-teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.insight-item span {
  color: var(--aw-ink-soft);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.1;
  font-weight: 500;
}

.insight-item strong {
  display: block;
  min-width: 0;
  color: var(--aw-ink);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: pretty;
}

.insight-item a {
  grid-column: 2;
  margin-top: 4px;
  color: var(--aw-teal);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.footer-row {
  align-self: end;
}

.footer-row p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(25, 33, 48, 0.72);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 1180px) {
  .benefits-frame {
    min-height: auto;
  }

  .page-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "hero"
      "agent"
      "insight";
    align-items: stretch;
  }

  .hero-copy {
    padding-inline: clamp(8px, 4vw, 38px);
  }

  .agent-section {
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .app-page {
    padding: 16px;
  }

  .benefits-frame {
    width: min(100%, 610px);
    gap: 12px;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    padding: 0 26px 18px;
    background:
      linear-gradient(180deg, rgba(247, 249, 250, 0.66), rgba(229, 235, 238, 0.48)),
      rgba(240, 244, 246, 0.42);
  }

  .site-header {
    width: calc(100% + 52px);
    min-height: 94px;
    margin-inline: -26px;
    padding: 0 26px;
    border-width: 0 0 1px;
    border-radius: 29px 29px 0 0;
    background: rgba(246, 248, 250, 0.68);
  }

  .brand-link {
    gap: 12px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-copy strong {
    font-size: clamp(24px, 7vw, 32px);
  }

  .brand-copy span {
    display: block;
    font-size: clamp(15px, 4vw, 18px);
  }

  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .page-shell {
    gap: 14px;
  }

  .hero-copy {
    padding: clamp(18px, 4vh, 30px) 2px 0;
  }

  .hero-copy h1 {
    max-width: 520px;
    font-size: clamp(40px, 11.5vw, 58px);
    line-height: 1;
  }

  .hero-copy p {
    margin-top: 12px;
    font-size: clamp(18px, 5vw, 25px);
    line-height: 1.18;
  }

  .shortcut-panel {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-top: 24px;
    overflow: visible;
    padding-bottom: 0;
  }

  .shortcut-card {
    min-height: 76px;
    border-radius: 10px;
    padding: 9px 6px;
  }

  .shortcut-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .shortcut-card strong {
    font-size: 11px;
  }

  .agent-section {
    border-radius: 14px;
  }

  .agent-header {
    min-height: 74px;
    padding: 14px 18px 8px;
  }

  .agent-title {
    gap: 12px;
  }

  .agent-title img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .agent-title p {
    font-size: 28px;
  }

  .agent-title span:not(.status-dot) {
    font-size: 17px;
  }

  .guide-pill {
    min-height: 38px;
    gap: 7px;
    padding: 0 10px;
    font-size: 14px;
  }

  .guide-pill svg {
    width: 20px;
    height: 20px;
  }

  .widget-surface {
    width: calc(100% - 36px);
    min-height: clamp(360px, 48vh, 420px);
    margin-inline: 18px;
  }

  .prompt-helper {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 18px 18px;
  }

  .prompt-helper span {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .prompt-helper button,
  .prompt-helper a {
    font-size: 13px;
  }

  .prompt-helper a {
    min-height: 36px;
  }

  .insight-strip {
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
  }

  .insight-item {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 18px;
    background: transparent;
  }

  .insight-item + .insight-item {
    display: none;
  }

  .insight-item svg {
    width: 34px;
    height: 34px;
  }

  .insight-item span {
    font-size: 18px;
    font-weight: 800;
  }

  .insight-item strong {
    margin-top: 4px;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 500;
  }

  .footer-row p {
    padding-inline: 2px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .app-page {
    padding: 10px;
  }

  .benefits-frame {
    border-radius: 26px;
    padding-inline: 18px;
  }

  .site-header {
    width: calc(100% + 36px);
    min-height: 78px;
    margin-inline: -18px;
    padding-inline: 18px;
    border-radius: 25px 25px 0 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 24px;
  }

  .brand-copy span {
    font-size: 15px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .hero-copy {
    padding-top: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero-copy p {
    margin-top: 9px;
    font-size: 18px;
  }

  .shortcut-panel {
    margin-top: 18px;
  }

  .shortcut-card {
    min-height: 68px;
  }

  .shortcut-card__icon {
    width: 28px;
    height: 28px;
  }

  .shortcut-card strong {
    font-size: 10px;
  }

  .agent-header {
    min-height: 62px;
    padding: 10px 12px 6px;
  }

  .agent-title img {
    width: 44px;
    height: 44px;
  }

  .agent-title p {
    font-size: 22px;
  }

  .agent-title span:not(.status-dot) {
    font-size: 13px;
  }

  .guide-pill {
    max-width: 118px;
    font-size: 12px;
  }

  .widget-surface {
    width: calc(100% - 24px);
    min-height: clamp(310px, 46vh, 360px);
    margin-inline: 12px;
  }

  .prompt-helper {
    padding: 10px 12px 14px;
  }

  .prompt-helper button {
    padding: 10px;
  }

  .prompt-helper a {
    padding-inline: 10px;
  }
}

@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;
  }
}
