/* 2026 homepage experience */
body.layout-classic {
  overflow: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fbfcfd 0%, #f7f9fb 44%, #f7f4ee 100%);
}

.layout-classic .app-shell.is-input-only .chat-stage {
  display: block;
}

.advisor-primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.advisor-primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #425466;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.app-shell:not(.is-input-only) .advisor-primary-nav {
  display: none;
}

.layout-classic .app-shell.is-input-only {
  --home-ink: #092c45;
  --home-muted: #53687b;
  --home-teal: #087d79;
  --home-blue: #174f86;
  --home-line: #b6cbd3;
  --home-surface: rgba(255, 255, 255, 0.88);
  width: min(100%, 1280px);
  max-width: 1280px;
  overflow-x: clip;
  padding-inline: clamp(18px, 4vw, 44px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.layout-classic .app-shell.is-input-only .topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-inline: calc(clamp(18px, 4vw, 44px) * -1);
  padding: calc(14px + var(--safe-top)) clamp(18px, 4vw, 44px) 14px;
  border-bottom: 1px solid rgba(9, 44, 69, 0.09);
  background: rgba(250, 253, 253, 0.82);
  box-shadow: 0 12px 32px rgba(9, 44, 69, 0.045);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.layout-classic .app-shell.is-input-only .brand-home-link {
  justify-self: start;
  min-height: 48px;
  padding: 4px 0;
}

.layout-classic .app-shell.is-input-only .brand-mark img {
  width: clamp(172px, 18vw, 220px) !important;
  height: auto !important;
}

.home-primary-nav {
  flex-wrap: nowrap;
  gap: 3px;
}

.home-primary-nav a {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 11px;
  color: #41576a;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-primary-nav a:hover {
  background: rgba(23, 79, 134, 0.075);
  color: var(--home-blue);
}

.home-primary-nav a:focus-visible {
  outline: 3px solid rgba(13, 143, 138, 0.34);
  outline-offset: 2px;
}

.home-primary-nav .advisor-studio-link {
  min-height: 44px;
  margin-inline-start: 3px;
  padding-inline: 9px;
  border: 0;
  background: transparent;
  color: #647383;
  box-shadow: none;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-primary-nav .advisor-studio-link:hover {
  background: rgba(23, 79, 134, 0.06);
  color: var(--home-blue);
  transform: none;
}

.home-primary-nav .advisor-studio-link span {
  font-size: 0.88rem;
}

.composer-notice .composer-login-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 16px;
  border: 1px solid #075f67;
  border-radius: 10px;
  background: #075f67;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.composer-notice .composer-login-link:focus-visible {
  outline: 3px solid #075f67;
  outline-offset: 3px;
}

.layout-classic .app-shell.is-input-only .chat-stage {
  width: 100%;
  min-width: 0;
  padding: 0;
}

.layout-classic .app-shell.is-input-only .classic-composer-shell {
  display: grid;
  gap: 0;
  width: 100%;
  padding: 0;
}

.layout-classic .app-shell.is-input-only .classic-composer-card {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.layout-classic .app-shell.is-input-only .composer-intro {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 940px;
  margin: clamp(54px, 8vw, 94px) auto 0;
  text-align: center;
}

.layout-classic .app-shell.is-input-only .classic-composer-card.is-hero-condensed .composer-intro,
html.home-hero-condensed .layout-classic .app-shell.is-input-only .classic-composer-card .composer-intro {
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
}

.layout-classic .app-shell.is-input-only .classic-composer-card.is-hero-condensed .home-hero-kicker,
.layout-classic .app-shell.is-input-only .classic-composer-card.is-hero-condensed .home-value-list,
html.home-hero-condensed .layout-classic .app-shell.is-input-only .classic-composer-card .home-hero-kicker,
html.home-hero-condensed .layout-classic .app-shell.is-input-only .classic-composer-card .home-value-list {
  display: none;
}

.layout-classic .app-shell.is-input-only .classic-composer-card.is-hero-condensed .composer-heading,
html.home-hero-condensed .layout-classic .app-shell.is-input-only .classic-composer-card .composer-heading {
  max-width: 24ch;
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.layout-classic .app-shell.is-input-only .classic-composer-card.is-hero-condensed .composer-input-help,
html.home-hero-condensed .layout-classic .app-shell.is-input-only .classic-composer-card .composer-input-help {
  max-width: 68ch;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.5;
}

.layout-classic .app-shell.is-input-only .classic-composer-card.is-hero-condensed .home-question-panel,
html.home-hero-condensed .layout-classic .app-shell.is-input-only .classic-composer-card .home-question-panel {
  margin-top: clamp(24px, 4vw, 38px);
}

@media (prefers-reduced-motion: no-preference) {
  .layout-classic .app-shell.is-input-only .composer-intro,
  .layout-classic .app-shell.is-input-only .composer-heading,
  .layout-classic .app-shell.is-input-only .composer-input-help,
  .layout-classic .app-shell.is-input-only .home-question-panel {
    transition: margin 240ms ease, gap 240ms ease, font-size 240ms ease, line-height 240ms ease;
  }
}

.layout-classic .app-shell.is-input-only .composer-intro::before,
.layout-classic .app-shell.is-input-only .composer-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(1px);
}

.layout-classic .app-shell.is-input-only .composer-intro::before {
  inset: -44px auto auto -38px;
  width: 152px;
  height: 152px;
  border: 22px solid rgba(14, 165, 161, 0.07);
  transform: rotate(-15deg);
}

.layout-classic .app-shell.is-input-only .composer-intro::after {
  inset: auto -72px -8px auto;
  width: 118px;
  height: 118px;
  background: radial-gradient(circle, rgba(244, 190, 62, 0.16) 0 4px, transparent 5px) 0 0 / 17px 17px;
  opacity: 0.75;
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(8, 125, 121, 0.18);
  border-radius: 999px;
  background: rgba(237, 249, 246, 0.84);
  color: #096b67;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.105em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.home-hero-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d8f8a;
  box-shadow: 0 0 0 4px rgba(13, 143, 138, 0.12);
}

.layout-classic .app-shell.is-input-only .composer-heading {
  max-width: 14ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(3.55rem, 7.2vw, 6.15rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.91;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 24px 50px rgba(9, 44, 69, 0.08);
}

.layout-classic .app-shell.is-input-only .composer-input-help {
  max-width: 60ch;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.75vw, 1.17rem);
  font-weight: 590;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

.home-value-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.home-value-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(9, 44, 69, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #395366;
  font-size: 0.76rem;
  font-weight: 790;
  box-shadow: 0 6px 16px rgba(9, 44, 69, 0.04), inset 0 1px 0 #fff;
}

.home-value-list li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e4f4ef;
  color: #087272;
  font-size: 0.58rem;
  font-weight: 950;
}

.home-question-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  width: min(100%, 1000px);
  margin: clamp(36px, 6vw, 60px) auto 0;
  padding: clamp(22px, 3.5vw, 34px);
  overflow: hidden;
  border: 1px solid #adc6cf;
  border-bottom-width: 3px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 102, 168, 0.09), transparent 28%),
    radial-gradient(circle at 0 100%, rgba(14, 165, 161, 0.075), transparent 30%),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 28px 70px rgba(9, 44, 69, 0.13),
    0 8px 20px rgba(9, 44, 69, 0.06),
    inset 0 1px 0 #fff;
}

.home-question-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 5px;
  background: linear-gradient(90deg, #0d8f8a 0 56%, #2266a8 76%, #efbd45 100%);
}

.home-question-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -76px;
  bottom: -94px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(34, 102, 168, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.home-question-heading,
.home-question-panel > .composer-input-label,
.home-question-panel > .classic-question-field,
.home-question-panel > .first-evaluation-consent,
.home-question-panel > .composer-notice,
.home-question-panel > .public-verification,
.home-question-panel > .composer-start-over {
  grid-column: 1 / -1;
}

.home-question-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 3px;
}

.home-question-heading p,
.home-question-heading h2 {
  margin: 0;
}

.home-question-heading p {
  color: #0a7772;
  font-size: 0.64rem;
  font-weight: 920;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-question-heading h2 {
  margin-top: 2px;
  color: #16344b;
  font-family: "Fraunces Variable", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.28rem, 2.2vw, 1.62rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.home-question-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 125, 121, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, #dff7f1, #c8ece4);
  color: #087272;
  font-size: 0.7rem;
  font-weight: 950;
  box-shadow: 0 7px 16px rgba(8, 125, 121, 0.1), inset 0 1px 0 #fff;
}

.layout-classic .home-question-panel > .composer-input-label {
  margin: 1px 0 -3px;
  color: #40586a;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.45;
}

.layout-classic .home-question-panel .classic-question-field {
  min-height: 132px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #6f909d;
  border-bottom-width: 2px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 28px rgba(9, 44, 69, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.layout-classic .home-question-panel .classic-question-field:focus-within {
  border-color: #087d79;
  box-shadow:
    0 0 0 5px rgba(13, 143, 138, 0.13),
    0 18px 36px rgba(9, 44, 69, 0.1),
    inset 0 1px 0 #fff;
  transform: translateY(-1px);
}

.layout-classic .home-question-panel .composer-input {
  width: 100%;
  min-height: 128px;
  max-height: 260px;
  resize: vertical;
  padding: 18px 68px 18px 18px;
  border: 0;
  border-radius: 16px;
  color: #173049;
  font-size: 1rem;
  font-weight: 570;
  line-height: 1.6;
  scrollbar-gutter: stable;
}

.layout-classic .home-question-panel .composer-input::placeholder {
  color: #75899a;
  opacity: 1;
}

.layout-classic .home-question-panel .input-clear-button {
  top: 9px;
  right: 9px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(9, 44, 69, 0.12);
  background: rgba(242, 247, 248, 0.95);
  color: #476073;
}

.layout-classic .home-question-panel .input-clear-button span,
.layout-classic .home-question-panel .input-clear-button span::after {
  display: block;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.layout-classic .home-question-panel .input-clear-button span {
  transform: rotate(45deg);
}

.layout-classic .home-question-panel .input-clear-button span::after {
  transform: rotate(90deg);
}

.layout-classic .home-question-panel .input-clear-button:focus-visible {
  outline: 3px solid rgba(13, 143, 138, 0.36);
  outline-offset: 2px;
}

.home-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  align-self: center;
  justify-content: space-between;
  min-width: 0;
}

.home-question-meta p {
  margin: 0;
  color: #5e7181;
  font-size: 0.72rem;
  font-weight: 680;
  line-height: 1.4;
}

#composerPrivacyHint {
  display: inline-flex;
  flex: 1 1 520px;
  align-items: flex-start;
  gap: 7px;
}

#composerPrivacyHint > span:first-child {
  position: relative;
  width: 15px;
  height: 17px;
  margin-top: 1px;
  flex: 0 0 auto;
  border: 2px solid #4b7180;
  border-radius: 4px;
}

#composerPrivacyHint > span:first-child::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -8px;
  width: 7px;
  height: 7px;
  border: 2px solid #4b7180;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

#composerPrivacyHint a,
.first-evaluation-consent a {
  color: #075f67;
  font-weight: 830;
  text-decoration-color: rgba(7, 95, 103, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

#composerPrivacyHint a:hover,
.first-evaluation-consent a:hover {
  color: #174f86;
  text-decoration-color: currentColor;
}

#composerPrivacyHint a:focus-visible,
.first-evaluation-consent a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(13, 143, 138, 0.3);
  outline-offset: 2px;
}

#composerCharacterCount {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.first-evaluation-consent {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(9, 44, 69, 0.1);
}

.first-evaluation-consent label {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  color: #4d6374;
  font-size: 0.75rem;
  font-weight: 620;
  line-height: 1.5;
  cursor: pointer;
}

.first-evaluation-consent strong {
  color: #173e57;
  font-weight: 860;
}

.first-evaluation-consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 5px;
  accent-color: #087d79;
  cursor: pointer;
}

.first-evaluation-consent input:focus-visible {
  outline: 3px solid rgba(13, 143, 138, 0.34);
  outline-offset: 3px;
}

.first-evaluation-consent:has(input:user-invalid) {
  border-top-color: rgba(156, 73, 48, 0.45);
}

.layout-classic .home-question-panel .send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 208px;
  min-height: 54px;
  padding: 12px 15px 12px 20px;
  border: 1px solid #075d62;
  border-bottom-width: 3px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 24% 0, rgba(255, 255, 255, 0.3), transparent 35%),
    linear-gradient(145deg, #12a8a1, #087272 72%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow:
    0 15px 29px rgba(8, 114, 114, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.27);
  text-shadow: 0 1px 1px rgba(0, 53, 51, 0.24);
}

.layout-classic .home-question-panel .send-button:hover:not(:disabled),
.layout-classic .home-question-panel .send-button:focus-visible {
  background:
    radial-gradient(circle at 24% 0, rgba(255, 255, 255, 0.36), transparent 35%),
    linear-gradient(145deg, #16bab1, #087272 72%);
  box-shadow:
    0 19px 34px rgba(8, 114, 114, 0.29),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.layout-classic .home-question-panel .send-button:focus-visible {
  outline: 3px solid rgba(13, 143, 138, 0.35);
  outline-offset: 3px;
}

.layout-classic .home-question-panel .send-button:disabled {
  border-color: #7599a5;
  border-bottom-width: 2px;
  background: linear-gradient(145deg, #a8c1c8, #83a9b5);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 17px rgba(53, 87, 100, 0.11);
  opacity: 0.72;
  text-shadow: none;
}

.home-send-arrow {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1rem;
  line-height: 1;
}

.layout-classic .home-question-panel .public-verification {
  margin-top: 4px;
}

.layout-classic .home-question-panel .composer-start-over {
  justify-self: end;
  width: fit-content;
  min-height: 40px;
  margin-top: -2px;
  padding: 7px 4px;
}

.home-method-shell {
  display: grid;
  max-width: 1120px;
  margin: clamp(90px, 11vw, 140px) auto 0;
  scroll-margin-top: 90px;
}

.home-method-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid rgba(9, 44, 69, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: #315164;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 820;
  box-shadow: 0 7px 17px rgba(9, 44, 69, 0.05), inset 0 1px 0 #fff;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.home-method-toggle:hover {
  border-color: rgba(8, 114, 114, 0.4);
  background: #fff;
  color: #075f62;
}

.home-method-toggle:focus-visible {
  outline: 3px solid rgba(13, 143, 138, 0.38);
  outline-offset: 3px;
}

.home-method-toggle-icon {
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.home-method-toggle[aria-expanded="true"] .home-method-toggle-icon {
  transform: translateY(2px) rotate(225deg);
}

.home-method-shell.is-collapsed {
  display: grid;
  justify-items: center;
  margin-top: clamp(28px, 3vw, 38px);
}

.home-method-shell.is-collapsed .home-method-toggle {
  justify-self: center;
}

.home-method-shell.is-collapsed + .samples-2-section {
  margin-top: clamp(34px, 5vw, 56px);
}

.home-method {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px 50px;
  align-items: start;
  margin: 18px 0 0;
}

.home-section-heading {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

.home-section-heading > p,
.home-section-heading > h2,
.home-section-heading > span {
  margin: 0;
}

.home-section-heading > p {
  color: #087272;
  font-size: 0.7rem;
  font-weight: 920;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-section-heading > h2 {
  max-width: 12ch;
  color: var(--home-ink);
  font-family: "Fraunces Variable", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-section-heading > span {
  max-width: 36ch;
  color: var(--home-muted);
  font-size: 0.91rem;
  font-weight: 620;
  line-height: 1.55;
}

.home-method-steps {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-method-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 136px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #bdcfd6;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 249, 0.88));
  box-shadow:
    0 14px 35px rgba(9, 44, 69, 0.07),
    inset 0 1px 0 #fff;
}

.home-method-steps li::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(14, 165, 161, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.home-method-steps li:nth-child(2)::after {
  border-color: rgba(34, 102, 168, 0.045);
}

.home-method-steps li:nth-child(3)::after {
  border-color: rgba(239, 189, 69, 0.065);
}

.home-method-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 125, 121, 0.18);
  border-radius: 14px;
  background: #e3f5f0;
  color: #087272;
  font-size: 0.68rem;
  font-weight: 950;
  box-shadow: inset 0 1px 0 #fff;
}

.home-method-steps h3,
.home-method-steps p {
  margin: 0;
}

.home-method-steps h3 {
  color: #17364d;
  font-size: 1rem;
  font-weight: 880;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.home-method-steps p {
  max-width: 48ch;
  margin-top: 7px;
  color: #5a6d7e;
  font-size: 0.86rem;
  font-weight: 610;
  line-height: 1.55;
}

.home-method-note {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid rgba(23, 79, 134, 0.13);
  border-radius: 16px;
  background: rgba(235, 244, 251, 0.72);
  color: #476073;
}

.home-method-note p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1.5;
}

.home-method-note strong {
  color: #174f86;
  font-weight: 900;
}

.home-method-note-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #174f86;
  color: #fff;
  font-family: "Fraunces Variable", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 720;
  box-shadow: 0 7px 15px rgba(23, 79, 134, 0.18);
}

.layout-classic .app-shell.is-input-only .samples-2-section {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: clamp(95px, 12vw, 150px) auto 0;
  padding: 0;
  scroll-margin-top: 90px;
  content-visibility: auto;
  contain-intrinsic-size: auto 980px;
}

#sampleGalleryHeading {
  scroll-margin-top: 112px;
}

.layout-classic .app-shell.is-input-only .home-method-shell.is-collapsed + .samples-2-section {
  margin-top: clamp(24px, 2.5vw, 32px);
}

.layout-classic .app-shell.is-input-only .sample-gallery-intro {
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}

.layout-classic .app-shell.is-input-only .sample-gallery-intro .sample-gallery-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
}

.layout-classic .app-shell.is-input-only .sample-gallery-intro h2 {
  color: var(--home-ink);
  font-size: clamp(2rem, 4.6vw, 3.55rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.layout-classic .app-shell.is-input-only .sample-gallery-intro > p:last-child {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.layout-classic .app-shell.is-input-only .sample-gallery {
  grid-template-columns: minmax(330px, 0.86fr) minmax(420px, 1.14fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #b6cbd3;
  border-bottom-width: 4px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0, rgba(37, 193, 180, 0.1), transparent 30%),
    radial-gradient(circle at 96% 100%, rgba(248, 196, 74, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 28px 75px rgba(9, 44, 69, 0.12),
    inset 0 1px 0 #fff;
}

.layout-classic .app-shell.is-input-only .sample-gallery-map,
.layout-classic .app-shell.is-input-only .sample-gallery-results {
  border: 1px solid #b9ccd3;
  border-bottom-width: 3px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(9, 44, 69, 0.055), inset 0 1px 0 #fff;
}

.layout-classic .app-shell.is-input-only .sample-gallery-quadrant {
  border-width: 1px;
}

.layout-classic .app-shell.is-input-only .sample-case-card {
  min-height: 106px;
  border: 1px solid #c3d1d7;
  border-bottom-width: 2px;
  box-shadow: 0 6px 15px rgba(9, 44, 69, 0.045), inset 0 1px 0 #fff;
}

.layout-classic .app-shell.is-input-only .sample-case-card:hover {
  border-color: color-mix(in srgb, var(--gallery-accent) 46%, #879fac);
}

.app-shell:not(.is-input-only) .home-only-section,
.app-shell:not(.is-input-only) .home-footer-brand,
.app-shell:not(.is-input-only) .home-primary-nav {
  display: none;
}

.home-footer {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(72px, 9vw, 112px);
  padding: 24px 0 calc(24px + var(--safe-bottom));
  border-top: 1px solid rgba(9, 44, 69, 0.11);
}

.home-footer-brand {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.home-footer-brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.home-footer-brand p {
  display: grid;
  gap: 1px;
  margin: 0;
  color: #657888;
  font-size: 0.7rem;
  line-height: 1.35;
}

.home-footer-brand strong {
  color: #17364d;
  font-size: 0.76rem;
  font-weight: 900;
}

.home-footer .legal-links {
  flex: 0 0 auto;
  padding: 0;
}

.home-footer .legal-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

@supports (content-visibility: auto) {
  .home-method-shell {
    content-visibility: auto;
    contain-intrinsic-size: auto 780px;
  }

  .samples-2-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 1120px;
  }

  .home-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 180px;
  }
}

@media (max-width: 900px) {
  .layout-classic .app-shell.is-input-only .topbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .layout-classic .app-shell.is-input-only .brand-home-link {
    justify-self: center;
  }

  .home-primary-nav {
    justify-content: center;
  }

  .home-method-shell {
    max-width: 720px;
  }

  .home-method {
    grid-template-columns: 1fr;
  }

  .home-section-heading {
    position: static;
    justify-items: center;
    text-align: center;
  }

  .home-section-heading > h2,
  .home-section-heading > span {
    max-width: 18ch;
  }

  .home-section-heading > span {
    max-width: 52ch;
  }

  .home-method-note {
    grid-column: 1;
  }

  .layout-classic .app-shell.is-input-only .sample-gallery {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .home-method-shell,
  #sampleGalleryHeading {
    scroll-margin-top: 190px;
  }

  .layout-classic .app-shell.is-input-only {
    padding-inline: 14px;
  }

  .layout-classic .app-shell.is-input-only .topbar {
    margin-inline: -14px;
    padding: calc(10px + var(--safe-top)) 14px 10px;
  }

  .layout-classic .app-shell.is-input-only .brand-home-link {
    min-height: 42px;
  }

  .layout-classic .app-shell.is-input-only .brand-mark img {
    width: 154px !important;
  }

  .home-primary-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 1px;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .home-primary-nav::-webkit-scrollbar {
    display: none;
  }

  .home-primary-nav a {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 0.73rem;
  }

  .home-primary-nav .advisor-studio-link {
    margin-inline: 0;
  }

  .layout-classic .app-shell.is-input-only .composer-intro {
    gap: 13px;
    margin-top: 42px;
  }

  .layout-classic .app-shell.is-input-only .composer-intro::before {
    left: -76px;
  }

  .layout-classic .app-shell.is-input-only .composer-intro::after {
    right: -50px;
  }

  .layout-classic .app-shell.is-input-only .composer-heading {
    max-width: 12ch;
    font-size: clamp(3rem, 14.5vw, 4rem);
    line-height: 0.92;
  }

  .layout-classic .app-shell.is-input-only .composer-input-help {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .home-value-list {
    gap: 6px;
  }

  .home-value-list li {
    min-height: 34px;
    padding: 5px 9px 5px 5px;
    font-size: 0.68rem;
  }

  .home-value-list li > span {
    width: 22px;
    height: 22px;
  }

  .home-question-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin-top: 32px;
    padding: 20px 16px 17px;
    border-radius: 22px;
  }

  .home-question-heading {
    gap: 10px;
  }

  .home-question-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .home-question-heading h2 {
    font-size: 1.22rem;
  }

  .layout-classic .home-question-panel > .composer-input-label {
    font-size: 0.77rem;
  }

  .layout-classic .home-question-panel .classic-question-field,
  .layout-classic .home-question-panel .composer-input {
    min-height: 144px;
  }

  .layout-classic .home-question-panel .composer-input {
    padding: 15px 64px 15px 15px;
  }

  .home-question-meta {
    grid-row: auto;
    align-items: flex-start;
  }

  #composerPrivacyHint {
    max-width: 32ch;
  }

  .layout-classic .home-question-panel .send-button {
    width: 100%;
    min-height: 56px;
  }

  .home-method-shell {
    margin-top: 92px;
  }

  .home-method-shell.is-collapsed {
    margin-top: 28px;
  }

  .home-method {
    gap: 22px;
    margin-top: 16px;
  }

  .home-section-heading > h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .home-method-steps li {
    min-height: 0;
    padding: 18px;
  }

  .layout-classic .app-shell.is-input-only .samples-2-section {
    gap: 20px;
    margin-top: 100px;
    contain-intrinsic-size: auto 1340px;
  }

  .layout-classic .app-shell.is-input-only .home-method-shell.is-collapsed + .samples-2-section {
    margin-top: 24px;
  }

  .layout-classic .app-shell.is-input-only .sample-gallery-intro h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .layout-classic .app-shell.is-input-only .sample-gallery {
    padding: 10px;
    border-radius: 21px;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 78px;
    padding-bottom: calc(18px + var(--safe-bottom));
  }
}

@media (max-width: 390px) {
  .home-value-list li:last-child {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-primary-nav a,
  .layout-classic .home-question-panel .classic-question-field,
  .layout-classic .home-question-panel .send-button,
  .home-method-toggle-icon {
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .home-hero-kicker,
  .home-value-list li,
  .home-question-panel,
  .home-method-toggle,
  .layout-classic .home-question-panel .classic-question-field,
  .home-method-steps li,
  .home-method-note,
  .layout-classic .app-shell.is-input-only .sample-gallery,
  .layout-classic .app-shell.is-input-only .sample-gallery-map,
  .layout-classic .app-shell.is-input-only .sample-gallery-results,
  .layout-classic .app-shell.is-input-only .sample-case-card {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }
}

@media print {
  .home-primary-nav,
  .home-only-section,
  .home-footer-brand {
    display: none !important;
  }
}
