/* ==========================================================================
   Lawkar Landing Page — Pixel-Perfect Stylesheet
   Reference Artboard: 1920px (Figma node 339:22)
   At 1920px viewport: --u resolves to 1px (1:1 exact Figma dimensions).
   At 1024px–1919px: --u scales proportionally (clientWidth / 1920).
   Below 1024px: dedicated responsive tablet & mobile layout.
   ========================================================================== */

:root {
  --u: min(1px, calc(100vw / 1920));
  --bg-page: #f5f3f0;
  --bg-white: #ffffff;
  --bg-dark: #2e312e;
  --bg-black: #000000;
  --bg-store: #0a0511;
  --ink-primary: #24211e;
  --ink-black: #000000;
  --ink-muted: #746e67;
  --ink-light: #d2cbc4;
  --ink-footer: #c6beb6;
  --ink-contact: #eceeff;
  --ink-copy: #b8afa7;
  --red: #be0000;
  --red-bright: #f20100;
  --border-card: #dededd;
  --border-book: rgba(116, 110, 103, 0.22);
  --border-divider: #dcdcdc;
  --border-footer: #514943;
  --font-display: 'Arimo', Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', Arial, sans-serif;
  --font-store: 'Inter', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-body);
  overflow-x: clip;
}

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

button,
input {
  font-family: inherit;
}

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

.page-wrapper {
  position: relative;
  width: 100%;
  overflow-x: clip;
  background-color: var(--bg-page);
}

/* ==========================================================================
   Header & Floating Pill Navbar (Figma 339:1126, 339:1127)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: calc(10 * var(--u));
  pointer-events: none;
}

.header-inner {
  width: calc(1669 * var(--u));
  margin: 0 auto;
  pointer-events: auto;
}

.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(85 * var(--u));
  padding: calc(14 * var(--u)) calc(8 * var(--u));
  background: var(--bg-white);
  border-radius: 99999px;
  box-shadow: 0 calc(1 * var(--u)) calc(7.4 * var(--u)) rgba(0, 0, 0, 0.02);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: calc(9 * var(--u));
  flex: 0 0 auto;
  min-width: calc(386 * var(--u));
}

.brand-logo__img {
  width: calc(64 * var(--u));
  height: calc(63 * var(--u));
  flex-shrink: 0;
}

.brand-logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(32 * var(--u));
  line-height: calc(36.8 * var(--u));
  color: var(--ink-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: calc(26 * var(--u));
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(20 * var(--u));
  line-height: calc(23 * var(--u));
  color: var(--ink-primary);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red);
}

.nav-link.is-active {
  font-weight: 700;
}

.nav-dot {
  width: calc(8 * var(--u));
  height: calc(8 * var(--u));
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(16 * var(--u));
  width: calc(386 * var(--u));
  height: calc(69 * var(--u));
  flex-shrink: 0;
}

.btn-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  min-width: calc(112 * var(--u));
  height: calc(61 * var(--u));
  padding: calc(18 * var(--u));
  background: transparent;
  border: 1px solid var(--ink-muted);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--bg-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-cart:hover {
  border-color: var(--red);
  background-color: rgba(190, 0, 0, 0.04);
}

.btn-cart__icon {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
}

.cart-badge {
  position: absolute;
  top: calc(-4 * var(--u));
  right: calc(-4 * var(--u));
  min-width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  padding: 0 calc(6 * var(--u));
  border-radius: 999px;
  background: var(--red);
  color: var(--bg-white);
  font-size: calc(13 * var(--u));
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge[hidden] {
  display: none;
}

.nav-divider {
  width: 1px;
  height: calc(69 * var(--u));
  background: var(--border-divider);
  flex-shrink: 0;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(242 * var(--u));
  height: calc(69 * var(--u));
  padding: calc(18 * var(--u)) calc(55 * var(--u));
  background: var(--bg-dark);
  border-style: solid;
  border-color: var(--red);
  border-width: 0 0 calc(8 * var(--u)) 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--bg-white);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-login:hover {
  background: #1e201e;
  transform: translateY(-1px);
}

.btn-mobile-menu {
  display: none;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   Shared Badges, Buttons & Section Intros
   ========================================================================== */

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(34 * var(--u));
  padding: calc(8 * var(--u)) calc(13 * var(--u));
  border-radius: 30px;
  background: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(16 * var(--u));
  line-height: calc(18.4 * var(--u));
  color: var(--ink-muted);
  white-space: nowrap;
}

.pill-badge--dark {
  background: rgba(255, 255, 255, 0.14);
  color: var(--bg-white);
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  padding: calc(24 * var(--u)) calc(73 * var(--u));
  background: var(--bg-dark);
  border-style: solid;
  border-color: var(--red);
  border-width: 0 0 calc(8 * var(--u)) 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--bg-white);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-pill:hover {
  background: #222422;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.btn-outline-red-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  padding: calc(24 * var(--u)) calc(73 * var(--u));
  background: var(--bg-page);
  border: 1px solid var(--red);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--red);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline-red-pill:hover {
  background: var(--red);
  color: var(--bg-white);
  transform: translateY(-1px);
}

.btn-icon-22 {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  flex-shrink: 0;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}

.section-intro--center {
  align-items: center;
  text-align: center;
}

.section-intro--left {
  align-items: flex-start;
  text-align: left;
}

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(50 * var(--u));
  line-height: calc(57.5 * var(--u));
  color: var(--ink-primary);
}

.section-heading--white {
  color: var(--bg-white);
}

.section-description {
  margin: 0;
  max-width: calc(660 * var(--u));
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-muted);
}

.section-description--dark {
  max-width: calc(682.09 * var(--u));
  color: var(--ink-light);
}

/* ==========================================================================
   Hero Section (Figma y=0 .. 1811)
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  padding-top: calc(249 * var(--u));
}

.hero-grid-bg {
  position: absolute;
  top: calc(80.5 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  width: calc(2827 * var(--u));
  height: calc(710 * var(--u));
  pointer-events: none;
  z-index: 0;
}

.hero-grid-bg__svg {
  width: 100%;
  height: 100%;
}

.hero-grid-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(1043.44 * var(--u));
  background: radial-gradient(73% 61% at 48% 23%, rgba(245, 243, 240, 0) 10%, #f5f3f0 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  margin-bottom: calc(12 * var(--u));
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(70 * var(--u));
  line-height: calc(80.49 * var(--u));
  color: var(--ink-primary);
  text-align: center;
}

.hero-title__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: calc(21 * var(--u));
}

.hero-title__row--bottom {
  display: block;
}

.hero-title__gavel {
  width: calc(79 * var(--u));
  height: calc(80 * var(--u));
  flex-shrink: 0;
}

.hero-subtitle {
  margin: calc(31.02 * var(--u)) 0 0;
  max-width: calc(755.08 * var(--u));
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-muted);
  text-align: center;
}

.hero-ctas {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: calc(25 * var(--u));
  margin-top: calc(31 * var(--u));
}

.hero-cta-explore {
  width: calc(340 * var(--u));
  height: calc(84 * var(--u));
}

.hero-cta-download {
  width: calc(362 * var(--u));
  height: calc(78 * var(--u));
}

/* Supreme Court Showcase Stage (Figma y=768.69 .. 1811) */
.hero-showcase {
  position: relative;
  width: 100%;
  height: calc(1001.2 * var(--u));
  margin-top: calc(111.67 * var(--u));
  z-index: 2;
}

.hero-court-card {
  position: absolute;
  top: 0;
  left: calc(126.29 * var(--u));
  width: calc(1667.42 * var(--u));
  height: calc(929.21 * var(--u));
  background: var(--bg-page);
  overflow: hidden;
}

.hero-court-card__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100% / 0.931278944);
  object-fit: cover;
  object-position: top center;
}

.hero-court-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(190, 0, 0, 0) 41.7%,
    rgba(190, 0, 0, 0.04) 47.5%,
    rgba(190, 0, 0, 0.12) 51.8%,
    rgba(190, 0, 0, 0.24) 56.1%,
    rgba(190, 0, 0, 0.56) 64%,
    rgba(190, 0, 0, 0.88) 72%,
    #be0000 76.2%
  );
  pointer-events: none;
}

.hero-side-copy {
  position: absolute;
  top: calc(113.7 * var(--u));
  left: calc(126.59 * var(--u));
  width: calc(439.7 * var(--u));
  margin: 0;
  z-index: 3;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-muted);
}

.hero-side-copy strong {
  font-weight: 700;
  color: var(--ink-primary);
}

.hero-laurel {
  position: absolute;
  top: calc(113.7 * var(--u));
  left: calc(1424.74 * var(--u));
  width: calc(364.54 * var(--u));
  height: calc(259.16 * var(--u));
  z-index: 3;
}

.hero-laurel__svg {
  width: 100%;
  height: 100%;
}

.hero-laurel__label {
  position: absolute;
  top: calc(96.58 * var(--u));
  left: calc(91.77 * var(--u));
  width: calc(178.79 * var(--u));
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(26 * var(--u));
  line-height: calc(32.76 * var(--u));
  color: var(--ink-primary);
  text-align: center;
}

.hero-watermark {
  position: absolute;
  top: calc(555.22 * var(--u));
  left: calc(135.13 * var(--u));
  width: calc(1669.75 * var(--u));
  height: calc(266.92 * var(--u));
  z-index: 3;
  pointer-events: none;
}

.hero-bottom-blur {
  position: absolute;
  top: calc(740.93 * var(--u));
  left: -5%;
  width: 110%;
  height: calc(301.84 * var(--u));
  background: var(--bg-page);
  filter: blur(calc(26 * var(--u)));
  z-index: 4;
  pointer-events: none;
}

.hero-features-row {
  position: absolute;
  top: calc(857.21 * var(--u));
  left: calc(127 * var(--u));
  width: calc(1667 * var(--u));
  display: flex;
  align-items: stretch;
  gap: calc(33 * var(--u));
  z-index: 5;
}

.hero-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(8 * var(--u));
  height: calc(144 * var(--u));
  padding: calc(24 * var(--u));
  border: 1px solid var(--border-card);
  border-radius: calc(12 * var(--u));
  background: transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hero-feature-card:hover {
  border-color: rgba(190, 0, 0, 0.45);
  background: var(--bg-white);
  transform: translateY(-2px);
}

.hero-feature-card--1 { width: calc(376 * var(--u)); }
.hero-feature-card--2 { width: calc(412 * var(--u)); }
.hero-feature-card--3 { width: calc(407 * var(--u)); }
.hero-feature-card--4 { width: calc(373 * var(--u)); }

.hero-feature-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(26 * var(--u));
  line-height: calc(29.9 * var(--u));
  color: var(--ink-black);
}

.hero-feature-card__desc {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-muted);
}

/* ==========================================================================
   Explore Circle Badge + Scales & Gavel Banner (Figma y=1767 .. 2664.6)
   ========================================================================== */

.explore-banner-section {
  position: relative;
  width: 100%;
  height: calc(897.17 * var(--u));
  margin-top: calc(-2.44 * var(--u));
  z-index: 6;
}

.explore-disc {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(332.33 * var(--u));
  height: calc(332.33 * var(--u));
  border-radius: 50%;
  background: var(--bg-page);
  z-index: 3;
  transition: transform 0.25s ease;
}

.explore-disc:hover {
  transform: translateX(-50%) scale(1.03);
}

.explore-disc__ring {
  position: absolute;
  top: calc(29.38 * var(--u));
  left: calc(29.38 * var(--u));
  width: calc(273.55 * var(--u));
  height: calc(273.55 * var(--u));
  border-radius: 50%;
  background: var(--bg-page);
  border: calc(56 * var(--u)) solid var(--bg-dark);
}

.explore-disc__text {
  position: absolute;
  top: calc(40.1 * var(--u));
  left: calc(52.58 * var(--u));
  width: calc(226.81 * var(--u));
  height: calc(251.49 * var(--u));
  pointer-events: none;
}

.explore-disc__arrow {
  position: absolute;
  top: calc(118.35 * var(--u));
  left: calc(130.11 * var(--u));
  width: calc(71.75 * var(--u));
  height: calc(95.62 * var(--u));
  pointer-events: none;
}

.explore-banner-img {
  position: absolute;
  top: calc(166.16 * var(--u));
  left: 0;
  width: 100%;
  height: calc(731.01 * var(--u));
  object-fit: cover;
  z-index: 1;
}

/* ==========================================================================
   The Lawkar Workspace Bento Grid (Figma y=2785.51 .. 3926.39)
   ========================================================================== */

.workspace-section {
  width: calc(1668.24 * var(--u));
  margin: calc(120.88 * var(--u)) auto 0;
}

.bento-grid {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--u));
  margin-top: calc(112.88 * var(--u));
}

.bento-row {
  display: flex;
  align-items: center;
}

.bento-row--1 { gap: calc(39 * var(--u)); }
.bento-row--2 { gap: calc(57 * var(--u)); }
.bento-row--3 { gap: calc(54 * var(--u)); }

.bento-card {
  position: relative;
  height: calc(267 * var(--u));
  padding: calc(24 * var(--u));
  background: var(--bg-white);
  border: 1.5px solid var(--red);
  border-radius: calc(16 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) rgba(36, 33, 30, 0.08);
}

.bento-card--1 { width: calc(612.46 * var(--u)); }
.bento-card--2 { width: calc(1016.78 * var(--u)); }
.bento-card--3 { width: calc(985.24 * var(--u)); }
.bento-card--4 { width: calc(626 * var(--u)); }
.bento-card--5 { width: calc(705 * var(--u)); }
.bento-card--6 { width: calc(909.24 * var(--u)); }

.bento-card__index {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(16 * var(--u));
  line-height: calc(18.4 * var(--u));
  color: var(--red);
}

.bento-card__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(26 * var(--u));
  line-height: calc(29.9 * var(--u));
  color: var(--ink-primary);
}

.bento-card__desc {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: calc(362 * var(--u));
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-muted);
}

.bento-spiral {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  max-width: none;
}

.bento-spiral--1 {
  left: calc(387.33 * var(--u));
  top: calc(75 * var(--u));
  width: calc(208 * var(--u));
  height: calc(188 * var(--u));
}

.bento-spiral--2 {
  left: calc(703.78 * var(--u));
  top: calc(40.5 * var(--u));
  width: calc(382 * var(--u));
  height: calc(379 * var(--u));
}

.bento-spiral--3 {
  left: calc(745.01 * var(--u));
  top: calc(53.5 * var(--u));
  width: calc(318 * var(--u));
  height: calc(304 * var(--u));
}

.bento-spiral--4 {
  left: calc(468.14 * var(--u));
  top: calc(61.17 * var(--u));
  width: calc(262 * var(--u));
  height: calc(262 * var(--u));
}

.bento-spiral--5 {
  left: calc(521.7 * var(--u));
  top: calc(93.5 * var(--u));
  width: calc(272 * var(--u));
  height: calc(272 * var(--u));
}

.bento-spiral--6 {
  left: calc(635.11 * var(--u));
  top: calc(55.14 * var(--u));
  width: calc(382 * var(--u));
  height: calc(373 * var(--u));
}

/* ==========================================================================
   Court Diary & Calendar Section (Figma y=4126.39 .. 4958.44)
   ========================================================================== */

.diary-section {
  position: relative;
  width: 100%;
  height: calc(832.05 * var(--u));
  margin-top: calc(200 * var(--u));
  background: var(--bg-dark);
  overflow: hidden;
}

.diary-visual {
  position: absolute;
  top: calc(-193.73 * var(--u));
  left: calc(959.83 * var(--u));
  width: calc(1154.42 * var(--u));
  height: calc(1219.52 * var(--u));
  pointer-events: none;
  z-index: 1;
}

.diary-visual__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diary-content {
  position: relative;
  z-index: 2;
  width: calc(1665 * var(--u));
  margin: 0 auto;
  padding-top: calc(80.53 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(52 * var(--u));
}

.diary-content .section-heading {
  max-width: calc(925.07 * var(--u));
}

.diary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(30 * var(--u));
}

.diary-list__item {
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
}

.diary-list__arrow {
  width: calc(36.61 * var(--u));
  height: calc(26.64 * var(--u));
  flex-shrink: 0;
}

.diary-list__text {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.diary-list__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(26 * var(--u));
  line-height: calc(29.9 * var(--u));
  color: var(--bg-white);
}

.diary-list__text p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-light);
}

.diary-cta {
  width: calc(342 * var(--u));
  height: calc(85 * var(--u));
  border-width: calc(1 * var(--u)) calc(1 * var(--u)) calc(8 * var(--u)) calc(1 * var(--u));
}

/* ==========================================================================
   The Lawkar Book Store (Figma y=5054.34 .. 6866.35)
   ========================================================================== */

.bookstore-section {
  position: relative;
  width: 100%;
  padding-top: calc(209.74 * var(--u));
}

.bookstore-spiral {
  position: absolute;
  top: calc(95.9 * var(--u));
  right: calc(-220.68 * var(--u));
  width: calc(441.35 * var(--u));
  height: calc(441.35 * var(--u));
  max-width: none;
  pointer-events: none;
}

.books-grid {
  width: calc(1667 * var(--u));
  margin: calc(134.33 * var(--u)) auto 0;
  display: grid;
  grid-template-columns: repeat(4, calc(398 * var(--u)));
  column-gap: calc(25 * var(--u));
  row-gap: calc(36 * var(--u));
}

.book-card {
  width: calc(398 * var(--u));
  height: calc(599.51 * var(--u));
  border: 1.5px solid var(--border-book);
  border-radius: calc(22 * var(--u));
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.book-card--featured,
.book-card:hover {
  background: var(--bg-page);
  box-shadow: 0 calc(15 * var(--u)) calc(22 * var(--u)) rgba(0, 0, 0, 0.12);
}

.book-card:hover {
  transform: translateY(-4px);
}

.book-card__media {
  width: 100%;
  height: calc(354 * var(--u));
  flex-shrink: 0;
  overflow: hidden;
  border-radius: calc(20.5 * var(--u)) calc(20.5 * var(--u)) 0 0;
}

.book-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card__body {
  padding: calc(16 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(21 * var(--u));
  flex: 1;
}

.book-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: calc(59.51 * var(--u));
}

.book-card__price {
  display: flex;
  align-items: baseline;
  gap: calc(6 * var(--u));
  height: calc(33 * var(--u));
}

.price-current {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(26 * var(--u));
  line-height: calc(32.76 * var(--u));
  color: var(--ink-black);
}

.price-old {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(363 * var(--u));
  height: calc(76 * var(--u));
  padding: calc(20 * var(--u)) calc(73 * var(--u));
  background: var(--bg-dark);
  border-style: solid;
  border-color: var(--bg-page);
  border-width: 0 0 calc(8 * var(--u)) 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--bg-white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.book-card--featured .btn-add-cart,
.book-card:hover .btn-add-cart {
  border-color: var(--red);
}

.btn-add-cart:hover {
  background: #1f211f;
}

.bookstore-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: calc(70.82 * var(--u));
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  width: calc(364 * var(--u));
  height: calc(79 * var(--u));
  padding: calc(24 * var(--u)) calc(56 * var(--u));
  background: transparent;
  border: 1.5px solid var(--bg-dark);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--bg-dark);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-load-more:hover {
  background: var(--bg-dark);
  color: var(--bg-white);
}

.btn-load-more__icon {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  transition: transform 0.25s ease;
}

.btn-load-more.is-expanded .btn-load-more__icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   Case Documents Curved Dark Band (Figma y=6937.18 .. 7935.01)
   ========================================================================== */

.vault-section {
  position: relative;
  width: 100%;
  height: calc(997.84 * var(--u));
  margin-top: calc(70.83 * var(--u));
}

.vault-stage {
  position: absolute;
  inset: 0;
  background: var(--bg-black);
  clip-path: url(#vault-curve-clip);
  overflow: hidden;
  z-index: 1;
}

.vault-spiral-red {
  position: absolute;
  left: calc(-161.87 * var(--u));
  top: calc(745.16 * var(--u));
  width: calc(380 * var(--u));
  height: calc(380 * var(--u));
  max-width: none;
  pointer-events: none;
}

.vault-gavel {
  position: absolute;
  top: calc(10.78 * var(--u));
  left: calc(1544 * var(--u));
  width: calc(250 * var(--u));
  height: calc(253 * var(--u));
  z-index: 3;
  pointer-events: none;
}

.vault-content {
  position: relative;
  z-index: 2;
  width: calc(1665 * var(--u));
  margin: 0 auto;
  padding-top: calc(298.05 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(108 * var(--u));
}

.vault-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
  text-align: center;
}

.vault-brand {
  display: inline-flex;
  align-items: center;
  gap: calc(9 * var(--u));
}

.vault-brand__img {
  width: calc(64 * var(--u));
  height: calc(63 * var(--u));
}

.vault-brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(32 * var(--u));
  line-height: calc(36.8 * var(--u));
  color: var(--bg-white);
}

.vault-heading {
  margin: 0;
  max-width: calc(687.85 * var(--u));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(50 * var(--u));
  line-height: calc(57.5 * var(--u));
  color: var(--bg-white);
  text-transform: uppercase;
  text-align: center;
}

.vault-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(69 * var(--u));
}

.vault-feature {
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  width: calc(573.74 * var(--u));
}

.vault-feature--wide {
  width: calc(683.74 * var(--u));
}

.vault-feature__icon-wrap {
  width: calc(100.74 * var(--u));
  height: calc(100.74 * var(--u));
  border-radius: 50%;
  background: rgba(190, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vault-feature__icon {
  width: calc(55 * var(--u));
  height: calc(55 * var(--u));
}

.vault-feature__text {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.vault-feature__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(26 * var(--u));
  line-height: calc(29.9 * var(--u));
  color: var(--bg-white);
}

.vault-feature__text p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(22 * var(--u));
  line-height: calc(27.72 * var(--u));
  color: var(--ink-light);
}

/* ==========================================================================
   Download App CTA Section (Figma y=8002.01 .. 8537.81)
   ========================================================================== */

.download-section {
  width: calc(1665 * var(--u));
  margin: calc(67 * var(--u)) auto 0;
}

.download-heading {
  max-width: calc(950.1 * var(--u));
}

.download-description {
  max-width: calc(682.09 * var(--u));
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(52 * var(--u));
  margin-top: calc(87.8 * var(--u));
}

.store-badges {
  display: flex;
  align-items: center;
  gap: calc(27 * var(--u));
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  height: calc(90 * var(--u));
  padding: calc(16 * var(--u)) calc(28 * var(--u));
  background: var(--bg-store);
  border-radius: calc(8 * var(--u));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn--google { width: calc(280 * var(--u)); }
.store-btn--apple { width: calc(253 * var(--u)); }

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 calc(12 * var(--u)) calc(24 * var(--u)) rgba(10, 5, 17, 0.2);
}

.store-btn__icon {
  width: calc(51 * var(--u));
  height: calc(58 * var(--u));
  object-fit: contain;
  flex-shrink: 0;
}

.store-btn__copy {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
}

.store-btn__kicker {
  font-family: var(--font-store);
  font-weight: 500;
  font-size: calc(14 * var(--u));
  line-height: calc(16.94 * var(--u));
  color: var(--ink-light);
}

.store-btn__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(28 * var(--u));
  line-height: calc(32.2 * var(--u));
  color: var(--bg-white);
  white-space: nowrap;
}

.users-proof {
  display: flex;
  align-items: center;
  gap: calc(21 * var(--u));
}

.users-avatars {
  display: flex;
  align-items: center;
}

.users-avatar {
  width: calc(70 * var(--u));
  height: calc(70 * var(--u));
  border-radius: 50%;
  border: 1.5px solid var(--red);
  object-fit: cover;
  background: var(--bg-white);
}

.users-avatar + .users-avatar {
  margin-left: calc(-23 * var(--u));
}

.users-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(25 * var(--u));
  line-height: calc(28.75 * var(--u));
  color: var(--ink-black);
}

/* ==========================================================================
   Footer (Figma y=8699.38 .. 9487.02)
   ========================================================================== */

.site-footer {
  position: relative;
  width: 100%;
  min-height: calc(787.64 * var(--u));
  margin-top: calc(161.57 * var(--u));
  background: var(--bg-dark);
  overflow: hidden;
}

.footer-grid-bg {
  position: absolute;
  top: calc(57.01 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  width: calc(1408 * var(--u));
  height: calc(710 * var(--u));
  pointer-events: none;
  z-index: 0;
}

.footer-grid-bg__svg {
  width: 100%;
  height: 100%;
}

.footer-grid-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(37% 53% at 50% 47%, rgba(46, 49, 46, 0) 0%, #2e312e 100%);
  pointer-events: none;
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: calc(1668 * var(--u));
  margin: 0 auto;
  padding-top: calc(130.64 * var(--u));
  padding-bottom: calc(49.5 * var(--u));
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand-col {
  width: calc(454.64 * var(--u));
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: calc(9 * var(--u));
}

.footer-brand__img {
  width: calc(102.31 * var(--u));
  height: calc(100 * var(--u));
}

.footer-brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(32 * var(--u));
  line-height: calc(36.8 * var(--u));
  color: var(--bg-white);
}

.footer-tagline {
  margin: calc(10 * var(--u)) 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--ink-footer);
}

.footer-tagline strong {
  font-weight: 700;
}

.footer-social-block {
  margin-top: calc(125.67 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(17 * var(--u));
}

.footer-social-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--ink-footer);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(55 * var(--u));
  height: calc(55 * var(--u));
  border-radius: 50%;
  border: 1px solid var(--bg-white);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-circle img {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}

.social-circle--active,
.social-circle:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: translateY(-2px);
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: calc(1155 * var(--u));
}

.footer-col {
  width: calc(216 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(22 * var(--u));
}

.footer-col--legal {
  width: calc(264 * var(--u));
}

.footer-col--contact {
  width: calc(328 * var(--u));
}

.footer-col__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(26 * var(--u));
  line-height: calc(29.9 * var(--u));
  color: var(--bg-white);
}

.footer-col__title--upper {
  text-transform: uppercase;
}

.footer-col__line {
  display: block;
  width: calc(189.38 * var(--u));
  height: 1px;
  background: #e4e2de;
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--bg-white);
  transition: color 0.2s ease;
}

.footer-link--arrow img {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}

.footer-link:hover {
  color: var(--ink-light);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: calc(12 * var(--u));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--ink-contact);
}

.footer-contact-item--center {
  align-items: center;
}

.footer-contact-icon {
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  flex-shrink: 0;
}

.footer-divider {
  width: 100%;
  height: calc(2 * var(--u));
  border: 0;
  margin: calc(69.67 * var(--u)) 0 0;
  background: var(--border-footer);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(54 * var(--u));
}

.footer-copyright {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  line-height: calc(25.3 * var(--u));
  color: var(--ink-copy);
}

/* ==========================================================================
   Cart Drawer, Auth Modal & Toast
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 17, 0.52);
  backdrop-filter: blur(4px);
  z-index: 200;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg-white);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.16);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-card);
}

.cart-drawer__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-primary);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-primary);
  cursor: pointer;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border-book);
  border-radius: 14px;
  background: var(--bg-page);
}

.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-primary);
}

.cart-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__price {
  font-weight: 700;
  font-size: 15px;
  color: var(--red);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-white);
  cursor: pointer;
  font-weight: 700;
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
}

.cart-checkout-btn {
  width: 100%;
  height: 54px;
  padding: 14px 24px;
  font-size: 16px;
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px));
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-white);
  z-index: 220;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

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

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.auth-modal__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.auth-modal__brand img {
  width: 40px;
  height: 40px;
}

.auth-modal__brand h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-page);
  margin-bottom: 20px;
}

.auth-tab {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-muted);
  cursor: pointer;
}

.auth-tab.is-active {
  background: var(--bg-dark);
  color: var(--bg-white);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field[hidden] {
  display: none;
}

.auth-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
}

.auth-field input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  font-size: 15px;
}

.auth-submit {
  width: 100%;
  height: 52px;
  padding: 12px 24px;
  font-size: 16px;
  margin-top: 6px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--bg-dark);
  border: 1px solid var(--red);
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 500;
  z-index: 300;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.toast[hidden] {
  display: none;
}

/* ==========================================================================
   Tablet & Mobile Responsive Breakpoints (< 1024px)
   ========================================================================== */

@media (max-width: 1023px) {
  .site-header {
    padding: 10px 16px 0;
  }

  .header-inner {
    width: 100%;
  }

  .navbar-pill {
    height: 64px;
    padding: 8px 12px;
  }

  .brand-logo {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo__img {
    width: 38px;
    height: 38px;
  }

  .brand-logo__text {
    font-size: 22px;
    line-height: 1.1;
  }

  .nav-links,
  .nav-actions .btn-cart,
  .nav-actions .nav-divider,
  .nav-actions .btn-login {
    display: none;
  }

  .nav-actions {
    width: auto;
    height: auto;
    gap: 8px;
  }

  .btn-mobile-menu {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-card);
    background: var(--bg-white);
    cursor: pointer;
  }

  .btn-mobile-menu span {
    width: 18px;
    height: 2px;
    background: var(--ink-primary);
    border-radius: 2px;
  }

  .mobile-drawer {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    padding: 20px;
    border-radius: 20px;
    background: var(--bg-white);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
    z-index: 99;
  }

  .mobile-drawer.is-open {
    display: block;
  }

  .mobile-drawer__links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav-link {
    display: block;
    padding: 8px 4px;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--ink-primary);
  }

  .mobile-nav-link.is-active {
    color: var(--red);
    font-weight: 700;
  }

  .mobile-drawer__actions {
    display: flex;
    gap: 10px;
  }

  .mobile-drawer__actions .btn-cart,
  .mobile-drawer__actions .btn-login {
    display: inline-flex;
    flex: 1;
    height: 46px;
    padding: 0 16px;
    font-size: 15px;
    width: auto;
    border-bottom-width: 4px;
  }

  .mobile-drawer__actions .btn-cart {
    border-bottom-width: 1px;
  }

  .mobile-drawer__actions .btn-cart__icon {
    width: 18px;
    height: 18px;
  }

  .pill-badge {
    height: auto;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hero-section {
    padding-top: 104px;
    padding-inline: 16px;
  }

  .hero-grid-bg {
    width: 1400px;
    height: 360px;
    top: 40px;
  }

  .hero-grid-fade {
    height: 520px;
  }

  .hero-title {
    font-size: clamp(32px, 6.5vw, 52px);
    line-height: 1.15;
  }

  .hero-title__row {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .hero-title__gavel {
    width: 42px;
    height: 42px;
  }

  .hero-subtitle {
    margin-top: 16px;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 100%);
    gap: 12px;
    margin-top: 24px;
  }

  .btn-primary-pill,
  .btn-outline-red-pill {
    width: 100%;
    height: 54px;
    padding: 0 24px;
    font-size: 16px;
    line-height: 1.2;
  }

  .btn-primary-pill {
    border-bottom-width: 5px;
  }

  .btn-icon-22 {
    width: 18px;
    height: 18px;
  }

  .hero-showcase {
    height: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-side-copy {
    position: static;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    order: 1;
  }

  .hero-laurel {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
    width: 220px;
    height: 156px;
    order: 2;
  }

  .hero-laurel__label {
    top: 56px;
    left: 55px;
    width: 110px;
    font-size: 17px;
    line-height: 1.25;
  }

  .hero-court-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1667 / 929;
    order: 3;
    border-radius: 14px;
  }

  .hero-watermark {
    top: auto;
    bottom: calc(100% - 100%);
    display: none;
  }

  .hero-bottom-blur {
    display: none;
  }

  .hero-features-row {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    order: 4;
  }

  .hero-feature-card {
    width: 100%;
    height: auto;
    padding: 18px;
    gap: 6px;
    border-radius: 12px;
  }

  .hero-feature-card__title {
    font-size: 19px;
    line-height: 1.25;
  }

  .hero-feature-card__desc {
    font-size: 15px;
    line-height: 1.4;
  }

  .explore-banner-section {
    height: auto;
    margin-top: 32px;
    padding-top: 90px;
  }

  .explore-disc {
    width: 160px;
    height: 160px;
  }

  .explore-disc__ring {
    top: 14px;
    left: 14px;
    width: 132px;
    height: 132px;
    border-width: 28px;
  }

  .explore-disc__text {
    top: 19px;
    left: 25px;
    width: 110px;
    height: 122px;
  }

  .explore-disc__arrow {
    top: 57px;
    left: 63px;
    width: 34px;
    height: 46px;
  }

  .explore-banner-img {
    position: relative;
    top: auto;
    height: auto;
    min-height: 220px;
  }

  .workspace-section {
    width: 100%;
    margin-top: 56px;
    padding-inline: 16px;
  }

  .section-heading {
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.2;
  }

  .section-description {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.45;
  }

  .bento-grid {
    margin-top: 36px;
    gap: 16px;
  }

  .bento-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .bento-card {
    width: 100%;
    height: auto;
    min-height: 185px;
    padding: 20px;
    border-radius: 16px;
  }

  .bento-card__index {
    font-size: 13px;
    line-height: 1.2;
  }

  .bento-card__title {
    font-size: 20px;
    line-height: 1.25;
  }

  .bento-card__desc {
    max-width: 280px;
    font-size: 15px;
    line-height: 1.4;
  }

  .bento-spiral {
    opacity: 0.45;
    width: 140px !important;
    height: 140px !important;
    left: auto !important;
    top: auto !important;
    right: -24px;
    bottom: -24px;
  }

  .diary-section {
    height: auto;
    margin-top: 64px;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .diary-content {
    width: 100%;
    padding-top: 0;
    gap: 28px;
    order: 1;
  }

  .diary-visual {
    position: static;
    width: min(440px, 100%);
    height: auto;
    margin: 0 auto;
    order: 2;
  }

  .diary-list {
    gap: 18px;
  }

  .diary-list__arrow {
    width: 24px;
    height: 18px;
  }

  .diary-list__text h3 {
    font-size: 19px;
    line-height: 1.25;
  }

  .diary-list__text p {
    font-size: 15px;
    line-height: 1.4;
  }

  .diary-cta {
    width: min(260px, 100%);
    height: 54px;
    border-width: 1px 1px 5px 1px;
  }

  .bookstore-section {
    padding: 64px 16px 0;
  }

  .bookstore-spiral {
    display: none;
  }

  .books-grid {
    width: 100%;
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .book-card {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .book-card__media {
    height: 240px;
    border-radius: 15px 15px 0 0;
  }

  .book-card__body {
    padding: 14px;
    gap: 12px;
  }

  .book-card__title {
    font-size: 15px;
    line-height: 1.35;
    height: auto;
  }

  .price-current {
    font-size: 20px;
    line-height: 1.2;
  }

  .price-old {
    font-size: 15px;
    line-height: 1.2;
  }

  .btn-add-cart {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    font-size: 15px;
    border-bottom-width: 4px;
  }

  .bookstore-more-wrap {
    margin-top: 28px;
  }

  .btn-load-more {
    width: min(280px, 100%);
    height: 52px;
    padding: 0 24px;
    font-size: 16px;
  }

  .btn-load-more__icon {
    width: 18px;
    height: 18px;
  }

  .vault-section {
    height: auto;
    margin-top: 56px;
    padding: 72px 16px;
    background: var(--bg-black);
  }

  .vault-stage {
    clip-path: none;
  }

  .vault-spiral-red,
  .vault-gavel {
    display: none;
  }

  .vault-content {
    width: 100%;
    padding-top: 0;
    gap: 36px;
  }

  .vault-brand__img {
    width: 44px;
    height: 43px;
  }

  .vault-brand__text {
    font-size: 24px;
    line-height: 1.2;
  }

  .vault-heading {
    font-size: clamp(26px, 5vw, 38px);
    line-height: 1.2;
  }

  .vault-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .vault-feature,
  .vault-feature--wide {
    width: 100%;
    gap: 16px;
  }

  .vault-feature__icon-wrap {
    width: 64px;
    height: 64px;
  }

  .vault-feature__icon {
    width: 32px;
    height: 32px;
  }

  .vault-feature__text h3 {
    font-size: 19px;
    line-height: 1.25;
  }

  .vault-feature__text p {
    font-size: 15px;
    line-height: 1.4;
  }

  .download-section {
    width: 100%;
    margin-top: 56px;
    padding-inline: 16px;
  }

  .download-actions {
    margin-top: 32px;
    gap: 28px;
  }

  .store-badges {
    flex-wrap: wrap;
    gap: 14px;
  }

  .store-btn {
    width: auto;
    min-width: 200px;
    height: 64px;
    padding: 10px 18px;
    gap: 10px;
    border-radius: 8px;
  }

  .store-btn__icon {
    width: 34px;
    height: 38px;
  }

  .store-btn__kicker {
    font-size: 11px;
    line-height: 1.2;
  }

  .store-btn__name {
    font-size: 20px;
    line-height: 1.2;
  }

  .users-proof {
    gap: 14px;
  }

  .users-avatar {
    width: 48px;
    height: 48px;
  }

  .users-avatar + .users-avatar {
    margin-left: -14px;
  }

  .users-count {
    font-size: 18px;
    line-height: 1.2;
  }

  .site-footer {
    min-height: 0;
    margin-top: 64px;
  }

  .footer-inner {
    width: 100%;
    padding: 48px 16px 32px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand-col {
    width: 100%;
  }

  .footer-brand__img {
    width: 56px;
    height: 55px;
  }

  .footer-brand__text {
    font-size: 24px;
  }

  .footer-tagline {
    font-size: 15px;
    line-height: 1.5;
  }

  .footer-social-block {
    margin-top: 28px;
    gap: 12px;
  }

  .footer-social-label {
    font-size: 15px;
  }

  .social-circle {
    width: 42px;
    height: 42px;
  }

  .social-circle img {
    width: 18px;
    height: 18px;
  }

  .footer-columns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-col,
  .footer-col--legal,
  .footer-col--contact {
    width: 100%;
    gap: 14px;
  }

  .footer-col__title {
    font-size: 18px;
    line-height: 1.25;
  }

  .footer-col__line {
    width: 120px;
  }

  .footer-col__list,
  .footer-contact-list {
    gap: 10px;
  }

  .footer-link,
  .footer-contact-item {
    font-size: 15px;
    line-height: 1.4;
  }

  .footer-link--arrow img {
    width: 16px;
    height: 16px;
  }

  .footer-contact-icon {
    width: 24px;
    height: 24px;
  }

  .footer-divider {
    margin-top: 36px;
    height: 1px;
  }

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

  .footer-copyright {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hero-features-row,
  .bento-row,
  .books-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }
}
