@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #18262b;
  --muted: #66767c;
  --blue: #2d526d;
  --blue-deep: #203d52;
  --blue-soft: #e7eef2;
  --paper: #fbfcfb;
  --line: rgba(24, 38, 43, .12);
  --shadow: 0 24px 70px rgba(27, 54, 68, .14);
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f5f8f8;
  font-family: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.topbar {
  position: relative;
  z-index: 5;
  padding: 24px 0;
}

.topbar-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.03em; }

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--blue-deep);
  border-radius: 11px;
  font-size: 15px;
  box-shadow: 0 7px 18px rgba(32, 61, 82, .2);
}

.brand-name { font-size: 18px; }

.nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: white; background: var(--blue); padding: 11px 17px; border-radius: 10px; }

.hero { position: relative; padding: 68px 0 112px; overflow: hidden; }
.hero::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -180px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 206, 219, .42), rgba(245, 248, 248, 0) 68%);
  content: '';
}

.hero-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 78px; align-items: center; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 540px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 82px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 440px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(24, 38, 43, .1); }
.button-primary { color: white; border-color: var(--blue); background: var(--blue); }
.button-secondary { background: rgba(255, 255, 255, .64); }

.device-wrap { position: relative; }
.device-wrap::before { position: absolute; top: 16%; right: -6%; width: 54%; height: 66%; border-radius: 50%; background: rgba(176, 205, 216, .48); filter: blur(44px); content: ''; }
.device { position: relative; padding: 11px; border: 1px solid rgba(255,255,255,.82); border-radius: 27px; background: #1e2a2f; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.device img { display: block; width: 100%; border-radius: 17px; }
.device-caption { display: flex; justify-content: space-between; margin-top: 14px; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.device-caption strong { color: white; font-weight: 500; }

.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-kicker { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.section-heading p { max-width: 330px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.57); }
.feature-card:nth-child(2) { background: #e8f0f3; }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 700; }
.feature-card h3 { margin: 72px 0 13px; font-size: 22px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.story-copy h2 { max-width: 510px; margin: 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
.story-copy p { max-width: 460px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.workflow { display: grid; gap: 14px; }
.workflow-item { display: grid; grid-template-columns: 46px 1fr; gap: 20px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.workflow-item:first-child { border-top: 1px solid var(--line); }
.workflow-num { display: grid; width: 38px; height: 38px; place-items: center; color: white; border-radius: 50%; background: var(--blue); font-size: 13px; }
.workflow-item h3 { margin: 1px 0 7px; font-size: 17px; }
.workflow-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.cta { padding: 62px 0 86px; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border-radius: 22px; color: white; background: var(--blue-deep); box-shadow: 0 18px 42px rgba(32, 61, 82, .2); }
.cta-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -.04em; }
.cta-panel p { margin: 11px 0 0; color: rgba(255,255,255,.68); font-size: 14px; }
.cta-panel .button { color: var(--ink); border-color: white; background: white; white-space: nowrap; }

.footer { padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer a:hover { color: var(--ink); }

.legal-page { background: #f8faf9; }
.legal-main { padding: 72px 0 100px; }
.legal-header { max-width: 760px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.legal-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.legal-header p { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-meta { margin-top: 20px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.legal-content { max-width: 760px; padding-top: 46px; }
.legal-content section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-size: 21px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #55666c; font-size: 15px; line-height: 1.85; }
.legal-content p { margin: 0 0 12px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 10px 0 0; padding-left: 22px; }
.legal-content strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .story { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding-top: 42px; }
  .device-wrap { max-width: 700px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 20px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .topbar { padding: 18px 0; }
  .nav { gap: 14px; font-size: 12px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 10px 13px; }
  .hero { padding: 42px 0 72px; }
  .hero h1 { font-size: 54px; }
  .hero-copy { font-size: 16px; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-card h3 { margin-top: 42px; }
  .cta-panel { display: block; padding: 32px 26px; }
  .cta-panel .button { margin-top: 25px; }
  .footer-inner { display: block; }
  .footer-inner > * + * { display: block; margin-top: 12px; }
  .legal-main { padding: 48px 0 72px; }
}
