:root {
  --orange: #f25c38;
  --orange-soft: #ffeee1;
  --cream: #fefaf7;
  --ink: #121212;
  --body: #747474;
  --line: #e9e9e9;
  --max: 480px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--cream); }
html.is-footer-visible { background: #121212; }
body { min-width: 320px; min-height: 100dvh; margin: 0; color: var(--ink); background: transparent; font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.site-shell { width: min(100%, var(--max)); min-height: 100dvh; margin: 0 auto; overflow: clip; background: var(--cream); }
.scroll-anchor { height: 0; scroll-margin-top: calc(61px + env(safe-area-inset-top)); }

.site-header { position: sticky; z-index: 50; top: 0; height: calc(61px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 22px 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(254, 250, 247, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; gap: 9px; align-items: center; }
.brand-icon { width: 30px; height: 30px; border-radius: 8px; }
.brand-wordmark { width: 76px; height: 30px; }
.site-nav { display: flex; align-items: stretch; height: 44px; }
.nav-link { position: relative; display: grid; min-width: 66px; place-items: center; padding: 0 12px; color: #808080; font-size: 15px; font-weight: 600; }
.nav-link::after { position: absolute; right: 13px; bottom: 2px; left: 13px; height: 2px; border-radius: 2px; background: var(--orange); content: ""; transform: scaleX(0); transition: transform .25s ease; }
.nav-link.is-active { color: var(--orange); }
.nav-link.is-active::after { transform: scaleX(1); }

.section { position: relative; padding: 44px 22px 64px; }
.section[id] { scroll-margin-top: calc(61px + env(safe-area-inset-top)); }
.eyebrow { color: var(--orange); font-size: 20px; font-weight: 600; line-height: 34px; letter-spacing: -.375px; }
h1 { font-size: 33px; line-height: 1.28; letter-spacing: -.66px; }
h2 { font-size: 25px; line-height: 1.36; letter-spacing: -.375px; }
h1, h2, h3 { font-weight: 700; }
.section-heading { display: grid; gap: 4px; }

.hero { min-height: 851px; padding-top: 52px; padding-bottom: 60px; }
.hero-copy { margin-top: 18px; color: #464646; font-size: 14px; font-weight: 500; line-height: 1.6; }
.chips, .mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips { margin-top: 16px; }
.chips span, .mini-chips span { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #5b5b5b; font-weight: 600; white-space: nowrap; }
.chips span { padding: 8px 14px; font-size: 12.5px; }
.hero-visual { position: relative; height: 447px; margin-top: 36px; overflow: hidden; border: 1px solid rgba(0,0,0,.04); border-radius: 24px; background: linear-gradient(#ffeee1, #fbe0d3); }
.hero-visual img { position: absolute; top: 19px; left: 10px; width: 509px; max-width: none; will-change: transform; }
.scroll-cue { display: flex; flex-direction: column; gap: 7px; align-items: center; margin-top: 34px; color: #999; font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.scroll-cue i { width: 12px; height: 12px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); animation: bounce 1.8s ease-in-out infinite; }

.problem { padding-top: 24px; }
.problem-list { display: grid; gap: 16px; margin-top: 26px; }
.problem-card { min-height: 154px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transform: rotate(var(--tilt)); box-shadow: 0 8px 28px rgba(69, 46, 34, .03); }
.problem-card:first-child, .problem-card:last-child { min-height: 177px; }
.problem-icon { width: 44px; height: 44px; }
.problem-card h3 { margin-top: 14px; font-size: 17px; }
.problem-card p { margin-top: 7px; color: var(--body); font-size: 14.5px; line-height: 1.62; }

.solution { padding-top: 24px; padding-bottom: 64px; background: linear-gradient(transparent, rgba(255,238,225,.5)); }
.solution-steps { display: grid; gap: 40px; margin-top: 30px; }
.solution-step { display: grid; grid-template-columns: minmax(0, 1fr) 138px; gap: 16px; align-items: start; min-height: 298px; }
.solution-step--reverse { grid-template-columns: 138px minmax(0, 1fr); }
.step-badge { display: inline-flex; gap: 6px; align-items: center; padding: 4px 8px; border-radius: 8px; color: var(--orange); background: var(--orange-soft); font-size: 13px; font-weight: 700; }
.step-icon { width: 20px; height: 20px; }
.step-copy h3 { margin-top: 10px; font-size: 20px; }
.step-copy > p { margin-top: 8px; color: var(--body); font-size: 14.5px; line-height: 1.62; }
.mini-chips { gap: 3px; margin-top: 12px; }
.mini-chips span { padding: 5px 7px; font-size: 10.5px; }
.mini-chips--compact { gap: 2px; }
.mini-chips--compact span { padding-right: 5px; padding-left: 5px; font-size: 10px; }
.phone { width: 138px; height: auto; filter: drop-shadow(0 12px 18px rgba(32, 23, 19, .09)); will-change: transform; }

.core-features { padding-top: 46px; padding-bottom: 72px; background: var(--cream); }
.carousel-hint { margin-top: 8px; color: #808080; font-size: 14px; font-weight: 400; line-height: 17px; }
.feature-carousel { margin-top: 28px; }
.feature-viewport { margin-right: -22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.feature-viewport::-webkit-scrollbar { display: none; }
.feature-viewport:focus-visible { border-radius: 16px; outline: 2px solid var(--orange); outline-offset: 4px; }
.feature-track { display: flex; width: max-content; gap: 14px; padding: 0 22px 8px 0; }
.feature-card { width: 244px; height: 311px; flex: 0 0 244px; overflow: hidden; border-radius: 14px; scroll-snap-align: start; box-shadow: 0 8px 20px rgba(52, 42, 36, .08); }
.feature-card > img { width: 100%; height: 100%; object-fit: cover; }

.flow { padding-top: 24px; }
.flow-list { --flow-progress: 0; --flow-axis: 9px; --flow-indent: 38px; position: relative; display: grid; gap: 26px; margin-top: 30px; }
.flow-list::before, .flow-list::after { position: absolute; top: 8px; bottom: 8px; left: calc(var(--flow-axis) - 1px); width: 2px; border-radius: 2px; content: ""; }
.flow-list::before { background: #eadfd9; }
.flow-list::after { background: var(--orange); transform: scaleY(var(--flow-progress)); transform-origin: top; }
.flow-list li { position: relative; padding-left: var(--flow-indent); }
.flow-list li::before { position: absolute; top: 5px; left: calc(var(--flow-axis) - 9px); z-index: 1; width: 12px; height: 12px; border: 3px solid var(--cream); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px #f4ad99; content: ""; }
.flow-list h3 { font-size: 16px; }
.flow-list p { margin-top: 5px; color: var(--body); font-size: 13.5px; line-height: 1.55; }

.brand-concept { padding-top: 44px; padding-bottom: 60px; color: #fff; background: #5a534e; }
.brand-concept .section-heading h2 { color: #fff; }
.brand-house { width: 198px; margin: 30px auto 0; will-change: transform; }
.concept-list { display: grid; gap: 14px; margin-top: 40px; }
.concept-list li { display: flex; gap: 12px; align-items: flex-start; }
.concept-list li > span { min-width: 20px; padding-top: 1px; color: #f68d71; font-size: 14px; font-weight: 700; }
.concept-list h3 { font-size: 15.5px; }
.concept-list p { margin-top: 3px; color: #d8d8d8; font-size: 13.5px; line-height: 1.55; }

.summary { min-height: 856px; padding-top: 44px; padding-bottom: 66px; overflow: hidden; background: linear-gradient(#ffeeea, #ffeee1); }
.summary-list { display: grid; gap: 8px; margin-top: 26px; }
.summary-list li { display: flex; gap: 11px; align-items: center; min-height: 56px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 600; }
.summary-icon { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.summary-scene { position: relative; margin-top: 34px; text-align: center; }
.summary-scene::after { position: absolute; z-index: 0; top: 155px; left: -40px; width: calc(100% + 80px); height: 190px; border-radius: 50% 50% 0 0; background: #b1cc88; content: ""; }
.summary-scene img { position: relative; z-index: 1; width: 182px; height: 194px; margin: 0 auto; object-fit: contain; object-position: bottom; will-change: transform; }
.summary-scene p { position: relative; z-index: 1; margin-top: 14px; font-size: 15px; font-weight: 600; }

.team { padding-top: 52px; padding-bottom: 68px; scroll-margin-top: 61px; }
.team h2 { font-size: 29px; line-height: 1.34; letter-spacing: -.58px; }
.team-content { margin-top: 44px; }
.team-content > h3 { margin-bottom: 16px; font-size: 16px; }
.team-page .team { min-height: calc(100dvh - 61px - env(safe-area-inset-top)); padding-top: 62px; }
.team-page .team h1 { font-size: 29px; line-height: 1.34; letter-spacing: -.58px; }
.team-page .team-content > h2 { margin-bottom: 16px; font-size: 16px; line-height: 1.4; letter-spacing: 0; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.member-grid li { display: flex; min-height: 68px; flex-direction: column; justify-content: center; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.member-grid strong { font-size: 15.5px; }
.member-grid span { margin-top: 4px; color: var(--body); font-size: 13px; }
.member-grid .member-spacer { border-color: transparent; background: transparent; }
.primary-button { display: grid; width: max-content; min-width: 196px; height: 46px; margin: 38px auto 0; place-items: center; border-radius: 12px; color: #fff; background: #292929; font-size: 15px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.primary-button:active { transform: scale(.97); background: var(--orange); }

.footer { padding: 40px 22px calc(46px + env(safe-area-inset-bottom)); color: #fff; background: #121212; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand strong { font-size: 19px; }
.footer > p { margin-top: 12px; color: #aaa; font-size: 14px; }
.footer-meta { display: grid; gap: 6px; margin-top: 26px; padding-top: 21px; border-top: 1px solid #363636; color: #999; font-size: 12.5px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes bounce { 0%,100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(5px) rotate(45deg); } }

@media (max-width: 400px) {
  .site-header, .section, .footer { padding-right: 18px; padding-left: 18px; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .hero-copy { font-size: 13.5px; }
  .wide-only { display: none; }
  .chips { gap: 5px; }
  .chips span { padding-right: 11px; padding-left: 11px; font-size: 11.5px; }
  .solution-step { grid-template-columns: minmax(0, 1fr) 124px; gap: 10px; }
  .solution-step--reverse { grid-template-columns: 124px minmax(0, 1fr); }
  .phone { width: 124px; }
  .feature-viewport { margin-right: -18px; }
  .feature-track { padding-right: 18px; }
  .mini-chips span { padding-right: 5px; padding-left: 5px; font-size: 10px; }
  .team h2 { font-size: 25px; }
  .member-grid li { padding-right: 13px; padding-left: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
}
