@font-face {
  font-family: "XGWY Sans";
  src:
    local("HarmonyOS Sans SC"),
    local("MiSans"),
    local("Alibaba PuHuiTi 3.0"),
    local("Alibaba PuHuiTi"),
    local("Noto Sans SC"),
    local("Noto Sans CJK SC"),
    local("Source Han Sans SC");
  font-display: swap;
}

:root {
  --ink: #172033;
  --muted: #5f697c;
  --line: #dbe4ef;
  --soft: #f4f8fc;
  --white: #ffffff;
  --blue: #1769e0;
  --blue-dark: #0d47a1;
  --teal: #10a88a;
  --amber: #d78917;
  --red: #d94d4d;
  --surface: rgba(255, 255, 255, 0.88);
  --shadow: 0 26px 76px rgba(18, 38, 66, 0.16);
  --shadow-soft: 0 16px 42px rgba(18, 38, 66, 0.09);
  --font-sans:
    "XGWY Sans", "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi 3.0",
    "Alibaba PuHuiTi", "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  --font-display:
    "XGWY Sans", "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi 3.0",
    "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei",
    Arial, sans-serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 246, 255, 0.98) 0%, rgba(255, 255, 255, 1) 38%),
    linear-gradient(90deg, rgba(23, 105, 224, 0.05), rgba(16, 168, 138, 0.04)),
    var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(217, 224, 234, 0.64);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(18, 38, 66, 0.06);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 28px rgba(23, 105, 224, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav a:hover {
  background: #eef5ff;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-link {
  color: var(--muted);
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0e8fd8);
  box-shadow: 0 16px 36px rgba(23, 105, 224, 0.25);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.admin {
  color: #ffffff;
  background: linear-gradient(135deg, #d78917, #f2a541);
  box-shadow: 0 16px 34px rgba(215, 137, 23, 0.24);
}

.button.admin:hover {
  background: linear-gradient(135deg, #b96d0f, #df8f25);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(23, 105, 224, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(18, 38, 66, 0.06);
}

.button.large {
  min-height: 50px;
  padding: 0 24px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: 88px 6vw 70px;
  background:
    linear-gradient(130deg, rgba(238, 247, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 54%, rgba(230, 251, 247, 0.84) 100%),
    var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(23, 105, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 224, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  font-family: var(--font-display);
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
  background: linear-gradient(135deg, #102238 0%, #1769e0 58%, #10a88a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.one-line-slogan {
  white-space: nowrap;
  font-size: clamp(26px, 3vw, 44px);
}

h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lead,
.section-lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  font-weight: 400;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  color: #0f4d9a;
  background: #eef6ff;
  font-size: 14px;
  font-weight: 800;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.screens-section .trust-logos {
  margin-bottom: 42px;
}

.trust-logos img {
  display: block;
  width: 100%;
  height: 132px;
  padding: 22px 24px;
  border: 1px solid rgba(217, 224, 234, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
  object-fit: contain;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 38px 0 0;
}

.hero-stats div {
  min-height: 104px;
  padding: 20px;
  border: 1px solid rgba(217, 224, 234, 0.76);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(18, 38, 66, 0.07);
}

.hero-stats dt {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-visual {
  min-width: 0;
}

.product-frame {
  overflow: hidden;
  border: 1px solid rgba(217, 224, 234, 0.78);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: linear-gradient(180deg, #ffffff, #f7faff);
  font-size: 13px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) {
  background: var(--red);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--teal);
}

.window-bar strong {
  margin-left: 8px;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 500px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 16px;
  color: #ced7e5;
  background:
    linear-gradient(180deg, rgba(30, 49, 78, 0.96), rgba(18, 33, 56, 0.98)),
    #182337;
}

.preview-sidebar b {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 17px;
}

.preview-sidebar span {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.preview-sidebar .active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.preview-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, #f7faff, #eef4fb),
    #f3f6fa;
}

.preview-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.preview-top div,
.schedule-card,
.chart-card {
  border: 1px solid #e1e9f3;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 38, 66, 0.05);
}

.preview-top div {
  min-height: 88px;
  padding: 16px;
}

.preview-top small,
.card-heading em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.preview-top strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.schedule-card {
  padding: 18px;
}

.card-heading,
.lesson-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
}

.card-heading {
  grid-template-columns: 1fr auto;
  margin-bottom: 16px;
  font-weight: 800;
}

.lesson-row {
  min-height: 58px;
  border-top: 1px solid #edf1f6;
  color: var(--muted);
}

.lesson {
  color: var(--ink);
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tag.green {
  color: #08745f;
  background: #dff7f0;
}

.tag.blue {
  color: #135ecb;
  background: #e2efff;
}

.tag.amber {
  color: #9b6210;
  background: #fff1d6;
}

.chart-card {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 116px;
  padding: 18px;
}

.bar {
  flex: 1;
  min-width: 26px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--teal), #64c9b7);
}

.bar.one {
  height: 48%;
}

.bar.two {
  height: 72%;
}

.bar.three {
  height: 56%;
}

.bar.four {
  height: 88%;
}

.bar.five {
  height: 64%;
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 20px 6vw;
  border-top: 1px solid rgba(217, 224, 234, 0.72);
  border-bottom: 1px solid rgba(217, 224, 234, 0.72);
  background: rgba(255, 255, 255, 0.82);
}

.logos span {
  display: grid;
  min-height: 56px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: #f7faff;
  font-weight: 800;
}

.section {
  padding: 96px 6vw;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.intro-grid,
.feature-grid,
.security-grid,
.role-list,
.why-grid {
  display: grid;
  gap: 20px;
}

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

.intro-grid article,
.feature-card,
.security-grid article,
.role-list article,
.why-grid article,
.faq-list details {
  border: 1px solid rgba(217, 224, 234, 0.78);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.intro-grid article:hover,
.feature-card:hover,
.security-grid article:hover,
.why-grid article:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 224, 0.2);
  box-shadow: 0 24px 56px rgba(18, 38, 66, 0.13);
}

.intro-grid article {
  padding: 30px;
}

.icon,
.feature-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 900;
}

.icon {
  width: 46px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--blue);
  background: linear-gradient(135deg, #e8f2ff, #e9fbf7);
}

.intro-grid p,
.feature-card p,
.security-grid p,
.role-list p,
.why-grid p,
.faq-list p,
.contact p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.why-section {
  padding-top: 42px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

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

.why-grid article {
  min-height: 230px;
  padding: 28px;
}

.why-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0e8fd8);
  font-weight: 900;
}

.why-grid article:nth-child(2) .why-icon {
  background: var(--teal);
}

.why-grid article:nth-child(3) .why-icon {
  background: var(--ink);
}

.why-grid article:nth-child(4) .why-icon {
  background: var(--amber);
}

.feature-section,
.security,
.screens-section {
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.94), rgba(255, 255, 255, 0.96)),
    var(--soft);
}

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

.feature-card {
  min-height: 238px;
  padding: 30px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #2f466a);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: var(--teal);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  background: var(--blue);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.screen-card {
  display: grid;
  gap: 18px;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.screen-card.wide {
  grid-column: 1 / -1;
}

.screen-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.screen-top span {
  font-size: 20px;
  font-weight: 900;
}

.screen-top em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.screen-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.mini-ui {
  min-height: 280px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f6f8fb;
}

.mini-toolbar,
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mini-toolbar b,
.calendar-head b {
  font-size: 16px;
}

.mini-toolbar i {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.mini-search {
  height: 38px;
  margin-bottom: 12px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #dce5f1 0 24%, transparent 24% 100%),
    var(--white);
}

.mini-table {
  display: grid;
  gap: 10px;
}

.mini-table div,
.order-card,
.notice-card {
  display: grid;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: var(--white);
}

.mini-table div {
  grid-template-columns: 0.8fr 1fr auto;
}

.mini-table strong,
.order-card span,
.notice-card b {
  color: var(--ink);
}

.mini-table em,
.order-card i {
  justify-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0f766e;
  background: #dff7f0;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.mini-table div:nth-child(2) em,
.order-card.muted i {
  color: #9b6210;
  background: #fff1d6;
}

.mini-table div:nth-child(3) em {
  color: #135ecb;
  background: #e2efff;
}

.finance-summary,
.report-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

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

.finance-summary div,
.report-metrics div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: var(--white);
}

.finance-summary small,
.report-metrics small,
.notice-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.finance-summary b,
.report-metrics b {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}

.order-card {
  grid-template-columns: 1fr auto auto;
  margin-top: 10px;
}

.calendar-head span {
  color: var(--muted);
  font-size: 13px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  min-height: 230px;
}

.day {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: var(--white);
}

.day b {
  font-size: 13px;
}

.lesson-block {
  display: block;
  min-height: 52px;
  padding: 10px;
  border-radius: 8px;
  color: #17324d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.lesson-block.blue {
  background: #dfeeff;
}

.lesson-block.green {
  background: #dcf7ef;
}

.lesson-block.amber {
  background: #fff0d2;
}

.lesson-block.red {
  color: #9f2727;
  background: #ffe0e0;
}

.message-ui {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(100%, 260px);
  min-height: 250px;
  padding: 16px;
  border: 8px solid #172033;
  border-radius: 24px;
  background: #eef4ff;
}

.phone-title {
  margin-bottom: 12px;
  font-weight: 900;
  text-align: center;
}

.notice-card {
  margin-bottom: 10px;
}

.report-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  padding: 18px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: var(--white);
}

.report-chart span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), #88b9ff);
}

.workflow {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%),
    #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.timeline-step {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(217, 224, 234, 0.78);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.timeline-step:last-child {
  border-right: 1px solid rgba(217, 224, 234, 0.78);
}

.timeline-step span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 24px rgba(23, 105, 224, 0.22);
}

.timeline-step p {
  color: var(--muted);
  line-height: 1.68;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 168, 138, 0.26), transparent 32%),
    linear-gradient(135deg, #102238, #172033 58%, #0d2a3d);
  color: var(--white);
}

.split .eyebrow {
  color: #79d9c4;
}

.split .section-lead,
.split p {
  color: #ced9e8;
}

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

.role-list article {
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

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

.security-grid article {
  padding: 28px;
}

.screens-section {
  text-align: center;
}

.screens-section .section-heading {
  margin-right: auto;
  margin-left: auto;
}

.screens-section .trust-logos {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.trust-logos img {
  border-color: rgba(217, 224, 234, 0.72);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.trust-logos img:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(18, 38, 66, 0.14);
}

.faq-list {
  display: grid;
  max-width: 920px;
  gap: 12px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  min-height: 64px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 22px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 46px;
  align-items: start;
  margin: 24px 6vw 96px;
  padding: 52px;
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(16, 168, 138, 0.24), transparent 30%),
    linear-gradient(135deg, #172033, #102238 60%, #0d2a3d);
  box-shadow: var(--shadow);
}

.contact .eyebrow {
  color: #79d9c4;
}

.contact p {
  color: #d7e0ee;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #d7e0ee;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(121, 217, 196, 0.78);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(121, 217, 196, 0.14);
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aebed2;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #d7e0ee;
  font-size: 14px;
}

.form-message.error {
  color: #ffb4b4;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 6vw;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 820px;
  }

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

  .timeline-step {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.is-open .nav {
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
  }

  .site-header.is-open .nav a {
    padding: 10px 0;
  }

  .site-header.is-open .header-actions {
    padding-bottom: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-stats,
  .intro-grid,
  .feature-grid,
  .screen-grid,
  .why-grid,
  .logos,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-sidebar b {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .preview-top,
  .role-list {
    grid-template-columns: 1fr;
  }

  .screen-card.wide {
    grid-column: auto;
  }

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

  .contact {
    margin: 0 6vw 64px;
    padding: 28px;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 0 20px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .one-line-slogan {
    font-size: clamp(20px, 5.5vw, 30px);
  }

  .hero-stats {
    margin-top: 24px;
  }

  .product-frame {
    margin-right: -8px;
    margin-left: -8px;
    border-radius: 8px;
  }

  .preview-main {
    padding: 14px;
  }

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

  .trust-logos img {
    height: 104px;
    padding: 14px;
  }

  .preview-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .preview-sidebar span {
    padding: 9px 8px;
    font-size: 12px;
  }

  .card-heading,
  .lesson-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .card-heading {
    padding-top: 0;
  }

  .timeline,
  .security-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .screen-card {
    min-height: auto;
    padding: 18px;
  }

  .why-grid article {
    min-height: auto;
  }

  .screen-top,
  .mini-toolbar,
  .calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-table div,
  .order-card {
    grid-template-columns: 1fr;
  }

  .mini-table em,
  .order-card i {
    justify-self: start;
  }

  .finance-summary,
  .report-metrics {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    min-height: auto;
    border-right: 0;
  }

  .contact {
    margin-right: 20px;
    margin-left: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 20px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
  }
}
