/* Homepage-only launch design. Shared catalogue and product styles stay in styles.css. */
.home-page {
  --home-soft: #f3f6fa;
}
.home-page .eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  line-height: 1.7;
  font-weight: 700;
  margin: 0 0 20px;
}
.home-page h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -2px;
}
.home-page p {
  font-size: 16px;
}
.home-section {
  padding: 100px 0;
}
.home-heading {
  max-width: 740px;
  margin-bottom: 36px;
}
.home-heading > p:last-child:not(.eyebrow) {
  margin-top: 24px;
  max-width: 660px;
}
.home-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.home-note,
.home-page p.home-note {
  font-size: 12px;
  line-height: 1.7;
  max-width: 700px;
  margin-top: 22px;
}
.team-hero {
  text-align: center;
  padding: 78px 0 36px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fafded 0%, #f6f9fbd9 52%, #f7f8fafa 100%),
    url("/assets/hero-sunrise.png") center 58% / cover;
}
.team-hero h1 {
  font-size: clamp(54px, 6.5vw, 92px); /*clamp(42px, 5vw, 68px)*/
  line-height: 1.12;
  letter-spacing: -2.5px;
}
.team-hero h1 > .slogan-underline {
  color: var(--navy);
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.team-hero .slogan-underline::after {
  content: "";
  position: absolute;
  left: -1%;
  bottom: -0.16em;
  width: 102%;
  height: 0.18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 16' preserveAspectRatio='none'%3E%3Cpath d='M4 11 Q190 1 496 8' fill='none' stroke='%23d25b35' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  pointer-events: none;
}
.home-page .hero-subtitle {
  font-family: var(--heading);
  /* font-size: clamp(20px, 2.2vw, 29px); */
  font-weight: 650;
  color: var(--navy);
  margin: 24px 0 10px;
  letter-spacing: -0.7px;
}
.home-page .hero-summary {
  font-size: 18px;
}
.team-hero .home-actions {
  justify-content: center;
}
.home-page .hero-reassurance {
  font-size: 12px;
}
.team-lineup {
  display: grid;
  width: 90%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 11.7px;
  align-items: start;
  margin: 49.5px auto 21.6px;
  position: relative;
}
.team-lineup:before {
  content: "";
  position: absolute;
  inset: -30px -60px;
  background:
    linear-gradient(30deg, transparent 49.8%, #a9bfd43b 50%, transparent 50.2%),
    linear-gradient(150deg, transparent 49.8%, #a9bfd43b 50%, transparent 50.2%);
  pointer-events: none;
}
.lineup-agent {
  position: relative;
  display: block;
  transition: transform 0.2s;
}
.lineup-agent:hover {
  transform: translateY(-6px);
}
.lineup-agent:nth-child(even) {
  margin-top: 23px;
}
.portrait-frame {
  overflow: hidden;
  background: #e6eff8;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.lineup-agent .portrait-frame {
  aspect-ratio: 0.78;
  border-radius: 80px 80px 24px 24px;
  box-shadow: 0 12px 28px #1024420c;
  border: 4px solid #ffffffd9;
}
.lineup-agent > span {
  display: block;
  margin-top: 13px;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 750;
}
.lineup-agent > small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--text);
}
.home-page .team-caption {
  font-size: 13px;
  margin-top: 32px;
}
.team-hero .eyebrow,
.home-final .eyebrow {
  justify-content: center;
}
.lineup-agent:nth-child(n + 4) img {
  transform: scale(1.45);
  transform-origin: 50% 16%;
}
.lineup-agent .simon-face img {
  width: 310%;
  margin-left: -132%;
}
.simon-face {
  position: relative;
}
.simon-face img {
  width: 278%;
  max-width: none;
  height: auto;
  object-fit: initial;
  margin-left: -119%;
}
.home-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-agent-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
}
.home-agent-card > .portrait-frame {
  aspect-ratio: 1.55;
}
.home-agent-card:last-child {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: #f0f6ff;
}
.home-agent-card:last-child > .portrait-frame {
  aspect-ratio: 1.35;
  height: 100%;
  max-height: 410px;
}
.agent-card-text {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex: 1;
}
.available {
  font-size: 10px;
  color: #256b53;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.available:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #388a68;
}
.home-page .agent-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.agent-card-text h3 {
  font-size: 32px;
  margin-bottom: 17px;
}
.agent-card-text h4 {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.agent-card-text > p:last-of-type {
  font-size: 14px;
  flex: 1;
}
.agent-card-text .text-link {
  margin-top: 24px;
}
.section-end {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.section-end p {
  font-size: 13px;
  max-width: 440px;
}
.soft-section {
  background: var(--home-soft);
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 50px 0 35px;
}
.home-steps article {
  border-top: 1px solid #cdd7e3;
  padding-top: 25px;
}
.step-number {
  font-size: 12px;
  color: #a3482c;
  font-weight: 650;
}
.home-steps h3 {
  font-size: 38px;
  margin: 18px 0;
}
.home-steps h3 span {
  color: var(--orange);
}
.home-steps h4 {
  font-size: 17px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.home-steps p {
  font-size: 15px;
}
.command-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.home-checks {
  padding: 0;
  list-style: none;
  margin: 25px 0 30px;
}
.home-checks li {
  font-size: 14px;
  color: var(--text);
  margin: 13px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}
.home-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #267761;
}
.command-demo {
  margin: 0;
  border: 1px solid #d5dfeb;
  border-radius: 16px;
  box-shadow: 0 25px 70px #10244210;
  background: #fff;
  overflow: hidden;
}
.demo-bar {
  padding: 19px 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: #f8fafd;
  border-bottom: 1px solid var(--border);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1px;
}
.demo-label {
  font-size: 9px;
  color: #64758b;
  letter-spacing: 0;
  font-weight: 500;
}
.demo-content {
  padding: 28px;
}
.demo-content h3 {
  font-size: 25px;
}
.demo-content .eyebrow {
  font-size: 8px;
  margin-bottom: 10px;
}
.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0 15px;
  gap: 10px;
}
.demo-stats > div {
  padding: 14px;
  background: #f3f6fa;
  border-radius: 8px;
}
.demo-stats strong {
  display: block;
  font-size: 25px;
  font-family: var(--heading);
}
.demo-stats span {
  font-size: 10px;
  color: var(--text);
}
.demo-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f4;
}
.demo-row .portrait-frame {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.demo-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.demo-row strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.demo-row > div > span {
  display: block;
  font-size: 10px;
  color: var(--text);
  margin-top: 4px;
}
.demo-state {
  font-size: 8px;
  color: #2b6c57;
  background: #edf7f1;
  padding: 6px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.demo-state.attention {
  background: #fff1e7;
  color: #934c2a;
}
.command-demo figcaption {
  padding: 17px 24px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--text);
  background: #fafbfd;
}
.flex-section {
  background: #eaf3fc;
}
.flex-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.flex-grid > div > .portrait-frame {
  border-radius: 180px 180px 28px 28px;
  aspect-ratio: 0.72;
}
.briefing {
  margin: 30px 0 25px;
}
.home-page .briefing-question {
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 18px;
}
.briefing-answer {
  padding: 26px;
  border: 1px solid #d8e4f1;
  border-radius: 3px 20px 20px;
  background: white;
}
.briefing-answer > strong {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #4378a3;
}
.briefing-answer p {
  font-size: 14px;
  margin-top: 12px;
}
.flex-grid .home-actions > strong {
  font-size: 14px;
}
.journey-intro {
  margin-bottom: 25px;
}
.team-journey {
  padding: 0;
  list-style: none;
  max-width: 1000px;
}
.team-journey li {
  display: grid;
  grid-template-columns: 35px 72px 1fr 30px;
  gap: 25px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}
.journey-number {
  font-size: 11px;
  color: #8190a1;
}
.team-journey .portrait-frame {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
.team-journey h3 {
  font-size: 22px;
  margin-bottom: 7px;
}
.team-journey h3 > span {
  font-weight: 500;
}
.team-journey p {
  font-size: 14px;
  max-width: 720px;
}
.team-journey a {
  font-size: 22px;
  padding: 4px;
}
.platform-home {
  background: #102442;
  color: #fff;
}
.platform-home .home-heading > p {
  color: #b7c8dc;
}
.home-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}
.home-layers article {
  border-top: 1px solid #53647b;
  padding-top: 25px;
}
.home-layers article > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #b9cde4;
}
.home-layers h3 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 16px 0 22px;
}
.home-layers h4 {
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.home-layers p {
  font-size: 14px;
  color: #b7c8dc;
}
.platform-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #394d67;
  margin-top: 45px;
  padding-top: 30px;
}
.platform-end p {
  font-size: 13px;
  color: #b7c8dc;
}
.platform-end strong {
  color: #fff;
  font-weight: 500;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.studio-grid > div > p {
  margin: 20px 0;
}
.studio-grid .text-link {
  margin-top: 10px;
  white-space: normal;
}
.studio-example {
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(135deg, #f2f5fb, #fff4eb);
}
.custom-agent-symbol {
  font-size: 40px;
  color: #c16d48;
  margin: 20px 0;
}
.studio-example h3 {
  font-size: 27px;
}
.studio-example dl > div {
  padding: 15px 0;
  border-bottom: 1px solid #dfe4eb;
}
.studio-example dt {
  font-size: 9px;
  letter-spacing: 1px;
  color: #66768a;
  margin-bottom: 6px;
}
.studio-example dd {
  margin: 0;
  font-size: 14px;
}
.studio-example > p {
  font-size: 12px;
  margin-top: 25px;
}
.home-final {
  text-align: center;
  background: linear-gradient(115deg, #f0f5fa, #fff0e5);
}
.home-final .home-heading {
  margin-inline: auto;
}
.home-final .home-heading > p {
  margin-inline: auto;
}
.home-final h2 {
  font-size: clamp(45px, 5vw, 68px);
}
.home-final .home-actions {
  justify-content: center;
}
.home-final .home-note {
  margin-inline: auto;
}
.home-page .final-mantra {
  font-weight: 650;
  color: var(--navy);
}
.home-footer {
  padding-top: 65px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr 0.8fr;
  gap: 35px;
  padding-bottom: 45px;
}
.footer-columns > div > p {
  font-size: 13px;
  margin: 25px 0 15px;
}
.footer-columns > div > strong {
  font-size: 12px;
}
.footer-columns nav h2 {
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.footer-columns nav a {
  display: block;
  font-size: 12px;
  color: var(--text);
  line-height: 1.7;
  margin: 10px 0;
}
.footer-columns nav a:hover {
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .command-grid,
  .flex-grid,
  .studio-grid {
    gap: 35px;
  }
  .home-agent-grid {
    gap: 18px;
  }
  .agent-card-text {
    padding: 23px;
  }
  .team-lineup {
    gap: 7.2px;
  }
  .lineup-agent > small {
    font-size: 9px;
  }
  .home-page .navigation {
    gap: 20px;
  }
  .home-page .navigation nav {
    gap: 20px;
  }
}
@media (max-width: 850px) {
  .home-agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-agent-card:last-child {
    grid-column: span 2;
  }
  .command-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .command-demo {
    max-width: 640px;
    width: 100%;
    margin: auto;
  }
  .flex-grid {
    grid-template-columns: 0.6fr 1fr;
    gap: 25px;
  }
  .team-lineup {
    grid-template-columns: repeat(4, 1fr);
    max-width: 585px;
    gap: 18px;
  }
  .lineup-agent:nth-child(even) {
    margin-top: 0;
  }
  .lineup-agent:last-child {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .lineup-agent .portrait-frame {
    aspect-ratio: 1;
  }
  .lineup-agent:last-child .portrait-frame {
    aspect-ratio: 0.65;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-steps {
    gap: 25px;
  }
  .home-layers {
    gap: 22px;
  }
}
@media (max-width: 720px) {
  .home-section {
    padding: 60px 0;
  }
  .team-hero {
    padding-top: 48px;
  }
  .team-hero h1 {
    font-size: clamp(36px, 7vw, 48px);
    letter-spacing: -1.5px;
  }
  .home-page .hero-summary {
    font-size: 16px;
    max-width: 310px;
    margin-inline: auto;
  }
  .home-page .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .home-page h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .home-actions {
    gap: 20px;
  }
  .team-lineup {
    gap: 9px;
    margin-top: 31.5px;
  }
  .lineup-agent .portrait-frame {
    border-width: 2px;
    border-radius: 40px 40px 14px 14px;
  }
  .lineup-agent > span {
    font-size: 14px;
  }
  .lineup-agent > small {
    font-size: 8px;
    line-height: 1.4;
  }
  .home-agent-grid {
    grid-template-columns: 1fr;
  }
  .home-agent-card:last-child {
    grid-column: auto;
    display: flex;
  }
  .home-agent-card:last-child > .portrait-frame {
    aspect-ratio: 1.55;
    height: auto;
  }
  .home-agent-card {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }
  .section-end {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .home-steps,
  .home-layers,
  .flex-grid {
    grid-template-columns: 1fr;
  }
  .home-steps {
    margin-top: 32px;
  }
  .home-steps article {
    padding-top: 20px;
  }
  .home-steps h3 {
    font-size: 33px;
  }
  .flex-grid > div > .portrait-frame {
    max-width: 300px;
    aspect-ratio: 1;
    margin: 0 auto 10px;
  }
  .demo-content {
    padding: 21px;
  }
  .demo-bar {
    padding: 15px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .demo-row strong {
    font-size: 11px;
  }
  .demo-state {
    font-size: 7px;
    padding: 5px;
  }
  .team-journey li {
    grid-template-columns: 50px 1fr 20px;
    gap: 14px;
    padding: 20px 0;
  }
  .journey-number {
    display: none;
  }
  .team-journey .portrait-frame {
    width: 50px;
    height: 50px;
  }
  .team-journey h3 {
    font-size: 18px;
    line-height: 1.4;
  }
  .team-journey p {
    font-size: 13px;
  }
  .platform-end {
    align-items: start;
    flex-direction: column;
  }
  .platform-end .text-link {
    white-space: normal;
  }
  .studio-example {
    padding: 25px;
  }
  .home-final h2 {
    font-size: 44px;
  }
  .footer-columns {
    gap: 30px 20px;
  }
  .footer-columns > div {
    grid-column: span 2;
  }
  .home-footer {
    padding-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lineup-agent {
    transition: none;
  }
  .lineup-agent:hover {
    transform: none;
  }
}

.team-hero h1 > .slogan-stop {
  color: #d25b35;
}
