/* 구독모아 소개 페이지 전용 스타일 — 스크린샷 v3 의 청록 · 밝은색 · Pretendard · 폰 프레임을 옮겼다 (개인정보 처리방침은 style.css) */
:root {
  color-scheme: light;
  --teal-hi: #0E7D81;
  --teal: #0A6E72;
  --teal-lo: #075B5F;
  --mint: #9FDCCB;
  --paper: #F1F4F5;
  --ink: #14161C;
  --ink2: #5A6274;
  --line: #DCE2E4;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 500 17px/1.6 var(--font);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }

/* 청록 배경 — poster.html 의 .teal 과 같은 세로 그라데이션 */
.hero, .closing {
  background: linear-gradient(180deg, var(--teal-hi) 0%, var(--teal) 45%, var(--teal-lo) 100%);
  color: #fff;
}

/* 폰: --sw 는 화면 폭. 테두리 · 모서리 · 버튼은 모두 화면 폭에 비례한다 (poster.html 과 같은 식) */
.phone {
  --b: calc(var(--sw) * .044);
  --rim: calc(var(--sw) * .009);
  --sh: calc(var(--sw) * 2868 / 1320);
  --r: calc(var(--sw) * .13);
  position: relative;
  flex: none;
  width: calc(var(--sw) + var(--b) * 2);
  height: calc(var(--sh) + var(--b) * 2);
}
.frame {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--r) + var(--b));
  padding: var(--rim);
  background: linear-gradient(90deg, #55585f 0%, #2b2d32 2.5%, #1c1d21 50%, #2b2d32 97.5%, #55585f 100%);
  box-shadow: 0 0 0 2px #121316, 0 60px 110px -30px rgba(20, 22, 28, .30), 0 18px 36px -12px rgba(20, 22, 28, .18);
}
.hero .frame { box-shadow: 0 0 0 2px #121316, 0 90px 140px -30px rgba(0, 28, 30, .6), 0 30px 60px -20px rgba(0, 28, 30, .4); }
.bezel {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--r) + var(--b) - var(--rim));
  padding: calc(var(--b) - var(--rim));
  background: #050506;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .07);
}
.bezel img { width: var(--sw); height: var(--sh); border-radius: var(--r); }
.phone i {
  position: absolute;
  width: calc(var(--sw) * .014);
  border-radius: 4px;
  background: linear-gradient(90deg, #1a1b1f, #62666d 45%, #2a2c30);
}
.phone i:nth-child(-n+3) { left: calc(var(--sw) * -.01); }
.phone i:nth-child(1) { top: calc(var(--sh) * .155); height: calc(var(--sh) * .05); }
.phone i:nth-child(2) { top: calc(var(--sh) * .235); height: calc(var(--sh) * .08); }
.phone i:nth-child(3) { top: calc(var(--sh) * .33); height: calc(var(--sh) * .08); }
.phone i:nth-child(4) { right: calc(var(--sw) * -.01); top: calc(var(--sh) * .26); height: calc(var(--sh) * .12); }

/* App Store 버튼 — 공식 배지 대신 글자 버튼 (배지 원본을 받아 오면 바꾼다) */
.store {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(0, 28, 30, .6);
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-1px); }

/* 히어로 — 01 장처럼 기울인 홈 화면이 아래 끝에서 잘린다 */
.hero { overflow: hidden; }
.hero-in {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 760px;
  padding-top: 96px;
}
.hero-copy { padding-bottom: 104px; }
.hero-icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 40px; box-shadow: 0 12px 30px -10px rgba(0, 30, 32, .55); }
.hero h1 { font-size: clamp(52px, 7vw, 96px); font-weight: 800; line-height: 1.16; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero h1 .mint { color: var(--mint); }
.hero-sub { margin-top: 28px; max-width: 26em; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 40px; }
.cta-note { font-size: 15px; color: rgba(255, 255, 255, .8); }
.hero-shot { position: relative; }
.hero-shot .phone { --sw: 340px; position: absolute; left: 14%; top: 24px; transform: rotate(-12deg); transform-origin: 50% 0; }

/* 기능 — 03~06 장처럼 밝은 배경에 정방향 폰. 문구와 폰이 줄마다 자리를 바꾼다 */
.feat { padding-block: 120px; }
.feat + .feat { padding-top: 0; }
.feat-in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.feat.flip .feat-copy { order: 2; }
.eyebrow { margin-bottom: 18px; font-size: 15px; font-weight: 700; color: var(--teal); }
.feat h2 { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; line-height: 1.24; letter-spacing: -.035em; }
.feat h2 span { display: block; }
.feat h2 .accent { color: var(--teal); }
.feat-sub { margin-top: 22px; font-size: 20px; color: var(--ink2); }
.feat ul { list-style: none; max-width: 27em; margin-top: 32px; border-top: 1px solid var(--line); }
.feat li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink2); }
.feat-shot { display: flex; justify-content: center; }
.feat-shot .phone { --sw: 300px; }

/* 끝 — 07 표지 */
.closing { padding-block: 120px; text-align: center; }
.closing img { width: 120px; height: 120px; margin: 0 auto; border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0, 25, 27, .65); }
.closing h2 { margin-top: 44px; font-size: clamp(48px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.closing p { margin-top: 24px; font-size: 20px; color: rgba(255, 255, 255, .8); }
.closing .store { margin-top: 40px; }

/* 지원 — App Store 지원 URL 이 요구하는 문의처 */
.foot { padding-block: 72px 64px; font-size: 15px; color: var(--ink2); }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; }
.foot h2 { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.foot a { color: var(--teal); font-weight: 600; }
.foot-links { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; }
  .hero-copy { padding-bottom: 0; }
  .hero-shot { height: min(118vw, 520px); }
  .hero-shot .phone { --sw: min(76vw, 340px); left: 16%; top: 56px; }
  .feat { padding-block: 88px; }
  .feat-in { grid-template-columns: 1fr; gap: 48px; }
  .feat.flip .feat-copy { order: 0; }
  .feat-shot .phone { --sw: min(68vw, 300px); }
  .foot-in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-shot .phone { animation: rise .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
  @keyframes rise { from { opacity: 0; translate: 0 60px; } }
}
