/* TopDesk new site — brand-aligned product story */
:root {
  --blue: #004d9f;
  --blue-deep: #003a7a;
  --blue-soft: #e8f1fb;
  --blue-mid: #2b6cb0;
  --text: #222;
  --muted: #666;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0, 40, 90, 0.1);
  --font: "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top strip */
.top-strip {
  background: var(--blue-deep);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 20px;
}
.top-strip-links { display: flex; gap: 16px; }
.top-strip a { color: #9ec5ff; text-decoration: underline; text-underline-offset: 2px; }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: 18px;
  margin-left: 12px;
  font-size: 14.5px;
  color: #444;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn.solid {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 77, 159, 0.25);
}
.btn.solid:hover { background: var(--blue-deep); }
.btn.outline {
  border-color: #c5d4e8;
  background: #fff;
  color: var(--blue);
}
.btn.outline.light {
  border-color: rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
}
.btn.outline.light:hover { background: rgba(255,255,255,.1); }
.btn.xl { padding: 14px 24px; font-size: 15px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f3f7fc 0%, #ffffff 42%, #eef4fb 100%);
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(0,77,159,.14), transparent 60%),
    radial-gradient(500px 280px at 10% 80%, rgba(43,108,176,.09), transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 20px 72px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}
.hero-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-kicker .pill {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111;
}
.hero h1 .accent { color: var(--blue); }
.hero-lead {
  margin: 0 0 16px;
  color: #555;
  font-size: 16.5px;
  max-width: 34em;
}
.hero-lead strong { color: #222; }
.hero-bullets {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.hero-bullets li {
  position: relative;
  padding-left: 22px;
  color: #444;
  font-size: 14.5px;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.hero-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,40,90,.04);
}
.hero-stats dt {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.hero-stats dd {
  margin: 0;
  font-weight: 800;
  color: var(--blue);
  font-size: 15px;
}

.hero-visual { position: relative; min-height: 380px; }
.shot-stack { position: relative; height: 360px; }
.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  box-shadow: var(--shadow);
  background: #fff;
}
.shot img { width: 100%; height: 210px; object-fit: cover; }
.shot figcaption {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  background: #fff;
}
.shot.main { position: absolute; left: 0; top: 20px; width: 78%; z-index: 2; }
.shot.sub.a { position: absolute; right: 0; top: 0; width: 42%; z-index: 3; }
.shot.sub.a img, .shot.sub.b img { height: 110px; }
.shot.sub.b { position: absolute; right: 8%; bottom: 18px; width: 44%; z-index: 1; }
.id-card {
  position: absolute;
  left: 4%;
  bottom: -4px;
  z-index: 4;
  width: min(280px, 80%);
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(0,77,159,.35);
}
.id-card span { font-size: 12px; opacity: .85; }
.id-card strong { display: block; margin: 4px 0 8px; font-size: 15px; }
.id-card code {
  display: block;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.id-card p { margin: 0; font-size: 12px; opacity: .9; line-height: 1.45; }

/* trust */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}
.trust-row > div {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-row > div:last-child { border-right: 0; }
.trust-row strong {
  display: block;
  color: var(--blue-deep);
  font-size: 15px;
  margin-bottom: 2px;
}
.trust-row span { color: #888; font-size: 13px; }

/* bands */
.band { padding: 72px 0; }
.band.light { background: var(--bg-soft); border-block: 1px solid var(--line); }
.band.why {
  background:
    radial-gradient(600px 280px at 90% 10%, rgba(94,160,255,.18), transparent 55%),
    linear-gradient(180deg, #0b2748 0%, #0e3a6b 100%);
  color: #fff;
}
.band.why .section-title p,
.band.why .section-title span { color: #9ec5ff; }
.band.why h2 { color: #fff; }
.band.why .section-title strong { color: #fff; }
.band.why .diff {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  transition: transform .15s ease, background .15s ease;
}
.band.why .diff:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.band.why .diff h3 { color: #fff; }
.band.why .diff p { color: rgba(255,255,255,.78); }
.diff-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #7eb6ff;
  margin-bottom: 10px;
}

.section-title { margin-bottom: 36px; max-width: 720px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title span, .eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.section-title p { margin: 0; color: var(--muted); font-size: 16px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.diff {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.diff h3 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.diff p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.show-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,40,90,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.show-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,40,90,.1);
}
.show-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #eef2f7;
}
.show-card div { padding: 16px 16px 18px; }
.show-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}
.show-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* tagline */
.tagline-banner {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 55%, #1a6fd4);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.tagline-banner .tag-small,
.bottom-cta .tag-small {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: .88;
  font-weight: 600;
}
.tagline-banner h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tagline-banner em {
  font-style: normal;
  color: #cfe3ff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 6px solid #d9e6f5;
  border-radius: 12px;
  padding: 28px 16px 24px;
  text-align: center;
  transition: border-color .15s ease, transform .15s ease;
}
.benefit:hover {
  border-bottom-color: var(--blue);
  transform: translateY(-2px);
}
.b-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: #f2f2f2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 36px;
}
.benefit h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.func-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.func {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  transition: border-color .15s ease;
}
.func:hover { border-color: #b7cce8; }
.func .num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.func h3 { margin: 0 0 6px; font-size: 16px; }
.func p { margin: 0; color: var(--muted); font-size: 14px; }
.func a { color: var(--blue); font-weight: 700; }

.steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: none;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}
.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--blue-deep);
}
.steps p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.steps a { color: var(--blue); font-weight: 700; font-size: 14px; }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--blue);
  color: #fff;
  border-radius: 18px;
  padding: 28px 28px;
  box-shadow: 0 16px 36px rgba(0,77,159,.28);
}
.cta-box h3 { margin: 0 0 6px; font-size: 22px; }
.cta-box p { margin: 0; opacity: .92; }
.cta-box .btn.solid {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

/* faq */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 0;
  list-style: none;
  color: #1a1a1a;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 800;
}
.faq[open] summary::after { content: "–"; }
.faq p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq a { color: var(--blue); font-weight: 700; }

.support-band { background: #0b2748; color: #fff; }
.support-band .eyebrow { color: #7eb6ff; }
.support-band h2 { color: #fff; margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); }
.support-band p { color: rgba(255,255,255,.82); }
.support-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: stretch;
}
.support-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 24px;
}
.support-card h3 { margin: 0 0 8px; }
.support-card .btn.solid { margin: 12px 0; }
.support-card .note { font-size: 13px; opacity: .75; margin: 12px 0 0; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 13.5px;
  color: #fff;
}
.contact-chip:hover { background: rgba(255,255,255,.16); }

.bottom-cta {
  background: linear-gradient(180deg, #f0f5fb, #fff);
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.bottom-cta h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}
.bottom-cta p { margin: 0; color: var(--muted); }

.footer {
  background: #f3f5f8;
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
  color: #666;
  font-size: 14px;
}
.footer-inner { display: grid; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.footer-links a:hover { color: var(--blue); }
.copy { margin: 0; font-size: 12.5px; line-height: 1.7; color: #888; }

@media (max-width: 1060px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-inner, .diff-grid, .func-list, .steps, .support-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row > div:nth-child(2) { border-right: 0; }
  .trust-row > div:nth-child(1),
  .trust-row > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .shot-stack { height: auto; min-height: 280px; }
  .shot.main, .shot.sub.a, .shot.sub.b {
    position: relative;
    width: 100%;
    left: auto; right: auto; top: auto; bottom: auto;
    margin-bottom: 10px;
  }
  .shot.sub.a, .shot.sub.b { display: none; }
  .id-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .hero-visual { min-height: 0; }
}
@media (max-width: 720px) {
  .hero-inner, .diff-grid, .func-list, .steps, .support-grid, .benefit-grid, .showcase-grid, .trust-row {
    grid-template-columns: 1fr;
  }
  .trust-row > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .trust-row > div:last-child { border-bottom: 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open, .nav-cta.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 8px 0 4px;
  }
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .top-strip { font-size: 12px; }
}
