/* ===========================================================
   소곤소곤 (Sogon Sogon) — Landing Page styles
   Family location sharing service · loplat
   =========================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --primary: #FF894D;
  --primary-2: #FF8A5C;
  --primary-dark: #E8702F;
  --ink: #1F1A15;
  --sub: #5C4D46;
  --card: #F6F5F2;
  --bg: #FFFFFF;
  --border: #EBE8E1;
  --copyright: #A89F94;

  --gutter-desktop: 260px;
  --content-max: 1400px;
  --hero-media-w: 690px;

  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Cafe24Ssurround", "Pretendard", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-break: keep-all;
}

/* 한글 단어가 줄바꿈 시 중간에서 끊기지 않도록 */
* { word-break: keep-all; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout container ---------- */
.container,
.features {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1280px) {
  .container, .features { padding-left: 48px; padding-right: 48px; }
}

/* Desktop-only line break in headlines */
.br-desktop { display: none; }
@media (min-width: 1280px) {
  .br-desktop { display: inline; }
}

/* icons — CSS mask so they inherit `color` */
.icon {
  width: 24px; height: 24px;
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  transition: box-shadow .25s ease;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(31, 26, 21, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo__icon .icon { width: 22px; height: 22px; color: #fff; }
.logo__text {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 23px;
  color: var(--primary);
  letter-spacing: -.01em;
}
.logo__img { height: 36px; width: auto; }
.header__cta { display: flex; align-items: center; gap: 12px; }

.btn-outline {
  border: 1px solid var(--ink);
  border-radius: 50px;
  padding: 12px 16px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-outline .icon { width: 18px; height: 18px; }
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* =========================================================
   STORE BADGES (built, not images)
   ========================================================= */
.store-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
  border-radius: 10px;
}
.store-badge img { height: 48px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.06); }
.store-badge__glyph { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge__small { font-size: 10px; opacity: .85; font-weight: 400; }
.store-badge__big { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

/* =========================================================
   SECTION RHYTHM
   ========================================================= */
.section { padding-top: 0; }
.flow > * + * { margin-top: 80px; }       /* between major sections */
main { padding-top: 80px; padding-bottom: 160px; }

.eyebrow {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: .01em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero__inner {
  display: grid;
  grid-template-columns: 448px 1fr;
  align-items: center;
  gap: 80px;
}
.hero__text { display: flex; flex-direction: column; gap: 80px; }
.hero__copy { display: flex; flex-direction: column; gap: 40px; }
.hero__head { display: flex; flex-direction: column; gap: 20px; }
.hero__tagline { font-weight: 700; font-size: 16px; color: var(--ink); }
.hero__headline {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__headline em { color: var(--primary); font-style: normal; }
.hero__sub {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 448px;
}
.hero__media { justify-self: end; width: 100%; max-width: var(--hero-media-w); }
.hero__media picture { display: block; width: 100%; }
.hero__img { width: 100%; height: auto; }

/* =========================================================
   PHONE MOCKUP (placeholder for app screenshots)
   ========================================================= */
.phone {
  position: relative;
  background: #1F1A15;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 70px -30px rgba(31,26,21,.45), 0 8px 24px rgba(31,26,21,.12);
}
.phone__screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 300 / 620;
}
.phone__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 22px;
  background: #1F1A15;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone__map {
  position: absolute;
  inset: 0;
  background: url("assets/img/flat-map.svg") center top / cover no-repeat;
}
.phone__statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  z-index: 6;
}

/* map pin */
.map-pin {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50% 50% 50% 2px;
  background: linear-gradient(150deg, var(--primary), var(--primary-2));
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -6px rgba(255,137,77,.6);
}
.map-pin::after {
  content: "";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  transform: rotate(45deg);
  background-size: cover;
}
.map-pin--child::after { background: #FFD9C4; }
.map-pin--mom::after { background: #C9E2D4; }

.ping {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,137,77,.25);
}
.ping::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: ping 2s var(--ease, cubic-bezier(0,0,.2,1)) infinite;
}
@keyframes ping {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* bottom sheet card inside phone */
.phone__sheet {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px -8px rgba(31,26,21,.2);
  z-index: 4;
}

/* =========================================================
   FEATURE SECTIONS
   ========================================================= */
.features { display: flex; flex-direction: column; gap: 60px; }

.features__intro { max-width: 760px; }
.features__title {
  font-weight: 700;
  font-size: 40px;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-top: 14px;
  text-wrap: balance;
}
.feature__header { margin-bottom: 40px; max-width: 760px; }
.feature__head-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-top: 0;
  text-wrap: balance;
  width: 100%;
}
.feature__head-sub {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sub);
  margin-top: 12px;
}

.feature__card {
  background: var(--card);
  border-radius: 20px;
  min-height: 560px;
  overflow: visible;
  display: flex;
  flex-direction: row;
}
.feature__visual {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  padding: 40px 80px 0 220px;
}
.feature__shot {
  width: 320px;
  max-width: 100%;
  height: auto;
  background: #fff;
  border: 8px solid #FFFFFF;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
}
/* phone peeking from the bottom of the left panel */
.feature__phone {
  width: 320px;
  margin-bottom: -120px;
  border-radius: 32px 32px 0 0;
  background: #1F1A15;
  padding: 10px 10px 0;
  box-shadow: 0 24px 60px -28px rgba(31,26,21,.5);
}
.feature__phone .phone__screen {
  border-radius: 26px 26px 0 0;
  aspect-ratio: 300 / 420;
}

.feature__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 220px 80px 80px;
}
.feature__sub-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.feature__desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 20px;
}
.feature__card-img { width: 320px; max-width: 100%; height: auto; }

/* =========================================================
   STICKY-SCROLL FEATURES
   ========================================================= */
.features--sticky { gap: 60px; }

.ss {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  view-timeline-name: --ss-section;
  view-timeline-axis: block;
}

.ss__panel {
  animation: panel-settle linear both;
  animation-timeline: --ss-section;
  animation-range: entry 0% entry 60%;
}

@keyframes panel-settle {
  from { padding-bottom: 40vh; padding-top: 13vh; }
  to   { padding-bottom: 0; padding-top: 0; }
}

/* ---- LEFT: sticky panel ----
   Full-height sticky column that flex-centers its content. This keeps the
   content vertically centered in the viewport (like top:50%/translateY(-50%))
   WITHOUT the in-flow transform that would pull it up over the section title. */
.ss__panel {
  flex: 0 0 480px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ss__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.ss__step {
  width: 16px;
  height: 5px;
  border-radius: 50px;
  border: none;
  padding: 0;
  background: #DCD7CF;
  cursor: pointer;
  transition: width .45s var(--ease, cubic-bezier(.2,.7,.2,1)), background .45s ease;
}
.ss__step.is-active {
  width: 32px;
  background: #1F1A15;
}

.ss__slides { position: relative; }
.ss__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s .05s cubic-bezier(.2,.7,.2,1),
              transform .45s .05s cubic-bezier(.2,.7,.2,1),
              visibility 0s .5s;
}
.ss__slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity .45s .05s cubic-bezier(.2,.7,.2,1),
              transform .45s .05s cubic-bezier(.2,.7,.2,1);
}

.ss__pain-q {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: var(--sub);
  letter-spacing: -.02em;
  white-space: pre-line;
  text-wrap: balance;
}
.ss__pain-sub {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sub);
  margin-top: 12px;
  opacity: .85;
}
.ss__divider {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent, var(--primary));
  margin: 28px 0;
}
.ss__feat-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.ss__feat-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 18px;
}
.ss__feat-desc strong { font-weight: 700; }

/* ---- RIGHT: scrolling cards ---- */
.ss__cards {
  flex: 0 0 690px;
  max-width: 690px;
  min-width: 0;
  margin-left: auto;
  align-self: flex-start;
  height: -moz-fit-content !important;
  height: fit-content !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ss-card {
  width: 690px;
  max-width: 100%;
  min-height: 0;
  height: auto;
  background: var(--card);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 40px 0;
  transform: scale(0.96);
  opacity: 0.45;
  box-shadow: 0 0 0 rgba(31,26,21,0);
  transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease;
}
.ss-card.is-active {
  transform: scale(1) translateY(-8px);
  opacity: 1;
  box-shadow: 0 40px 90px -34px rgba(31,26,21,.42);
}
/* soft accent wash behind the active mockup */
.ss-card::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent, var(--primary));
  opacity: 0;
  filter: blur(80px);
  transition: opacity .55s ease;
}
.ss-card.is-active::before { opacity: .14; }

.ss-card__stage {
  position: relative;
  width: 320px;
  max-width: 100%;
  display: flex;
  justify-content: center;
}
.ss-card__phone {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 30px;
  background: #fff;
  border: 4px solid var(--border);
}
.ss-card__text { display: none; }
/* media wrapper is transparent on desktop (phone shows as before; left column + detail card hidden) */
.ss-card__media { display: contents; }
.ss-card__col { display: none; }
.ss-card__media > .ss__slide-card { display: none; }

/* detail card shown below the panel text (desktop) and below the card text (mobile) */
.ss__slide-card {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-top: 28px;
  border-radius: 16px;
  filter: drop-shadow(0 18px 40px rgba(31,26,21,.16));
}

/* small UI card mock (feature__card image placeholder) */
.ui-card {
  width: 320px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 36px -16px rgba(31,26,21,.22);
  border: 1px solid var(--border);
}
.ui-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ui-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.ui-card__avatar .icon { width: 22px; height: 22px; color:#fff; }
.ui-card__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.ui-card__meta { font-size: 12.5px; color: var(--sub); margin-top: 2px; display:flex; align-items:center; gap:6px;}
.ui-card__badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: #FFF1E9;
  border-radius: 50px;
  padding: 5px 10px;
  white-space: nowrap;
}
.ui-card__divider { height: 1px; background: var(--border); margin: 14px 0; }
.ui-card__list { display: flex; flex-direction: column; gap: 12px; }
.ui-list-item { display: flex; align-items: center; gap: 12px; }
.ui-list-item__dot {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
}
.ui-list-item__dot .icon { width: 18px; height: 18px; }
.ui-list-item__txt { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ui-list-item__sub { font-size: 12px; color: var(--sub); margin-top: 1px; }
.ui-list-item__time { margin-left: auto; font-size: 12px; color: var(--copyright); font-weight: 500;}

/* timeline variant */
.ui-timeline { position: relative; padding-left: 6px; }
.ui-timeline__item { display: flex; gap: 14px; padding-bottom: 16px; position: relative; }
.ui-timeline__item:last-child { padding-bottom: 0; }
.ui-timeline__rail { display: flex; flex-direction: column; align-items: center; }
.ui-timeline__node {
  width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--primary); background: #fff; flex-shrink: 0; margin-top: 2px;
}
.ui-timeline__line { width: 2px; flex: 1; background: var(--border); margin: 4px 0; }
.ui-timeline__content { padding-bottom: 2px; }
.ui-timeline__place { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ui-timeline__when { font-size: 12px; color: var(--sub); margin-top: 2px; }

/* =========================================================
   ONBOARDING STEPS
   ========================================================= */
.steps { display: flex; flex-direction: column; gap: 60px; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.center-head__title { font-weight: 700; font-size: 38px; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
.center-head__sub { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--sub); max-width: 52ch; }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__num {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-weight: 500; font-size: 16px;
}
.step__name { font-weight: 700; font-size: 18px; color: var(--primary); }
.step__desc { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--sub); }
.step__connector { display: none; }

/* Dark panel variant */
.steps-dark {
  background: #1F1A15;
  border-radius: 20px;
  padding: 60px;
}
.steps-dark .steps__grid { gap: 60px; }
.steps-dark .step { flex: 1; }
.steps-dark .center-head__title,
.steps-dark .center-head__sub,
.steps-dark .step__num,
.steps-dark .step__desc { color: #F6F5F2; }

/* =========================================================
   PRIVACY
   ========================================================= */
.privacy { display: flex; flex-direction: column; gap: 60px; }
.privacy__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.privacy-card {
  background: var(--card);
  border-radius: 20px;
  padding: 48px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.privacy-card__top { display: flex; align-items: center; gap: 16px; }
.privacy-card__icon { width: 48px; height: 48px; flex-shrink: 0; display: block; }
.privacy-card__title { font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); }
.privacy-card__body { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--ink); }

/* =========================================================
   CTA
   ========================================================= */
.cta { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.cta .store-badges { justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer__inner { display: flex; flex-direction: column; gap: 28px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { display: flex; align-items: center; gap: 8px; }
.footer__logo .logo__text { font-size: 20px; }
.footer__logo .logo__icon { width: 32px; height: 32px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-weight: 500; font-size: 14px; color: var(--ink); transition: color .15s ease; }
.footer__links a:hover { color: var(--primary); }
.footer__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__company { display: flex; flex-direction: column; gap: 8px; font-weight: 400; font-size: 14px; color: var(--ink); }
.footer__copyright { font-weight: 400; font-size: 14px; color: var(--copyright); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none; }
  .ping::before { animation: none; }
}

/* =========================================================
   RESPONSIVE — TABLET (768–1279)
   ========================================================= */
@media (max-width: 1279px) {
  .container, .features { padding-left: 80px; padding-right: 80px; }
  main { padding-top: 64px; }
  .flow > * + * { margin-top: 100px; }

  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__text { gap: 48px; }
  .hero__media { justify-self: center; width: 100%; max-width: 100%; }
  .hero__sub { max-width: none; }

  .feature__card { min-height: 0; overflow: visible; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "text text" "map card"; column-gap: 26px; row-gap: 32px; padding: 40px 40px 0; border-radius: 20px; }
  .feature__visual { display: contents; }
  .feature__body { display: contents; }
  .feature__text { grid-area: text; text-align: center; min-width: 0; }
  .feature__sub-title, .feature__desc { text-align: center; }
  .feature__head-title { font-size: 20px !important; }
  .feature__sub-title { font-size: 24px !important; }
  .feature__shot { grid-area: map; width: 320px; max-width: 100%; min-width: 0; height: auto; justify-self: center; align-self: center; display: block; margin-bottom: 0; }
  .feature__card-img { grid-area: card; width: 320px !important; max-width: 100%; min-width: 0; height: auto; justify-self: center; align-self: center; display: block; margin-bottom: 0; }

  /* Tablet/Mobile — 가운데 정렬 */
  .hero__text { text-align: center; align-items: center; }
  .hero .store-badges { justify-content: center; }
  .feature__header { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .features__intro { text-align: center; margin-left: auto; margin-right: auto; }
  .features__title { font-size: 28px; }
  .privacy .center-head { align-items: center !important; text-align: center !important; }
  .privacy-card { align-items: center; text-align: center; }
  .privacy-card__top { flex-direction: column; align-items: center; gap: 12px; }

  .steps__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .privacy__grid { grid-template-columns: 1fr; gap: 16px; }
  .privacy-card { width: 100%; height: auto; min-height: 0; min-width: 0; padding: 32px; }

  /* Sticky scroll → same vertical stack as mobile (panel hidden, cards stacked) */
  .ss { display: block; }
  .ss__panel { display: none; }
  .ss__cards { flex: none; max-width: 100%; width: 100%; margin-left: 0; gap: 20px; }
  .ss-card {
    width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
    opacity: 1;
    box-shadow: none;
    display: block;
    overflow: visible;
    padding: 36px 24px;
    border-radius: 20px;
  }
  .ss-card.is-active { transform: none; }
  .ss-card::before { display: none; }
  .ss-card__text { display: none; }
  .ss-card__col .ss__pain-q { font-size: 18px; }
  .ss-card__col .ss__pain-sub { font-size: 14px; }
  .ss-card__col .ss__divider { margin: 6px 0; }
  /* left column (text top, detail card bottom) with the phone spanning the right, vertically centered */
  .ss-card__media {
    display: grid;
    grid-template-columns: minmax(0, 340px) 260px;
    grid-template-areas:
      "text  phone"
      "card  phone";
    align-items: center;
    justify-content: center;
    column-gap: 48px;
    row-gap: 18px;
    margin-top: 8px;
  }
  .ss-card__col {
    grid-area: text;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    min-width: 0;
  }
  .ss-card__col .ss__feat-title { font-size: 22px; }
  .ss-card__col .ss__feat-desc { font-size: 15px; }
  .ss-card__media > .ss__slide-card { grid-area: card; display: block; margin: 0; width: 100%; max-width: 300px; justify-self: start; align-self: start; }
  .ss-card__stage { grid-area: phone; align-self: center; width: 260px; max-width: 100%; min-width: 0; margin: 0; }
  .ss-card__phone { width: 100%; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤767)
   ========================================================= */
@media (max-width: 767px) {
  .container, .features { padding-left: 20px; padding-right: 20px; }
  main { padding-top: 48px; padding-bottom: 100px; }
  .flow > * + * { margin-top: 76px; }

  .header__cta { gap: 8px; }
  .cta-suffix { display: none; }

  .hero__headline { font-size: 32px; }
  .hero__sub { font-size: 16px; max-width: 100%; }
  .hero__media { width: 100%; max-width: 100%; }

  .feature__head-title { font-size: 20px !important; }
  .feature__sub-title { font-size: 24px !important; }
  .feature__desc { font-size: 16px; }
  .features__title { font-size: 28px; }

  /* 모바일 가로 잘림 방지 */
  .features { width: 100%; max-width: 100%; overflow: hidden; }
  .features__intro { width: 100%; }
  .features__title,
  .feature__head-title,
  .feature__head-sub { width: 100%; word-break: keep-all; }
  .feature__card { width: auto; padding: 40px 20px 0; }
  .feature__card,
  .feature__text,
  .feature__shot,
  .feature__card-img { min-width: 0; }

  .center-head__title { font-size: 26px; }
  .steps__grid { grid-template-columns: 1fr; gap: 28px; }

  /* ---- Sticky scroll → vertical stack fallback ---- */
  .ss { display: block; }
  .ss__panel { display: none; }
  .ss__cards { gap: 20px; }
  .ss-card {
    height: auto;
    min-height: 0;
    transform: none;
    opacity: 1;
    box-shadow: none;
    display: block;
    overflow: visible;
    padding: 36px 24px 0;
    border-radius: 20px;
  }
  .ss-card.is-active { transform: none; }
  .ss-card::before { display: none; }
  .ss-card__text { display: none; }
  /* mobile: stack the column above the phone */
  .ss-card__media {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "phone";
    align-items: center;
    justify-items: center;
    column-gap: 16px;
    row-gap: 20px;
  }
  .ss-card__col { grid-area: text; justify-self: stretch; max-width: none; width: 100%; gap: 8px; align-items: center; text-align: center; }
  .ss-card__col .ss__pain-q,
  .ss-card__col .ss__pain-sub,
  .ss-card__col .ss__feat-title,
  .ss-card__col .ss__feat-desc { word-break: keep-all; text-wrap: pretty; }
  .ss-card__col .ss__divider { margin: 6px auto; }
  .ss-card__col .ss__pain-q { font-size: 15px; line-height: 1.45; }
  .ss-card__col .ss__pain-sub { font-size: 12px; line-height: 1.5; margin-top: 4px; }
  .ss-card__col .ss__feat-title { font-size: 16px; line-height: 1.4; }
  .ss-card__col .ss__feat-desc { font-size: 12px; line-height: 1.5; }
  .ss-card__media > .ss__slide-card { display: none; }
  .ss-card__stage { grid-area: phone; width: 100%; max-width: 260px; align-self: center; justify-self: center; margin: 0 auto; }
  /* Mobile feature mockups are full-bleed screenshots — white frame on top/left/right, open bottom, soft top corners */
  .ss-card__phone { border: 0 !important; border-top: 4px solid #fff !important; border-left: 4px solid #fff !important; border-right: 4px solid #fff !important; background: transparent !important; border-radius: 18px 18px 0 0; overflow: hidden; }
  .step { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; text-align: center; }
  .step__num { flex-shrink: 0; width: 28px; height: 28px; }
  .step__name { text-align: center; }
  .step__desc { flex: 0 0 100%; text-align: center; }
  .privacy__grid { grid-template-columns: 1fr; gap: 16px; }
  .privacy-card { width: 100%; padding: 32px; min-height: 0; height: auto; }
  .privacy-card__body { max-width: 100%; }

  .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
}
