:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #101114;
  --muted: #626773;
  --line: rgba(16, 17, 20, 0.1);
  --blue: #0878ff;
  --blue-dark: #045ccc;
  --green: #0b6b45;
  --shadow: 0 24px 70px rgba(18, 28, 45, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(8, 120, 255, 0.13), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, var(--bg) 50%, #eef2f7 100%);
  color: var(--text);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #123d2e, #0d2119);
  color: #ffffff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.25), 0 14px 30px rgba(13, 33, 25, 0.24);
  font-size: 22px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
  padding: 74px 0 66px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 680;
  box-shadow: 0 10px 24px rgba(18, 28, 45, 0.08);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

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

.canvas {
  aspect-ratio: 1 / 1.08;
  border-radius: 22px;
  background:
    linear-gradient(rgba(8, 120, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 120, 255, 0.11) 1px, transparent 1px),
    linear-gradient(145deg, #eaf5ef, #f8fbff 52%, #dbe7f0);
  background-size: 33.333% 33.333%, 33.333% 33.333%, auto;
  position: relative;
  overflow: hidden;
}

.crop-frame {
  position: absolute;
  inset: 18% 13%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 0 0 999px rgba(10, 18, 26, 0.23);
}

.crop-card {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(78%, 360px);
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 45px rgba(18, 28, 45, 0.16);
}

.slider {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0 72%, rgba(16, 17, 20, 0.12) 72%);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.section {
  padding: 42px 0 72px;
}

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

.card,
.document {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(18, 28, 45, 0.08);
}

.card {
  padding: 24px;
}

.card h2,
.document h1,
.document h2 {
  margin-top: 0;
  letter-spacing: 0;
}

.card p,
.document p,
.document li {
  color: var(--muted);
  line-height: 1.65;
}

.document-wrap {
  padding: 44px 0 72px;
}

.document {
  max-width: 840px;
  padding: clamp(26px, 5vw, 54px);
}

.document h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.document h2 {
  margin-top: 34px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    gap: 18px;
  }

  .nav,
  .nav-links,
  .footer .shell {
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
  }

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