:root {
  --ink: #07150d;
  --muted: #5e6d63;
  --line: #dce6df;
  --surface: #f6f8f6;
  --white: #fff;
  --green: #08a84f;
  --green-dark: #087238;
  --lime: #98db47;
  --navy: #06110b;
  --shadow: 0 24px 70px rgba(7, 31, 17, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.site-header {
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand img, .footer-brand img {
  display: block;
  width: 210px;
  max-width: 100%;
}
.desktop-nav { display: flex; gap: 32px; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover { color: var(--green-dark); }
.cart-button {
  justify-self: end;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}
.cart-count {
  min-width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  font-size: 12px;
}
.hero {
  min-height: 690px;
  padding: 90px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(152,219,71,.23), transparent 32%),
    linear-gradient(135deg, #f9fbf9 0%, #f2f7f3 100%);
}
.eyebrow {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.category-filter {
  display: flex;
  gap: 10px;
  margin: 26px 0 34px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  border-color: var(--green-dark);
  background: var(--green-dark);
}
.library-grid { margin-bottom: 80px; }
.library-card[hidden] { display: none; }
.compact-heading { margin-top: 36px; }
.hero h1, .section-heading h2, .final-cta h2 {
  margin: 14px 0 20px;
  font-family: "Manrope", sans-serif;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.hero h1 { max-width: 820px; font-size: clamp(42px, 5.5vw, 78px); }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.primary-button, .checkout-button {
  border: 0;
  border-radius: 8px;
  padding: 15px 23px;
  color: white;
  background: var(--green-dark);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(8,114,56,.18);
}
.primary-button:hover, .checkout-button:hover { background: #075d30; transform: translateY(-1px); }
.text-link { font-weight: 700; }
.hero-trust { margin-top: 38px; display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.hero-trust b { color: var(--green); }
.hero-visual { min-height: 480px; display: grid; place-items: center; position: relative; }
.hero-visual::before {
  content: "";
  width: 440px;
  height: 440px;
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b7e3e, #9cdf4c);
  box-shadow: 0 40px 80px rgba(6,53,27,.2);
}
.document-stack { width: 330px; height: 420px; position: relative; z-index: 1; }
.paper {
  width: 285px;
  height: 365px;
  padding: 34px;
  position: absolute;
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 60px rgba(0,0,0,.23);
}
.paper-back { right: -28px; top: 4px; transform: rotate(10deg); opacity: .86; }
.paper-front { left: 0; bottom: 0; transform: rotate(-4deg); }
.paper-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--green); font-size: 24px; font-weight: 800; }
.paper-label { margin-top: 26px; display: block; color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.paper h2 { margin: 8px 0 28px; font-family: "Manrope"; font-size: 27px; line-height: 1.1; }
.paper i { height: 7px; margin: 12px 0; display: block; border-radius: 8px; background: #e5ece7; }
.paper i:nth-of-type(2) { width: 75%; }
.paper i:nth-of-type(3) { width: 88%; }
.paper-footer { margin-top: 34px; display: flex; gap: 8px; }
.paper-footer span { padding: 6px 9px; border-radius: 5px; color: var(--green-dark); background: #e9f6ed; font-size: 10px; font-weight: 800; }
.metric-strip {
  padding: 28px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: white;
  background: var(--navy);
}
.metric-strip div { padding: 5px 28px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.12); }
.metric-strip div:last-child { border: 0; }
.metric-strip strong { color: var(--lime); font: 800 25px "Manrope"; }
.metric-strip span { color: #a8b8ad; font-size: 12px; }
.catalog-section, .steps-section, .faq-section { padding: 110px clamp(24px, 8vw, 130px); }
.section-heading { margin-bottom: 48px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2 { max-width: 730px; font-size: clamp(34px, 4vw, 52px); }
.section-heading > p { max-width: 470px; margin: 0 0 10px; color: var(--muted); line-height: 1.7; }
.section-heading.centered { display: block; text-align: center; }
.section-heading.centered h2 { margin-left: auto; margin-right: auto; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card {
  min-height: 460px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-4px); border-color: #b4cfbc; box-shadow: var(--shadow); }
.pack-cover { width: 132px; height: 165px; margin: 0 0 22px auto; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(4, 61, 30, .16)); }
.library-card { min-height: 670px; }
.product-card.featured { color: white; border-color: #0a3d22; background: linear-gradient(145deg, #06140c, #0b3c22); }
.product-card.featured p, .product-card.featured li { color: #bac9bf; }
.popular-tag { position: absolute; right: 24px; top: 24px; color: var(--navy); background: var(--lime); padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-top { display: flex; align-items: center; gap: 12px; }
.file-badge { padding: 8px 10px; border-radius: 6px; color: #096133; background: #e6f7ec; font-size: 11px; font-weight: 800; }
.file-badge.word { color: #1859a6; background: #e9f1fb; }
.file-badge.multi { color: var(--navy); background: var(--lime); }
.category { color: var(--muted); font-size: 12px; font-weight: 700; }
.featured .category { color: #a9bbae; }
.product-card h3 { max-width: 500px; margin: 24px 0 12px; font: 800 27px/1.2 "Manrope"; letter-spacing: -.02em; }
.product-card > p { color: var(--muted); line-height: 1.65; }
.product-card ul { margin: 20px 0 28px; padding: 0; display: grid; gap: 9px; list-style: none; color: var(--muted); font-size: 14px; }
.product-card li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 800; }
.product-footer { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.price { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 5px; }
.price span { color: var(--muted); font-size: 11px; font-weight: 800; }
.featured .price span { color: #a9bbae; }
.price strong { font: 800 38px "Manrope"; letter-spacing: -.05em; }
.price small { grid-column: 1 / -1; color: var(--lime); font-weight: 700; }
.add-button {
  min-width: 122px;
  padding: 12px 17px;
  border: 1px solid #b8c8bd;
  border-radius: 7px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-weight: 800;
}
.add-button:hover { border-color: var(--green-dark); color: var(--green-dark); }
.add-button.primary { border-color: var(--lime); color: var(--navy); background: var(--lime); }
.steps-section { background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-grid article { padding: 35px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.steps-grid article > span { color: var(--green); font: 800 13px "Manrope"; }
.steps-grid h3 { margin: 28px 0 10px; font: 800 22px "Manrope"; }
.steps-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.faq-section { max-width: 1200px; margin: auto; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 25px 4px; cursor: pointer; font: 700 18px "Manrope"; list-style: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--green-dark); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 850px; margin: 0; padding: 0 4px 25px; color: var(--muted); line-height: 1.7; }
.final-cta { margin: 0 clamp(24px, 5vw, 72px) 72px; padding: 58px clamp(28px, 6vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 20px; color: white; background: linear-gradient(120deg, #052b18, #0b7c3f); overflow: hidden; }
.final-cta .eyebrow { color: var(--lime); }
.final-cta h2 { max-width: 750px; font-size: clamp(30px, 4vw, 50px); }
.primary-button.light { color: var(--ink); background: white; white-space: nowrap; }
.site-footer { padding: 62px clamp(24px, 8vw, 130px) 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 45px; color: #b6c4ba; background: var(--navy); }
.footer-brand img { margin-bottom: 20px; }
.footer-brand p { max-width: 380px; line-height: 1.6; }
.site-footer h3 { margin: 0 0 18px; color: white; font-size: 14px; }
.site-footer a, .footer-link { margin: 10px 0; display: block; color: #b6c4ba; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.site-footer a:hover, .footer-link:hover { color: var(--lime); }
.footer-bottom { grid-column: 1 / -1; padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.11); font-size: 12px; }
.overlay { position: fixed; inset: 0; z-index: 39; background: rgba(1,12,6,.54); backdrop-filter: blur(3px); }
.cart-drawer {
  width: min(440px, 100vw);
  height: 100dvh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  background: white;
  box-shadow: -30px 0 60px rgba(0,0,0,.18);
  transform: translateX(102%);
  transition: transform .25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.drawer-header h2 { margin: 5px 0 0; font: 800 30px "Manrope"; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 25px; }
.cart-items { display: grid; gap: 14px; margin-top: 20px; overflow: auto; }
.cart-item { padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px; border: 1px solid var(--line); border-radius: 10px; }
.cart-item h3 { margin: 0 0 6px; font-size: 15px; }
.cart-item span { color: var(--muted); font-size: 12px; }
.cart-item strong { grid-column: 2; grid-row: 1; }
.remove-item { grid-column: 2; grid-row: 2; padding: 0; border: 0; color: #9b3b3b; background: none; cursor: pointer; font-size: 12px; }
.empty-cart { margin: auto; text-align: center; color: var(--muted); }
.empty-cart > span { color: var(--green); font-size: 48px; }
.empty-cart h3 { color: var(--ink); }
.drawer-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.cart-total, .checkout-summary { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.cart-total strong { font: 800 24px "Manrope"; }
.drawer-footer .checkout-button { width: 100%; }
.drawer-footer small { margin-top: 12px; display: block; color: var(--muted); text-align: center; }
dialog { border: 0; padding: 0; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(1,12,6,.65); backdrop-filter: blur(4px); }
.checkout-dialog, .legal-dialog { width: min(590px, calc(100vw - 28px)); max-height: 90vh; padding: 40px; border-radius: 16px; }
.dialog-close { position: absolute; right: 20px; top: 20px; }
.dialog-heading h2 { margin: 7px 0; font: 800 32px "Manrope"; }
.dialog-heading p { color: var(--muted); line-height: 1.55; }
.checkout-dialog form { margin-top: 25px; display: grid; gap: 16px; }
.checkout-dialog label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.checkout-dialog input, .checkout-dialog select { width: 100%; padding: 13px 14px; border: 1px solid #bdcbc1; border-radius: 7px; background: white; outline: none; }
.checkout-dialog input:focus, .checkout-dialog select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,168,79,.12); }
.checkout-dialog .consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; line-height: 1.45; }
.checkout-dialog .consent input { width: auto; margin-top: 3px; }
.checkout-summary { margin: 5px 0 0; padding: 16px; border-radius: 8px; background: var(--surface); }
.checkout-summary strong { font: 800 20px "Manrope"; }
.form-status { min-height: 20px; margin: 0; color: var(--green-dark); font-size: 13px; text-align: center; }
.legal-dialog { line-height: 1.65; }
.legal-dialog h2 { font: 800 30px "Manrope"; }
.legal-dialog h3 { margin-top: 24px; font: 800 17px "Manrope"; }
.legal-dialog p, .legal-dialog li { color: var(--muted); }
body.no-scroll { overflow: hidden; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { min-height: 440px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .metric-strip div:nth-child(2) { border: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
}
@media (max-width: 620px) {
  .site-header { height: 66px; padding: 0 16px; }
  .brand img { width: 164px; }
  .cart-button span:first-child { display: none; }
  .cart-button { padding: 6px; border: 0; }
  .hero { padding: 58px 22px 70px; gap: 30px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 17px; }
  .hero-trust { display: grid; gap: 10px; }
  .hero-visual { min-height: 345px; }
  .hero-visual::before { width: 310px; height: 310px; }
  .document-stack { width: 245px; height: 315px; }
  .paper { width: 215px; height: 285px; padding: 23px; }
  .paper h2 { font-size: 20px; margin-bottom: 18px; }
  .paper-label { margin-top: 15px; }
  .paper i { margin: 8px 0; }
  .paper-footer { margin-top: 20px; }
  .metric-strip { padding: 24px 14px; }
  .metric-strip div { padding: 4px 16px; }
  .catalog-section, .steps-section, .faq-section { padding: 78px 20px; }
  .section-heading h2 { font-size: 34px; }
  .product-card { min-height: 0; padding: 25px; }
  .product-footer { align-items: center; }
  .popular-tag { right: 16px; top: 17px; }
  .final-cta { margin: 0 16px 50px; padding: 40px 25px; display: block; }
  .final-cta .primary-button { margin-top: 20px; display: inline-block; }
  .site-footer { padding: 50px 22px 24px; grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .checkout-dialog, .legal-dialog { padding: 34px 22px; }
}

.account-page { min-height: 100vh; background: var(--surface); }
.account-header { grid-template-columns: 1fr auto; }
.text-link, .text-button { color: var(--green-dark); font-weight: 700; }
.text-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.account-shell { width: min(1060px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0; }
.account-intro { max-width: 690px; margin-bottom: 32px; }
.account-intro h1, .account-card h1 { margin: 10px 0; font: 800 clamp(38px, 6vw, 62px) "Manrope"; line-height: 1.02; }
.account-intro p, .account-card p { color: var(--muted); line-height: 1.65; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.account-card { padding: 34px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 16px 45px rgba(0, 40, 18, .06); }
.account-card h2 { margin: 0 0 22px; font: 800 25px "Manrope"; }
.account-form { display: grid; gap: 16px; }
.account-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.account-form input { width: 100%; padding: 13px 14px; border: 1px solid #bdcbc1; border-radius: 7px; background: white; outline: none; }
.account-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,168,79,.12); }
.account-form .primary-button { border: 0; cursor: pointer; }
.social-login { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.social-login h2 { margin: 0 auto 0 0; font-size: 18px; }
.social-button, .secondary-button { padding: 12px 18px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; font-weight: 700; text-align: center; }
.social-button:hover, .secondary-button:hover { border-color: var(--green); color: var(--green-dark); }
.account-actions { margin: 25px 0; display: flex; flex-wrap: wrap; gap: 12px; }
.notice { padding: 13px 15px; border-left: 4px solid var(--green); border-radius: 5px; background: white; }
.notice.error { border-color: #b63b3b; color: #7e2525; }
@media (max-width: 720px) {
  .account-shell { width: min(100% - 28px, 620px); padding: 55px 0; }
  .account-grid { grid-template-columns: 1fr; }
  .account-card { padding: 25px; }
  .social-login { align-items: stretch; flex-direction: column; }
  .social-login h2 { margin: 0 0 7px; }
}
