@font-face {
  font-family: "Pretendard";
  src: url("./fonts/Pretendard-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("./fonts/Pretendard-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("./fonts/Pretendard-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("./fonts/Pretendard-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --color-primary: #e6002d;
  --color-primary-hover: #c90028;
  --color-secondary: #ff2391;
  --color-burgundy: #5a0016;
  --color-primary-tint: #ffe6eb;
  --color-secondary-tint: #ffe8f4;
  --color-ink: #1d1d1d;
  --color-body: #4f4b4b;
  --color-muted: #777171;
  --color-line: #ddd8d4;
  --color-canvas: #fcfaf7;
  --color-white: #ffffff;
  --color-warm: #eee9e3;
  --font-sans:
    "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Segoe UI", sans-serif;
  --content-width: 1340px;
  --page-gutter: clamp(20px, 4vw, 56px);
  --card-radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-canvas);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 92px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-white);
}

.header-inner {
  display: flex;
  width: min(100%, var(--content-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  align-items: center;
  justify-content: space-between;
}

.brand-lockup {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  text-decoration: none;
}

.wordmark {
  color: var(--color-primary);
  font-size: 46px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -2.5px;
}

.desktop-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.desktop-nav a,
.desktop-nav span {
  display: inline-flex;
  min-height: 44px;
  color: var(--color-body);
  font-size: 16px;
  font-weight: 600;
  align-items: center;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--color-primary);
}

.desktop-nav span[aria-disabled="true"] {
  color: var(--color-muted);
}

.mobile-menu {
  display: none;
}

.hero {
  display: flex;
  min-height: calc(88svh - 92px);
  padding: clamp(64px, 8vh, 96px) var(--page-gutter);
  align-items: center;
}

.hero-content {
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 26px;
  padding: 4px 0 4px 14px;
  border-left: 4px solid var(--color-primary);
  color: var(--color-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

h1 {
  margin: 0;
  font-size: clamp(62px, 7.3vw, 106px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.065em;
}

h1 > span {
  display: block;
}

.hero-accent {
  color: var(--color-primary);
}

.mobile-break {
  display: none;
}

.hero-description {
  margin: 38px 0 0;
  color: var(--color-body);
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.7;
  letter-spacing: -0.018em;
}

.hero-summary {
  margin: 28px 0 0;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-statement {
  display: grid;
  min-height: clamp(260px, 34vw, 470px);
  overflow: hidden;
  background: var(--color-primary);
  place-items: center;
}

.brand-statement img {
  display: block;
  width: min(100%, 1120px);
  height: clamp(260px, 34vw, 470px);
  object-fit: cover;
}

.features-section {
  background: var(--color-white);
}

.feature-band {
  padding: clamp(64px, 7vw, 92px) 0;
}

.feature-band-light {
  padding-bottom: clamp(52px, 6vw, 76px);
  background: var(--color-white);
}

.feature-band-dark {
  padding-top: clamp(52px, 6vw, 76px);
  background: var(--color-burgundy);
}

.section-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.group-header {
  max-width: 920px;
  margin-bottom: 34px;
}

.group-index {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.group-header h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}

.feature-card {
  display: flex;
  min-height: 340px;
  padding: clamp(26px, 2.6vw, 36px);
  border-radius: var(--card-radius);
  flex-direction: column;
}

.card-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: auto;
  opacity: 1;
}

.card-icon-inverse {
  filter: brightness(0) invert(1);
}

.feature-card h3 {
  margin: 36px 0 14px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.feature-card p {
  margin: 0;
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.022em;
}

.feature-card .card-note {
  margin-top: 18px;
  font-size: clamp(17px, 1.2vw, 19px);
  font-weight: 600;
  opacity: 0.82;
}

.card-primary {
  color: var(--color-white);
  background: var(--color-primary);
}

.card-white {
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  background: var(--color-white);
}

.card-warm {
  color: var(--color-ink);
  background: var(--color-warm);
}

.card-analysis {
  grid-column: span 5;
}

.card-match {
  grid-column: span 7;
}

.card-nearby,
.card-popular {
  display: grid;
  min-height: 230px;
  grid-column: 1 / -1;
  grid-template-columns: 80px minmax(260px, 0.82fr) minmax(300px, 1.18fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}

.card-nearby .card-icon,
.card-popular .card-icon {
  margin: 0;
}

.card-nearby h3,
.card-popular h3 {
  margin: 0;
}

.card-nearby p,
.card-popular p {
  max-width: 520px;
  font-size: clamp(20px, 1.85vw, 26px);
  font-weight: 600;
  line-height: 1.42;
}

.feature-band-dark .group-index {
  color: #ffb0c8;
}

.feature-band-dark .group-header h2 {
  color: var(--color-white);
}

.feature-band-dark .group-header {
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.card-tint {
  color: var(--color-secondary);
  background: var(--color-secondary-tint);
}

.card-likes {
  grid-column: span 7;
}

.card-chat {
  grid-column: span 5;
}

.card-tint p {
  color: #9a1458;
}

.safety-section {
  padding: clamp(76px, 8vw, 112px) 0;
  background: var(--color-canvas);
}

.safety-header {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: end;
  column-gap: 48px;
}

.safety-header .group-index {
  grid-column: 1 / -1;
}

.safety-header h2 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 74px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.06em;
}

.safety-header > p:last-child {
  max-width: 460px;
  margin: 0 0 6px auto;
  color: var(--color-body);
  font-size: clamp(20px, 1.75vw, 25px);
  font-weight: 500;
  line-height: 1.55;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}

.safety-card {
  display: flex;
  min-height: 320px;
  padding: clamp(26px, 2.6vw, 36px);
  border-radius: var(--card-radius);
  flex-direction: column;
}

.safety-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: auto;
}

.safety-icon-inverse {
  filter: brightness(0) invert(1);
}

.safety-number {
  margin: 32px 0 10px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.safety-card h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.safety-card > p:last-child {
  max-width: 560px;
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.safety-card-phone {
  grid-column: span 7;
  color: var(--color-white);
  background: var(--color-ink);
}

.safety-card-phone .safety-number,
.safety-card-capture .safety-number {
  color: #ffb0c8;
}

.safety-card-contact {
  grid-column: span 5;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}

.safety-card-report {
  grid-column: span 4;
  color: var(--color-primary);
  background: var(--color-primary-tint);
}

.safety-card-report > p:last-child {
  color: var(--color-burgundy);
}

.safety-card-privacy {
  grid-column: span 8;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}

.safety-card-capture {
  display: grid;
  min-height: 220px;
  grid-column: 1 / -1;
  grid-template-columns: 80px minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  color: var(--color-white);
  background: var(--color-burgundy);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}

.safety-card-capture .safety-icon,
.safety-card-capture .safety-number {
  margin: 0;
}

.safety-card-capture h3 {
  margin: 8px 0 0;
}

.download-section {
  padding: clamp(88px, 10vw, 140px) var(--page-gutter);
  color: var(--color-white);
  background: var(--color-primary);
}

.download-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: center;
}

.download-index {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.download-inner h2 {
  margin: 0;
  font-size: clamp(58px, 7.5vw, 100px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.065em;
}

.download-description {
  margin: 34px 0 0;
  font-size: clamp(20px, 1.85vw, 26px);
  font-weight: 500;
  line-height: 1.55;
}

.store-links {
  display: flex;
  margin-top: 46px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: block;
  width: 240px;
  height: 72px;
  flex: 0 0 auto;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
}

.store-badge[aria-disabled="true"] {
  opacity: 0.58;
  cursor: default;
}

.store-badge:not([aria-disabled="true"]):hover {
  opacity: 0.86;
}

.site-footer {
  padding: clamp(68px, 7vw, 96px) 0 34px;
  color: var(--color-white);
  background: #141414;
}

.footer-inner {
  display: grid;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  grid-template-columns: minmax(300px, 1.8fr) minmax(180px, 0.7fr) minmax(230px, 0.9fr);
  gap: 48px;
}

.footer-wordmark {
  color: var(--color-white);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.footer-brand p {
  margin: 22px 0 0;
  color: #bdb8b8;
  font-size: 19px;
  font-weight: 500;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-column h2 {
  margin: 0 0 10px;
  color: #8e8888;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer-column a {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.footer-column a:hover {
  color: #f4b8bf;
}

.footer-company {
  display: grid;
  padding-top: 34px;
  border-top: 1px solid #343131;
  grid-column: 1 / -1;
  gap: 8px;
}

.footer-company p {
  display: flex;
  margin: 0;
  color: #8e8888;
  font-size: 14px;
  line-height: 1.6;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-company strong {
  color: #d4d0d0;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 24px;
  }

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

  .card-analysis,
  .card-match,
  .card-likes,
  .card-chat {
    grid-column: auto;
  }

  .card-nearby,
  .card-popular {
    grid-column: 1 / -1;
  }

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

  .safety-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .safety-header > p:last-child {
    margin-left: 0;
  }

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

  .safety-card-phone,
  .safety-card-contact,
  .safety-card-report,
  .safety-card-privacy {
    grid-column: auto;
  }

  .safety-card-capture {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 76px;
  }

  .brand-lockup {
    min-height: 48px;
  }

  .wordmark {
    font-size: 34px;
    letter-spacing: -1.8px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    min-width: 62px;
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    color: var(--color-ink);
    background: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: 0;
    display: grid;
    min-width: 190px;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    background: var(--color-white);
  }

  .mobile-menu nav a,
  .mobile-menu nav span {
    padding: 11px 12px;
    color: var(--color-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu nav span {
    color: var(--color-muted);
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 88px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.22;
  }

  .mobile-break {
    display: inline;
  }

  .hero-description {
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.65;
  }

  .hero-description br {
    display: none;
  }

  .hero-summary {
    margin-top: 22px;
  }

  .brand-statement {
    min-height: 210px;
  }

  .brand-statement img {
    width: 100%;
    height: 210px;
    object-fit: cover;
  }

  .feature-band {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .group-header {
    margin-bottom: 30px;
  }

  .group-header h2 {
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.22;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    min-height: 0;
    grid-column: 1;
    padding: 28px 24px 32px;
  }

  .card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 32px;
  }

  .feature-card h3 {
    margin: 0 0 16px;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.22;
  }

  .feature-card p {
    font-size: 19px;
    line-height: 1.52;
  }

  .card-nearby,
  .card-popular {
    display: flex;
    min-height: 0;
    grid-column: 1;
    align-items: stretch;
    gap: 0;
  }

  .card-nearby .card-icon,
  .card-popular .card-icon {
    margin-bottom: 32px;
  }

  .card-nearby p,
  .card-popular p {
    font-size: 19px;
    line-height: 1.48;
  }

  .feature-band-dark .group-header {
    margin-left: 0;
    text-align: left;
  }

  .safety-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .safety-header {
    margin-bottom: 30px;
  }

  .safety-header h2 {
    font-size: clamp(40px, 10.5vw, 52px);
    line-height: 1.22;
  }

  .safety-header > p:last-child {
    font-size: 19px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .safety-card {
    min-height: 0;
    grid-column: 1;
    padding: 28px 24px 32px;
  }

  .safety-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 32px;
  }

  .safety-number {
    margin: 0 0 10px;
  }

  .safety-card h3 {
    margin-bottom: 14px;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.22;
  }

  .safety-card > p:last-child {
    font-size: 19px;
  }

  .safety-card-capture {
    display: flex;
    gap: 0;
  }

  .safety-card-capture .safety-icon {
    margin-bottom: 32px;
  }

  .safety-card-capture h3 {
    margin: 0 0 14px;
  }

  .download-section {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .download-inner h2 {
    font-size: clamp(46px, 12.5vw, 60px);
    line-height: 1.22;
  }

  .download-description {
    margin-top: 26px;
    font-size: 19px;
  }

  .store-links {
    display: grid;
    margin-top: 36px;
    grid-template-columns: 1fr;
  }

  .store-badge {
    width: 180px;
    height: 54px;
    margin: 0 auto;
    justify-self: center;
  }

  .store-badge img {
    height: 100%;
  }

  .site-footer {
    padding-top: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 44px 24px;
  }

  .footer-brand,
  .footer-company {
    grid-column: 1 / -1;
  }

  .footer-company {
    padding-top: 28px;
  }

  .footer-company p {
    display: block;
  }

  .footer-company span {
    display: block;
  }
}

@media (max-width: 380px) {
  .wordmark {
    font-size: 31px;
  }

  h1 {
    font-size: 40px;
  }

  .group-header h2 {
    font-size: 36px;
  }

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

  .footer-brand,
  .footer-company {
    grid-column: 1;
  }
}

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