/* MyMarwad landing — Marwar palette, jharokha arches, block-print details. */

:root {
  --ivory: #fbf4e6;
  --cream: #fffaf0;
  --parchment: #f4e5c9;
  --sand: #ecd8b6;
  --maroon: #7a1f2b;
  --maroon-deep: #5c1620;
  --saffron: #d9771f;
  --turmeric: #e7a71d;
  --gold: #b98a3e;
  --gold-soft: rgba(185, 138, 62, 0.32);
  --indigo: #24405f;
  --henna: #2f5a3c;
  --ink: #3a251d;
  --muted: #6b5446;
  --font-display: "Marcellus", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Mukta", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shell: 1180px;
  --pattern-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='none' stroke='%23b98a3e' stroke-opacity='.30'%3E%3Cpath d='M18 7 24 18 18 29 12 18Z'/%3E%3C/g%3E%3Ccircle cx='18' cy='18' r='1.5' fill='%23b98a3e' fill-opacity='.38'/%3E%3C/svg%3E");
  --pattern-flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg transform='translate(28 28)' fill='%23e7a71d' fill-opacity='.16'%3E%3Cpath d='M0-13c4 5 4 9 0 13-4-4-4-8 0-13Z'/%3E%3Cpath d='M0 13c4-5 4-9 0-13-4 4-4 8 0 13Z'/%3E%3Cpath d='M-13 0c5-4 9-4 13 0-4 4-8 4-13 0Z'/%3E%3Cpath d='M13 0c-5-4-9-4-13 0 4 4 8 4 13 0Z'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='1.6' fill='%23e7a71d' fill-opacity='.35'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  color: var(--maroon-deep);
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

::selection {
  background: rgba(217, 119, 31, 0.28);
  color: var(--maroon-deep);
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 2px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* Gota strip */
.gota {
  height: 8px;
  background-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M4 8 8 1l4 7Z' fill='%23e7a71d'/%3E%3Cpath d='M16 8 20 1l4 7Z' fill='%23b98a3e'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 24px 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 230, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-soft);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 18px 30px -28px rgba(58, 37, 29, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.mark-arch {
  fill: none;
  stroke: var(--maroon);
  stroke-width: 2;
}

.mark-inner {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}

.mark.stem {
  fill: none;
  stroke: var(--henna);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--maroon-deep);
  letter-spacing: 0.01em;
}

.brand-dev {
  margin-top: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin-left: auto;
  font-size: 0.94rem;
}

/* Scoped to the primary links: the account group holds a .btn, and an
   element-plus-class rule here would out-specify .btn and flatten it. */
.nav > a {
  position: relative;
  padding: 6px 0;
  color: #4a332a;
  white-space: nowrap;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav > a:hover::after,
.nav > a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* Account entry points live at the end of the primary nav so they stay inside
   the panel that the mobile menu opens, instead of a header that collapses. */
.nav-auth {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  margin-left: clamp(4px, 1vw, 12px);
  padding-left: clamp(8px, 1.4vw, 18px);
  border-left: 1px solid var(--gold-soft);
}

.nav-auth a {
  white-space: nowrap;
}

.nav-auth a::after {
  display: none;
}

/* The reset stays on the plain "Log in" link; "Sign up" keeps its .btn-sm box. */
.nav-login {
  padding: 0;
  font-weight: 500;
  color: var(--maroon);
  border-bottom: 1px solid transparent;
}

.nav-login:hover {
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  color: var(--maroon);
  cursor: pointer;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

body.nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--maroon);
  color: var(--cream);
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.16), 0 12px 26px -18px rgba(92, 22, 32, 0.9);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--maroon-deep);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.btn-quiet {
  background: transparent;
  color: var(--maroon);
  border-color: var(--gold);
}

.btn-quiet:hover {
  background: rgba(122, 31, 43, 0.08);
  color: var(--maroon-deep);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(44px, 7vw, 92px) 0 clamp(52px, 7vw, 96px);
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(231, 167, 29, 0.20), transparent 62%),
    radial-gradient(900px 520px at -12% 18%, rgba(122, 31, 43, 0.07), transparent 62%),
    linear-gradient(180deg, #fdf8ec 0%, var(--ivory) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-diamond);
  background-size: 150px 150px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--saffron);
  transform: rotate(45deg);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.65rem, 5.1vw, 4.3rem);
  line-height: 1.04;
  color: var(--maroon-deep);
  max-width: 13ch;
}

.lede {
  margin-top: 22px;
  max-width: 50ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #584134;
}

/* Pincode */
.pincode-form {
  margin-top: 34px;
  max-width: 520px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #4a332a;
}

.field-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--cream);
  border: 1px solid rgba(185, 138, 62, 0.55);
  border-radius: 6px;
  box-shadow: 0 18px 34px -30px rgba(58, 37, 29, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-row:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.field-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.field-row input::placeholder {
  color: #a58d7c;
  letter-spacing: 0.01em;
}

.field-row input:focus-visible {
  outline: none;
}

.field-help {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.pincode-result {
  margin-top: 14px;
  padding: 13px 16px;
  background: rgba(255, 250, 240, 0.92);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a332a;
}

.pincode-result.is-ok {
  border-left-color: var(--henna);
  background: #f2f6ee;
}

.pincode-result.is-warn {
  border-left-color: var(--saffron);
  background: #fdf1e2;
}

.pincode-result.is-error {
  border-left-color: var(--maroon);
  background: #fbeeed;
}

.app-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px;
}

.app-cta[hidden] {
  display: none;
}

.app-cta-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #5c4638;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-row li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* Hero art */
.hero-art {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 22px -16px -16px 22px;
  border: 1px solid rgba(122, 31, 43, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

.poster {
  position: relative;
  padding: 11px;
  background: var(--cream);
  border: 1px solid rgba(185, 138, 62, 0.6);
  box-shadow: 0 44px 70px -46px rgba(58, 37, 29, 0.65), 0 0 0 5px rgba(255, 250, 240, 0.5);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(185, 138, 62, 0.35);
  pointer-events: none;
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
}

.poster-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  text-align: center;
}

.caption-rule {
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

/* Ribbon */
.ribbon {
  overflow: hidden;
  padding: 13px 0;
  background: var(--maroon);
  border-top: 1px solid rgba(231, 167, 29, 0.5);
  border-bottom: 1px solid rgba(231, 167, 29, 0.5);
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: #fdf3e0;
  animation: drift 46s linear infinite;
}

.ribbon-track .sep {
  font-size: 0.52rem;
  color: var(--turmeric);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: clamp(60px, 8vw, 104px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  line-height: 1.16;
  max-width: 20ch;
}

.section-sub {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #5f4a3d;
}

/* Product */
.product {
  background: linear-gradient(180deg, var(--ivory), #f8eedb);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.product-copy h2 {
  max-width: 13ch;
}

.product-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.product-points li {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 0.97rem;
  color: #5f4a3d;
}

.product-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 34px 22px 24px;
  background-color: var(--cream);
  background-image: var(--pattern-diamond);
  background-size: 140px 140px;
  border: 1px solid rgba(185, 138, 62, 0.45);
  border-radius: 8px;
  box-shadow: 0 30px 50px -44px rgba(58, 37, 29, 0.65);
}

.pack {
  position: relative;
  padding: 18px 8px 16px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 70px 70px 6px 6px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.pack h3 {
  margin-top: 10px;
  font-size: 1.02rem;
}

.pack p {
  margin-top: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #8a6a4a;
}

.pack-featured {
  background: rgba(122, 31, 43, 0.05);
  border-color: rgba(122, 31, 43, 0.3);
}

.pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pack-art {
  display: block;
  margin: 0 auto;
  height: auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pack-art-sm {
  width: 46px;
}

.pack-art-md {
  width: 64px;
}

.pack-art-lg {
  width: 82px;
}

.pack-featured .pack-art {
  stroke: var(--maroon);
}

.price-note {
  max-width: 64ch;
  margin-top: 28px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Why */
.why {
  background:
    linear-gradient(180deg, rgba(244, 229, 201, 0.55), rgba(251, 244, 230, 0.2)),
    var(--ivory);
  border-top: 1px solid rgba(185, 138, 62, 0.22);
  border-bottom: 1px solid rgba(185, 138, 62, 0.22);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.why-copy .section-sub {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 3px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--maroon);
  border-bottom: 1px solid var(--gold);
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  gap: 12px;
  color: var(--maroon-deep);
}

.why-list {
  display: grid;
  gap: 0;
}

.why-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(122, 31, 43, 0.16);
}

.why-item:first-child {
  border-top: 0;
  padding-top: 4px;
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--saffron);
  line-height: 1.2;
}

.why-item h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.why-item p {
  color: #5f4a3d;
  font-size: 0.99rem;
  line-height: 1.72;
  max-width: 52ch;
}

/* How */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--cream);
  border: 1px solid rgba(185, 138, 62, 0.4);
  border-radius: 110px 110px 10px 10px;
  text-align: center;
}

.step-medallion {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  background: var(--maroon);
  color: #fdf3e0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px rgba(185, 138, 62, 0.4);
}

.step h3 {
  font-size: 1.26rem;
  margin-bottom: 10px;
}

.step p {
  color: #5f4a3d;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Subscription band */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 100px) 0;
  background:
    radial-gradient(700px 380px at 82% 12%, rgba(231, 167, 29, 0.18), transparent 65%),
    linear-gradient(135deg, var(--maroon-deep), #4a1119 65%);
  color: #fdf3e0;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-flower);
  background-size: 56px 56px;
  opacity: 0.55;
  pointer-events: none;
}

.band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.eyebrow-light {
  color: var(--turmeric);
}

.band h2 {
  color: #fdf3e0;
  max-width: 18ch;
}

.band-copy p:not(.eyebrow):not(.band-note) {
  margin-top: 18px;
  max-width: 56ch;
  color: rgba(253, 243, 224, 0.82);
  line-height: 1.78;
}

.band-note {
  margin-top: 22px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turmeric);
}

.band-art {
  justify-self: center;
  width: min(260px, 60vw);
}

.band-art svg {
  display: block;
  width: 100%;
  animation: turn 90s linear infinite;
}

.band-ring {
  fill: none;
  stroke: rgba(231, 167, 29, 0.45);
  stroke-width: 1;
}

.band-ring.thin {
  stroke: rgba(231, 167, 29, 0.22);
}

.band-petals path {
  fill: rgba(231, 167, 29, 0.1);
  stroke: rgba(231, 167, 29, 0.55);
  stroke-width: 1;
}

.band-core {
  fill: rgba(217, 119, 31, 0.55);
}

.band-dot {
  fill: #fdf3e0;
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-head .section-sub {
  margin-top: 18px;
}

.faq-item {
  border-bottom: 1px solid rgba(122, 31, 43, 0.18);
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(122, 31, 43, 0.18);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--maroon-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--saffron);
  transition: transform 0.25s ease;
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  max-width: 60ch;
  color: #5f4a3d;
  font-size: 0.97rem;
  line-height: 1.75;
}

/* Closing */
.closing {
  padding: clamp(64px, 8vw, 100px) 0;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(231, 167, 29, 0.16), transparent 70%),
    linear-gradient(180deg, var(--parchment), #f7ecd6);
  border-top: 1px solid rgba(185, 138, 62, 0.3);
  text-align: center;
}

.closing-dev {
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: #a8782a;
}

.closing h2 {
  max-width: 21ch;
  margin: 0 auto;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.2;
}

.closing .btn {
  margin-top: 30px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.closing-actions .btn {
  margin-top: 0;
}

.closing-check {
  margin-top: 22px;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 64px 0 26px;
  background: #2b1814;
  color: #fdf3e0;
}

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

.site-footer .brand-name {
  color: #fdf3e0;
}

.site-footer .mark-arch {
  stroke: #f4e5c9;
}

.site-footer .mark.stem {
  stroke: var(--turmeric);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 32ch;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(253, 243, 224, 0.64);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--turmeric);
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: rgba(253, 243, 224, 0.76);
}

.footer-col a:hover {
  color: #fdf3e0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(185, 138, 62, 0.28);
  font-size: 0.78rem;
  color: rgba(253, 243, 224, 0.48);
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .step.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js .step.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

/* Responsive */
@media (max-width: 1080px) {
  .packs {
    padding: 30px 16px 20px;
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: 2;
    max-width: 460px;
    margin-top: 14px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .product-grid,
  .why-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .band-art {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .step {
    border-radius: 90px 90px 10px 10px;
  }

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

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-left: 0;
    padding: 12px clamp(20px, 5vw, 48px) 22px;
    background: var(--ivory);
    border-bottom: 1px solid var(--gold-soft);
    box-shadow: 0 26px 40px -32px rgba(58, 37, 29, 0.7);
  }

  .nav > a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(185, 138, 62, 0.18);
    font-size: 1rem;
  }

  .nav > a::after {
    display: none;
  }

  .nav-auth {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 14px 0 0;
    padding-top: 14px;
    gap: 10px;
    border-left: 0;
    border-top: 1px solid var(--gold-soft);
  }

  .nav-auth a {
    width: 100%;
    padding: 11px 18px;
    border-bottom: 0;
    font-size: 0.95rem;
  }

  .nav-login {
    text-align: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-header {
    position: sticky;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    font-size: 1.32rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .field-row {
    flex-direction: column;
    padding: 8px;
  }

  .field-row input {
    padding: 11px 10px;
  }

  .field-row .btn {
    width: 100%;
  }

  .trust-row {
    gap: 10px 18px;
    font-size: 0.78rem;
  }

  .packs {
    gap: 8px;
    padding: 30px 12px 20px;
  }

  .pack {
    padding: 14px 4px 12px;
  }

  .pack h3 {
    font-size: 0.92rem;
  }

  .pack-art-sm {
    width: 38px;
  }

  .pack-art-md {
    width: 52px;
  }

  .pack-art-lg {
    width: 66px;
  }

  .step {
    padding: 30px 22px 26px;
  }

  .why-item {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand p {
    max-width: 40ch;
  }

  .footer-bottom {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ribbon-track,
  .band-art svg {
    animation: none;
  }

  .btn,
  .pack,
  .text-link,
  .nav a::after,
  .faq-item summary::after {
    transition: none;
  }
}
