/* =========================================================
   /assets/common/preregister.css
   - Visitors preregister (APP / WEB / ON-SITE)
   - Scope: .pre* (avoid collision)
   - Style: clean / modern / consulting-deck vibe (minimal, whitespace, hairline borders)
========================================================= */

:root {
  --pre-radius: 20px;
  --pre-radius-sm: 14px;

  /* align with core.css palette */
  --pre-text: var(--c-ink, #111111);
  --pre-muted: rgba(17, 17, 17, 0.62);
  --pre-border: rgba(17, 17, 17, 0.12);
  --pre-bg: var(--c-white, #ffffff);
  --pre-bg-soft: rgba(0, 0, 0, 0.03);

  --pre-accent: var(--color-primary, #004d43);
  --pre-accent-2: var(--color-secondary, #006269);
  --pre-accent-3: var(--color-accent, #008b92);
  --pre-highlight: var(--color-highlight, #dde57e);
  --pre-sand: var(--c-sand, #f2f0e3);
  --pre-pagebg: var(--color-bg, #eeefef);

  --pre-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  --pre-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);

  /* rgb for accent effects (matches --c-forest default) */
  --pre-accent-rgb: 0, 77, 67;
}

.pre {
  position: relative;
  z-index: 0;
  isolation: isolate; /* stacking context: nav 위로 뜨는 현상 방지 */
  padding: 72px 0;
}

.pre-app {
  /* 요청: 페이지 전체 배경 그라데이션 제거 (섹션/카드에서 톤을 살림) */
  background: none;
}

/* Badge */
.pre-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--pre-border);
  background: #fff;
  color: var(--pre-text);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
}
.pre-badge--soft {
  background: var(--pre-bg-soft);
  letter-spacing: -0.01em;
  font-weight: 800;
  text-transform: none;
}

.pre-badge--solid {
  border-color: transparent;
  background: linear-gradient(
    135deg,
    rgba(var(--pre-accent-rgb), 0.95),
    rgba(var(--pre-accent-rgb), 0.78)
  );
  color: #fff;
}

/* Cards */
.pre-card {
  border: 1px solid var(--pre-border);
  background: var(--pre-bg);
  border-radius: var(--pre-radius);
  box-shadow: var(--pre-shadow-sm);
  padding: 22px;
}
.pre-card--primary {
  box-shadow: var(--pre-shadow);
  border-color: rgba(var(--pre-accent-rgb), 0.18);
  background: linear-gradient(
    180deg,
    rgba(var(--pre-accent-rgb), 0.06),
    #fff 40%
  );
}
.pre-card__head {
  margin-bottom: 14px;
}
.pre-card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--pre-text);
}
.pre-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--pre-muted);
}

/* Buttons */
.pre-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--pre-border);
  background: #fff;
  color: var(--pre-text);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.pre-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.pre-btn--primary {
  border-color: transparent;
  background: var(--pre-accent);
  color: #fff;
}
.pre-btn--ghost {
  background: #fff;
}
.pre-btn.is-disabled,
.pre-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* App header */
.pre-app__header {
  margin-bottom: 20px;
  padding: 26px;
  border-radius: var(--pre-radius);
  border: 1px solid var(--pre-border);
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(var(--pre-accent-rgb), 0.1),
    rgba(var(--pre-accent-rgb), 0.02) 56%,
    #fff 100%
  );
  box-shadow: var(--pre-shadow-sm);
}

.pre-app__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      520px 240px at 70% 30%,
      rgba(var(--pre-accent-rgb), 0.1),
      transparent 60%
    ),
    radial-gradient(
      420px 220px at 25% 90%,
      rgba(var(--pre-accent-rgb), 0.06),
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
}

.pre-app__hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}
.pre-app__heroText {
  min-width: 0;
}
.pre-app__media {
  display: grid;
  align-content: start;
}
.pre-app__mediaCard {
  border: 1px solid rgba(var(--pre-accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--pre-radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  padding: 16px;
}
.pre-app__mediaTitle {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(17, 17, 17, 0.7);
  letter-spacing: -0.01em;
}
.pre-app__mediaCaption {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.58);
  line-height: 1.35;
}

.pre-phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.04));
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.pre-phone__screen {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    135deg,
    rgba(var(--pre-accent-rgb), 0.18),
    rgba(var(--pre-accent-rgb), 0.04) 55%,
    #fff 100%
  );
  min-height: 220px;
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.pre-phone__brand {
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: 18px;
  color: var(--pre-text);
}
.pre-phone__line {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
}
.pre-phone__line--short {
  width: 62%;
}
.pre-phone__line--mid {
  width: 82%;
}
.pre-app__badgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.pre-app__title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--pre-text);
}
.pre-app__brand {
  color: rgba(var(--pre-accent-rgb), 0.95);
}
.pre-app__brandKo {
  margin-left: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pre-muted);
}
.pre-app__event {
  margin: 0 0 12px;
  color: var(--pre-muted);
  font-weight: 700;
  font-size: 13px;
}
.pre-app__headline {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 850;
  color: var(--pre-text);
}
.pre-app__subcopy {
  margin: 0;
  color: var(--pre-muted);
  font-size: 14px;
}

.pre-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pre-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--pre-border);
  background: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  color: rgba(17, 17, 17, 0.78);
  font-weight: 850;
}
.pre-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--pre-accent-rgb), 0.9);
}

.pre-app__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  align-items: start;
}

/* Feature list */
.pre-feature {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pre-feature__item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--pre-radius-sm);
  border: 1px solid var(--pre-border);
  background: #fff;
}
.pre-feature__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: var(--pre-accent);
  flex: 0 0 auto;
}
.pre-feature__t {
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--pre-text);
}
.pre-feature__d {
  font-size: 13px;
  color: var(--pre-muted);
  margin-top: 2px;
}

/* CTA */
.pre-cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--pre-border);
}
.pre-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pre-cta__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--pre-muted);
  line-height: 1.35;
}

/* QR card */
.pre-qr {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.pre-qr__placeholder {
  width: 220px;
  max-width: 100%;
  border-radius: var(--pre-radius);
  background: #fff;
  border: 1px solid var(--pre-border);
  padding: 18px;
  box-shadow: var(--pre-shadow-sm);
}
.pre-qr__label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pre-muted);
}
.pre-qr__img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: var(--pre-radius);
  border: 1px solid var(--pre-border);
  background: #fff;
}
.pre-qr__url {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.58);
  word-break: break-all;
}
.pre-qr__url--muted {
  color: rgba(17, 17, 17, 0.5);
}

.pre-mini {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--pre-radius-sm);
  background: var(--pre-bg-soft);
  border: 1px solid var(--pre-border);
  display: grid;
  gap: 4px;
}
.pre-mini__k {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.6);
  text-transform: uppercase;
}
.pre-mini__v {
  font-size: 13px;
  color: var(--pre-muted);
}

/* Sections */
.pre-section {
  margin-top: 26px;
}
.pre-section__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pre-text);
  position: relative;
  padding-bottom: 10px;
}

.pre-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pre-accent), var(--pre-accent-3));
  opacity: 0.9;
}

/* Panel: 하단부가 심심해 보이지 않도록 섹션을 한 덩어리로 묶는 래퍼 */
.pre-panel {
  position: relative;
  border: 1px solid rgba(var(--pre-accent-rgb), 0.14);
  background: linear-gradient(180deg, var(--pre-pagebg), #fff 72%);
  border-radius: var(--pre-radius);
  padding: 18px;
  box-shadow: var(--pre-shadow-sm);
  overflow: hidden;
}
.pre-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pre-accent), var(--pre-accent-3));
  opacity: 0.85;
}
.pre-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px 220px at 85% 25%,
    rgba(var(--pre-accent-rgb), 0.1),
    transparent 62%
  );
  pointer-events: none;
  opacity: 0.8;
}

/* Gallery */
.pre-galleryCard {
  border: 1px solid rgba(var(--pre-accent-rgb), 0.16);
  background: linear-gradient(180deg, var(--pre-sand), #fff 58%);
  border-radius: var(--pre-radius);
  box-shadow: var(--pre-shadow);
  padding: 18px;
}
.pre-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.pre-shot {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.pre-shot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pre-shot--ph {
  background:
    radial-gradient(
      420px 240px at 30% 20%,
      rgba(var(--pre-accent-rgb), 0.2),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
}
.pre-shot__ph {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.pre-shot__phBrand {
  font-weight: 950;
  letter-spacing: -0.03em;
  color: #fff;
  font-size: 16px;
}
.pre-shot__phLine {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}
.pre-shot__phLine--short {
  width: 62%;
}
.pre-shot__phLine--mid {
  width: 86%;
}
.pre-galleryCaption {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(17, 17, 17, 0.6);
  line-height: 1.45;
}

/* Steps */
.pre-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pre-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--pre-border);
  border-radius: var(--pre-radius-sm);
  background: #fff;
}
.pre-step__n {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
  color: rgba(var(--pre-accent-rgb), 0.95);
  background: rgba(var(--pre-accent-rgb), 0.09);
  border: 1px solid rgba(var(--pre-accent-rgb), 0.22);
}
.pre-step__t {
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--pre-text);
}
.pre-step__d {
  color: var(--pre-muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Notes */
.pre-notes {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--pre-radius);
  background: var(--pre-bg-soft);
  border: 1px solid var(--pre-border);
}
.pre-notes__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: var(--pre-text);
}
.pre-notes__list {
  margin: 0;
  padding-left: 18px;
  color: var(--pre-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* FAQ */
.pre-faq {
  display: grid;
  gap: 10px;
}
.pre-faq__item {
  border: 1px solid var(--pre-border);
  border-radius: var(--pre-radius-sm);
  background: #fff;
  overflow: hidden;
}
.pre-faq__q {
  cursor: pointer;
  padding: 14px 14px;
  font-weight: 850;
  list-style: none;
  color: var(--pre-text);
}
.pre-faq__q::-webkit-details-marker {
  display: none;
}
.pre-faq__a {
  padding: 0 14px 14px;
  color: var(--pre-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Support */
.pre-support {
  margin-top: 26px;
}
.pre-support__card {
  border-radius: var(--pre-radius);
  border: 1px solid var(--pre-border);
  background: #fff;
  padding: 18px;
  box-shadow: var(--pre-shadow-sm);
}
.pre-support__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: var(--pre-text);
}
.pre-support__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.pre-support__link {
  font-weight: 850;
  text-decoration: none;
  color: var(--pre-text);
  padding: 8px 12px;
  border: 1px solid var(--pre-border);
  border-radius: 999px;
  background: #fff;
}
.pre-support__desc {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--pre-muted);
}

/* Policy cards (info-rich, still simple) */
.pre-policy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pre-policy__card {
  border: 1px solid var(--pre-border);
  border-radius: var(--pre-radius);
  background: #fff;
  box-shadow: var(--pre-shadow-sm);
  padding: 16px;
}
.pre-policy__k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--pre-text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.pre-policy__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(var(--pre-accent-rgb), 0.9);
}
.pre-policy__v {
  color: var(--pre-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Web forms */
.pre-web__grid {
  display: grid;
  gap: 12px;
}
.pre-form {
  border: 1px solid var(--pre-border);
  border-radius: var(--pre-radius);
  background: #fff;
  box-shadow: var(--pre-shadow-sm);
  overflow: hidden;
}
.pre-form__head {
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.pre-form__head::-webkit-details-marker {
  display: none;
}
.pre-form__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pre-text);
}
.pre-form__meta {
  font-size: 12px;
  color: var(--pre-muted);
  font-weight: 800;
}
.pre-form__body {
  padding: 0 18px 18px;
}
.pre-formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pre-field {
  display: grid;
  gap: 6px;
}
.pre-field--full {
  grid-column: 1 / -1;
}
.pre-field__label {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.65);
  font-weight: 850;
}
.pre-input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--pre-border);
  padding: 0 12px;
  outline: none;
  background: #fff;
}
.pre-input:focus {
  border-color: rgba(var(--pre-accent-rgb), 0.45);
  box-shadow: 0 0 0 4px rgba(var(--pre-accent-rgb), 0.12);
}

/* Responsive */
@media (max-width: 1040px) {
  .pre-app__grid {
    grid-template-columns: 1fr;
  }
  .pre-policy {
    grid-template-columns: 1fr;
  }
  .pre-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pre {
    padding: 56px 0;
  }
  .pre-app__title {
    font-size: 26px;
  }
  .pre-formgrid {
    grid-template-columns: 1fr;
  }
  .pre-qr__img,
  .pre-qr__placeholder {
    width: 100%;
  }
  .pre-card--qr {
    display: none;
  } /* 모바일에선 QR 의미 약함: 버튼 중심 */

  /* 모바일: 앱 스크린샷은 가로 스크롤 + 크게 */
  .pre-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .pre-shot {
    scroll-snap-align: start;
  }
}

/* =========================================================
   Mood tuning v5
   - Keep structure, add 'finished product' polish
   - Section rhythm, CTA emphasis, FAQ micro-interaction,
     and a stronger gallery/support presence.
========================================================= */

/* A bit more warmth + depth in lower sections (without page-wide gradients) */
.pre-panel {
  border-color: rgba(var(--pre-accent-rgb), 0.16);
  background: linear-gradient(
    180deg,
    rgba(var(--pre-accent-rgb), 0.06),
    #fff 62%
  );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
.pre-panel::after {
  opacity: 0.95;
}

/* Section spacing rhythm */
.pre-section {
  margin-top: 30px;
}
.pre-section__title {
  margin-bottom: 14px;
}

/* Gallery: make it feel like a hero asset */
.pre-galleryCard {
  border-color: rgba(var(--pre-accent-rgb), 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  position: relative;

  /* ✅ 1) 상단 라인/오버레이가 라운드 밖으로 튀지 않게 */
  overflow: hidden;

  /* ✅ 2) 갤러리 아래 여백 확보(다음 섹터와 겹침/붙음 방지) */
  margin-bottom: 18px;
}

.pre-galleryCard::before {
  content: "";
  position: absolute;

  /* ✅ 라인을 1px 안쪽으로 넣어서 “섹터 안” 느낌 강화 */
  left: 1px;
  top: 1px;
  width: calc(100% - 2px);

  height: 3px;
  background: linear-gradient(90deg, var(--pre-accent), var(--pre-accent-3));
  opacity: 0.85;
  border-radius: 999px;
}
.pre-shot {
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.pre-shot:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(var(--pre-accent-rgb), 0.22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

/* CTA: clearly the action point */
.pre-btn--primary {
  background: linear-gradient(135deg, var(--pre-accent), var(--pre-accent-3));
  box-shadow: 0 14px 30px rgba(var(--pre-accent-rgb), 0.25);
}
.pre-btn--primary:hover {
  box-shadow: 0 18px 38px rgba(var(--pre-accent-rgb), 0.3);
}
.pre-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(var(--pre-accent-rgb), 0.14),
    0 14px 30px rgba(var(--pre-accent-rgb), 0.2);
}
.pre-cta {
  border-top-color: rgba(var(--pre-accent-rgb), 0.14);
}

/* Steps: add a subtle accent rail for visual guidance */
.pre-step {
  position: relative;
  border-color: rgba(0, 0, 0, 0.1);
}
.pre-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(var(--pre-accent-rgb), 0.75),
    rgba(var(--pre-accent-rgb), 0.18)
  );
  opacity: 0.9;
}
.pre-step:hover {
  border-color: rgba(var(--pre-accent-rgb), 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

/* Policy cards: more 'deck-like' */
.pre-policy__card {
  border-color: rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    180deg,
    rgba(var(--pre-accent-rgb), 0.04),
    #fff 58%
  );
}
.pre-policy__card:hover {
  border-color: rgba(var(--pre-accent-rgb), 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ: proper accordion feel with plus/minus + open state */
.pre-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pre-faq__q::after {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(var(--pre-accent-rgb), 0.22);
  background:
    linear-gradient(var(--pre-accent), var(--pre-accent)) center/12px 2px
      no-repeat,
    linear-gradient(var(--pre-accent), var(--pre-accent)) center/2px 12px
      no-repeat,
    rgba(var(--pre-accent-rgb), 0.06);
  flex: 0 0 auto;
  transition:
    transform 0.16s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.pre-faq__item[open] {
  border-color: rgba(var(--pre-accent-rgb), 0.22);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}
.pre-faq__item[open] .pre-faq__q {
  background: linear-gradient(
    180deg,
    rgba(var(--pre-accent-rgb), 0.06),
    transparent
  );
}
.pre-faq__item[open] .pre-faq__q::after {
  transform: rotate(180deg);
  background:
    linear-gradient(var(--pre-accent), var(--pre-accent)) center/12px 2px
      no-repeat,
    rgba(var(--pre-accent-rgb), 0.08);
}

/* Support: upgrade to a 'final' customer support block */
.pre-support__card {
  border-color: rgba(var(--pre-accent-rgb), 0.16);
  background: linear-gradient(
    180deg,
    rgba(var(--pre-accent-rgb), 0.06),
    #fff 62%
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.pre-support__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pre-accent), var(--pre-accent-3));
  opacity: 0.85;
}
.pre-support__link {
  border-color: rgba(var(--pre-accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.86);
}
.pre-support__link:hover {
  border-color: rgba(var(--pre-accent-rgb), 0.26);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Mobile scroll hint for gallery */
@media (max-width: 640px) {
  .pre-gallery {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 10%,
      #000 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 10%,
      #000 90%,
      transparent 100%
    );
  }
}
