/* =========================================
   Vinnigom Studio — Global Styles
   ========================================= */

:root {
  --bg:        #FFFFFF;
  --surface:   #F8F6F4;
  --accent:    #9B928A;
  --accent-lt: #EDE8E3;
  --text:      #1A1A1A;
  --text-sub:  #777777;
  --border:    #E8E4E0;
  --radius:    12px;
  --max:       960px;
  --font:      -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Segoe UI', sans-serif;
}

/* =========================================
   BiteCard — App Landing Redesign
   ========================================= */
.bc-page {
  --bc-brand: #5141F3;
  --bc-brand-2: #6A59FF;
  --bc-soft: #F0EDFF;
  --bc-bg: #F8F9FD;
  --bc-surface: #FFFFFF;
  --bc-text: #1A1A1A;
  --bc-muted: #737A8D;
  --bc-line: #E9EAF2;
  --bc-card: #17151F;
  --bc-card-2: #3A3150;
  --bc-cream: #FFFBF5;
  --bc-cream-2: #F4EFE7;
  --bc-cream-line: #E7DED2;
  margin: 0;
  background: var(--bc-bg);
  color: var(--bc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
}

.bc-page a {
  color: inherit;
}

.bc-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.bc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(233,234,242,0.9);
  background: rgba(248,249,253,0.86);
  backdrop-filter: blur(18px);
}

.bc-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bc-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.bc-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 12px 24px rgba(81,65,243,0.22);
}

.bc-header-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 14px;
}

.bc-header-links > a,
.bc-lang .lang-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--bc-line);
  border-radius: 999px;
  background: var(--bc-surface);
  color: var(--bc-text);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(26,26,26,0.04);
}

.bc-lang .lang-icon-btn {
  width: auto;
}

.bc-hero {
  overflow: hidden;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 18% 8%, rgba(240,237,255,0.9), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(81,65,243,0.14), transparent 30%),
    linear-gradient(180deg, #FBFAFF 0%, var(--bc-bg) 100%);
}

.bc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: 54px;
  align-items: center;
}

.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--bc-brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.bc-hero h1 {
  max-width: 610px;
  margin: 0 0 20px;
  color: var(--bc-text);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.bc-lead {
  max-width: 560px;
  margin: 0;
  color: #596176;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.bc-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.bc-store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: #17151F;
  color: #fff;
  font-family: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(23,21,31,0.16);
}

.bc-store-button strong {
  display: block;
  line-height: 1;
}

.bc-store-button strong {
  font-size: 17px;
  letter-spacing: 0;
}

.bc-store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.bc-play-icon {
  width: 27px;
  height: 27px;
  overflow: visible;
}

.bc-play-icon svg {
  display: block;
  width: 27px;
  height: 27px;
}

.bc-play-blue {
  fill: #4285F4;
}

.bc-play-green {
  fill: #34A853;
}

.bc-play-yellow {
  fill: #FBBC04;
}

.bc-play-red {
  fill: #EA4335;
}

.bc-shot-stage {
  position: relative;
  min-height: 650px;
}

.bc-device {
  position: absolute;
  margin: 0;
  border: 10px solid #17151F;
  border-radius: 34px;
  background: #17151F;
  box-shadow: 0 30px 70px rgba(26,26,26,0.22);
  overflow: hidden;
}

.bc-device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  background: var(--bc-bg);
  image-rendering: auto;
  transform: translateZ(0);
}

.bc-device figcaption,
.bc-screen-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(23,21,31,0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.bc-device-main {
  left: 4%;
  top: 0;
  width: 318px;
  height: 630px;
  transform: rotate(-2deg);
}

.bc-device-side {
  right: 0;
  top: 80px;
  width: 268px;
  height: 530px;
  transform: rotate(4deg);
}

.bc-story,
.bc-card-showcase,
.bc-onboarding {
  padding: 92px 0;
}

.bc-section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.bc-section-head h2 {
  margin: 0;
  color: var(--bc-text);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.bc-section-head h2 .ja,
.bc-story-copy h2 .ja,
.bc-mini-phone h3 .ja {
  overflow-wrap: anywhere;
  word-break: normal;
}

.bc-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bc-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.bc-story {
  background: #fff;
}

.bc-story-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 88px;
  align-items: center;
  min-height: 760px;
  padding: 68px 0;
}

.bc-story-row + .bc-story-row {
  border-top: 1px solid var(--bc-line);
}

.bc-story-row-reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.9fr);
}

.bc-story-row-reverse .bc-story-copy {
  grid-column: 2;
}

.bc-story-row-reverse .bc-story-phone {
  grid-column: 1;
  grid-row: 1;
}

.bc-story-copy h2 {
  margin: 0 0 22px;
  color: var(--bc-text);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.13;
}

.bc-story-copy p:not(.bc-eyebrow) {
  max-width: 520px;
  margin: 0;
  color: #596176;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
}

.bc-story-phone {
  margin: 0 auto;
  width: min(100%, 342px);
  height: 680px;
  padding: 10px;
  border-radius: 38px;
  background: #17151F;
  box-shadow: 0 30px 70px rgba(26,26,26,0.18);
  overflow: hidden;
}

.bc-story-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
  image-rendering: auto;
}

.bc-card-showcase {
  scroll-margin-top: 96px;
  background:
    radial-gradient(circle at 20% 0%, rgba(240,237,255,0.85), transparent 34%),
    #F8F9FD;
}

.bc-card-slider {
  overflow: hidden;
  padding: 6px 4px 8px;
}

.bc-card-track {
  display: flex;
  width: 400%;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bc-card-slider[data-slide="0"] .bc-card-track {
  transform: translateX(0);
}

.bc-card-slider[data-slide="1"] .bc-card-track {
  transform: translateX(-25%);
}

.bc-card-slider[data-slide="2"] .bc-card-track {
  transform: translateX(-50%);
}

.bc-card-slider[data-slide="3"] .bc-card-track {
  transform: translateX(-75%);
}

.bc-sample-slide {
  width: 25%;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(81,65,243,0.1), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(248,249,253,0.82) 100%);
  border: 1px solid rgba(233,234,242,0.82);
  box-shadow: 0 24px 58px rgba(26,26,26,0.07);
}

.bc-sample-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 30px;
  color: #17151F;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.66);
  box-shadow: none;
}

.bc-sample-allergy {
  background: linear-gradient(145deg, rgba(255,251,245,0.78) 0%, rgba(240,237,255,0.7) 100%);
}

.bc-sample-medical {
  background: linear-gradient(145deg, rgba(248,249,253,0.78) 0%, rgba(234,245,255,0.7) 100%);
}

.bc-sample-diet {
  background: linear-gradient(145deg, rgba(255,253,248,0.78) 0%, rgba(238,248,240,0.7) 100%);
}

.bc-sample-religion {
  background: linear-gradient(145deg, rgba(248,249,253,0.78) 0%, rgba(255,241,229,0.7) 100%);
}

.bc-sample-tag {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(81,65,243,0.1);
  color: var(--bc-brand);
  font-size: 12px;
  font-weight: 900;
}

.bc-sample-card h3 {
  margin: 28px 0 16px;
  color: var(--bc-text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

.bc-sample-card p {
  margin: 0 0 28px;
  color: #596176;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.7;
}

.bc-sample-card b {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #17151F;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.bc-sample-display {
  position: relative;
  align-self: center;
  width: 100%;
  aspect-ratio: 13 / 6;
  margin: 0 auto;
  padding: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 18px 44px rgba(26,26,26,0.12);
  overflow: hidden;
}

.bc-sample-display img {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

html[data-lang="ko"] .bc-sample-display img.ko,
html[data-lang="en"] .bc-sample-display img.en,
html[data-lang="ja"] .bc-sample-display img.ja {
  display: block;
}

.bc-card-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.bc-card-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #C7CBD8;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.bc-card-dots button.is-active {
  width: 26px;
  background: var(--bc-brand);
}

.bc-screen-card {
  position: relative;
  margin: 0;
  min-height: 520px;
  padding: 10px;
  border-radius: 34px;
  background: #17151F;
  box-shadow: 0 22px 54px rgba(26,26,26,0.12);
  overflow: hidden;
}

.bc-screen-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}

.bc-screen-wide {
  grid-column: span 3;
  min-height: 0;
  padding: 12px;
  border-radius: 28px;
}

.bc-screen-wide img {
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
  border-radius: 18px;
}

.bc-onboarding {
  background:
    linear-gradient(180deg, #fff 0%, #FBFAFF 48%, #F8F9FD 100%);
  border-top: 1px solid var(--bc-line);
}

.bc-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bc-onboarding-card {
  border-radius: 28px;
  background: var(--bc-surface);
  border: 1px solid var(--bc-line);
  box-shadow: 0 20px 46px rgba(26,26,26,0.06);
  overflow: hidden;
}

.bc-mini-phone {
  min-height: 560px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 50% 34%, rgba(240,237,255,0.96), transparent 34%),
    #fff;
}

.bc-mini-phone-left {
  text-align: left;
}

.bc-mini-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-size: 18px;
}

.bc-mini-logo img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.bc-mini-phone h3 {
  margin: 0 auto 13px;
  max-width: 260px;
  color: var(--bc-text);
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.bc-mini-phone-left h3 {
  text-align: left;
  margin-left: 0;
}

.bc-mini-phone h3 b {
  color: var(--bc-brand);
}

.bc-mini-phone p {
  max-width: 260px;
  margin: 0 auto 22px;
  color: #596176;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.65;
}

.bc-mini-phone-left p {
  text-align: left;
  margin-left: 0;
}

.bc-info-banner,
.bc-check-list span,
.bc-permission-list span,
.bc-use-grid span {
  border: 1px solid var(--bc-line);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 28px rgba(81,65,243,0.08);
}

.bc-preview-card {
  margin: 24px auto 0;
  padding: 18px;
  border-radius: 26px;
  max-width: 246px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.86);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,249,253,0.98) 100%);
  box-shadow:
    0 24px 52px rgba(26,26,26,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.bc-preview-top,
.bc-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bc-preview-chip,
.bc-preview-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.bc-preview-chip {
  background: #F0EDFF;
  color: var(--bc-brand);
}

.bc-preview-status {
  color: #A0A6B8;
  letter-spacing: 0;
}

.bc-preview-card strong {
  display: block;
  margin-top: 18px;
  color: var(--bc-text);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

.bc-preview-alert {
  margin-top: 16px;
  padding: 15px;
  border-radius: 20px;
  background: #17151F;
  color: #fff;
  box-shadow: 0 16px 32px rgba(23,21,31,0.18);
}

.bc-preview-alert b {
  display: block;
  color: #C8C0FF;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 7px;
}

.bc-preview-alert p {
  margin: 0;
  color: rgba(255,255,255,0.92);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.48;
}

.bc-preview-meta {
  margin-top: 13px;
  padding: 12px 2px 0;
  border-top: 1px solid #E9EAF2;
}

.bc-preview-meta span {
  color: var(--bc-muted);
  font-size: 11px;
  font-weight: 900;
}

.bc-preview-meta b {
  color: var(--bc-text);
  font-size: 12px;
  font-weight: 900;
}

.bc-use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bc-use-grid span {
  min-height: 98px;
  padding: 14px;
  border-radius: 18px;
  color: var(--bc-text);
  font-size: 14px;
  font-weight: 900;
}

.bc-info-banner {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--bc-soft);
  color: var(--bc-brand);
  font-size: 13px;
  font-weight: 900;
}

.bc-lock-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bc-brand), #8B7EFF);
  color: #fff;
  font-size: 32px;
}

.bc-check-list,
.bc-permission-list {
  display: grid;
  gap: 10px;
}

.bc-check-list span,
.bc-permission-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  color: var(--bc-text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.bc-check-list b {
  color: var(--bc-brand);
}

.bc-permission-list span {
  align-items: flex-start;
  flex-direction: column;
}

.bc-permission-list b {
  color: var(--bc-brand);
  font-size: 12px;
}

.bc-permission-list em {
  color: var(--bc-muted);
  font-style: normal;
  font-weight: 800;
}

.bc-footer {
  padding: 48px 0 28px;
  background: #17151F;
  color: rgba(255,255,255,0.78);
}

.bc-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
}

.bc-footer-brand {
  color: #fff;
  margin-bottom: 14px;
}

.bc-footer-brand img {
  box-shadow: none;
}

.bc-footer p {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  font-weight: 700;
}

.bc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  max-width: 560px;
}

.bc-footer a,
.bc-footer-company {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.bc-footer-company {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.52);
  font-size: 12px;
}

.bc-doc-main {
  min-height: 70vh;
  padding: 74px 0;
  background: var(--bc-bg);
}

.bc-doc-wrap {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.bc-doc-hero {
  margin-bottom: 24px;
}

.bc-doc-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.bc-doc-hero p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 15px;
  font-weight: 700;
}

.bc-doc-card {
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--bc-line);
  box-shadow: 0 16px 40px rgba(26,26,26,0.06);
}

.bc-doc-card + .bc-doc-card {
  margin-top: 16px;
}

.bc-doc-card h2:first-child {
  margin-top: 0;
}

.bc-doc-card h2 {
  color: var(--bc-text);
}

.bc-doc-card p,
.bc-doc-card li {
  color: var(--bc-muted);
  font-weight: 600;
}

.bc-faq-list {
  display: grid;
  gap: 12px;
}

.bc-faq-item {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--bc-line);
}

.bc-faq-item h2 {
  margin: 0 0 8px;
  color: var(--bc-text);
  font-size: 18px;
  line-height: 1.35;
}

.bc-faq-item p {
  margin: 0;
  color: var(--bc-muted);
  font-weight: 650;
  line-height: 1.7;
}

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

  .bc-shot-stage {
    min-height: 640px;
  }

  .bc-device-main {
    left: 10%;
  }

  .bc-device-side {
    right: 10%;
  }

  .bc-screen-grid,
  .bc-onboarding-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bc-screen-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bc-wrap,
  .bc-doc-wrap {
    width: min(100% - 24px, 1160px);
  }

  .bc-nav {
    min-height: 64px;
    position: relative;
    justify-content: flex-start;
  }

  .bc-brand span {
    display: none;
  }

  .bc-brand {
    flex: 0 0 auto;
  }

  .bc-header-links {
    position: static;
    transform: none;
    gap: 6px;
    margin-left: 12px;
  }

  .bc-header-links > a,
  .bc-lang .lang-icon-btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .bc-lang .lang-icon-btn {
    min-width: auto;
  }

  .bc-hero {
    padding: 58px 0 62px;
  }

  .bc-hero h1 {
    max-width: 100%;
    font-size: 39px;
    line-height: 1.1;
  }

  .bc-lead {
    width: calc(100vw - 24px);
    max-width: 100%;
    font-size: 14px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .bc-store-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 250px);
  }

  .bc-store-button {
    justify-content: center;
    width: 100%;
    padding: 0 14px;
  }

  .bc-shot-stage {
    width: min(100%, 345px);
    min-height: 462px;
    margin: 42px auto 0;
  }

  .bc-device-main {
    left: 0;
    width: 224px;
    height: 444px;
    transform: rotate(-1deg);
  }

  .bc-device-side {
    right: 0;
    top: 82px;
    width: 166px;
    height: 329px;
    transform: rotate(2deg);
  }

  .bc-story,
  .bc-card-showcase,
  .bc-onboarding {
    padding: 62px 0;
  }

  .bc-story-row,
  .bc-story-row-reverse {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 34px;
    padding: 58px 0;
  }

  .bc-story-row-reverse .bc-story-copy,
  .bc-story-row-reverse .bc-story-phone {
    grid-column: auto;
    grid-row: auto;
  }

  .bc-story-copy h2 {
    font-size: 34px;
  }

  .bc-card-slider {
    padding-bottom: 8px;
  }

  .bc-sample-slide {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .bc-sample-card {
    min-height: 330px;
  }

  .bc-sample-display {
    min-height: 0;
    aspect-ratio: 13 / 6;
  }

  .bc-story-copy p:not(.bc-eyebrow) {
    font-size: 15px;
  }

  .bc-story-phone {
    width: min(100%, 310px);
    height: 616px;
  }

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

  .bc-footer-links {
    justify-content: flex-start;
  }

  .bc-screen-grid,
  .bc-onboarding-grid {
    grid-template-columns: 1fr;
  }

  .bc-screen-wide {
    grid-column: span 1;
  }

  .bc-screen-card {
    min-height: 520px;
  }

  .bc-screen-wide img {
    aspect-ratio: 16 / 9;
  }

  .bc-mini-phone {
    min-height: auto;
  }

  .bc-doc-main {
    padding: 48px 0;
  }

  .bc-doc-card {
    padding: 24px;
    border-radius: 20px;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ── */
header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--text);
}

.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-sub);
  font-size: 14px;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active,
.footer-links a.active {
  color: var(--text);
  font-weight: 700;
}

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero-label {
  display: inline-block;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero .sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-sub);
  margin-bottom: 24px;
}

.hero p {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Home Link Hub ── */
.home-hero {
  padding: 72px 0 64px;
  background: var(--surface);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 36px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 520px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 18px;
  word-break: keep-all;
}

.home-hero-copy p {
  max-width: 440px;
  color: var(--text-sub);
  font-size: 17px;
  margin-bottom: 28px;
  word-break: keep-all;
}

.home-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.home-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.home-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.home-hero .btn-outline {
  background: #fff;
  border-color: rgba(26,26,26,0.14);
  color: var(--text);
}

.home-hero .btn-outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.home-visual {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,0.08);
}

.home-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-link-section {
  padding-top: 56px;
}

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

.home-link-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.home-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent);
  margin-bottom: 18px;
}

.home-link-icon::before,
.home-link-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-services::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.icon-services::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor, 0 7px 0 currentColor, 7px 7px 0 currentColor;
  transform: translate(-3.5px, -3.5px);
}

.icon-books::before {
  width: 20px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 2px 2px;
  transform: perspective(30px) rotateX(8deg);
}

.icon-books::after {
  width: 2px;
  height: 15px;
  background: currentColor;
}

.icon-goods::before {
  width: 19px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: translateY(2px);
}

.icon-goods::after {
  width: 12px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  transform: translateY(-9px);
}

.icon-contact::before {
  width: 21px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-contact::after {
  width: 13px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-4px) rotate(45deg);
}

.home-link-card strong {
  font-size: 18px;
  margin-bottom: 8px;
}

.home-link-card small {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.home-latest-section {
  background: var(--surface);
}

/* ── Section ── */
section { padding: 64px 0; }

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 32px;
}

/* ── App Grid ── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.app-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  padding: 24px;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.app-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  text-decoration: none;
}

.home-bitecard-release {
  background:
    radial-gradient(circle at 90% 8%, rgba(81,65,243,0.14), transparent 36%),
    #fff;
}

.home-bitecard-icon {
  background: #F0EDFF;
}

.home-bitecard-icon img {
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 14px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.app-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.app-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }

.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--text-sub);
}

.badge.platform { background: var(--surface); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: #fff;
  color: var(--text);
  border: 1px solid #fff;
}

.btn-primary:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.home-hero .btn-primary {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.home-hero .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Contact Page ── */
.contact-hero {
  min-height: calc(100vh - 236px);
  display: flex;
  align-items: center;
  background: #fff;
}

.contact-panel {
  max-width: 620px;
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}

.contact-panel h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-lead {
  color: var(--text-sub);
  margin: 0 auto 28px;
  font-size: 16px;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.contact-mail:hover {
  color: #fff;
  text-decoration: none;
}

/* ── Download Badges ── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s;
}

.store-btn:hover { background: var(--surface); text-decoration: none; }

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Info Block (company info) ── */
.info-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
}

/* ── Prose (privacy, support) ── */
.prose h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 10px;
}

.prose h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.prose p { margin-bottom: 14px; font-size: 15px; color: var(--text-sub); }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { font-size: 15px; color: var(--text-sub); margin-bottom: 6px; }

.lang-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 56px 0;
}

/* ── BiteCard Service Pages ── */
.bite-page {
  --bite-bg: #fffaf2;
  --bite-ink: #17151f;
  --bite-muted: #6f6878;
  --bite-line: #e7ded2;
  --bite-panel: #fffdf8;
  --bite-cream: #f5efe5;
  --bite-green: #24483f;
  --bite-green-soft: #dceae2;
  --bite-gold: #c7a45c;
  --bite-rust: #a95e45;
  background: var(--bite-bg);
  color: var(--bite-ink);
}

.bite-page a {
  color: var(--bite-green);
}

.bite-header {
  border-bottom: 1px solid rgba(23,21,31,0.09);
  background: rgba(255,250,242,0.88);
}

.bite-nav-wrap {
  max-width: 1160px;
}

.bite-nav {
  min-height: 42px;
}

.bite-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bite-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.bite-brand:hover {
  text-decoration: none;
}

.bite-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(23,21,31,0.12);
}

.bite-nav-links {
  align-items: center;
  gap: 24px;
}

.bite-nav-links a {
  color: rgba(23,21,31,0.72);
  font-weight: 700;
}

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

.bite-page .lang-icon-btn {
  width: auto;
  min-width: 86px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bite-line);
  color: var(--bite-ink);
  font-size: 12px;
  font-weight: 800;
}

.bite-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background:
    radial-gradient(circle at 72% 20%, rgba(36,72,63,0.16), transparent 34%),
    linear-gradient(135deg, #fffaf2 0%, #f1eadf 100%);
}

.bite-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(23,21,31,0.08);
}

.bite-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  gap: 58px;
  align-items: center;
  max-width: 1160px;
}

.bite-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0 0 24px;
}

.bite-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--bite-rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bite-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--bite-gold);
}

.bite-lead {
  max-width: 600px;
  color: var(--bite-muted);
  font-size: 18px;
  line-height: 1.72;
  word-break: keep-all;
}

.bite-cta-row,
.bite-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bite-cta-row {
  margin-top: 30px;
}

.bite-primary,
.bite-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.bite-primary {
  background: var(--bite-ink);
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(23,21,31,0.18);
}

.bite-secondary {
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--bite-line);
  color: var(--bite-ink) !important;
}

.bite-primary:hover,
.bite-secondary:hover {
  text-decoration: none;
}

.bite-store-row {
  margin-top: 18px;
}

.bite-store-pill {
  padding: 8px 12px;
  border: 1px solid rgba(23,21,31,0.1);
  border-radius: 999px;
  color: var(--bite-muted);
  background: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 700;
}

.bite-device-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.bite-phone {
  width: min(100%, 366px);
  padding: 16px;
  border-radius: 34px;
  background: #17151f;
  box-shadow: 0 28px 70px rgba(23,21,31,0.24);
  border: 1px solid rgba(255,255,255,0.22);
}

.bite-phone-bar {
  width: 94px;
  height: 5px;
  border-radius: 99px;
  margin: 0 auto 18px;
  background: rgba(255,255,255,0.22);
}

.bite-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 800;
  margin: 0 4px 12px;
}

.bite-phone-header strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.11);
  color: #fff;
}

.bite-card-preview {
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(150deg, rgba(199,164,92,0.22), transparent 42%),
    linear-gradient(180deg, #fffdf8 0%, #f5efe5 100%);
  color: var(--bite-ink);
  border: 1px solid rgba(255,255,255,0.6);
}

.bite-card-topline {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--bite-green);
  margin-bottom: 18px;
}

.bite-card-label {
  color: var(--bite-rust);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.bite-card-preview h2 {
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 14px;
}

.bite-card-preview p {
  color: var(--bite-muted);
  font-size: 14px;
  line-height: 1.6;
}

.bite-check-panel {
  margin-top: 20px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(36,72,63,0.08);
  border: 1px solid rgba(36,72,63,0.14);
}

.bite-check-panel > span {
  display: block;
  color: var(--bite-green);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.bite-check-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bite-check-panel li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--bite-ink);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.bite-check-panel li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bite-gold);
}

.bite-section {
  padding: 82px 0;
}

.bite-section .wrap {
  max-width: 1160px;
}

.bite-section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.bite-section-head h2,
.bite-privacy-grid h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
  margin-bottom: 14px;
}

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

.bite-feature-card {
  min-height: 286px;
  padding: 28px;
  border-radius: 8px;
  background: var(--bite-panel);
  border: 1px solid var(--bite-line);
  box-shadow: 0 16px 36px rgba(23,21,31,0.06);
}

.bite-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bite-green);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 22px;
}

.bite-feature-card h3 {
  font-size: 20px;
  line-height: 1.32;
  margin-bottom: 12px;
}

.bite-feature-card p,
.bite-privacy-grid p {
  color: var(--bite-muted);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.bite-privacy-band {
  background: #17151f;
  color: #fff;
}

.bite-privacy-band .bite-kicker {
  color: #e7c778;
}

.bite-privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 50px;
  align-items: center;
}

.bite-privacy-grid p {
  color: rgba(255,255,255,0.72);
}

.bite-privacy-list {
  display: grid;
  gap: 12px;
}

.bite-privacy-list span {
  display: block;
  padding: 17px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
}

.bite-footer {
  padding: 48px 0 28px;
  background: #100d18;
  color: rgba(255,255,255,0.66);
}

.bite-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
  max-width: 1160px;
}

.bite-footer-brand {
  color: #fff !important;
  margin-bottom: 14px;
}

.bite-footer p {
  max-width: 460px;
  font-size: 14px;
}

.bite-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  list-style: none;
  max-width: 560px;
}

.bite-footer-links a {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 700;
}

.bite-company {
  max-width: 1160px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
}

.bite-company a {
  color: rgba(255,255,255,0.78);
}

.bite-policy-main {
  background: linear-gradient(180deg, #fffaf2 0%, #fffdf8 100%);
}

.bite-policy-hero {
  padding: 62px 0 32px;
}

.bite-policy-hero .wrap,
.bite-policy-shell {
  max-width: 880px;
}

.bite-policy-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.bite-policy-hero p {
  color: var(--bite-muted);
}

.bite-policy-shell {
  margin: 0 auto;
  padding: 0 24px 74px;
}

.bite-policy-card {
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--bite-line);
  box-shadow: 0 14px 34px rgba(23,21,31,0.06);
}

.bite-policy-card + .bite-policy-card {
  margin-top: 18px;
}

.bite-policy-card h2:first-child {
  margin-top: 0;
}

.bite-policy-card ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.bite-policy-card ol li {
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 6px;
}

/* ── Release Cards ── */
.app-card.coming-soon {
  opacity: 0.75;
}

.release-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.release-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

.release-badge.app {
  background: #E8F0FE;
  color: #3B6FD4;
}

.release-badge.book {
  background: var(--accent-lt);
  color: var(--accent);
}

.release-badge.game {
  background: #E8F6EF;
  color: #2F8D5A;
}

.release-badge.goods {
  background: #F7ECE4;
  color: #A05F36;
}

.release-status {
  font-size: 12px;
  color: var(--text-sub);
}

/* ── Books Page ── */
.book-feature {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 32px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  color: var(--text);
  min-width: min(780px, 88vw);
  scroll-snap-align: start;
  transition: box-shadow 0.2s, transform 0.2s;
}

.book-feature:hover {
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.books-latest {
  padding-top: 56px;
}

.book-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.book-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-feature-body h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.book-feature-body p {
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.book-slider .book-feature-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 5.1em;
  text-overflow: ellipsis;
}

.book-format-row {
  margin-bottom: 14px;
}

.book-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.surface-section {
  background: var(--surface);
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.social-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.edition-card,
.social-card,
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

a.edition-card {
  display: block;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
}

a.edition-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.book-search {
  display: block;
  max-width: 360px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.book-search input {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--text);
  background: #fff;
}

.book-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(155,146,138,0.14);
}

.book-empty {
  display: none;
  color: var(--text-sub);
  font-size: 14px;
  margin-top: 18px;
}

.book-empty.visible {
  display: block;
}

.edition-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1053 / 1494;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.edition-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.edition-language-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.edition-language-row .edition-lang {
  width: auto;
  height: auto;
  min-width: 34px;
  padding: 5px 9px;
  border-radius: 99px;
  margin-bottom: 0;
}

.edition-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.edition-card p {
  min-height: 48px;
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 16px;
}

.book-list-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
  margin-top: 14px;
  max-height: 3.4em;
  text-overflow: ellipsis;
}

.social-card,
.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
}

.social-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

.social-card:hover,
.related-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.social-card span,
.related-card strong {
  font-weight: 700;
}

.social-card small,
.related-card small {
  color: var(--text-sub);
}

.related-card em {
  width: fit-content;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.social-card strong {
  color: #E4405F;
  font-size: 13px;
}

.related-icon {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-sub);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a { color: var(--text-sub); font-size: 13px; }

/* ── Language Toggle ── */
[data-lang="en"] .ko,
[data-lang="en"] .ja,
[data-lang="en"] .zh { display: none !important; }
[data-lang="ko"] .en,
[data-lang="ko"] .ja,
[data-lang="ko"] .zh { display: none !important; }
[data-lang="ja"] .en,
[data-lang="ja"] .ko,
[data-lang="ja"] .zh { display: none !important; }
[data-lang="zh"] .en,
[data-lang="zh"] .ko,
[data-lang="zh"] .ja { display: none !important; }
[data-lang="zh"] .zh-fallback { display: revert !important; }

.lang-selector { position: relative; }

.lang-icon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-sub);
  transition: border-color 0.2s, color 0.2s;
}

.lang-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-icon-btn svg { display: block; }

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 120px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 200;
}

.lang-dropdown.open { display: block; }

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s;
}

.lang-option:hover { background: var(--surface); }
.lang-option.active { color: var(--text); font-weight: 700; }

/* ── Company Info (footer) ── */
.company-info {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 2;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

/* Language 레이블 데스크탑에서 숨김 */
.lang-mobile-label {
  display: none;
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .footer-inner { flex-direction: column; }
  .bite-header {
    padding: 14px 0;
  }

  .bite-brand img {
    width: 34px;
    height: 34px;
  }

  .bite-hero {
    padding: 54px 0 58px;
  }

  .bite-hero-grid,
  .bite-privacy-grid,
  .bite-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bite-hero-copy h1 {
    font-size: 42px;
  }

  .bite-lead {
    font-size: 16px;
  }

  .bite-primary,
  .bite-secondary {
    width: 100%;
  }

  .bite-device-stage {
    margin-top: 12px;
  }

  .bite-phone {
    max-width: 330px;
  }

  .bite-section {
    padding: 56px 0;
  }

  .bite-feature-grid {
    grid-template-columns: 1fr;
  }

  .bite-feature-card {
    min-height: auto;
  }

  .bite-footer-links {
    justify-content: flex-start;
  }

  .bite-policy-hero {
    padding: 44px 0 22px;
  }

  .bite-policy-card {
    padding: 24px;
  }

  .bite-page .nav-links {
    background: rgba(255,250,242,0.97);
  }

  .bite-page .lang-icon-btn {
    display: none;
  }

  .home-hero {
    padding: 48px 0;
  }

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

  .home-hero-copy h1 {
    font-size: 34px;
  }

  .home-hero-copy p {
    font-size: 15px;
  }

  .home-link-grid {
    grid-template-columns: 1fr;
  }

  .home-link-card {
    min-height: auto;
  }

  .contact-hero {
    min-height: auto;
    padding: 0;
  }

  .contact-panel {
    padding: 56px 0;
  }

  .contact-panel h1 {
    font-size: 34px;
  }

  .contact-lead {
    font-size: 15px;
  }

  .contact-mail {
    width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .book-feature,
  .edition-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .book-feature {
    min-width: 100%;
    padding: 18px;
    gap: 22px;
  }

  /* 햄버거 버튼 표시 */
  .nav-hamburger { display: flex; }

  /* 헤더 아래로 드롭다운 */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    z-index: 99;
  }

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

  /* 메뉴 항목 */
  .nav-links > li > a {
    display: block;
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
  }

  .nav-links > li > a:hover {
    background: var(--surface);
    text-decoration: none;
  }

  /* 언어 선택 영역 */
  .nav-links .lang-selector {
    position: static;
    display: flex;
    flex-direction: column;
  }

  .nav-links .lang-icon-btn { display: none; }

  /* Language 레이블 */
  .lang-mobile-label {
    display: block;
    padding: 12px 14px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sub);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-top: 1px solid var(--border);
  }

  .nav-links .lang-dropdown {
    display: flex !important;
    position: static;
    flex-direction: row;
    box-shadow: none;
    border: none;
    border-radius: 10px;
    background: var(--surface);
    padding: 4px;
    gap: 4px;
    min-width: auto;
  }

  .nav-links .lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 0;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-sub);
    text-align: center;
  }

  .nav-links .lang-option::before {
    content: none;
  }

  .nav-links .lang-option.active {
    background: #fff;
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
}
