:root {
  color-scheme: light;
  --ink: #172018;
  --muted: #647067;
  --paper: #fffaf1;
  --soft: #edf3e3;
  --line: #d8dac4;
  --accent: #10725e;
  --accent-strong: #073f34;
  --gold: #e0a526;
  --rose: #c74c62;
  --clay: #c86f3c;
  --night: #111b17;
  --shadow: 0 24px 70px rgba(17, 27, 23, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(224, 165, 38, 0.12), transparent 28rem),
    radial-gradient(circle at 80% 90%, rgba(16, 114, 94, 0.08), transparent 24rem),
    radial-gradient(rgba(17, 27, 23, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 28px 28px, auto;
  color: var(--ink);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 218, 196, 0.9);
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.hero-stats,
.product-meta,
.hero-content {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--night);
  font-weight: 900;
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
}

.nav-login {
  border: 1px solid var(--night);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--night);
  box-shadow: 4px 4px 0 rgba(17, 27, 23, 0.14);
}

.nav-login:hover {
  background: var(--night);
  color: #fffaf1;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 27, 23, 0.88), rgba(17, 27, 23, 0.36) 54%, rgba(17, 27, 23, 0.08)),
    linear-gradient(0deg, rgba(17, 27, 23, 0.92), rgba(17, 27, 23, 0.05) 42%);
}

.hero::after {
  position: absolute;
  right: clamp(18px, 7vw, 90px);
  bottom: clamp(18px, 7vw, 90px);
  z-index: 1;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 250, 241, 0.28);
  border-radius: 32px 6px 32px 6px;
  background:
    radial-gradient(circle at 30% 30%, rgba(224, 165, 38, 0.35), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(255, 250, 241, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(255,250,241,0.07) 0%, transparent 100%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(42px, 7vw, 84px) clamp(20px, 6vw, 76px);
  color: #fffaf1;
}

.eyebrow,
.section-kicker,
.product-status,
.badge {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 1;
  text-wrap: balance;
}

.hero p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  width: min(640px, 100%);
  margin-top: 14px;
}

.hero-stats div {
  min-width: 140px;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 14px 4px 14px 4px;
  padding: 14px 16px;
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fffaf1;
  font-size: 1.45rem;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.84rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px 3px 10px 3px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 5px 5px 0 var(--night);
}

.button.primary:hover {
  background: var(--accent-strong);
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 var(--night);
}

.button.secondary {
  border-color: rgba(255, 250, 241, 0.45);
  color: #fffaf1;
  box-shadow: 5px 5px 0 rgba(255, 250, 241, 0.16);
}

.feature-band,
.catalog,
.why-us,
.process,
.testimonials,
.faq,
.contact {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  background:
    linear-gradient(90deg, rgba(16, 114, 94, 0.12), transparent),
    var(--soft);
}

h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.product-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.6fr);
  gap: 18px;
}

.product-copy,
.product-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 18px 6px 18px 6px;
  background: #fffaf1;
  box-shadow: var(--shadow);
}

.product-copy {
  padding: clamp(24px, 4vw, 42px);
}

.product-copy p:not(.product-status) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-meta {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-meta div {
  min-width: 140px;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 14px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.product-panel {
  padding: 24px;
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(211, 144, 31, 0.14);
  padding: 8px 12px;
}

.product-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  margin-bottom: 36px;
}

.catalog .section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 20px;
}

.catalog .section-heading::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--line), transparent);
  margin-bottom: 4px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* per-card accent + shape personality */
.catalog-card:nth-child(1) {
  --card-accent: var(--accent);
  --card-dot: var(--gold);
  --card-radius: 18px 4px 18px 4px;
}
.catalog-card:nth-child(2) {
  --card-accent: var(--rose);
  --card-dot: var(--clay);
  --card-radius: 4px 18px 4px 18px;
}
.catalog-card:nth-child(3) {
  --card-accent: var(--clay);
  --card-dot: var(--rose);
  --card-radius: 18px 4px 18px 4px;
}
.catalog-card:nth-child(4) {
  --card-accent: var(--gold);
  --card-dot: var(--accent);
  --card-radius: 4px 18px 4px 18px;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: #fffaf1;
  border: 1.5px solid var(--line);
  box-shadow: 3px 3px 0 rgba(17, 27, 23, 0.07);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.catalog-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(17, 27, 23, 0.11);
}

.catalog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.93);
}

/* thin accent stripe below image */
.catalog-card img + * {
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--card-accent) 60%, var(--card-dot)) 1;
}

.catalog-card div {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
  flex: 1;
}

.catalog-card .tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  color: var(--card-accent);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card .tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-dot);
  flex-shrink: 0;
}

.catalog-card h3 {
  margin: 0 0 5px;
  font-size: 0.97rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--night);
}


.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.card-meta div {
  border: none;
  padding: 0;
}

.card-meta dt {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-meta dd {
  margin: 1px 0 0;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--night);
}

.quote-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--card-accent);
  background: transparent;
  color: var(--card-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: background 140ms ease, color 140ms ease;
}

.quote-link:hover {
  background: var(--card-accent);
  color: #fffaf1;
}


.why-us {
  background: #fffaf1;
}

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

.value-grid article,
.testimonial-grid figure,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px 6px 18px 6px;
  background: white;
}

.value-grid article {
  padding: clamp(22px, 3vw, 30px);
}

.value-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(135deg, var(--accent), var(--clay));
  color: white;
  font-weight: 900;
}

.value-grid h3,
.process-list h3 {
  font-size: 1.35rem;
}

.value-grid p,
.process-list p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.process {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  background: var(--soft);
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px 6px 18px 6px;
  padding: 22px;
  background: #fffaf1;
}

.process-list span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px 4px 12px 4px;
  background: var(--night);
  color: #fffaf1;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
}

.testimonials {
  background: #fffaf1;
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-grid figure {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
}

blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.45;
}

figcaption {
  margin-top: 20px;
  color: var(--muted);
  font-weight: 900;
}

.faq {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.faq-list p {
  max-width: 780px;
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--night);
  color: #fffaf1;
}

.contact p {
  max-width: 580px;
  color: rgba(255, 250, 241, 0.74);
  line-height: 1.7;
}

.contact-note {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.contact-note a,
.policy-content a {
  color: #fffaf1;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fffaf1;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(1em + 2px), calc(100% - 17px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.lead-form.submitted {
  border-color: rgba(14, 124, 102, 0.45);
}

/* ── Quote Modal ─────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(17, 27, 23, 0.62);
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity 200ms ease;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop.is-hiding {
  opacity: 0;
}

.modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px 6px 20px 6px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--night);
  color: #fffaf1;
  box-shadow: 0 32px 80px rgba(17, 27, 23, 0.5);
  animation: modal-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-intro p {
  max-width: 480px;
  color: rgba(255, 250, 241, 0.74);
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.1);
  color: #fffaf1;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease;
}

.modal-close:hover {
  background: rgba(255, 250, 241, 0.2);
}

@media (max-width: 640px) {
  .modal-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-strong);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  text-align: left;
}

.policy-shell {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px 6px 18px 6px;
  padding: clamp(28px, 5vw, 52px);
  background: #fffaf1;
  box-shadow: var(--shadow);
}

.policy-content h1 {
  margin: 8px 0 6px;
  color: var(--night);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.96;
}

.policy-content h2 {
  margin-top: 28px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.policy-content p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-content a {
  color: var(--accent-strong);
}

.policy-updated {
  margin-top: 0;
  font-weight: 900;
}

.floating-book {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 20;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--night);
  border-radius: 16px 4px 16px 4px;
  padding: 0 22px;
  background: var(--gold);
  color: var(--night);
  box-shadow: 8px 8px 0 rgba(17, 27, 23, 0.28);
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.floating-book:hover {
  background: #f0bd44;
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 rgba(17, 27, 23, 0.32);
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 165, 38, 0.16), transparent 22rem),
    radial-gradient(circle at 86% 22%, rgba(199, 76, 98, 0.10), transparent 18rem),
    radial-gradient(circle at 50% 88%, rgba(16, 114, 94, 0.09), transparent 20rem),
    radial-gradient(rgba(17, 27, 23, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, auto, 28px 28px, auto;
}

.auth-header {
  position: relative;
}

.auth-header .brand-logo {
  height: 44px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.login-shell {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.56), transparent 54%),
    transparent;
}

.signup-shell {
  background:
    linear-gradient(90deg, rgba(237, 243, 227, 0.65), transparent 58%),
    transparent;
}

.auth-intro {
  position: relative;
  max-width: 760px;
  padding: clamp(10px, 2vw, 24px);
}

.auth-intro-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 28px;
  object-fit: contain;
}

.auth-intro::before {
  position: absolute;
  top: -18px;
  left: -8px;
  z-index: -1;
  width: 130px;
  height: 130px;
  border: 2px solid var(--night);
  border-radius: 26px 6px 26px 6px;
  content: "";
}

.auth-intro h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.94;
  text-wrap: balance;
}

.auth-intro p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.auth-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.auth-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.auth-card {
  position: relative;
}

.auth-card::before {
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border-radius: 28px 6px 28px 6px;
  background: linear-gradient(135deg, var(--night) 0%, #2a3d35 100%);
  content: "";
}

.auth-card::after {
  position: absolute;
  top: -22px;
  right: 28px;
  width: 74px;
  height: 74px;
  border: 2px solid var(--night);
  border-radius: 18px 4px 18px 4px;
  background:
    linear-gradient(135deg, transparent 0 42%, var(--gold) 42% 58%, transparent 58%),
    #fffaf1;
  content: "";
}

.auth-card-heading {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 6px 0 0;
  padding: 24px clamp(22px, 4vw, 34px) 6px;
  background: #fffaf1;
}

.auth-card-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.auth-form {
  position: relative;
  z-index: 1;
  border-top: 0;
  border-radius: 0 0 18px 6px;
  padding: clamp(22px, 4vw, 34px);
}

.auth-helper {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.auth-helper a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header,
  .feature-band,
  .product-spotlight,
  .process,
  .auth-shell,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .value-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.86rem;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 120px;
  }

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

  .hero-stats div {
    width: 100%;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
    text-align: left;
  }

  .hero::after {
    width: 180px;
    opacity: 0.55;
  }

  .floating-book {
    right: 12px;
    bottom: 12px;
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.78rem;
  }

  .auth-card::before {
    inset: 12px -10px -12px 10px;
  }

  .auth-card::after {
    display: none;
  }

}
