/* Hyungtong Order landing */
:root {
  color-scheme: light;
  --ink: #111816;
  --muted: #66736e;
  --line: #e4e9e6;
  --surface: #ffffff;
  --soft: #f5f8f7;
  --brand: #0f7a66;
  --brand-dark: #095846;
  --brand-soft: #e7f4ef;
  --mint: #dff0ea;
  --amber: #c98f28;
  --amber-soft: #f8efd9;
  --shadow: 0 24px 70px rgba(14, 35, 30, 0.13);
  --shadow-soft: 0 10px 32px rgba(14, 35, 30, 0.08);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--maxw), calc(100% - 44px)); margin: 0 auto; }

.btn {
  min-height: 52px;
  border-radius: 13px;
  border: 1px solid transparent;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 780;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .16s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 28px rgba(15, 122, 102, 0.24); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand-dark); box-shadow: 0 16px 36px rgba(2, 38, 31, 0.24); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(14, 35, 30, 0.06); }
.header-inner { height: 70px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 860; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-nav .lnk { padding: 10px 13px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 700; }
.header-nav .lnk:hover { color: var(--ink); background: var(--soft); }
.header-nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

.hero {
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f7f4 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(520px, 1.14fr);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px) 0 clamp(30px, 4vw, 56px);
}
.hero-copy { position: relative; z-index: 2; max-width: 520px; }
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 780;
}
.hero h1 {
  margin: 16px 0 16px;
  color: var(--ink);
  font-size: clamp(33px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 880;
}
.hero-sub {
  margin: 0 0 30px;
  max-width: 34em;
  color: #45514d;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.72;
  font-weight: 560;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px 18px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 680; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand); }

.hero-stage {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 11% -10% 4% 4%;
  border-radius: 40px;
  background: linear-gradient(135deg, #e7f4ef 0%, #ffffff 55%, #eff6f3 100%);
  border: 1px solid rgba(15, 122, 102, 0.08);
  box-shadow: var(--shadow-soft);
}

/* ===== 기기 목업 (iPhone / iPad) ===== */
.tablet-device,
.phone-device {
  position: relative;
  background: linear-gradient(152deg, #45474c 0%, #26272b 32%, #0b0b0d 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 1.5px 1px 0 rgba(255, 255, 255, 0.12) inset,
    var(--shadow);
}
/* iPad — 균일한 얇은 베젤 + 상단 전면 카메라 */
.tablet-device {
  border-radius: clamp(20px, 2.6%, 34px);
  padding: 1.65%;
}
.tablet-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: clamp(11px, 1.5%, 20px);
  overflow: hidden;
  background: #f6f7f9;
}
.tablet-device::before {
  content: "";
  position: absolute;
  top: 0.78%;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3340 0%, #05070a 72%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.05);
  z-index: 3;
}
.owner-tablet-hero {
  width: min(640px, 90%);
  z-index: 2;
  transform: rotate(-1deg);
}
/* iPhone 15 — 얇은 베젤(5px) + 다이내믹 아일랜드 + 측면 버튼 (참고: tailwindflex iPhone 15) */
.phone-device {
  border-radius: 34px;
  padding: 5px;
}
.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1170 / 2532;
  border-radius: 29px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  /* 메탈릭 안쪽 림 */
  box-shadow: inset 0 0 0 1.5px rgba(150, 150, 162, 0.28);
}
/* 다이내믹 아일랜드 */
.phone-device::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 90 / 25;
  background: #000;
  border-radius: 999px;
  z-index: 4;
}
/* 측면 전원 버튼 */
.phone-device::after {
  content: "";
  position: absolute;
  right: -1.5px;
  top: 25%;
  width: 2px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: #141416;
  z-index: 1;
}
.device-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.tablet-shot {
  object-fit: cover;
  object-position: top center;
  background: #f6f7f9;
}
.phone-shot { object-position: top center; }
.phone-order-hero {
  width: 178px;
  position: absolute;
  right: -3%;
  bottom: -7%;
  z-index: 4;
  transform: rotate(6deg);
}
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.d { animation-delay: -2.8s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise-grid div { padding: 26px 26px; text-align: center; }
.promise-grid div + div { border-left: 1px solid var(--line); }
.promise-grid b { display: block; color: var(--brand-dark); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.1; }
.promise-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 700; }

.scene { padding: clamp(72px, 8vw, 118px) 0; }
.scene:nth-of-type(odd) { background: var(--soft); }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(38px, 6vw, 86px); }
.scene-copy h2,
.section-head h2,
.fit-copy h2,
.final-band h2 {
  margin: 14px 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 870;
}
.scene-copy p,
.section-head p,
.final-band p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 560;
}
.plain-list { display: grid; gap: 18px; margin: 30px 0 0; }
.plain-list div { display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.plain-list dt { color: var(--ink); font-weight: 820; }
.plain-list dd { margin: 0; color: var(--muted); font-weight: 600; }

.scene-phones {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}
.scene-phone { width: 260px; }
.scene-phone.complete { position: absolute; right: 4%; bottom: 12px; width: 230px; transform: rotate(4deg); }
.scene-phone:not(.complete) { transform: rotate(-3deg); margin-left: -16%; }
.wide-tablet { width: 100%; }

.day-flow { padding: clamp(68px, 8vw, 110px) 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin: 0 auto clamp(42px, 5vw, 62px); text-align: center; }
.flow-line { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-step { min-height: 188px; padding: 28px 24px; }
.flow-step + .flow-step { border-left: 1px solid var(--line); }
.flow-step span { color: var(--brand); font-size: 13px; font-weight: 850; }
.flow-step b { display: block; margin-top: 18px; font-size: 21px; }
.flow-step p { margin: 8px 0 0; color: var(--muted); font-weight: 590; }

.fit { padding: clamp(70px, 8vw, 110px) 0; background: var(--soft); }
.fit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.fit-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fit-list div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fit-list b { font-size: 17px; }
.fit-list span { color: var(--muted); font-weight: 600; }

.faq { padding: clamp(66px, 8vw, 104px) 0; }
.faq-list { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.faq-item { padding-top: 20px; border-top: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }
.faq-item p { margin: 0; color: var(--muted); font-weight: 590; }

.final { padding: clamp(54px, 7vw, 92px) 0; }
.final-band {
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 48px);
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%);
  border: 1px solid rgba(15, 122, 102, 0.14);
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.final-band .kicker { background: var(--brand); color: #fff; }
.final-band h2 { color: var(--ink); }
.final-band p { max-width: 540px; margin: 0 auto 28px; color: #45514d; }

.site-footer { padding: 48px 0 38px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; gap: 20px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; justify-content: space-between; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 820; }
.footer-brand img { width: 30px; height: 30px; border-radius: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 650; }
.footer-links a:hover { color: var(--brand); }
.footer-biz { color: var(--muted); font-size: 13px; line-height: 1.75; }
.footer-biz p { margin: 0; }
.footer-biz b { color: var(--ink); }
.footer-biz a { text-decoration: underline; }
.footer-copy { padding-top: 14px; border-top: 1px solid var(--line); color: #9aa6a1; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty { animation: none; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-stage { min-height: 600px; }
  .owner-tablet-hero { width: min(700px, 82vw); transform: rotate(-1deg); }
  .phone-order-hero {
    width: clamp(150px, 20vw, 184px);
    left: auto;
    right: 2%;
    top: auto;
    bottom: 0;
  }
  .scene-grid, .fit-grid { grid-template-columns: 1fr; }
  .scene-copy { text-align: center; max-width: 660px; margin: 0 auto; }
  .plain-list { max-width: 620px; margin-left: auto; margin-right: auto; text-align: left; }
  .owner-scene .scene-copy { order: -1; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 64px; gap: 10px; }
  .header-nav { min-width: 0; }
  .header-nav .lnk { display: none; }
  .header-nav .btn {
    width: 118px;
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    overflow: hidden;
    font-size: 0;
  }
  .header-nav .btn::before {
    content: "링크 만들기";
    font-size: 13px;
  }
  .brand { gap: 8px; font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  .hero, .hero-grid { min-height: 0; }
  .hero-grid { padding: 36px 0 54px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(27px, 7.4vw, 36px); overflow-wrap: break-word; word-break: keep-all; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .hero-stage {
    min-height: 600px;
    margin-top: 8px;
    padding-top: 18px;
    place-items: start center;
  }
  .hero-stage::before { inset: 7% -8% 3%; border-radius: 28px; }
  .owner-tablet-hero { width: 100%; transform: rotate(0); }
  .phone-order-hero { width: 172px; left: auto; right: 0; top: auto; bottom: 30px; }
  .promise-grid, .flow-line, .faq-list { grid-template-columns: 1fr; }
  .promise-grid div + div, .flow-step + .flow-step { border-left: 0; border-top: 1px solid var(--line); }
  .scene { padding: 62px 0; }
  .scene-phones { min-height: 650px; }
  .scene-phone { width: 226px; }
  .scene-phone:not(.complete) { margin-left: -20%; }
  .scene-phone.complete { width: 202px; right: 0; bottom: 4px; }
  .plain-list div, .fit-list div { grid-template-columns: 1fr; gap: 6px; }
  .flow-step { min-height: 150px; }
  .final-band { border-radius: 24px; }
  .btn-lg { min-height: 56px; padding: 0 20px; font-size: 15px; }
}

@media (max-width: 420px) {
  .hero-stage { min-height: 570px; }
  .phone-order-hero { width: 158px; bottom: 38px; }
  .scene-phone { width: 210px; }
  .scene-phone.complete { width: 190px; }
}
