:root {
  --page: #202020;
  --page-shadow: #102010;
  --bg: #203020;
  --bg-soft: #304030;
  --accent: #e2bd63;
  --accent-soft: #f0dda8;
  --ink: #e0c0a0;
  --muted: #d0c090;
  --card: #203030;
  --outline: rgba(208, 192, 160, 0.32);
  --glow: rgba(208, 176, 144, 0.3);
  --font-display: "Cinzel", "Cormorant Garamond", "Playfair Display", "Georgia", serif;
  --font-body: "Source Sans 3", "Nunito Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: #d9c3a8;
  color: #2a2114;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.home-page main {
  padding-top: 18px;
}

.home-page #home {
  margin-top: 12px;
}

.page-texture {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 14% 12%, rgba(255, 239, 208, 0.22), transparent 58%),
    radial-gradient(circle at 82% 18%, rgba(255, 239, 208, 0.14), transparent 48%);
  opacity: 0.62;
  pointer-events: none;
  z-index: -3;
}

.bg-orbit {
  position: fixed;
  inset: -20% auto auto -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(214, 178, 115, 0.25), transparent 70%);
  filter: blur(20px);
  opacity: 0.45;
  animation: orbit 16s ease-in-out infinite;
  z-index: -2;
}

.site-header {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: center;
  padding: 30px 6vw;
  position: sticky;
  top: 0;
  margin: 0;
  border-radius: 0;
  backdrop-filter: blur(18px);
  background: rgba(12, 20, 16, 0.92);
  border: 1px solid var(--outline);
  z-index: 10;
  color: var(--ink);
}

.brand-lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-self: auto;
  gap: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-block {
  display: flex;
  align-items: center;
}

.logo-mark {
  width: 54px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: brightness(1.05);
}

.logo-wordmark-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 0.9;
  color: var(--accent);
}

.header-wordmark {
  justify-self: auto;
}

.logo-wordmark-text .brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.logo-wordmark-text .brand-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.logo-wordmark-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 10px;
}

.logo-wordmark-footer .brand-name {
  font-size: 2.2rem;
}

.logo-wordmark-footer .brand-sub {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-items: center;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.84;
}

.site-nav a:hover {
  color: var(--accent);
  opacity: 1;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 8px;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(208, 192, 160, 0.3);
  background: rgba(12, 20, 16, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
}

.submenu a {
  color: var(--ink);
  opacity: 0.9;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
}

.cta-button,
.ghost-button {
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button {
  background: var(--accent);
  color: #2a1c09;
  box-shadow: 0 16px 30px rgba(217, 184, 121, 0.25);
}

.ghost-button {
  background: transparent;
  color: var(--ink);
  border-color: rgba(217, 184, 121, 0.45);
}

.cta-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}



.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent-soft);
}



.tag {
  display: inline-block;
  background: rgba(217, 184, 121, 0.16);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section {
  padding: 48px;
  margin: 36px 6vw;
  border-radius: 22px;
  background: rgba(12, 18, 14, 0.88);
  border: 1px solid rgba(214, 178, 115, 0.3);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.site-header > .cta-button {
  margin-left: 2px;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 24px 5vw;
    gap: 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .brand-lockup {
    gap: 8px;
  }
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
}
.pillar-showcase {
  margin: 36px 6vw;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 26px;
  align-items: center;
}

.pillar-panel {
  padding: 32px;
  border-radius: 22px;
  background: rgba(12, 18, 14, 0.96);
  border: 1px solid rgba(214, 178, 115, 0.35);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pillar-panel .lead {
  margin: 8px 0 24px;
}

.phone-mock {
  background: rgba(12, 18, 14, 0.96);
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(214, 178, 115, 0.35);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  width: min(240px, 100%);
  height: 380px;
  border-radius: 26px;
  border: 1px solid rgba(214, 178, 115, 0.35);
  background: linear-gradient(160deg, rgba(9, 14, 11, 0.96), rgba(20, 28, 20, 0.9));
  display: grid;
  align-content: space-between;
  padding: 20px;
  color: var(--ink);
}

.phone-screen img {
  width: 140px;
  justify-self: center;
}

.phone-card {
  height: 140px;
  border-radius: 18px;
  border: 1px solid rgba(214, 178, 115, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(214, 178, 115, 0.2), transparent 60%);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: rgba(12, 18, 14, 0.85);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(217, 184, 121, 0.3);
  text-align: center;
}

.pillar-card h3 {
  font-family: var(--font-display);
  margin: 14px 0 8px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(217, 184, 121, 0.6);
  background: radial-gradient(circle, rgba(217, 184, 121, 0.35), transparent 60%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.edition-card {
  background: rgba(14, 20, 16, 0.9);
  border: 1px solid rgba(217, 184, 121, 0.25);
  border-radius: 18px;
  padding: 20px;
  position: relative;
  min-height: 260px;
}

.card-media {
  height: 120px;
  background: linear-gradient(120deg, rgba(16, 26, 20, 0.4), rgba(217, 184, 121, 0.2));
  border-radius: 14px;
  margin-bottom: 16px;
}

.chip {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217, 184, 121, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.story-panel {
  background: rgba(12, 18, 14, 0.7);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(217, 184, 121, 0.3);
}

.story-panel ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.panel-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(217, 184, 121, 0.3);
  color: var(--muted);
}

.staff {
  padding-bottom: 90px;
}

.staff-card {
  background: linear-gradient(120deg, rgba(217, 184, 121, 0.25), rgba(12, 18, 14, 0.85));
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(217, 184, 121, 0.3);
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(217, 184, 121, 0.2);
  padding: 32px 6vw 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: rgba(12, 18, 14, 0.92);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.filters {
  padding-top: 30px;
}

.filter-bar {
  display: grid;
  gap: 20px;
  background: rgba(12, 18, 14, 0.7);
  border: 1px solid rgba(217, 184, 121, 0.3);
  border-radius: 18px;
  padding: 24px;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

.detail-gallery {
  display: grid;
  gap: 18px;
}

.gallery-main {
  height: 320px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(12, 18, 14, 0.6), rgba(217, 184, 121, 0.25));
  border: 1px solid rgba(217, 184, 121, 0.3);
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-thumb {
  height: 90px;
  border-radius: 16px;
  background: rgba(217, 184, 121, 0.08);
  border: 1px solid rgba(217, 184, 121, 0.25);
}

.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: 24px 0;
  color: var(--muted);
}

.detail-meta strong {
  display: block;
  color: var(--ink);
  margin-top: 6px;
}

.detail-section {
  padding-top: 30px;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.reveal {
  animation: reveal 0.8s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes orbit {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-40px);
  }
}

@media (max-width: 900px) {
  .site-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .brand-lockup {
    position: static;
    transform: none;
  }

  .logo-wordmark-text {
    align-items: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }

  .submenu {
    position: static;
    transform: none;
    margin-top: 6px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .pillar-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .logo-mark {
    width: 42px;
    height: 31px;
  }

  .logo-wordmark-text .brand-name {
    font-size: 2.6rem;
  }

  .logo-wordmark-text .brand-sub {
    font-size: 1.35rem;
  }

  .logo-wordmark-text:not(.logo-wordmark-footer) {
    flex-direction: column;
    gap: 0;
    line-height: 0.9;
  }

  .logo-wordmark-footer .brand-name {
    font-size: 1.8rem;
  }

  .logo-wordmark-footer .brand-sub {
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .section {
    padding: 32px 24px;
    margin: 24px 4vw;
  }
}

/* Landing page refresh matching provided concept art */
.home-page {
  --sand: #364040;
  --ink-deep: #0f1814;
  --ink-soft: #15241b;
  --gold: #e3c17b;
  --gold-soft: #f2dfb2;
  --panel: #141d19;
  background: var(--sand);
  color: #241e15;
}

.home-page .legacy-grain {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(74, 53, 26, 0.15) 0.75px, transparent 0.75px);
  background-size: 3px 3px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.home-page .legacy-sparkle {
  position: fixed;
  right: 2.1rem;
  bottom: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 46%, rgba(249, 232, 198, 0.8) 50%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(249, 232, 198, 0.8) 50%, transparent 54%);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.16));
  opacity: 0.9;
  pointer-events: none;
  animation: twinkle 3.5s ease-in-out infinite;
}

.home-page .legacy-page {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 28px;
}

.home-page .legacy-hero {
  position: relative;
  min-height: 570px;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(8, 16, 12, 0.58), rgba(8, 16, 12, 0.58)),
    url("assets/hero banner.png") center/cover no-repeat;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(16, 26, 20, 0.8);
}

.home-page .legacy-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(rgba(11, 22, 18, 0.88), rgba(11, 22, 18, 0.58));
}

.home-page .legacy-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-page .legacy-mark {
  width: 38px;
  height: auto;
  object-fit: contain;
}

.home-page .legacy-wordmark {
  max-width: 170px;
  line-height: 1;
}

.home-page .legacy-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.home-page .legacy-nav a {
  text-decoration: none;
  color: rgba(245, 234, 204, 0.95);
  font-size: 0.86rem;
}

.home-page .legacy-menu {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.home-page .legacy-hero-content {
  position: relative;
  z-index: 1;
  min-height: 570px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 110px 16px 34px;
}

.home-page .legacy-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1.05;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.home-page .legacy-hero-content > p {
  margin-top: 18px;
  max-width: 600px;
  color: rgba(252, 246, 228, 0.92);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.home-page .legacy-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.home-page .legacy-btn {
  text-decoration: none;
  border-radius: 7px;
  border: 1px solid rgba(227, 193, 123, 0.9);
  padding: 10px 20px;
  color: var(--gold-soft);
  font-size: 0.98rem;
  background: rgba(16, 26, 20, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .legacy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.home-page .legacy-btn-gold {
  background: rgba(227, 193, 123, 0.2);
}

.home-page .legacy-btn-ghost {
  background: rgba(14, 22, 17, 0.68);
}

.home-page .legacy-ticker {
  margin-top: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(227, 193, 123, 0.72);
  color: rgba(243, 230, 194, 0.95);
  font-size: 0.82rem;
  background: rgba(8, 12, 10, 0.52);
}

.home-page .legacy-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 66%, rgba(245, 210, 129, 0.2), transparent 24%),
    radial-gradient(circle at 80% 66%, rgba(245, 210, 129, 0.2), transparent 24%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.home-page .legacy-lower {
  width: min(1240px, 94vw);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  padding: 24px;
  border-radius: 14px;
  background: #050807;
  border: 1px solid rgba(227, 193, 123, 0.7);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.home-page .legacy-lower-title {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin: 0;
}

.home-page .legacy-pillar-card {
  background:
    linear-gradient(rgba(12, 18, 15, 0.94), rgba(12, 18, 15, 0.94)),
    url("assets/teulu-landing.jpg") center/cover;
  border-radius: 12px;
  border: 1px solid rgba(227, 193, 123, 0.72);
  padding: 22px 18px;
  min-height: 350px;
  text-align: center;
  color: rgba(241, 230, 204, 0.96);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
}

.home-page .legacy-pillar-card h3 {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  margin-top: 12px;
}

.home-page .legacy-pillar-card p {
  font-size: 1.02rem;
  max-width: 22ch;
}

.home-page .legacy-icon {
  font-size: 1.9rem;
  color: var(--gold);
}

.home-page .legacy-phone-wrap {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.home-page .legacy-phone {
  width: min(290px, 90vw);
  aspect-ratio: 9 / 18;
  background: #070b0a;
  border-radius: 38px;
  border: 4px solid #0d1110;
  padding: 10px;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.home-page .legacy-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 18px;
  border-radius: 0 0 10px 10px;
  background: #060909;
  z-index: 3;
}

.home-page .legacy-phone-screen {
  height: 100%;
  border-radius: 30px;
  background:
    linear-gradient(rgba(8, 14, 12, 0.25), rgba(8, 14, 12, 0.35)),
    url("assets/teulu-landing.jpg") center/cover;
  display: grid;
  align-content: space-between;
  justify-items: center;
  padding: 24px 16px 22px;
}

.home-page .legacy-phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.home-page .legacy-phone-brand img {
  width: 28px;
}

.home-page .legacy-phone-screen .legacy-btn {
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .home-page .legacy-page {
    width: 100%;
    margin-top: 0;
    gap: 30px;
  }

  .home-page .legacy-hero {
    min-height: 520px;
  }

  .home-page .legacy-hero-content {
    min-height: 520px;
  }

  .home-page .legacy-nav {
    display: none;
  }

  .home-page .legacy-lower {
    width: min(760px, 93vw);
    margin: 0 auto 40px;
    grid-template-columns: 1fr;
  }

  .home-page .legacy-pillar-grid {
    grid-template-columns: 1fr;
  }

  .home-page .legacy-pillar-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .home-page .legacy-hero-content h1 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .home-page .legacy-hero-content > p {
    font-size: 0.98rem;
  }

  .home-page .legacy-topbar {
    padding: 14px 16px;
  }

  .home-page .legacy-wordmark {
    font-size: 0.82rem;
    max-width: 110px;
  }

  .home-page .legacy-actions {
    width: 100%;
  }

  .home-page .legacy-btn {
    width: 100%;
    text-align: center;
  }

  .home-page .legacy-ticker {
    border-radius: 14px;
    font-size: 0.76rem;
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* Mock3 refresh */
.home-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(180deg, #eaf1ff 0%, #dce7fb 45%, #eaf2ff 100%);
  color: #1f3f8a;
}

.m3-topbar {
  height: 76px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #102f78 0%, #12398e 100%);
  border-bottom: 1px solid rgba(199, 222, 255, 0.35);
  position: sticky;
  top: 0;
  z-index: 40;
}

.almendra-sc-regular {
  font-family: "Almendra SC", serif;
  font-weight: 400;
  font-style: normal;
}

.m3-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.m3-brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.m3-brand-text {
  color: #f2dfb2;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}

.m3-nav {
  display: flex;
  gap: 28px;
}

.m3-nav a {
  text-decoration: none;
  color: #f2f7ff;
  font-size: 1rem;
  font-weight: 700;
}

.m3-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}

.m3-login {
  text-decoration: none;
  color: #f4f7ff;
  font-weight: 700;
  border: 1px solid rgba(200, 221, 255, 0.6);
  border-radius: 8px;
  padding: 10px 18px;
  background: rgba(18, 52, 126, 0.78);
}

.m3-main {
  width: min(1240px, 95vw);
  margin: 0 auto 48px;
}

.m3-hero {
  position: relative;
  min-height: 570px;
  border-radius: 0 0 50% 50% / 0 0 12% 12%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 34, 96, 0.82) 0%, rgba(16, 53, 141, 0.6) 45%, rgba(32, 78, 182, 0.28) 100%),
    url("assets/mock3.png") center top / cover no-repeat;
  box-shadow: 0 26px 36px rgba(23, 46, 100, 0.28);
}

.m3-hero-inner {
  width: min(610px, 92%);
  padding: 84px 0 0 72px;
  color: #f6fbff;
}

.m3-kicker {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.m3-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.98;
  text-shadow: 0 8px 18px rgba(12, 24, 58, 0.5);
}

.m3-subline {
  margin-top: 22px;
  font-size: 1.8rem;
  color: rgba(240, 248, 255, 0.95);
}

.m3-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.m3-btn {
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 800;
  box-shadow: 0 8px 14px rgba(13, 28, 73, 0.35);
}

.m3-btn-primary {
  color: #fff;
  border: 1px solid #5fa6ff;
  background: linear-gradient(180deg, #2187ff, #0e52c4);
}

.m3-btn-soft {
  color: #1f4094;
  border: 1px solid #a9c8ff;
  background: linear-gradient(180deg, #f4f9ff, #ceddff);
}

.m3-section {
  margin-top: 42px;
  padding: 24px 2.2vw;
}

.m3-title {
  color: #173e8d;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.3rem);
  position: relative;
}

.m3-title::before,
.m3-title::after {
  content: "";
  position: absolute;
  top: 52%;
  width: min(23vw, 260px);
  height: 1px;
  background: rgba(62, 107, 200, 0.4);
}

.m3-title::before {
  left: 0;
}

.m3-title::after {
  right: 0;
}

.m3-lead {
  margin-top: 10px;
  text-align: center;
  font-size: 1.65rem;
  color: #2a54aa;
}

.m3-card-grid {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.m3-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.m3-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.m3-feature-card,
.m3-listing-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(101, 141, 226, 0.35);
  background: linear-gradient(180deg, #12398f, #0d2f7a 72%, #11317f 100%);
  box-shadow: 0 10px 18px rgba(20, 43, 98, 0.2);
}

.m3-feature-card img,
.m3-listing-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.m3-feature-card h3,
.m3-listing-card h3 {
  margin: 14px 16px 0;
  color: #fff;
  font-size: 1.95rem;
}

.m3-feature-card p,
.m3-listing-card p {
  margin: 2px 16px 0;
  color: #d8e7ff;
  font-size: 1.25rem;
}

.m3-feature-card a,
.m3-listing-card a {
  display: block;
  margin: 14px 16px 16px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid #67abff;
  padding: 10px 12px;
  background: linear-gradient(180deg, #2589ff, #0d4dbd);
}

.m3-tag-strip {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  background: linear-gradient(180deg, #0f2e78, #133e9e);
  border: 1px solid rgba(111, 151, 231, 0.4);
  padding: 14px;
  border-radius: 12px;
}

.m3-tag-strip span {
  color: #f4f8ff;
  border: 1px solid #65a8ff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(180deg, #1f78f8, #114cb7);
}

.m3-how-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.m3-how-grid article {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(107, 146, 228, 0.26);
  background: rgba(255, 255, 255, 0.6);
}

.m3-how-grid h3 {
  color: #1b458f;
  font-size: 2rem;
}

.m3-how-grid p {
  margin-top: 8px;
  color: #355da6;
  font-size: 1.2rem;
}

.m3-partner-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.m3-partner-grid div {
  border-radius: 10px;
  background: linear-gradient(120deg, #132f74, #2f56a3);
  border: 1px solid rgba(131, 167, 240, 0.45);
  color: #f3f8ff;
  min-height: 74px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
}

@media (max-width: 1080px) {
  .m3-nav {
    display: none;
  }

  .m3-main {
    width: 96vw;
  }

  .m3-hero {
    min-height: 440px;
    border-radius: 0 0 26px 26px;
  }

  .m3-hero-inner {
    padding: 56px 20px;
  }

  .m3-subline {
    font-size: 1.15rem;
  }

  .m3-btn {
    font-size: 1rem;
  }

  .m3-card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m3-card-grid-three,
  .m3-how-grid,
  .m3-partner-grid {
    grid-template-columns: 1fr;
  }

  .m3-title::before,
  .m3-title::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .m3-topbar {
    padding: 0 14px;
    height: 64px;
    gap: 10px;
  }

  .m3-brand img {
    width: 120px;
  }

  .m3-brand-mark {
    width: 28px;
    height: 28px;
  }

  .m3-brand-text {
    font-size: 1.02rem;
  }

  .m3-login {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .m3-kicker {
    font-size: 2rem;
  }

  .m3-hero h1 {
    font-size: 2.2rem;
  }

  .m3-actions {
    flex-direction: column;
  }

  .m3-card-grid-four {
    grid-template-columns: 1fr;
  }
}
