/* 같이출조 — 시안(메인/모바일)의 값을 그대로 옮긴 스타일 */
:root {
  --ink: #0D3B4A;
  --ink-2: #2F5663;
  --muted: #3F6470;
  --teal: #1F8E99;
  --teal-soft: #D6EEF0;
  --coral: #D23F26;
  --salmon: #F0866B;
  --peach: #FCE3DA;
  --rust: #9A3E26;
  --cream: #F6F1EA;
  --mint: #EAF4F4;
  --field: #EEF4F3;
  --deep: #003258;
  --serif: 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); font-family: var(--sans); color: var(--ink); overflow-x: hidden; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 2px; }
[hidden] { display: none !important; }

.is-app #landing { display: none; }
html:not(.is-app) #app-shell { display: none; }
.only-mob { display: none; }
br.m { display: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- 공통: 로고 · 버튼 ---------- */
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px 0 20px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(120,30,10,.6);
}
.cta {
  display: inline-flex; align-items: center; gap: 14px; min-height: 68px; padding: 0 34px 0 12px; border-radius: 999px;
  border: 3px solid #fff; background: var(--coral); color: #fff; font-size: 22px; font-weight: 700; cursor: pointer;
}
.cta-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--coral); display: inline-flex; align-items: center; justify-content: center; }
.cta-dark { background: var(--ink); padding-right: 38px; box-shadow: 0 18px 34px -14px rgba(6,40,62,.7); }
.cta-dark .cta-ic { color: var(--ink); }
.cta:disabled { opacity: .6; cursor: default; animation: none; }
.cta-pulse { box-shadow: 0 16px 30px -12px rgba(120,30,10,.6); animation: ctapulse 2.4s ease-out infinite; }
@keyframes ctapulse {
  0% { box-shadow: 0 16px 30px -12px rgba(120,30,10,.6), 0 0 0 0 rgba(210,63,38,.6); }
  70%, 100% { box-shadow: 0 16px 30px -12px rgba(120,30,10,.6), 0 0 0 20px rgba(210,63,38,0); }
}

/* ---------- 장면: 하늘 → 부두 → 수면 → 바닷속 ---------- */
.scene { --sky: 110px; position: relative; z-index: 0; overflow: hidden; background: var(--deep); }
.hero { display: contents; }
.sky { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: var(--sky); background: #B2D4E8; }
.imgwrap { position: absolute; z-index: -1; left: 0; top: var(--sky); width: 100%; }
.imgwrap img { display: block; width: 100%; height: auto; }
.fade-top { position: absolute; left: 0; right: 0; top: 0; height: 7%; background: linear-gradient(180deg, #B2D4E8 0%, rgba(178,212,232,0) 100%); }
.fade-glow { position: absolute; left: 0; top: 0; width: 66%; height: 24%; margin-top: -110px; background: radial-gradient(ellipse 62% 60% at 34% 46%, rgba(231,241,248,.82) 0%, rgba(231,241,248,0) 74%); }
.fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 10%; background: linear-gradient(180deg, rgba(0,50,88,0) 0%, #003258 100%); }
.hero-fade { display: none; }
.scene-fade { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 320px; background: linear-gradient(180deg, rgba(0,50,88,0) 0%, #003258 70%); }

.top-bar { position: relative; max-width: 1280px; margin: 0 auto; padding: 22px 40px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.top-nav { display: flex; align-items: center; gap: 8px 32px; font-size: 17px; font-weight: 700; color: var(--ink); }
.nav-link { padding: 12px 0; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); align-items: center; justify-content: center; cursor: pointer; }
.menu-panel { position: absolute; z-index: 5; right: 20px; top: 66px; min-width: 200px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -16px rgba(6,40,62,.55); display: flex; flex-direction: column; }
.menu-panel a { padding: 13px 16px; font-size: 17px; font-weight: 700; border-radius: 12px; }
.menu-panel a:last-child { color: var(--coral); }

.hero-copy { position: absolute; top: 118px; left: max(40px, calc((100% - 1200px) / 2)); width: min(640px, 52%); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 16px; font-weight: 700; color: var(--ink); }
.hero-copy h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.22; letter-spacing: -0.025em; color: #0A3040; }
.hero-sub { font-size: 18px; line-height: 1.6; font-weight: 500; color: #173F4E; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 6px; }
.hero-more { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; color: #0A3040; padding: 12px 0; }

/* 달력 미리보기 카드 */
.pv-card { padding: 18px; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 24px 50px -18px rgba(6,40,62,.55); display: flex; flex-direction: column; gap: 12px; }
.hero-card { position: absolute; left: 50%; top: 25.5%; transform: translateX(-50%); width: clamp(320px, 34vw, 470px); }
.pv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pv-head > div { display: flex; flex-direction: column; gap: 2px; }
.pv-head b { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.pv-head span { font-size: 15px; color: var(--muted); }
.pv-head em { flex: none; font-style: normal; font-size: 14px; font-weight: 700; background: var(--teal-soft); border-radius: 999px; padding: 4px 10px; }
.pv-grid { display: flex; flex-direction: column; gap: 4px; }
.pv-row { display: flex; gap: 4px; align-items: center; }
.pv-row > i { width: 34px; flex: none; font-style: normal; font-size: 14px; color: var(--muted); font-weight: 500; }
.pv-row > span { flex: 1; height: 24px; border-radius: 6px; }
.pv-row.pv-days > span { height: auto; text-align: center; font-size: 14px; line-height: 1.3; color: var(--muted); font-weight: 500; }
.pv-row.pv-days small { font-size: 13px; }
.pv-best { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 16px; background: var(--peach); }
.pv-best div { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.pv-best div b { color: var(--rust); }
.pv-best div span { font-weight: 500; color: #5B2A1B; }
.pv-best > b { font-size: 18px; }

/* 사용 방법 */
.deep { padding-top: calc(var(--sky) + 84%); }
.cast { position: relative; max-width: 1120px; margin: -4.5% auto 0; padding: 4.5% 40px 0; }
.cast-line { position: absolute; left: 50%; top: 64px; bottom: 150px; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.6) 100%); box-shadow: 0 0 0 .5px rgba(6,40,61,.2); }
.bobber { animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 48%; }
.cast > .bobber { position: absolute; left: 50%; top: -62px; margin-left: -13px; }
.bubble { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); animation: rise 9s linear infinite; }
.b1 { left: 7%; top: 34%; width: 14px; height: 14px; }
.b2 { left: 11%; top: 62%; width: 8px; height: 8px; animation-delay: -3s; }
.b3 { left: 93%; top: 44%; width: 10px; height: 10px; animation-delay: -5s; }
.b4 { left: 88%; top: 78%; width: 16px; height: 16px; animation-delay: -1.5s; }
.b5 { left: 54%; top: 90%; width: 7px; height: 7px; animation-delay: -7s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(6px) rotate(2deg); } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translateY(-240px); opacity: 0; } }

.rows { position: relative; display: flex; flex-direction: column; gap: 36px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; }
.c-node { display: flex; justify-content: center; }
.node { width: 16px; height: 16px; border-radius: 50%; background: var(--salmon); box-shadow: 0 0 0 5px rgba(255,255,255,.9); }
.how-intro { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; color: #052A3F; }
.eyebrow { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.how-intro h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.how-intro p { font-size: 18px; line-height: 1.7; font-weight: 500; max-width: 420px; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 22px 44px -20px rgba(0,30,55,.6); }
.step-no { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; color: var(--teal); }
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.step p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }

.c-aside { width: min(300px, 100%); }
.aside-form { justify-self: end; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.95); box-shadow: 0 18px 36px -18px rgba(0,30,55,.6); transform: rotate(-2deg); display: flex; flex-direction: column; gap: 10px; }
.aside-form div { display: flex; flex-direction: column; gap: 4px; }
.mini-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.mini-field { padding: 9px 12px; border-radius: 10px; background: var(--field); font-size: 16px; font-weight: 500; }
.aside-chat { justify-self: start; display: flex; flex-direction: column; gap: 8px; transform: rotate(2deg); }
.chat { align-self: flex-start; padding: 11px 16px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.95); font-size: 16px; font-weight: 500; box-shadow: 0 14px 30px -16px rgba(0,30,55,.6); }
.chat-link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.chat-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); display: inline-flex; align-items: center; justify-content: center; }
.chat-link > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.chat-link b { font-size: 16px; }
.chat-link small { font-size: 14px; color: var(--muted); }
.aside-done { justify-self: end; padding: 16px 18px; border-radius: 20px; background: var(--peach); box-shadow: 0 18px 36px -18px rgba(0,30,55,.6); transform: rotate(-1.5deg); display: flex; flex-direction: column; gap: 4px; }
.done-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #fff; background: var(--rust); border-radius: 999px; padding: 4px 10px; }
.aside-done b { font-family: var(--serif); font-size: 18px; margin-top: 4px; }
.aside-done small { font-size: 15px; color: #5B2A1B; }

.hook-cta { position: relative; display: flex; flex-direction: column; align-items: center; padding: 44px 0 76px; }
.hook { position: relative; z-index: 1; display: block; margin-left: 14px; }
.hook-cta .cta { margin-top: -20px; min-height: 70px; padding-right: 40px; }
.hook-cta .cta-ic { width: 42px; height: 42px; }
.hook-note { margin-top: 14px; font-size: 17px; color: #DCEBF2; }
.scene-wave { position: relative; display: block; width: 100%; height: 90px; margin-bottom: -1px; }

/* ---------- 활용 사례 ---------- */
.usecases { background: var(--cream); padding: 56px 0 96px; }
.uc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.uc-title { display: flex; align-items: center; gap: 14px; }
.uc-title h2 { font-family: var(--serif); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; }
.uc-head p { font-size: 18px; color: var(--ink-2); }
.uc-grid { max-width: 1200px; margin: 36px auto 0; padding: 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.bgimg { background-image: url(/img/hero.webp); background-repeat: no-repeat; background-size: 260%; }
.uc-1 { background-position: 94% 12%; }
.uc-2 { background-position: 0% 12%; }
.uc-3 { background-position: 50% 20%; }
.uc-4 { background-position: 50% 74%; }
.uc { position: relative; height: 330px; border-radius: 150px 150px 28px 28px; overflow: hidden; }
.uc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,36,50,0) 40%, rgba(7,36,50,.85) 100%); }
.uc-foot { position: absolute; left: 24px; right: 20px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.uc-foot span { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; }
.uc-foot a { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 기능 ---------- */
.features { background: var(--mint); padding: 88px 0 150px; }
.features h2 { font-family: var(--serif); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; text-wrap: balance; }
.ft-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.ft { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 28px; background: #fff; box-shadow: 0 12px 32px -20px rgba(13,59,74,.35); }
.ft-ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-soft); display: inline-flex; align-items: center; justify-content: center; }
.ft > div { display: flex; flex-direction: column; gap: 14px; }
.ft h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.ft p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ---------- 마무리 CTA · 푸터 ---------- */
.closing { position: relative; background: linear-gradient(180deg, #F59B84 0%, #F9C9B7 100%); padding: 150px 40px; }
.closing-top { position: absolute; left: 0; top: -1px; width: 100%; height: 90px; display: block; }
.closing-bottom { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; display: block; }
.closing-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; color: #0B3340; }
.closing h2 { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.closing p { font-size: 18px; line-height: 1.7; text-wrap: pretty; }

.site-footer { background: var(--ink); color: #CFE3E6; padding: 40px; }
.footer-in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-brand span { font-family: var(--serif); font-weight: 700; font-size: 26px; color: #fff; }
.footer-brand small { font-size: 16px; line-height: 1.6; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 28px; align-content: flex-start; font-size: 16px; }
.site-footer nav a { padding: 10px 0; }
.footer-copy { max-width: 1200px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid rgba(207,227,230,.25); font-size: 15px; line-height: 1.6; }

/* ============ 앱 화면 ============ */
#app-shell { background: linear-gradient(180deg, #B2D4E8 0, #DCEBF2 200px, var(--cream) 420px); min-height: 80vh; }
.app-bar { padding-bottom: 8px; }
#app { max-width: 1120px; margin: 0 auto; padding: 28px 40px 96px; }
.page-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.page-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; letter-spacing: -0.02em; color: #0A3040; overflow-wrap: anywhere; }
.page-head p { font-size: 18px; line-height: 1.6; font-weight: 500; color: #173F4E; overflow-wrap: anywhere; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.card { padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 12px 32px -20px rgba(13,59,74,.35); }
.card h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.card-sub { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.narrow { max-width: 640px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; font-size: 17px; font-weight: 700; cursor: pointer; background: var(--teal-soft); color: var(--ink); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 20px -10px rgba(120,30,10,.6); }
.btn-white { background: rgba(255,255,255,.9); }
.btn-rust { background: var(--rust); color: #fff; }
.btn-text { min-height: 44px; padding: 0 8px; background: none; color: var(--rust); text-decoration: underline; }
.btn:disabled { opacity: .5; cursor: default; }

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.field > label, .field > .label { font-size: 15px; font-weight: 700; color: var(--muted); }
.field small { font-weight: 400; }
input[type=text], textarea { width: 100%; padding: 13px 14px; border: 2px solid transparent; border-radius: 12px; background: var(--field); font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); }
input[type=text]:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
textarea { resize: vertical; }
::placeholder { color: #7B969E; font-weight: 400; }

.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--field); }
.seg button { flex: 1; min-height: 46px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font-size: 16px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
.hint { font-size: 15px; line-height: 1.6; color: var(--muted); }
.form-submit { margin-top: 28px; width: 100%; justify-content: center; padding: 0 14px 0 0; }

/* 달력 */
.calendar { padding: 14px; border-radius: 20px; background: var(--field); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-family: var(--serif); font-size: 19px; }
.cal-nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; color: var(--ink); cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week { font-size: 14px; font-weight: 500; text-align: center; color: var(--muted); margin-bottom: 4px; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 4px 0; border: 0; border-radius: 12px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.cal-day b { font-size: 17px; }
.cal-day:disabled { background: transparent; opacity: .4; cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--salmon); }
.cal-day.selected { background: #0F5E6C; color: #fff; }
.cal-day.selected .tide { background: rgba(255,255,255,.2); color: #fff; }
.sun { color: var(--rust); }
.sat { color: var(--teal); }
.cal-day.selected.sun, .cal-day.selected.sat { color: #fff; }
.tide { display: inline-block; padding: 0 7px; border-radius: 999px; background: var(--field); font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.tide-strong { background: var(--teal-soft); color: var(--ink); font-weight: 700; }
.wd-chips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wd-chips button { min-height: 54px; border: 0; border-radius: 14px; background: var(--field); font-size: 17px; font-weight: 700; color: var(--ink); cursor: pointer; }
.wd-chips button[aria-pressed=true] { background: #0F5E6C; color: #fff; }

/* 출조 페이지 */
.banner { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 22px; border-radius: 24px; background: var(--peach); box-shadow: 0 12px 32px -20px rgba(13,59,74,.35); margin-bottom: 20px; }
.banner-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; width: 100%; font-size: 15px; }
.banner-top b { color: var(--rust); }
.banner-top span { font-weight: 500; color: #5B2A1B; }
.banner > strong { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; }
.banner .btn { margin-top: 8px; }
.banner.is-confirmed { background: linear-gradient(180deg, #F59B84 0%, #F9C9B7 100%); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.save-state { font-size: 15px; font-weight: 500; color: var(--teal); min-height: 22px; }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

.grid { margin-top: 16px; display: grid; gap: 4px; align-items: center; user-select: none; -webkit-user-select: none; }
.grid .g-head { text-align: center; font-size: 15px; font-weight: 500; color: var(--muted); padding-bottom: 2px; }
.grid .g-label { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; padding-right: 6px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.cell { height: 44px; border: 0; border-radius: 8px; background: var(--field); font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; padding: 0; }
.grid-mine .cell { touch-action: none; }
.grid-mine .cell.on { background: #0F5E6C; color: #fff; }
.grid-mine .cell.on::after { content: '✓'; }
.cell.s1 { background: #CDE8E8; }
.cell.s2 { background: #9DD3D6; }
.cell.s3 { background: #62B5BC; }
.cell.s4 { background: #2B8F9A; color: #fff; }
.cell.s5 { background: #0F5E6C; color: #fff; }
.cell.top { box-shadow: inset 0 0 0 3px var(--salmon); }
.cell.picked { outline: 3px solid var(--ink); outline-offset: 1px; }
.cell.fixed { box-shadow: inset 0 0 0 3px var(--coral); }

.legend { margin-top: 14px; display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.legend i { width: 22px; height: 14px; border-radius: 4px; }
.detail { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--field); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 1.6; }
.detail b { font-size: 17px; }
.names { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--teal-soft); font-size: 15px; font-weight: 700; }
.chip.off { background: #fff; color: var(--muted); font-weight: 500; }
.people { margin-top: 20px; padding-top: 18px; border-top: 1px solid #DDE8E8; display: flex; flex-direction: column; gap: 10px; }
.people h3 { font-size: 15px; font-weight: 700; color: var(--muted); }
.comments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.center { text-align: center; }
.center .btn { margin-top: 18px; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 20px); width: max-content; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 24px; text-align: center; background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .bobber, .bubble, .cta-pulse { animation: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 1100px) { .hero-sub { display: none; } }

/* ============ 모바일 (모바일 시안 기준) ============ */
@media (max-width: 900px) {
  .only-desk { display: none !important; }
  .only-mob { display: block; }
  br.m { display: inline; }
  br.d { display: none; }
  .wrap { padding: 0 24px; }

  .brand span { font-size: 24px; }
  .brand svg { width: 72px; height: 9px; }
  .top-bar { padding: 10px 20px 0; }
  .nav-link, .top-nav .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .cta { justify-content: center; gap: 12px; min-height: 64px; padding: 0 14px 0 0; font-size: 21px; }
  .cta-ic { width: 38px; height: 38px; }

  /* 히어로 */
  .scene { background: linear-gradient(180deg, #0B4A73 0%, #003258 100%); }
  .hero { display: block; position: relative; z-index: 0; overflow: hidden; background: #B5D5EA; padding-bottom: 16px; }
  .sky, .fade-glow, .fade-bottom, .scene-fade { display: none; }
  .imgwrap { top: 196px; }
  .fade-top { height: 120px; background: linear-gradient(180deg, #B5D5EA 0%, rgba(181,213,234,0) 100%); }
  .hero-fade { display: block; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(180deg, rgba(11,74,115,0) 0%, rgba(11,74,115,1) 100%); }
  .hero .top-bar { position: absolute; left: 0; right: 0; top: 0; }
  .hero-copy { top: 70px; left: 24px; right: 24px; width: auto; gap: 12px; }
  .pill-badge { padding: 7px 14px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
  .hero-actions { display: none; }
  .hero-m { padding-top: calc(196px + 68.7vw); }
  .hero-m-row { position: relative; margin: 0 84px 0 24px; }
  .hero-m-row .cta { display: flex; min-height: 60px; font-size: 20px; }
  .hero-m-row .cta-ic { width: 36px; height: 36px; }
  .hero-m-row .bobber { position: absolute; right: -52px; top: -14px; }
  .hero-m-line { position: absolute; right: -43px; top: 80px; height: 2000px; width: 2px; background: rgba(255,255,255,.85); }
  .hero-m .pv-card { position: relative; margin: 14px 12px 0; padding: 14px; border-radius: 22px; gap: 10px; background: rgba(255,255,255,.97); box-shadow: 0 18px 40px -16px rgba(6,40,62,.55); }
  .pv-head span { font-size: 14px; }
  .pv-head em { padding: 3px 10px; }
  .pv-grid { gap: 3px; }
  .pv-row > i { width: 30px; }
  .pv-row > span { height: 20px; border-radius: 5px; }
  .pv-best { padding: 9px 12px; border-radius: 14px; gap: 1px; }
  .pv-best > b { font-size: 17px; }

  /* 사용 방법: 찌에서 내려온 낚싯줄 */
  .deep { padding-top: 40px; }
  .cast { max-width: none; margin: 0; padding: 0; }
  .cast-line { left: auto; right: 41px; top: -40px; bottom: 226px; margin: 0; background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.6) 100%); box-shadow: none; }
  .b1 { left: auto; right: 14px; top: 30%; width: 10px; height: 10px; }
  .b2 { left: auto; right: 61px; top: 14%; width: 7px; height: 7px; animation-delay: -4s; }
  .b3 { left: auto; right: 8px; top: 66%; width: 12px; height: 12px; animation-delay: -6s; }
  .b4, .b5 { display: none; }
  .rows { gap: 16px; }
  .row { display: block; position: relative; }
  .row-intro { margin-bottom: 12px; }
  .c-aside { display: none; }
  .c-node { position: absolute; right: 34px; top: 50%; margin-top: -8px; }
  .node { display: block; box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
  .how-intro { margin: 0 76px 0 24px; padding: 0; color: #fff; }
  .eyebrow { color: #F9C9B7; }
  .how-intro h2 { font-size: 26px; line-height: 1.3; text-wrap: initial; }
  .how-intro p { font-size: 17px; font-weight: 400; color: #DCEBF2; }
  .step { margin: 0 68px 0 16px; gap: 6px; padding: 20px 22px; border-radius: 24px; box-shadow: 0 18px 36px -18px rgba(0,30,55,.6); }
  .step-no { font-size: 34px; }
  .step h3 { font-size: 20px; }
  .step p { line-height: 1.65; }
  .hook-cta { padding: 42px 16px 0; align-items: stretch; gap: 12px; }
  .hook { position: absolute; right: 13px; top: 0; margin: 0; }
  .hook-cta .cta { margin-top: 0; min-height: 64px; padding-right: 14px; }
  .hook-cta .cta-ic { width: 38px; height: 38px; }
  .hook-note { margin-top: 0; text-align: center; font-size: 16px; line-height: 1.5; }
  .scene-wave { height: 44px; margin-top: 40px; }

  /* 활용 사례 */
  .usecases { padding: 24px 0 56px; }
  .uc-lead { margin: 0 24px 40px; font-size: 18px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
  .uc-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .uc-title h2 { font-size: 28px; }
  .uc-head p { font-size: 17px; }
  .uc-grid { display: flex; gap: 14px; overflow-x: auto; margin-top: 24px; padding: 0 24px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .uc { flex: none; width: 220px; height: 300px; border-radius: 110px 110px 24px 24px; scroll-snap-align: start; scroll-margin-left: 24px; }
  .uc-1 { background-position: 95% 13%; }
  .uc-2 { background-position: 0% 13%; }
  .uc-3 { background-position: 50% 21%; }
  .uc-4 { background-position: 50% 78%; }
  .uc-foot { left: 20px; right: 16px; bottom: 18px; gap: 8px; }
  .uc-foot span { font-size: 19px; }

  /* 기능 */
  .features { padding: 56px 0 110px; }
  .features .wrap { padding: 0 20px; }
  .features h2 { margin: 0 4px; font-size: 28px; line-height: 1.3; }
  .ft-grid { margin-top: 28px; grid-template-columns: 1fr; gap: 12px; }
  .ft { flex-direction: row; gap: 16px; padding: 20px; border-radius: 24px; box-shadow: 0 10px 28px -20px rgba(13,59,74,.35); }
  .ft-ic { width: 48px; height: 48px; }
  .ft-ic svg { width: 24px; height: 24px; }
  .ft > div { gap: 6px; }
  .ft h3 { font-size: 19px; }
  .ft p { line-height: 1.65; }

  /* 마무리 · 푸터 */
  .closing { padding: 110px 24px; }
  .closing-top { height: 60px; }
  .closing-bottom { height: 50px; }
  .closing-in { gap: 18px; }
  .closing h2 { font-size: 32px; line-height: 1.3; }
  .closing .cta { width: 100%; box-shadow: 0 16px 30px -14px rgba(6,40,62,.7); }
  .site-footer { padding: 40px 24px 32px; }
  .footer-in { flex-direction: column; gap: 20px; }
  .footer-brand { gap: 8px; }
  .footer-brand span { font-size: 24px; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .site-footer nav a { padding: 12px 0; }
  .footer-copy { margin-top: 20px; padding-top: 16px; }

  /* 앱 화면 */
  .app-bar .nav-cta { min-height: 46px; padding: 0 16px 0 12px; font-size: 16px; }
  #app { padding: 20px 16px 72px; }
  .page-head { margin: 0 8px 22px; }
  .page-head p { font-size: 17px; }
  .card { padding: 20px; border-radius: 24px; }
  .cols { grid-template-columns: 1fr; gap: 16px; }
  .cal-day { min-height: 54px; }
  .calendar { padding: 10px; }
}
