:root {
  color-scheme: dark;
  --bg: #10141d;
  --card: #1a2030;
  --lift: #263044;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --accent: #e1b978;
  --line: rgba(232, 234, 240, 0.1);
  --accent-line: rgba(225, 185, 120, 0.28);
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --page: 1160px;
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.eyebrow,
.product-kicker,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Product hub */

.hub-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 0%, rgba(64, 80, 110, 0.22), transparent 32rem),
    var(--bg);
}

.hub-main,
.hub-footer {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
}

.hub-main {
  padding: 88px 0 76px;
}

.hub-intro {
  max-width: 760px;
}

.hub-intro h1 {
  margin: 18px 0 24px;
  font-size: clamp(2.6rem, 8vw, 5.7rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hub-lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.product-section {
  margin-top: clamp(72px, 12vw, 144px);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.75rem;
}

.product-grid {
  display: grid;
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.product-card::after {
  position: absolute;
  right: -78px;
  bottom: -94px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(232, 234, 240, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(232, 234, 240, 0.025), 0 0 0 70px rgba(232, 234, 240, 0.018);
  content: "";
}

.product-card--featured::after {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 34px rgba(225, 185, 120, 0.05), 0 0 0 70px rgba(225, 185, 120, 0.025);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 185, 120, 0.28);
  background: var(--lift);
}

.product-card__topline,
.product-card__body {
  position: relative;
  z-index: 1;
}

.product-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pill--quiet {
  border-color: var(--line);
  color: var(--muted);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.card-arrow {
  color: var(--muted);
  font-size: 1.25rem;
  transition: color 220ms ease, transform 220ms ease;
}

.product-card:hover .card-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.product-card__body {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.product-icon {
  width: 76px;
  /* 플렉스 컨테이너의 stretch가 이미지를 세로로 늘리지 못하게
     높이를 명시하고 스스로 가운데에 선다. */
  height: 76px;
  flex: none;
  align-self: center;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.3);
}

.product-icon--snow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 234, 240, 0.12);
  background: linear-gradient(145deg, #edf3fa, #9eb6cc);
  color: #1a2939;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
}

.product-card h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 3px 0 6px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.product-card h3 span {
  align-self: center;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.product-card__body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.hub-footer a:hover {
  color: var(--text);
}

/* Here, Then landing */

.here-page {
  --section-space: clamp(80px, 9vw, 120px);
  --section-title-size: clamp(2rem, 4.8vw, 4rem);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 7%, rgba(225, 185, 120, 0.08), transparent 24rem),
    radial-gradient(circle at 4% 36%, rgba(38, 48, 68, 0.62), transparent 27rem),
    var(--bg);
}

.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 40px), var(--page));
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding-top: 22px;
}

.brand-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--text);
}

.here-main {
  position: relative;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 58px);
  align-items: center;
  overflow: hidden;
  padding: clamp(68px, 7vw, 96px) 20px clamp(84px, 9vw, 120px);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 4%;
  right: -46vw;
  width: min(128vw, 960px);
  aspect-ratio: 1;
  box-shadow:
    0 0 0 70px rgba(225, 185, 120, 0.025),
    0 0 0 150px rgba(225, 185, 120, 0.015);
}

.hero::after {
  right: 18%;
  bottom: 14%;
  width: 9px;
  height: 9px;
  background: var(--accent);
  box-shadow: 0 0 26px 8px rgba(225, 185, 120, 0.25);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page));
  margin-inline: auto;
}

.hero-product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(26px, 3vw, 36px);
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 21px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36), 0 0 40px rgba(225, 185, 120, 0.08);
}

.hero-product h1 {
  margin: 0;
  font-size: 1.58rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-product p {
  margin: 4px 0 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1rem;
}

.hero-copy {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  font-weight: 670;
  letter-spacing: -0.063em;
  line-height: 1.06;
}

.hero-copy em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
}

.hero-subcopy {
  max-width: 680px;
  margin: 28px 0 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  line-height: 1.8;
}



.showcase {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.showcase-header,
.features,
.privacy-inner,
.site-footer {
  width: min(calc(100% - 40px), var(--page));
  margin-inline: auto;
}

.showcase-header {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.showcase-header h2,
.features-header h2,
.privacy-inner h2 {
  margin: 0;
  font-size: var(--section-title-size);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.showcase-header p:last-child {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.phone-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px max(20px, calc((100vw - var(--page)) / 2)) 34px;
  scroll-padding-inline: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--lift) transparent;
  scrollbar-width: thin;
}

.phone {
  position: relative;
  width: min(73vw, 292px);
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(232, 234, 240, 0.24);
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 76%, rgba(255, 255, 255, 0.05)),
    #04060a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(0, 0, 0, 0.72),
    0 2px 4px rgba(0, 0, 0, 0.44),
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 38px 86px rgba(0, 0, 0, 0.28);
  scroll-snap-align: start;
}

/* 스크린샷에 이미 실제 상태바가 있으므로 가짜 노치는 그리지 않는다.
   프레임 안쪽은 이미지 비율(899:1950) 그대로 — 위아래 크롭·여백 없음. */
.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 899 / 1950;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.78);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  padding: 6px 30px 6px 14px;
  border: 1px solid rgba(232, 234, 240, 0.14);
  border-radius: 999px;
  background: rgba(8, 11, 17, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 5px 16px rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.lang-select:hover {
  background-color: rgba(232, 234, 240, 0.08);
  color: var(--text);
}

.lang-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-select-wrap::after {
  position: absolute;
  right: 13px;
  color: var(--muted);
  content: "▾";
  font-size: 10px;
  pointer-events: none;
}

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

.features-wrap {
  padding: var(--section-space) 0;
  background: rgba(26, 32, 48, 0.42);
  border-block: 1px solid var(--line);
}

.features-header {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.feature-grid {
  display: grid;
  gap: 12px;
  counter-reset: feature;
}

.feature-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  counter-increment: feature;
}

.feature-card::before {
  color: var(--accent);
  content: "0" counter(feature);
  font-family: var(--serif);
  font-size: 0.85rem;
}

.feature-card::after {
  position: absolute;
  right: -28px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  content: "";
}

.feature-card h3 {
  margin: 55px 0 9px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.feature-card p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy {
  padding: var(--section-space) 0;
}

.privacy-inner {
  position: relative;
  overflow: hidden;
  padding: 34px 28px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 185, 120, 0.12), transparent 22rem),
    var(--card);
}

.privacy-inner::after {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 280px;
  height: 280px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(225, 185, 120, 0.025);
  content: "";
}

.privacy-inner h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-top: 16px;
}

.privacy-inner h2 strong {
  color: var(--accent);
  font-weight: inherit;
}

.privacy-inner p:last-child {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

@media (min-width: 700px) {
  .hub-main {
    padding-top: 120px;
  }

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

  .product-card {
    min-height: 390px;
    padding: 30px;
  }

  .hero {
    padding-inline: 32px;
  }

  .hero::before {
    right: -25vw;
  }

  .showcase-header {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    column-gap: clamp(40px, 6vw, 80px);
  }

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

  .privacy-inner {
    padding: clamp(48px, 7vw, 82px);
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1060px) {
  .hero::before {
    right: -9rem;
    width: 760px;
  }

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

  .feature-card {
    min-height: 300px;
  }

  .feature-card h3 {
    margin-top: 102px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-inline: 20px;
  }
}

@media (max-width: 430px) {
  .here-page {
    --section-space: 76px;
    --section-title-size: 2rem;
  }

  .hub-footer {
    flex-direction: column;
    gap: 4px;
  }

  .product-card__body {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
  }

  .product-icon {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .site-nav {
    padding-top: 14px;
  }

  .hero {
    min-height: calc(100svh - 58px);
    padding: 56px 20px 76px;
  }

  .hero-product {
    margin-bottom: 24px;
  }

  .hero-copy {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .hero-subcopy {
    margin: 22px 0 26px;
    line-height: 1.7;
  }

  .feature-card {
    min-height: 210px;
    padding: 24px;
  }

  .feature-card h3 {
    margin-top: 44px;
  }

  .privacy-inner {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .privacy-inner h2 {
    margin-top: 12px;
    line-height: 1.14;
  }

  .privacy-inner p:last-child {
    margin-top: 20px;
  }

  .site-footer {
    padding: 22px 0 26px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
