:root {
  --use-red: #862019;
  --use-red-dark: #551511;
  --use-red-soft: #f8e9e7;
  --use-ink: #202423;
  --use-muted: #65706c;
  --use-paper: #ffffff;
  --use-surface: #f6f4f3;
  --use-line: #e6dfdc;
  --use-shadow: 0 22px 60px rgba(59, 33, 29, 0.12);
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 260ms;
  animation-timing-function: ease;
}

.use-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7vw, 104px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 170, 158, 0.18), transparent 30%),
    linear-gradient(135deg, #211716 0%, #452724 52%, #762019 100%);
}

.use-hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  bottom: -230px;
  border: 70px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.use-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(46px, 8vw, 105px);
}

.use-eyebrow {
  margin: 0 0 15px;
  color: #ef978f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.use-hero h1 {
  max-width: 790px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
  font-weight: 420;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.use-hero h1 strong {
  color: #ef978f;
  font-weight: 680;
}

.use-hero-copy > p:not(.use-eyebrow) {
  max-width: 670px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
}

.use-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.use-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.88rem;
  font-weight: 760;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.use-button:hover {
  transform: translateY(-2px);
}

.use-button:focus-visible,
.use-card:focus-visible,
.use-sidebar a:focus-visible,
.use-flow-link:focus-visible {
  outline: 3px solid rgba(239, 151, 143, 0.55);
  outline-offset: 4px;
}

.use-button-light {
  color: var(--use-red-dark);
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 7, 6, 0.24);
}

.use-button-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.use-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(14, 5, 4, 0.3);
}

.use-hero-stat {
  min-height: 132px;
  padding: 22px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.08);
}

.use-hero-stat strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 680;
}

.use-hero-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.83rem;
  line-height: 1.45;
}

.use-library {
  padding: clamp(62px, 7vw, 100px) 0;
  background: var(--use-surface);
}

.use-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 38px;
}

.use-heading h2,
.use-detail-section h2,
.use-more h2 {
  margin: 0;
  color: var(--use-ink);
  font-size: clamp(2rem, 3.45vw, 3.45rem);
  font-weight: 520;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.use-heading > p,
.use-detail-section > p {
  margin: 0;
  color: var(--use-muted);
  line-height: 1.7;
}

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

.use-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--use-line);
  border-radius: 21px;
  color: inherit;
  background: var(--use-paper);
  box-shadow: 0 8px 24px rgba(59, 33, 29, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.use-card:hover {
  transform: translateY(-5px);
  border-color: rgba(134, 32, 25, 0.28);
  color: inherit;
  box-shadow: var(--use-shadow);
}

.use-card-media {
  overflow: hidden;
  aspect-ratio: 1.48;
  background: #ddd5d1;
}

.use-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.use-card:hover .use-card-media img {
  transform: scale(1.035);
}

.use-card-body {
  padding: 23px 24px 25px;
}

.use-card-number {
  display: inline-flex;
  min-width: 36px;
  height: 25px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--use-red);
  background: var(--use-red-soft);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.use-card h3 {
  margin: 0 0 10px;
  color: var(--use-ink);
  font-size: 1.22rem;
  font-weight: 660;
  letter-spacing: -0.025em;
}

.use-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--use-muted);
  font-size: 0.9rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.use-card-action {
  display: inline-flex;
  margin-top: 18px;
  color: var(--use-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.use-detail-hero {
  padding: clamp(44px, 6vw, 84px) 0;
  background: linear-gradient(180deg, #fff 0%, #f7f4f2 100%);
}

.use-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--use-muted);
  font-size: 0.8rem;
}

.use-breadcrumbs a {
  color: var(--use-red);
  font-weight: 700;
}

.use-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(46px, 7vw, 88px);
}

.use-detail-copy h1 {
  margin: 0;
  color: var(--use-ink);
  font-size: clamp(2.45rem, 4.8vw, 4.8rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.use-detail-copy > p:not(.use-eyebrow) {
  margin: 24px 0 0;
  color: var(--use-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.use-detail-cover {
  overflow: hidden;
  aspect-ratio: 1.5;
  border: 9px solid #fff;
  border-radius: 25px;
  background: #e8e1dd;
  box-shadow: var(--use-shadow);
}

.use-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-detail-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 6vw, 82px);
  padding: clamp(58px, 7vw, 96px) 0;
}

.use-sidebar {
  position: sticky;
  top: 105px;
  padding: 19px;
  border: 1px solid var(--use-line);
  border-radius: 19px;
  background: var(--use-paper);
  box-shadow: 0 12px 34px rgba(48, 32, 29, 0.07);
}

.use-sidebar strong {
  display: block;
  margin: 0 0 11px;
  color: var(--use-ink);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.use-sidebar a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 9px;
  color: var(--use-muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.use-sidebar a:hover,
.use-sidebar a[aria-current="page"] {
  color: var(--use-red);
  background: var(--use-red-soft);
}

.use-sidebar a span {
  flex: 0 0 auto;
  color: var(--use-red);
  font-size: 0.64rem;
  font-weight: 850;
}

.use-detail-section h2 {
  margin-bottom: 20px;
}

.use-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 38px;
  padding: 0;
  list-style: none;
}

.use-benefits li {
  position: relative;
  padding: 17px 17px 17px 43px;
  border: 1px solid var(--use-line);
  border-radius: 14px;
  color: var(--use-ink);
  background: var(--use-paper);
  font-size: 0.88rem;
  line-height: 1.45;
}

.use-benefits li::before {
  position: absolute;
  left: 17px;
  top: 17px;
  color: var(--use-red);
  content: "✓";
  font-weight: 900;
}

.use-flow-gallery {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.use-flow-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--use-line);
  border-radius: 19px;
  background: #ede9e7;
  box-shadow: 0 16px 44px rgba(48, 32, 29, 0.09);
}

.use-flow-link img {
  display: block;
  width: 100%;
  height: auto;
}

.use-flow-caption {
  margin: 12px 2px 0;
  color: var(--use-muted);
  font-size: 0.78rem;
}

.use-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding: 28px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--use-red-dark), var(--use-red));
}

.use-detail-cta h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 560;
}

.use-detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.use-more {
  padding: clamp(58px, 7vw, 92px) 0;
  background: var(--use-surface);
}

.use-more-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.use-more-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--use-line);
  border-radius: 15px;
  color: var(--use-ink);
  background: var(--use-paper);
}

.use-more-card:hover {
  color: var(--use-red);
  border-color: rgba(134, 32, 25, 0.3);
}

.use-more-card img {
  width: 72px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.use-more-card strong {
  font-size: 0.86rem;
  line-height: 1.3;
}

html[data-theme="dark"] {
  --use-ink: #f4f3f2;
  --use-muted: #b9bdbb;
  --use-paper: #292b2d;
  --use-surface: #222426;
  --use-line: #414447;
  --use-red-soft: #482522;
}

html[data-theme="dark"] .use-detail-hero {
  background: linear-gradient(180deg, #202224 0%, #252729 100%);
}

html[data-theme="dark"] .use-detail-cover {
  border-color: #343638;
}

@media (max-width: 1024px) {
  .use-hero-grid,
  .use-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .use-hero-copy {
    max-width: 780px;
  }

  .use-hero-panel {
    max-width: 720px;
  }

  .use-detail-cover {
    max-width: 780px;
  }

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

  .use-detail-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 767px) {
  .use-hero {
    padding: 54px 0 62px;
  }

  .use-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .use-detail-layout {
    display: block;
  }

  .use-sidebar {
    position: static;
    margin-bottom: 38px;
  }

  .use-sidebar > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-benefits,
  .use-more-grid {
    grid-template-columns: 1fr;
  }

  .use-detail-cta,
  .use-more-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .use-hero h1 {
    font-size: 2.55rem;
  }

  .use-hero-panel,
  .use-grid,
  .use-sidebar > div {
    grid-template-columns: 1fr;
  }

  .use-hero-stat {
    min-height: 0;
  }

  .use-card-body {
    padding: 20px;
  }

  .use-detail-copy h1 {
    font-size: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.01ms !important;
  }

  .use-button,
  .use-card,
  .use-card-media img {
    transition: none;
  }
}
