:root {
  --color-primary: #162e6b;
  --color-accent: #3d63b8;
  --color-surface: #f4f7fc;
  --color-card: #ffffff;
  --color-text: #162e6b;
  --color-muted: #60739c;
  --color-line: #d8e1f0;
  --color-soft: #eef3fc;
  --color-soft-strong: #e5eefc;
  --shadow: rgba(22, 46, 107, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: "Ubuntu", "Segoe UI", sans-serif;
}

body {
  padding: 24px 0;
}

.sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 16mm 15mm;
  background: var(--color-card);
  box-shadow: 0 18px 48px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 22px 24px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1b377b 0%, #162e6b 100%);
  color: #ffffff;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #ffffff;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.12);
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: #b8c9f2;
}

.brand-subline {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.74);
}

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

h1,
h2 {
  color: var(--color-primary);
}

h1 {
  color: #ffffff;
  font-family: "Oswald", "Ubuntu", sans-serif;
  font-size: 34px;
  line-height: 1;
  max-width: 13.2cm;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h2 {
  font-family: "Ubuntu", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 700;
}

h3 {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-primary);
}

.intro,
.idea-description,
.idea-card li,
.offer-intro,
.offer-step p {
  font-size: 13px;
  line-height: 1.45;
}

.intro {
  margin-top: 12px;
  max-width: 10.2cm;
  color: rgba(255, 255, 255, 0.86);
}

.hero-note {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(184, 201, 242, 0.14);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(184, 201, 242, 0.24);
  font-size: 12px;
  line-height: 1.2;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpi-card {
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3ff 100%);
  border: 1px solid var(--color-line);
  box-shadow: 0 10px 24px var(--shadow);
}

.kpi-value {
  font-family: "Oswald", "Ubuntu", sans-serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.kpi-label {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-muted);
}

.ideas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.idea-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-card);
  box-shadow: 0 10px 24px var(--shadow);
}

.idea-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  font-family: "Ubuntu Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  border-radius: 999px;
  background: var(--color-soft);
  border: 1px solid rgba(61, 99, 184, 0.2);
}

.idea-content {
  min-width: 0;
}

.idea-description {
  margin-top: 8px;
  max-width: 92%;
  color: var(--color-muted);
}

.idea-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.idea-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  color: var(--color-text);
}

.idea-card li:last-child {
  margin-bottom: 0;
}

.idea-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--color-accent);
}

.offer-example {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--color-line);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  box-shadow: 0 10px 24px var(--shadow);
}

.section-label {
  color: var(--color-accent);
}

.offer-copy {
  display: grid;
  gap: 8px;
}

.offer-intro {
  max-width: 13.6cm;
  color: var(--color-muted);
}

.offer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.offer-step {
  padding: 14px;
  border-radius: 18px;
  background: var(--color-soft);
  border: 1px solid rgba(61, 99, 184, 0.14);
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(61, 99, 184, 0.18);
  color: var(--color-accent);
  font-family: "Ubuntu Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.offer-step p {
  margin-top: 7px;
  color: var(--color-muted);
}

@media (max-width: 920px) {
  body {
    padding: 0;
  }

  .sheet {
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 22px 18px;
    box-shadow: none;
  }

  .kpi-strip,
  .offer-steps {
    grid-template-columns: 1fr;
  }

  .idea-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  h1 {
    max-width: none;
    font-size: 30px;
  }

  .intro,
  .idea-description,
  .offer-intro {
    max-width: none;
  }
}

@page {
  size: A4;
  margin: 6mm;
}

@media print {
  html,
  body {
    background: #ffffff;
  }

  body {
    padding: 0;
  }

  .sheet {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
    gap: 8px;
  }

  .hero {
    padding: 14px 16px 15px;
    border-radius: 16px;
  }

  .brand-row {
    gap: 10px;
    margin-bottom: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  h1 {
    font-size: 24px;
    max-width: none;
  }

  h2 {
    font-size: 14px;
  }

  h3 {
    font-size: 12px;
  }

  .intro,
  .idea-description,
  .idea-card li,
  .offer-intro,
  .offer-step p {
    font-size: 10px;
    line-height: 1.25;
  }

  .intro,
  .idea-description,
  .offer-intro {
    max-width: none;
  }

  .hero-note {
    margin-top: 8px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .kpi-strip,
  .offer-steps {
    gap: 6px;
  }

  .ideas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .kpi-card {
    padding: 10px 10px 9px;
    border-radius: 14px;
  }

  .kpi-value {
    font-size: 19px;
  }

  .kpi-label {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.2;
  }

  .idea-card {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .idea-number {
    width: 28px;
    height: 28px;
    margin-top: 0;
    font-size: 10px;
  }

  .idea-description {
    margin-top: 4px;
  }

  .idea-card ul {
    margin-top: 6px;
  }

  .idea-card li {
    margin-bottom: 4px;
    padding-left: 12px;
  }

  .idea-card li::before {
    top: 6px;
    width: 5px;
    height: 5px;
  }

  .offer-example {
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .offer-copy {
    gap: 6px;
  }

  .offer-step {
    padding: 8px;
    border-radius: 12px;
  }

  .offer-badge {
    width: 20px;
    height: 20px;
    margin-bottom: 6px;
    font-size: 10px;
  }

  .offer-step p {
    margin-top: 4px;
  }
}
