:root {
  color-scheme: light;
  --navy: #172a46;
  --navy-2: #284769;
  --gold: #b9853e;
  --gold-2: #e3bc76;
  --red: #8c3f33;
  --ink: #1c2635;
  --muted: #697487;
  --paper: #f6f1e8;
  --paper-2: #fffdf7;
  --line: #ded3c2;
  --soft: rgba(23, 42, 70, 0.08);
  --shadow: 0 22px 70px rgba(23, 42, 70, 0.12);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(rgba(23, 42, 70, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 42, 70, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px, 56px 56px, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  color: rgba(255, 255, 255, 0.9);
  background: var(--navy);
  font-size: 0.88rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand img {
  display: block;
  width: 170px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--navy);
  background: rgba(185, 133, 62, 0.13);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(23, 42, 70, 0.2);
}

.button.gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), #f5dfad);
}

.button.secondary {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.hero {
  padding: 54px 0 64px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 8%, rgba(227, 188, 118, 0.28), transparent 22rem),
    linear-gradient(135deg, #fffdf7, #f0e6d6);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(23, 42, 70, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(23, 42, 70, 0.02), rgba(23, 42, 70, 0.52)),
    url("robot-insurance-hero.jpg") center right / cover;
  overflow: hidden;
}

.hero-media.solutions {
  background:
    linear-gradient(180deg, rgba(23, 42, 70, 0.02), rgba(23, 42, 70, 0.52)),
    url("insurance-solutions.jpg") center right / cover;
}

.hero-media.ecosystem {
  background:
    linear-gradient(180deg, rgba(23, 42, 70, 0.02), rgba(23, 42, 70, 0.48)),
    url("partner-ecosystem.jpg") center right / cover;
}

.hero-media.capacity {
  background:
    linear-gradient(180deg, rgba(23, 42, 70, 0.02), rgba(23, 42, 70, 0.54)),
    url("underwriting-data.jpg") center right / cover;
}

.hero-media.underwriting {
  background:
    linear-gradient(180deg, rgba(23, 42, 70, 0.02), rgba(23, 42, 70, 0.54)),
    url("claims-workflow.jpg") center right / cover;
}

.hero-media-panel {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: #fff;
  background: rgba(23, 42, 70, 0.76);
  backdrop-filter: blur(14px);
}

.hero-media-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-media-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 850;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  content: "";
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.5vw, 4.8rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 720px;
  color: #455166;
  font-size: 1rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 0 12px 34px rgba(23, 42, 70, 0.06);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.56rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  line-height: 1.58;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: rgba(255, 253, 247, 0.52);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.52fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.25vw, 3.1rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.85;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 10px 30px rgba(23, 42, 70, 0.055);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.1rem;
}

.card p {
  margin-bottom: 0;
  color: #4b5668;
  line-height: 1.72;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.logo-tile {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 0 8px 24px rgba(23, 42, 70, 0.05);
}

.logo-tile img {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.logo-tile strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.logo-tile em {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-tile span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 10px 30px rgba(23, 42, 70, 0.055);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #efe4d2;
  font-size: 0.92rem;
}

td {
  color: #4b5668;
  line-height: 1.72;
}

tr:last-child td {
  border-bottom: 0;
}

td strong {
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #4b5668;
  line-height: 1.72;
}

.check-list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.strip {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #2b5176);
  box-shadow: var(--shadow);
}

.strip h2 {
  color: #fff;
}

.strip p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.82;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 118px;
  padding: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 133, 62, 0.14);
}

.full {
  grid-column: 1 / -1;
}

.notice {
  padding: 14px 18px;
  border: 1px solid rgba(140, 63, 51, 0.18);
  border-radius: 16px;
  color: #6f352c;
  background: rgba(140, 63, 51, 0.07);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer {
  padding: 34px 0 52px;
  color: var(--muted);
  background: rgba(255, 253, 247, 0.62);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  box-shadow: 0 10px 30px rgba(23, 42, 70, 0.055);
}

.legal-footer h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.08rem;
}

.legal-footer p,
.legal-footer li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.company-line {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

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

.contact-list strong {
  color: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-card,
  .section-head,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .metrics,
  .grid-3,
  .grid-4,
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-media {
    min-height: 410px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 26px, 1180px);
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 142px;
  }

  .site-header .button {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-card {
    padding: 22px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.4rem, 11.5vw, 4.2rem);
  }

  .metrics,
  .grid-3,
  .grid-4,
  .logo-wall,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
