:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --text: #0f172a;
  --muted: #52607a;
  --line: #dce4f2;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #15b8ff;
  --orange: #ff7a1a;
  --orange-deep: #ff5a36;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 184, 255, 0.07), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(255, 122, 26, 0.06), transparent 18%),
    var(--bg);
  color: var(--text);
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 228, 242, 0.7);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 84px;
  height: auto;
  flex: 0 0 auto;
}

.brand-type {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #51607a;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero h1,
.section-head h2,
.cta-box h2 {
  margin: 0;
  letter-spacing: -0.06em;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.1rem);
  line-height: 0.96;
  max-width: 10ch;
}

.intro {
  margin: 24px 0 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
}

.trust-list li {
  position: relative;
  padding: 15px 16px 15px 48px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.visual-card,
.book-front,
.book-back,
.sheet {
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(220, 228, 242, 0.9);
  box-shadow: var(--shadow);
}

.top-card {
  width: min(100%, 420px);
  padding: 28px;
  margin-left: auto;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.top-card h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

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

.book-stack {
  position: relative;
  margin-top: 26px;
  height: 270px;
}

.book {
  position: absolute;
  right: 16px;
  width: 430px;
  max-width: calc(100% - 16px);
  height: 170px;
}

.book-back {
  bottom: 12px;
  transform: rotate(-5deg);
  background: linear-gradient(180deg, #edf2ff, #dbe7ff);
}

.book-front {
  right: 42px;
  bottom: 54px;
  transform: rotate(3deg);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7f9fe);
}

.book-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 76%, rgba(21, 24, 42, 0.06) 76% 78%, transparent 78%);
}

.book-cover-band {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 184, 255, 0.08), rgba(255, 122, 26, 0.12));
}

.book-copy {
  position: absolute;
  left: 28px;
  top: 26px;
  z-index: 1;
}

.book-kicker {
  display: block;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.book-copy strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.paper-group {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100%;
  height: 240px;
}

.sheet {
  position: absolute;
  width: 100%;
  height: 188px;
  overflow: hidden;
}

.sheet-back {
  right: 42px;
  bottom: 36px;
  transform: rotate(-5deg);
  background: linear-gradient(180deg, #eef3ff, #e4ebfb);
}

.sheet-front {
  right: 0;
  bottom: 0;
}

.sheet-bar {
  position: absolute;
  top: 20px;
  left: 22px;
  right: 22px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange));
}

.sheet-lines {
  position: absolute;
  inset: 52px 22px 20px;
  background-image: linear-gradient(rgba(82, 96, 122, 0.15) 1px, transparent 1px);
  background-size: 100% 18px;
}

.services,
.cta-section {
  padding: 48px 0 84px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.cta-box h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.service-card p,
.cta-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card.emphasis {
  background: linear-gradient(180deg, #1d4ed8, #2563eb);
  border-color: transparent;
}

.service-card.emphasis h3,
.service-card.emphasis p {
  color: #fff;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.cta-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.contact-line {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .hero-grid,
  .service-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: grid;
  }

  .hero-visual {
    min-height: 560px;
  }

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-meta {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }

  .nav-links {
    display: none;
  }

  .brand-mark {
    width: 68px;
  }

  .brand-type {
    font-size: 1.8rem;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: none;
  }

  .intro {
    font-size: 1rem;
  }

  .trust-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .top-card {
    margin-left: 0;
  }

  .book,
  .paper-group {
    width: 100%;
    right: 0;
  }

  .book-front,
  .book-back {
    right: 0;
  }

  .book-front {
    bottom: 64px;
  }
}
