/* ==========================================================================
   SHARELINK — TELEGRAM AUTO-POSTING BOT
   Bookshelf design language v3: paper, deep teal, electric coral, lime.
   ========================================================================== */

:root {
  --paper: #f1f3ed;
  --paper-2: #e7ebe2;
  --paper-3: #dbe2d7;
  --card: #f7f6ef;
  --ink: #102f33;
  --ink-2: #1b464a;
  --ink-3: #3f6264;
  --muted: #587472;
  --shelf: #0b2d2d;
  --shelf-2: #123d3d;
  --shelf-3: #1a4a49;
  --shelf-text: #eef1e7;
  --shelf-muted: #a8c0b9;
  --coral: #ff5a36;
  --coral-deep: #c53d1c;
  --lime: #d9ee72;
  --sky: #c9dbd6;
  --error: #9f2e16;
  --line: rgba(16, 47, 51, 0.16);
  --line-strong: rgba(16, 47, 51, 0.34);
  --line-light: rgba(238, 241, 231, 0.18);
  --focus: #0a58ff;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-bn: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  --nav-h: 78px;
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--coral);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ol,
ul {
  margin: 0;
}

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

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

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.shelf-section :focus-visible,
.final :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline-color: var(--coral);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-3);
}

.kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 6px;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.kicker--light {
  color: var(--shelf-muted);
}

.kicker--light span {
  border-color: rgba(217, 238, 114, 0.45);
  color: var(--lime);
}

.kicker--ink {
  color: var(--ink);
}

.kicker--ink span {
  border-color: rgba(16, 47, 51, 0.45);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-title em {
  font-style: normal;
  color: var(--coral);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--coral-deep);
  border-color: var(--coral);
}

.text-link--light {
  color: var(--shelf-text);
  border-color: rgba(238, 241, 231, 0.4);
}

.text-link--light:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

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

.btn-arrow {
  display: inline-flex;
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--coral {
  background: var(--coral);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--coral:hover {
  background: #ff6c4b;
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--ink-2);
}

.btn--line {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--line:hover {
  background: rgba(16, 47, 51, 0.05);
  border-color: var(--ink);
}

.btn--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn--large {
  min-height: 58px;
  padding-inline: 28px;
  font-size: 15px;
}

.shelf-section .btn--line,
.final .btn--line {
  border-color: var(--line-light);
  color: var(--shelf-text);
}

.shelf-section .btn--line:hover,
.final .btn--line:hover {
  background: rgba(238, 241, 231, 0.08);
  border-color: var(--shelf-text);
}

/* --------------------------------------------------------------------------
   Scroll progress + header
   -------------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2500;
  width: 100%;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(241, 243, 237, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.28s var(--ease);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 19px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), opacity 0.2s ease;
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(3.8px) rotate(45deg);
}

.nav.is-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(-3.8px) rotate(-45deg);
}

.header-cta {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(44px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(16, 47, 51, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(16, 47, 51, 0.035) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%, 100% 72px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  padding-bottom: clamp(46px, 7vw, 90px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.16);
}

.hero-title {
  margin-bottom: 28px;
}

.hero-title-bn {
  display: block;
  font-family: var(--font-bn);
  font-size: clamp(2.55rem, 1.6rem + 4.2vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--ink);
}

.hero-title-bn em {
  font-style: normal;
  color: var(--coral-deep);
}

.hero-title-en {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 0.95rem + 1.25vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-2);
}

.hero-title-accent {
  color: var(--coral-deep);
  font-weight: 700;
}

.hero-lede {
  max-width: 47ch;
  color: var(--ink-3);
  font-size: clamp(15.5px, 0.55vw + 14.4px, 17px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 490px;
}

.hero-meta li {
  position: relative;
  padding-inline: 16px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-meta li:first-child {
  padding-left: 0;
}

.hero-meta li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--coral);
  transform: translateY(-50%) rotate(45deg);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  padding: 18px 18px 44px 0;
}

.hero-block {
  position: absolute;
  top: 6%;
  right: 0;
  bottom: 18%;
  left: 13%;
  background: var(--shelf);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 18px,
    rgba(238, 241, 231, 0.045) 18px,
    rgba(238, 241, 231, 0.045) 19px
  );
}

.hero-block::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-top: 1px solid var(--lime);
  border-right: 1px solid var(--lime);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  width: 84%;
  margin-left: auto;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(255, 90, 54, 0.92);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.92) contrast(1.03);
}

.hero-portrait-caption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 4px 2px;
}

.hero-portrait-caption span {
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  color: var(--coral-deep);
}

.hero-portrait-caption strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-ticket {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: min(252px, 72%);
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.hero-ticket-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  color: var(--muted);
}

.hero-ticket strong {
  display: block;
  font-family: var(--font-bn);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-ticket p {
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-3);
}

.hero-cat {
  position: absolute;
  top: 0;
  right: 18px;
  z-index: 2;
  padding: 4px 8px;
  background: var(--lime);
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.hero-side-note {
  position: absolute;
  top: 22%;
  right: -14px;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.hero-foot-left {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll svg {
  width: 12px;
  height: 18px;
  animation: nudgeDown 2.6s var(--ease-soft) infinite;
}

@keyframes nudgeDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* --------------------------------------------------------------------------
   The fanned feature-card deck
   -------------------------------------------------------------------------- */

.shelf-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(76px, 8.5vw, 120px);
  background: var(--shelf);
  color: var(--shelf-text);
}

.shelf-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(238, 241, 231, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(238, 241, 231, 0.035) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%, 100% 90px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 55%, transparent);
}

.shelf-section .container {
  position: relative;
}

.shelf-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(36px, 4vw, 56px);
}

.shelf-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.shelf-title > span:first-child {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-bn);
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.shelf-title-en {
  display: block;
}

.shelf-title-en em {
  font-style: normal;
  color: var(--coral);
}

.shelf-intro {
  padding-bottom: 5px;
  color: var(--shelf-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.shelf-intro-bn {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-bn);
  font-size: 14px;
  color: var(--shelf-text);
}

.deck-shell {
  position: relative;
}

.deck {
  --card-w: clamp(258px, 28vw, 350px);
  --shift-x: clamp(9px, 1.9vw, 25px);
  --shift-y: clamp(5px, 1vw, 11px);
  --rot: 1.55deg;
}

.deck-stage {
  position: relative;
  height: clamp(470px, 44vw, 600px);
  margin-inline: auto;
  max-width: 920px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.deck-stage.is-dragging {
  cursor: grabbing;
}

.deck-floor {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: min(680px, 90%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 238, 114, 0.5) 20%,
    rgba(217, 238, 114, 0.5) 80%,
    transparent
  );
  transform: translateX(-50%);
}

.deck-floor::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.4),
    transparent 68%
  );
}

.fcard {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z, 1);
  width: var(--card-w);
  transform: translate(
      calc(-50% + (var(--rel, 0) * var(--shift-x))),
      calc(-50% + (var(--rel, 0) * var(--shift-y)))
    )
    rotate(calc(var(--rel, 0) * var(--rot)));
  transform-origin: 50% 90%;
  transition: transform 0.34s var(--ease), opacity 0.24s ease,
    filter 0.24s ease;
  will-change: transform;
}

.fcard.is-active {
  z-index: 20;
}

.fcard.is-expanded {
  z-index: 30;
}

.fcard.is-leaving {
  transform: translate(calc(-50% - 46%), calc(-50% - 3%)) rotate(-8deg)
    scale(0.96) !important;
  opacity: 0.08 !important;
  transition-duration: 0.22s !important;
  pointer-events: none;
}

.fcard-pages {
  position: absolute;
  top: 7px;
  right: -7px;
  bottom: -7px;
  left: 22px;
  border: 1px solid rgba(16, 47, 51, 0.35);
  border-radius: 2px 7px 7px 2px;
  background: repeating-linear-gradient(
    to bottom,
    #e9e5d7 0,
    #e9e5d7 2px,
    #d5d2c4 2px,
    #d5d2c4 3px
  );
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
}

.fcard-face {
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  min-height: calc(var(--card-w) * 1.34);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(16, 47, 51, 0.4);
  border-radius: 2px 8px 8px 2px;
  box-shadow: 0 30px 52px rgba(0, 0, 0, 0.36),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
  transition: border-color 0.24s ease, box-shadow 0.24s ease,
    min-height 0.3s var(--ease);
}

.fcard.is-active .fcard-face {
  border-color: var(--coral);
  box-shadow: 0 34px 64px rgba(0, 0, 0, 0.42), 0 0 0 1px var(--coral);
}

.fcard.is-expanded .fcard-face {
  min-height: calc(var(--card-w) * 1.34 + 92px);
}

.fcard-cover {
  position: relative;
  height: calc(var(--card-w) * 0.6);
  flex-shrink: 0;
  margin-left: 17px;
  overflow: hidden;
  background-color: var(--cover, var(--shelf-2));
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 18px,
    rgba(238, 241, 231, 0.055) 18px,
    rgba(238, 241, 231, 0.055) 19px
  );
  border-bottom: 1px solid rgba(16, 47, 51, 0.3);
}

.fcard-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 45, 45, 0.3),
    transparent 60%
  );
  pointer-events: none;
}

.fcard-no {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 4px 8px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  color: var(--ink);
}

.fcard-glyph {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 1;
  width: 74px;
  height: 74px;
  color: var(--lime);
  transform: translate(-50%, -50%);
}

.fcard-glyph svg {
  width: 100%;
  height: 100%;
}

.fcard:not(.is-active) .fcard-glyph {
  color: var(--sky);
  opacity: 0.8;
}

.fcard-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--coral);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.24s ease, transform 0.24s var(--ease);
}

.fcard-play svg {
  width: 12px;
  height: 14px;
  margin-left: 2px;
}

.fcard.is-active .fcard-play {
  opacity: 1;
  transform: scale(1);
}

.fcard-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-left: 17px;
  padding: 15px 16px 14px;
  min-height: 0;
}

.fcard-cat {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--coral-deep);
}

.fcard-body h3 {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.fcard-body > p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

.fcard-detail {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.fcard.is-expanded .fcard-detail {
  display: block;
  animation: detailIn 0.24s var(--ease) both;
}

.fcard-detail p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.fcard-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral-deep);
  border-bottom: 1px solid var(--coral);
}

@keyframes detailIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}

.fcard-open-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s var(--ease);
}

.fcard.is-active .fcard-open-label {
  opacity: 1;
  transform: none;
}

.fcard-open-label .label-collapse {
  display: none;
}

.fcard.is-expanded .fcard-open-label .label-expand {
  display: none;
}

.fcard.is-expanded .fcard-open-label .label-collapse {
  display: inline;
}

.fcard-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 17px;
  padding-block: 12px;
  background: linear-gradient(
    to right,
    #071f1f,
    #123d3d 55%,
    #0a2828
  );
  border-right: 1px solid rgba(238, 241, 231, 0.15);
  border-radius: 2px 0 0 2px;
  overflow: hidden;
}

.fcard-spine::before,
.fcard-spine::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: rgba(217, 238, 114, 0.45);
}

.fcard-spine::before {
  top: 9px;
}

.fcard-spine::after {
  bottom: 9px;
}

.fcard-spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: rgba(238, 241, 231, 0.72);
}

.fcard-hit {
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 0;
  border: 0;
  border-radius: 2px 8px 8px 2px;
  background: transparent;
  cursor: grab;
}

.fcard-hit:active {
  cursor: grabbing;
}

.fcard-hit:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 6px;
}

.fcard.is-active .fcard-hit {
  cursor: pointer;
}

.deck-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.deck-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deck-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(238, 241, 231, 0.34);
  background: transparent;
  color: var(--shelf-text);
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s var(--ease);
}

.deck-btn svg {
  width: 20px;
  height: 20px;
}

.deck-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
  transform: translateY(-1px);
}

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

.deck-counter {
  min-width: 74px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: var(--shelf-muted);
  text-align: center;
}

.deck-counter span:first-child {
  font-size: 19px;
  color: var(--shelf-text);
}

.deck-counter-slash {
  margin-inline: 6px;
  color: rgba(168, 192, 185, 0.5);
}

.deck-index {
  display: flex;
  gap: 4px;
}

.deck-index button {
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--shelf-muted);
  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}

.deck-index button:hover {
  color: var(--shelf-text);
  border-color: rgba(238, 241, 231, 0.3);
}

.deck-index button[aria-current="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.deck-help {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--shelf-muted);
}

.deck-help kbd {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 4px;
  border: 1px solid rgba(238, 241, 231, 0.3);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1;
  color: var(--shelf-text);
}

.shelf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.shelf-foot p {
  font-family: var(--font-bn);
  font-size: 14px;
  color: var(--shelf-muted);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.method {
  position: relative;
  background: var(--paper);
}

.method-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(38px, 5vw, 70px);
}

.method-intro {
  max-width: 40ch;
  padding-bottom: 8px;
  font-size: 15.5px;
  color: var(--ink-3);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}

.step {
  position: relative;
  padding-top: 24px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--coral);
}

.step-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 20px 22px;
  background: var(--line);
}

.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.step-bn {
  margin-top: 4px;
  font-family: var(--font-bn);
  font-size: 13.5px;
  color: var(--coral-deep);
}

.step p:last-child {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.method-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  margin-top: clamp(42px, 5vw, 72px);
  padding: clamp(24px, 3.5vw, 38px);
  background: var(--paper-2);
  border-left: 4px solid var(--coral);
}

.method-note-mark {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.85;
  color: var(--coral);
}

.method-note p {
  max-width: 65ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.method-note-sign {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Plans
   -------------------------------------------------------------------------- */

.plans {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  border-top: 1px solid var(--line-strong);
}

.plan-card {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px) clamp(18px, 2vw, 24px) clamp(26px, 3vw, 34px);
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.plan-card--feature {
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--coral-deep);
}

.plan-card--feature:hover {
  box-shadow: 8px 8px 0 var(--coral-deep);
}

.plan-cat {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--coral-deep);
}

.plan-card h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral-deep);
}

.plan-list {
  margin-top: 18px;
}

.plan-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 9px;
  border-bottom: 1px dotted var(--line-strong);
  font-size: 13px;
  line-height: 1.4;
}

.plan-list li span {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  color: var(--coral-deep);
}

.plan-stamp {
  position: absolute;
  top: 16px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--coral-deep);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-align: center;
  color: var(--coral-deep);
  transform: rotate(9deg);
}

.plan-note {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Plan strip
   -------------------------------------------------------------------------- */

.admission-strip {
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 6vw, 76px);
  background: var(--coral);
  color: var(--ink);
  border-block: 1px solid var(--ink);
}

.admission-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 22px,
    rgba(16, 47, 51, 0.045) 22px,
    rgba(16, 47, 51, 0.045) 23px
  );
  pointer-events: none;
}

.strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
}

.strip-copy {
  max-width: 760px;
}

.strip-copy .kicker {
  margin-bottom: 12px;
}

.strip-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.strip-bn {
  margin-top: 10px;
  font-family: var(--font-bn);
  font-size: clamp(14px, 1.7vw, 17px);
  font-weight: 500;
}

.admission-strip .btn {
  flex-shrink: 0;
  box-shadow: 5px 5px 0 rgba(241, 243, 237, 0.55);
}

/* --------------------------------------------------------------------------
   FAQ (native details/summary, reference accordion styling)
   -------------------------------------------------------------------------- */

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--nav-h) + 34px);
}

.faq-intro {
  max-width: 36ch;
  margin-block: 22px 26px;
  color: var(--ink-3);
  font-size: 14.5px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-trigger:hover {
  color: var(--coral-deep);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-trigger .faq-icon {
  background: var(--coral);
  border-color: var(--coral);
}

.faq-item[open] .faq-trigger .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-panel {
  overflow: hidden;
  animation: faqIn 0.24s var(--ease) both;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.faq-panel p {
  max-width: 62ch;
  padding: 0 48px 24px 2px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Final
   -------------------------------------------------------------------------- */

.final {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--paper-2);
}

.final-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  overflow: hidden;
  padding: clamp(34px, 5.5vw, 76px);
  background: var(--shelf);
  color: var(--shelf-text);
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 rgba(255, 90, 54, 0.9);
}

.final-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 26%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(217, 238, 114, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.final-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 13px,
    rgba(217, 238, 114, 0.09) 13px,
    rgba(217, 238, 114, 0.09) 14px
  );
  pointer-events: none;
}

.final-copy {
  position: relative;
  z-index: 1;
}

.final-title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.final-title > span:first-child {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-bn);
  font-size: 0.7em;
  font-weight: 600;
  line-height: 1.15;
  color: var(--lime);
}

.final-title-en {
  display: block;
}

.final-lede {
  max-width: 48ch;
  margin-bottom: 30px;
  color: var(--shelf-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.final-demo {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shelf-muted);
}

.final-card {
  position: relative;
  z-index: 1;
  padding: 26px 24px 30px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--coral);
  transform: rotate(-1.6deg);
}

.final-card-cat {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--coral-deep);
}

.final-card-label {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final-list {
  margin-top: 8px;
}

.final-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px dotted var(--line-strong);
  font-size: 13px;
}

.final-list li span {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  color: var(--coral-deep);
}

.final-stamp {
  position: absolute;
  top: 18px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--coral-deep);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  color: var(--coral-deep);
  transform: rotate(9deg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line-strong);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 90px);
  padding-block: clamp(44px, 6vw, 72px);
}

.footer-brand .brand-mark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.footer-note {
  max-width: 42ch;
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-col h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  position: relative;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--coral-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-bottom a {
  border-bottom: 1px solid var(--line-strong);
}

.footer-bottom a:hover {
  color: var(--coral-deep);
  border-color: var(--coral);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
  transition-delay: var(--d, 0ms);
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-title-bn {
    font-size: clamp(2.7rem, 6.6vw, 5rem);
  }

  .deck {
    --card-w: clamp(250px, 30vw, 330px);
    --shift-x: clamp(8px, 1.7vw, 20px);
  }

  .deck-stage {
    height: clamp(450px, 46vw, 560px);
  }

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

@media (max-width: 900px) {
  :root {
    --nav-h: 70px;
  }

  .nav {
    order: 3;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px rgba(16, 47, 51, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s var(--ease),
      visibility 0.24s;
  }

  .nav.is-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .nav-link::after {
    display: none;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    justify-self: center;
    max-width: 470px;
    margin-inline: auto;
  }

  .hero-foot {
    margin-top: 0;
  }

  .shelf-head,
  .method-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .shelf-intro,
  .method-intro {
    max-width: 56ch;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding-block: 24px 28px;
    border-bottom: 1px solid var(--line);
  }

  .step-rule {
    display: none;
  }

  .step p:last-child {
    max-width: 60ch;
  }

  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-head {
    position: static;
  }

  .final-panel {
    grid-template-columns: 1fr;
    box-shadow: 10px 10px 0 rgba(255, 90, 54, 0.9);
  }

  .final-card {
    max-width: 430px;
    transform: rotate(-1deg);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .header-cta {
    padding-inline: 12px;
    font-size: 10px;
  }

  .header-cta .btn-arrow {
    display: none;
  }

  .brand-sub {
    font-size: 7.5px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-title-bn {
    font-size: clamp(2.45rem, 11.2vw, 3.9rem);
  }

  .hero-title-en {
    font-size: clamp(1.1rem, 4.4vw, 1.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta li {
    padding-inline: 11px;
  }

  .hero-visual {
    padding-right: 8px;
    padding-bottom: 40px;
  }

  .hero-portrait {
    width: 87%;
  }

  .hero-ticket {
    width: min(236px, 78%);
    padding: 14px 16px;
  }

  .hero-ticket strong {
    font-size: 18px;
  }

  .hero-side-note {
    display: none;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .deck {
    --card-w: min(70vw, 300px);
    --shift-x: 5px;
    --shift-y: 4px;
    --rot: 0.9deg;
  }

  .deck-stage {
    height: clamp(470px, 122vw, 560px);
  }

  .deck-toolbar {
    margin-top: 20px;
  }

  .fcard-body h3 {
    font-size: 15px;
  }

  .fcard-body > p {
    font-size: 11.5px;
  }

  .fcard-open-label {
    display: none;
  }

  .fcard.is-expanded .fcard-open-label {
    display: inline-flex;
  }

  .deck-toolbar {
    justify-content: center;
    text-align: center;
  }

  .deck-nav {
    width: 100%;
    justify-content: center;
  }

  .deck-index {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .deck-help {
    justify-content: center;
    width: 100%;
  }

  .shelf-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .shelf-title > span:first-child {
    font-size: 0.85em;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .admission-strip .btn {
    width: 100%;
  }

  .final-panel {
    padding: 28px 22px 34px;
  }

  .final-card {
    padding: 24px 18px 26px;
  }

  .faq-panel p {
    padding-right: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .deck {
    --card-w: min(71vw, 280px);
    --shift-x: 4px;
  }

  .deck-stage {
    height: 420px;
  }

  .brand-name {
    font-size: 14px;
  }

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

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .hero-scroll svg {
    animation: none;
  }

  .fcard,
  .fcard.is-leaving {
    transition: none !important;
  }
}
