/* Distinct section layouts for the public site. Loaded after the shared theme. */

.lay {
  display: block;
  width: 100%;
}

.lay-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(99, 102, 241, 0.16), transparent 28%),
    #f6f7fb;
}

.lay-hero-copy {
  padding: 36px 48px 36px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 680px;
}

.lay-hero-lead {
  margin: 16px 0 0;
  max-width: 46ch;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.65;
}

.lay-hero-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 460px;
}

.lay-hero-points li {
  display: grid;
  grid-template-columns: 8px 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  text-align: left;
}

.lay-hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50% !important;
  background: #4f46e5;
  grid-row: 1 / span 2;
}

.lay-hero-points strong,
.lay-hero-points span {
  display: block;
}

.lay-hero-points strong {
  color: #0c1222;
  font-size: 0.98rem;
}

.lay-hero-points span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lay-hero-copy .mfx-cta {
  margin-top: 22px;
  justify-content: flex-start;
}

.lay-hero-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 460px;
}

.lay-hero-meta p {
  margin: 0;
  text-align: left;
}

.lay-hero-meta strong {
  display: block;
  color: #0c1222;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.lay-hero-meta span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.lay-hero-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #0c1222;
}

.lay-hero-copy h1 span {
  display: block;
  background: linear-gradient(120deg, #4f46e5, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lay-hero-copy > p {
  max-width: 46ch;
  margin: 18px 0 0;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.7;
}

.lay-hero {
  align-items: stretch;
  min-height: 0;
}

.lay-hero-stage {
  position: relative;
  background: #f4f1ea;
  display: block;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}

.lay-hero-stage img,
.lay-split img,
.lay-zig img,
.lay-about-hero img,
.lay-cta img,
.lay-auth-story img,
.lay-contact-copy img,
.lay-tile.wide img {
  object-fit: cover;
  background: #e2e8f0;
}

.lay-hero-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0 !important;
  box-shadow: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.lay-float {
  position: absolute;
  border-radius: 16px !important;
  background: #fff;
  color: #0f172a;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  min-width: 150px;
}

.lay-float strong {
  display: block;
  font-size: 1.15rem;
}

.lay-float span {
  color: #64748b;
  font-size: 0.78rem;
}

.lay-float-a { left: 28px; bottom: 48px; }
.lay-float-b { right: 28px; top: 48px; }

.lay-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 48px;
  background: #2a3548;
  color: #e2e8f0;
}

.lay-strip span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.85;
}

.lay-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 64px;
  background-color: #f7f5f2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.4)), url("../images/bg-soft-desk.jpg");
  background-size: cover;
  background-position: center;
}

.lay-split img,
.lay-zig img,
.lay-about-hero img,
.lay-auth-story img,
.lay-contact-copy img {
  width: 100%;
  height: 420px;
  border-radius: 28px !important;
  display: block;
}

.lay-cta img,
.lay-tile.wide img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
}

.lay-auth-story .lay-kicker,
.lay-contact-copy .lay-kicker,
.lay-bento .lay-kicker,
.lay-cta .lay-kicker {
  color: #c7d2fe;
}

.lay-kicker {
  margin: 0;
  color: #4f46e5;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lay-split h2,
.lay-rail h2,
.lay-bento h2,
.lay-price h2,
.lay-about-hero h1,
.lay-contact-copy h1 {
  margin: 10px 0 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0c1222;
}

.lay-split h2 { font-size: clamp(2rem, 3vw, 3.2rem); }

.lay-rows {
  margin-top: 28px;
  display: grid;
  gap: 0;
}

.lay-rows article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
}

.lay-rows strong {
  display: block;
  font-size: 1.05rem;
}

.lay-rows p {
  margin: 4px 0 0;
  color: #64748b;
}

.lay-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px !important;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 800;
}

.lay-rail {
  padding: 72px 64px 80px;
  background:
    linear-gradient(180deg, #f8fafc, #eef2ff);
}

.lay-rail h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 16ch;
}

.lay-rail-track {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.lay-rail-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 2px;
  background: #c7d2fe;
}

.lay-rail-track article {
  position: relative;
  padding: 0 18px;
}

.lay-rail-track em {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  background: #4f46e5;
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.lay-rail-track h3 {
  margin: 18px 0 8px;
}

.lay-rail-track p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.lay-bento {
  padding: 72px 48px 80px;
  color: #0c1222;
  background-color: #f4f7f8;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.38)), url("../images/bg-soft-window.jpg");
  background-size: cover;
  background-position: center;
}

.lay-bento h2 {
  color: #0c1222;
  font-size: clamp(2rem, 3vw, 3.1rem);
  max-width: none;
  width: 100%;
  padding: 0;
  text-align: center;
}

.lay-bento-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.lay-tile {
  border-radius: 24px !important;
  padding: 22px;
  background: #2a3548;
  min-height: 180px;
}

.lay-tile.wide {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.lay-tile.wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px !important;
}

.lay-tile h3 { margin: 8px 0; color: #fff; }
.lay-tile p { margin: 0; color: #94a3b8; line-height: 1.55; }
.lay-tile.mint { background: #1f4d48; }
.lay-tile.sand { background: #3f3a36; grid-column: 2 / 4; }

.lay-quote {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 420px;
  background-color: #f6f4ef;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.38)), url("../images/bg-soft-paper.jpg");
  background-size: cover;
  background-position: center;
}

.lay-quote-main {
  padding: 72px 64px;
  background: rgba(255, 255, 255, 0.42);
}

.lay-quote-main blockquote {
  margin: 18px 0 0;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #1e1b4b;
}

.lay-person {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lay-person img {
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
}

.lay-quote-side {
  display: grid;
}

.lay-quote-side article {
  padding: 28px;
  border-bottom: 1px solid #e2e8f0;
}

.lay-quote-side article:last-child { border-bottom: 0; }
.lay-quote-side p { margin: 0 0 12px; color: #334155; line-height: 1.55; }
.lay-quote-side img {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  margin-right: 8px;
}

.lay-price {
  padding: 80px 48px;
  background: #f8fafc;
}

.lay-price h2 {
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
}

.lay-price .mfx-subtitle,
.lay-price > p {
  text-align: center;
  color: #64748b;
}

.lay-price .pricing-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.15fr 0.85fr;
  gap: 16px;
  align-items: end;
}

.lay-price .pricing-grid {
  align-items: stretch;
}

.lay-price .pricing-card {
  background: #fff !important;
  border: 1px solid #e6eaf2 !important;
  border-radius: 24px !important;
  padding: 26px 24px 24px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06) !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.lay-price .pricing-card ul {
  flex: 1;
}

.lay-price .pricing-card .btn {
  margin-top: 8px;
  width: 100%;
}

.lay-price .pricing-card.featured {
  background: linear-gradient(180deg, #1e1b4b, #312e81) !important;
  color: #eef2ff;
  transform: translateY(-12px);
  padding: 34px 26px 28px !important;
  border: 0 !important;
  box-shadow: 0 28px 60px rgba(49, 46, 129, 0.35) !important;
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px !important;
  background: #fbbf24;
  color: #1e1b4b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.lay-price .pricing-card.featured h3,
.lay-price .pricing-card.featured h3 span,
.lay-price .pricing-card.featured li,
.lay-price .pricing-card.featured .pricing-label {
  color: #fff !important;
}

.lay-price .pricing-card.featured .pricing-label {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: transparent !important;
}

.lay-price .pricing-card.featured .btn {
  background: #fff !important;
  color: #312e81 !important;
}

.page-home #pricing {
  padding: 72px 24px 80px;
  background-color: #f6f7f8;
  background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.42)), url("../images/bg-soft-marble.jpg");
  background-size: cover;
  background-position: center;
}

.page-home #pricing .price-head {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: center;
}

.page-home #pricing .price-head .lay-kicker,
.page-home #pricing .price-head h2,
.page-home #pricing .price-head p {
  text-align: center;
}

.page-home #pricing .price-head h2 {
  margin: 8px 0 0;
}

.page-home #pricing .price-head p {
  margin: 12px auto 0;
  max-width: 52ch;
  color: #64748b;
}

.page-home #pricing .pricing-grid {
  width: min(1320px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.page-home #pricing .pricing-card {
  transform: none !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e6e9f2 !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05) !important;
  padding: 24px 22px 22px !important;
  display: flex !important;
  flex-direction: column;
  min-height: 100%;
}

.page-home #pricing .pricing-card.featured {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 2px solid #4f46e5 !important;
  box-shadow: 0 18px 44px rgba(79, 70, 229, 0.16) !important;
  transform: none !important;
  padding-top: 22px !important;
}

.page-home #pricing .plan-badge {
  position: static;
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  background: #eef2ff;
  color: #3730a3;
}

.page-home #pricing .pricing-card.featured .plan-badge {
  background: #4f46e5;
  color: #ffffff;
}

.page-home #pricing .pricing-label {
  background: transparent !important;
  border: 0 !important;
  color: #64748b !important;
  padding: 0 !important;
  min-height: 0 !important;
  letter-spacing: 0.08em;
}

.page-home #pricing .pricing-card h3,
.page-home #pricing .pricing-card.featured h3 {
  margin: 8px 0 0;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0f172a !important;
}

.page-home #pricing .pricing-card h3 span,
.page-home #pricing .pricing-card.featured h3 span {
  color: #64748b !important;
  font-size: 0.95rem;
  font-weight: 600;
}

.page-home #pricing .pricing-card ul {
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
}

.page-home #pricing .pricing-card li,
.page-home #pricing .pricing-card.featured li {
  color: #334155 !important;
  line-height: 1.4;
}

.page-home #pricing .pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.page-home #pricing .pricing-card:not(.featured) .btn {
  background: #ffffff !important;
  color: #312e81 !important;
  border: 1px solid #dbe1ee !important;
  box-shadow: none !important;
}

.page-home #pricing .pricing-card.featured .btn {
  background: #4f46e5 !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.28) !important;
}

.hero-slider.lay-hero {
  display: block;
  position: relative;
  height: calc(100vh - 70px);
  height: calc(100dvh - 70px);
  min-height: calc(100dvh - 70px);
  max-height: none;
  overflow: hidden;
}

.hero-slider .hero-viewport,
.hero-slider .hero-slide {
  height: 100%;
  min-height: 0;
}

.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

.hero-slider .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slider .lay-hero-copy {
  height: 100%;
  min-height: 0;
  padding: 28px 28px 76px 56px;
  max-width: none;
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
  box-sizing: border-box;
}

.hero-slider .lay-hero-copy h1 {
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  max-width: none;
}

.hero-slider .lay-hero-lead {
  max-width: none;
  margin-top: 12px;
  font-size: 1.02rem;
}

.hero-slider .lay-hero-copy .hero-chip {
  position: static;
  align-self: flex-start;
  margin: 0 0 2px;
  box-shadow: none;
  background: #eef2ff;
}

.hero-icons {
  margin-top: 16px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-slider .mfx-cta {
  margin-top: 14px;
}

.hero-icons article {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12px 14px;
  border-radius: 14px !important;
  background: #ffffff;
  border: 1px solid #e6e9f2;
  text-align: left;
}

.hero-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px !important;
  background: #eef2ff;
  color: #4338ca;
}

.hero-ico svg {
  width: 18px;
  height: 18px;
}

.hero-icons strong,
.hero-icons span {
  display: block;
}

.hero-icons strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.hero-icons span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.3;
}

.hero-chip {
  position: static;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px !important;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none;
}

.hero-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50% !important;
  background: #22c55e;
}

.hero-notes {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-notes li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
}

.hero-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50% !important;
  background: #4f46e5;
}

.hero-slider .lay-hero-stage {
  min-height: 0;
  height: 100%;
}

.hero-controls {
  position: absolute;
  left: 56px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #312e81 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
  font-size: 1.3rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50% !important;
  background: #c7d2fe !important;
  box-shadow: none !important;
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 999px !important;
  background: #4f46e5 !important;
}

.lay-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #4f46e5;
  color: #fff;
  overflow: hidden;
}

.lay-cta-copy {
  padding: 72px 64px;
}

.lay-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.lay-cta p { color: #e0e7ff; max-width: 42ch; line-height: 1.6; }
.lay-cta img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lay-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* About */
.lay-about-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  padding: 64px 64px 20px;
  background-color: #f4f7f8;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.38)), url("../images/bg-soft-window.jpg");
  background-size: cover;
  background-position: center;
}

.lay-about-hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.lay-about-hero p { color: #475569; font-size: 1.1rem; max-width: 46ch; line-height: 1.7; }

.lay-about-stats {
  margin: 0 64px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #2a3548;
  color: #fff;
  border-radius: 28px !important;
  overflow: hidden;
}

.lay-about-stats article {
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.lay-about-stats article:last-child { border-right: 0; }
.lay-about-stats h3 { margin: 0; font-size: 2.4rem; }
.lay-about-stats p { margin: 6px 0 0; color: #94a3b8; }

.lay-zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 64px;
  background-color: #f7f5f2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.4)), url("../images/bg-soft-desk.jpg");
  background-size: cover;
  background-position: center;
}

.lay-zig.flip {
  direction: rtl;
  background-color: #f7f8f6;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.38)), url("../images/bg-soft-leaf.jpg");
  background-size: cover;
  background-position: center;
}
.lay-zig.flip > * { direction: ltr; }

.lay-zig h2 { margin-top: 8px; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.lay-zig p { color: #475569; line-height: 1.7; }

.lay-check {
  padding: 20px 64px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background-color: #f6f7f8;
  background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.42)), url("../images/bg-soft-marble.jpg");
  background-size: cover;
  background-position: center;
}

.lay-check ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lay-check li {
  padding: 16px 18px;
  border-radius: 16px !important;
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
}

/* Contact — same editorial rhythm as About */
.page-contact .lay-about-hero {
  align-items: stretch;
  padding-top: 48px;
  --contact-hero-h: 460px;
}

.page-contact .lay-about-hero article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--contact-hero-h);
  max-height: var(--contact-hero-h);
  overflow: hidden;
}

.page-contact .lay-about-hero h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.7rem);
}

.page-contact .lay-about-hero img {
  height: var(--contact-hero-h);
  min-height: 0;
  max-height: var(--contact-hero-h);
  object-fit: cover;
}

.page-contact .lay-about-hero p {
  max-width: none;
}

.page-contact .contact-hero-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
  max-width: none;
  align-content: stretch;
}

.page-contact .contact-hero-points li {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px !important;
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  color: #334155;
  line-height: 1.5;
}

.page-contact .contact-band {
  margin: 8px 64px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #2a3548;
  color: #fff;
  border-radius: 28px !important;
  overflow: hidden;
}

.page-contact .contact-band article {
  padding: 28px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.page-contact .contact-band article:last-child { border-right: 0; }

.page-contact .contact-band p {
  margin: 0;
  color: #a5b4fc;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-contact .contact-band a,
.page-contact .contact-band strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.page-contact .contact-write {
  padding: 28px 64px 72px;
  background-color: #f7f6f4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.4)), url("../images/bg-soft-linen.jpg");
  background-size: cover;
  background-position: center;
}

.page-contact .contact-write-head h2 {
  margin: 8px 0 0;
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0c1222;
}

.page-contact .contact-write-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.page-contact .contact-form-section {
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06) !important;
  padding: 32px !important;
  border-radius: 28px !important;
}

.page-contact .contact-form-head h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: #0c1222;
}

.page-contact .contact-form-head p {
  margin: 8px 0 0;
  color: #64748b;
}

.page-contact .contact-form {
  margin-top: 18px;
}

.page-contact .contact-form label {
  color: #334155;
  font-weight: 700;
}

.page-contact .contact-aside {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  min-height: 100%;
}

.page-contact .contact-aside img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 28px !important;
  display: block;
}

.page-contact .contact-aside article {
  padding: 22px;
  border-radius: 22px !important;
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
}

.page-contact .contact-aside h3 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #0c1222;
}

.page-contact .contact-aside p {
  color: #475569;
  line-height: 1.65;
}

.page-contact .lay-check h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.03em;
}

/* Auth split */
.lay-auth {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 150px);
}

.lay-auth-story {
  padding: 56px 48px;
  background: #2a3548;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lay-auth-story h2 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.lay-auth-story img {
  width: min(100%, 460px);
  border-radius: 22px !important;
  margin-bottom: 18px;
}

.lay-auth-story li { margin: 8px 0; color: #cbd5e1; }

.lay-auth .auth-page {
  min-height: 100% !important;
  background: #fff !important;
  padding: 40px 24px !important;
}

.top-nav,
.page-home .home-nav {
  background: #2a3548 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.top-nav .logo {
  color: #fff !important;
}

.top-nav .nav-link-item {
  color: #e2e8f0 !important;
}

.top-nav .nav-link-item:hover,
.top-nav .nav-link-item.active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.top-nav .menu-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.top-nav a.btn.secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
}

.page-home .home-nav .row {
  min-height: 78px;
}

.page-home .nav-cta {
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28) !important;
}

.page-home .home-footer {
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.35), transparent 32%),
    #2a3548 !important;
  padding-top: 8px;
}

.page-home .home-footer .footer-grid {
  padding: 48px 28px 28px;
  align-items: start;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1.1fr;
}

.page-home .footer-highlight {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px !important;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .footer-highlight strong {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.page-home .footer-highlight p {
  margin: 0;
  color: #cbd5e1;
}

.lay-flow {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 72px 64px;
  background-color: #f7f6f4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.4)), url("../images/bg-soft-linen.jpg");
  background-size: cover;
  background-position: center;
}

.lay-flow h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lay-flow .lay-rail-track {
  margin-top: 22px;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.lay-flow .lay-rail-track::before {
  display: none;
}

.lay-flow img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px !important;
  display: block;
}

.lay-results {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  background-color: #f7f8f6;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.38)), url("../images/bg-soft-leaf.jpg");
  background-size: cover;
  background-position: center;
}

.lay-results img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.lay-results-copy {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lay-results-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lay-stat-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lay-stat-row article {
  padding: 16px;
  border-radius: 16px !important;
  background: #eef2ff;
}

.lay-stat-row strong {
  display: block;
  font-size: 1.5rem;
  color: #312e81;
}

.lay-stat-row span {
  color: #475569;
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .lay-hero,
  .lay-split,
  .lay-flow,
  .lay-results,
  .lay-quote,
  .lay-cta,
  .lay-about-hero,
  .lay-zig,
  .lay-zig.flip,
  .lay-check,
  .lay-contact-split,
  .lay-auth,
  .lay-hours,
  .page-contact .contact-band,
  .page-contact .contact-write-grid,
  .lay-price .pricing-grid,
  .lay-bento-grid,
  .lay-rail-track,
  .lay-about-stats,
  .lay-stat-row,
  .page-home .home-footer .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .lay-hero,
  .lay-hero-stage {
    min-height: 0;
  }

  .lay-hero-copy,
  .lay-split,
  .lay-rail,
  .lay-quote-main,
  .lay-cta-copy,
  .lay-about-hero,
  .lay-zig,
  .lay-check,
  .lay-contact-copy,
  .lay-contact-form {
    padding: 32px 20px;
  }

  .lay-about-stats,
  .page-contact .contact-band { margin: 0 20px; }

  .page-contact .contact-write { padding: 28px 20px 48px; }

  .page-contact .contact-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .page-contact .contact-band article:last-child { border-bottom: 0; }
  .lay-tile.sand,
  .lay-tile.wide { grid-column: auto; grid-row: auto; }
  .lay-rail-track::before { display: none; }
  .lay-price .pricing-card.featured { transform: none; }
  .lay-float { display: none; }

  .hero-slider.lay-hero,
  .hero-slider .hero-viewport,
  .hero-slider .hero-slide {
    height: auto;
    min-height: 0;
  }

  .hero-slider .hero-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
  }

  .hero-slider .hero-slide.is-active {
    display: grid;
  }

  .hero-slider .lay-hero-stage {
    min-height: 240px;
    height: 240px;
  }

  .hero-slider .lay-hero-copy {
    height: auto;
  }

  .hero-icons {
    flex: none;
    grid-template-rows: none;
  }

  .page-contact .lay-about-hero {
    --contact-hero-h: auto;
  }

  .page-contact .lay-about-hero article,
  .page-contact .lay-about-hero img {
    height: auto;
    max-height: none;
  }

  .page-contact .lay-about-hero img {
    min-height: 240px;
    height: 280px;
  }

  .page-home #pricing .pricing-grid {
    grid-template-columns: 1fr;
  }

  .top-nav .nav-links {
    background: #2a3548;
    border-color: rgba(255, 255, 255, 0.1);
  }
}

html body [class][class],
html body [class][class]::before,
html body [class][class]::after,
html body [class][class] *,
html body [class][class] *::before,
html body [class][class] *::after,
html body.page-home #pricing,
html body.page-home #pricing *,
html body.page-home #pricing *::before,
html body.page-home #pricing *::after {
  border-radius: 0 !important;
}
