:root {
  --purple: #2C1B47;
  --purple-soft: #5B3E96;
  --purple-tint: #EFE7FF;
  --pink: #C9306F;
  --pink-dark: #95204F;
  --pink-tint: #FFE7F0;
  --teal: #0F7E83;
  --teal-tint: #E2F6F5;
  --lav-border: #D9C9F0;
  --card-border: #ECE3F7;
  --bg: #F7F3FB;
  --bg-hero: #FBF8FF;
  --grid-line: #E9DFF7;
  --text: #2C1B47;
  --text-soft: #55436F;
  --text-muted: #403058;
  --gold-bg: #FFF9E8;
  --gold-border: #E8C86A;
  --gold-text: #7A5A00;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-dark); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.display { font-family: 'Gluten', system-ui, sans-serif; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--lav-border); color: var(--purple-soft); }
.btn-outline { background: transparent; border-color: var(--lav-border); color: var(--purple-soft); }
.btn-solid { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-white { background: #fff; color: var(--pink); }
.btn-white:hover { color: var(--pink-dark); }

/* Header */
.site-header {
  height: 84px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--card-border);
}
.brand-logo { height: 48px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop a:not(.btn) { font-size: 16px; font-weight: 600; color: #4A3766; }
.nav-mobile-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  padding: 76px 64px 72px;
  display: flex;
  gap: 56px;
  align-items: center;
  background-color: var(--bg-hero);
  background-image:
    repeating-linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px 34px);
}
.hero-copy { width: 520px; flex-shrink: 0; max-width: 100%; }
.hero-title {
  margin: 0;
  font-family: 'Gluten', system-ui, sans-serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -1px;
  color: var(--text);
}
.hero-title .accent { color: var(--pink); }
.hero-text {
  margin: 22px 0 0;
  max-width: 470px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-soft);
}
.name-input {
  margin-top: 28px;
  max-width: 430px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: #fff;
  border: 2px solid #E6DCF5;
  border-radius: 16px;
}
.name-input label {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 20px;
  color: #6A5B80;
  white-space: nowrap;
}
.name-input input {
  flex-grow: 1;
  min-width: 0;
  padding: 6px 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Gluten', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--pink);
}
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-preview { flex-grow: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.preview-caption {
  align-self: flex-end;
  margin-right: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  color: #6A5B80;
}
.sheet {
  width: 496px;
  max-width: 100%;
  padding: 22px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 22px 44px rgba(44, 27, 71, 0.16);
  transform: rotate(-2.4deg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sheet-notebooks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.notebook { padding: 12px 14px; border-radius: 10px; }
.notebook-name { font-family: 'Gluten', system-ui, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notebook-sub { margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--text-soft); }

.sheet-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.label-item { padding: 12px 8px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.label-name { font-family: 'Gluten', system-ui, sans-serif; font-weight: 800; font-size: 18px; line-height: 1.1; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.label-sub { font-family: 'Caveat', cursive; font-weight: 700; font-size: 13px; color: #6A5B80; }

.sheet-pencils { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pencil { padding: 5px 6px; border-radius: 6px; font-family: 'Gluten', system-ui, sans-serif; font-weight: 700; font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Badges */
.badges {
  padding: 26px 64px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.badge { display: flex; align-items: flex-start; gap: 10px; }
.badge svg { flex-shrink: 0; margin-top: 2px; }
.badge span { font-size: 15px; font-weight: 600; color: #F0E8FA; }

/* Sections */
.section { padding: 88px 64px; }
.section-tight { padding: 72px 64px 0; }
.section-white { background: #fff; }
.section-title {
  margin: 0;
  font-family: 'Gluten', system-ui, sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--text);
}
.section-title-sm {
  margin: 0;
  font-family: 'Gluten', system-ui, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.4px;
  color: var(--text);
}
.section-text {
  margin: 14px 0 36px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* Catalog */
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.catalog-card {
  min-height: 232px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.icon-badge { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.catalog-card h3 { margin: 0; font-family: 'Gluten', system-ui, sans-serif; font-weight: 700; font-size: 24px; color: var(--text); }
.catalog-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.catalog-card .price { margin-top: auto; font-size: 16px; font-weight: 700; color: var(--pink); }

/* Packages */
.packages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.package-card {
  padding: 30px;
  background: #FDFBFF;
  border: 2px solid var(--card-border);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.package-featured { background: #FFF6FA; border-color: var(--pink); }
.package-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.package-label { font-family: 'Caveat', cursive; font-weight: 700; font-size: 21px; color: #6A5B80; }
.package-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: #fff; background: var(--pink); padding: 5px 12px; border-radius: 999px;
}
.package-price { font-family: 'Gluten', system-ui, sans-serif; font-weight: 800; font-size: 46px; line-height: 1; color: var(--purple-soft); }
.package-price-accent { color: var(--pink); }
.package-list { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.package-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-muted); }
.package-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 4px;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.package-featured .package-list li::before { background: var(--pink); }
.package-card .btn { margin-top: auto; width: 100%; }

.extra-note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  background: var(--gold-bg);
  border: 1px dashed var(--gold-border);
  border-radius: 16px;
  flex-wrap: wrap;
}
.extra-tag { font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; color: var(--gold-text); }
.extra-note span:not(.extra-tag):not(.extra-muted) { font-size: 16px; font-weight: 600; color: var(--text-muted); }
.extra-muted { font-size: 16px; color: var(--text-soft); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num {
  width: 54px; height: 54px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Gluten', system-ui, sans-serif; font-weight: 800; font-size: 26px;
}
.step-num-1 { background: var(--purple-tint); color: var(--purple-soft); }
.step-num-2 { background: var(--pink-tint); color: var(--pink); }
.step-num-3 { background: var(--teal-tint); color: var(--teal); }
.step h3 { margin: 0; font-family: 'Gluten', system-ui, sans-serif; font-weight: 700; font-size: 23px; color: var(--text); }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-soft); }

/* Works */
.works-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.link-strong { font-size: 16px; font-weight: 700; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-placeholder {
  height: 236px;
  border-radius: 20px;
  background: var(--purple-tint);
  border: 2px dashed #D8C8F0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Caveat', cursive; font-weight: 700; font-size: 21px; color: #6A5B80;
  text-align: center; padding: 16px;
}

/* CTA */
.cta {
  margin: 80px 64px 0;
  padding: 56px;
  background: var(--purple-soft);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-copy { max-width: 600px; }
.cta-copy h2 { margin: 0; font-family: 'Gluten', system-ui, sans-serif; font-weight: 800; font-size: 38px; line-height: 1.12; letter-spacing: -0.5px; color: #fff; }
.cta-copy p { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: #E4D9F7; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-phone { font-family: 'Gluten', system-ui, sans-serif; font-weight: 700; font-size: 20px; color: #E4D9F7; }

/* Footer */
.site-footer {
  margin-top: 80px;
  padding: 56px 64px 40px;
  background: var(--purple);
  color: #F0E8FA;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 330px; }
.footer-logo { height: 52px; width: auto; }
.footer-brand p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: #C6B6E0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #9F8BC4; }
.footer-col a { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #F0E8FA; }
.footer-address { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 1.5; color: #F0E8FA; }
.footer-address svg { flex-shrink: 0; margin-top: 3px; }
.footer-muted { font-size: 15px; color: #C6B6E0; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid #443163;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: #9F8BC4;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1080px) {
  .site-header { padding: 0 32px; }
  .hero { padding: 56px 32px; flex-direction: column; align-items: flex-start; }
  .hero-preview { align-items: flex-start; width: 100%; }
  .preview-caption { align-self: flex-start; margin-right: 0; }
  .badges { padding: 22px 32px; justify-content: flex-start; }
  .section { padding: 64px 32px; }
  .section-tight { padding: 56px 32px 0; }
  .catalog-grid, .packages-grid, .steps-grid, .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { margin: 64px 32px 0; padding: 40px; flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: flex-start; }
  .site-footer { padding: 48px 32px 32px; }
}

@media (max-width: 720px) {
  .site-header { height: 62px; padding: 0 20px; }
  .brand-logo { height: 40px; }
  .nav-desktop { display: none; }
  .nav-mobile-btn { display: flex; }

  .hero { padding: 30px 20px 34px; gap: 26px; }
  .hero-copy { width: 100%; }
  .hero-title { font-size: 36px; letter-spacing: -0.6px; }
  .hero-text { font-size: 16px; max-width: none; }
  .name-input { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { min-height: 52px; }

  .hero-preview { width: 100%; }
  .sheet { width: 100%; }
  .sheet-pencils { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; padding: 22px 20px; }

  .section { padding: 48px 20px; }
  .section-tight { padding: 44px 20px 0; }
  .section-title { font-size: 30px; }
  .section-text { font-size: 15px; margin-bottom: 22px; }

  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-card { min-height: 166px; padding: 16px; border-radius: 16px; gap: 8px; }
  .catalog-card h3 { font-size: 17px; }
  .catalog-card p { font-size: 13px; }
  .icon-badge { width: 38px; height: 38px; border-radius: 11px; }

  .packages-grid { grid-template-columns: 1fr; gap: 14px; }
  .package-card { padding: 22px; border-radius: 18px; }
  .package-price { font-size: 34px; }
  .extra-note { flex-direction: column; align-items: flex-start; gap: 6px; }

  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step { flex-direction: row; gap: 14px; }
  .step-num { width: 44px; height: 44px; font-size: 21px; flex-shrink: 0; }

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

  .cta { margin: 44px 20px 0; padding: 30px 24px; border-radius: 22px; }
  .cta-copy h2 { font-size: 27px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }

  .site-footer { margin-top: 44px; padding: 34px 20px 28px; gap: 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
}
