:root {
  --brand: #0d7a70;
  --brand-deep: #065f58;
  --brand-bright: #14a898;
  --brand-soft: #cff3ee;
  --ink: #121a24;
  --muted: #5a6573;
  --line: #d0dce2;
  --page: #eaf6f3;
  --page-mid: #f4fbf9;
  --card: #ffffff;
  --income: #0b7344;
  --expense: #b83228;
  --shadow: 0 18px 50px rgba(6, 95, 88, 0.12);
  --radius: 22px;
  --max: 1120px;
  --font: "Pretendard", "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
  --display: "Outfit", "Pretendard", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, #c8ebe4 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #d9f3ee 0%, transparent 50%),
    linear-gradient(180deg, var(--page) 0%, var(--page-mid) 40%, #ffffff 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(234, 246, 243, 0.82);
  border-bottom: 1px solid rgba(208, 220, 226, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--brand-deep);
  background: rgba(13, 122, 112, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(6, 95, 88, 0.25);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  color: var(--brand-deep);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(13, 122, 112, 0.15);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
  font-weight: 800;
}

.hero-brand {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 14px 28px rgba(6, 95, 88, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(13, 122, 112, 0.28);
  color: var(--brand-deep);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  min-height: auto;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(160deg, #103c37, #065f58 45%, #0d7a70);
  box-shadow: var(--shadow);
  color: #fff;
}

.phone-screen {
  background: linear-gradient(180deg, #eaf7f4, #ffffff);
  border-radius: 26px;
  padding: 18px 16px 20px;
  color: var(--ink);
  min-height: 420px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.phone-amount {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 4px 0 14px;
}

.phone-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.mini {
  border-radius: 14px;
  padding: 12px;
  background: #fff1ef;
}

.mini.income {
  background: var(--brand-soft);
}

.mini strong {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.mini.expense strong {
  color: var(--expense);
}

.mini.income strong {
  color: var(--income);
}

.phone-list {
  display: grid;
  gap: 8px;
}

.phone-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8f7;
  font-size: 0.86rem;
  font-weight: 600;
}

.phone-item .neg {
  color: var(--expense);
}

.phone-item .pos {
  color: var(--income);
}

.float-tag {
  position: absolute;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 26, 36, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-deep);
  animation: float 4.5s ease-in-out infinite;
}

.float-tag.a {
  top: 36px;
  left: -8px;
}

.float-tag.b {
  top: 140px;
  right: -6px;
  animation-delay: 0.8s;
}

.float-tag.c {
  bottom: 70px;
  left: 0;
  animation-delay: 1.4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Strip */
.strip {
  margin: 18px 0 10px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(6, 95, 88, 0.92), rgba(13, 122, 112, 0.88));
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.strip-item {
  text-align: center;
  padding: 8px;
}

.strip-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.strip-item span {
  font-size: 0.86rem;
  opacity: 0.92;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  line-height: 1.25;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(208, 220, 226, 0.9);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 28px rgba(6, 95, 88, 0.05);
}

.panel h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.use-item {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #eef9f6);
  border: 1px solid var(--line);
}

.use-item .emoji {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.use-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.use-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.cta-band {
  margin: 20px 0 40px;
  padding: 36px 28px;
  border-radius: 28px;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, #065f58, #0d7a70 55%, #149184);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 12px auto 0;
  max-width: 34rem;
  opacity: 0.92;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: none;
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.site-footer {
  margin-top: 24px;
  padding: 48px 0 28px;
  background: linear-gradient(160deg, #043f3a 0%, #065f58 55%, #0a6b62 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-col p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-meta li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
}

.footer-meta span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a.is-active {
  color: var(--brand-deep);
  background: rgba(13, 122, 112, 0.1);
}

.page-hero {
  padding: 42px 0 10px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  line-height: 1.25;
}

.page-hero p {
  margin: 12px 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.page-content {
  padding: 24px 0 56px;
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  color: var(--brand-deep);
}

.prose h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.75;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose .panel {
  margin-top: 14px;
}

.updated {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.quote {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 122, 112, 0.12);
}

.quote p {
  margin: 0;
  font-weight: 700;
  color: var(--brand-deep);
}

.quote span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

/* Screenshots & showcases */
.shot-frame {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(160deg, #103c37, #065f58 45%, #0d7a70);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #eaf7f4;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.shot-frame.wide {
  width: min(100%, 300px);
}

.shot-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: start;
}

.shot-rail::-webkit-scrollbar {
  height: 8px;
}

.shot-rail::-webkit-scrollbar-thumb {
  background: rgba(13, 122, 112, 0.35);
  border-radius: 999px;
}

.shot-card {
  scroll-snap-align: start;
  text-align: center;
}

.shot-card .shot-frame {
  width: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.shot-card:hover .shot-frame {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(6, 95, 88, 0.2);
}

.shot-card p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.shot-card span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.feature-rows {
  display: grid;
  gap: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(208, 220, 226, 0.85);
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-row.reverse .feature-copy {
  order: -1;
}

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.feature-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-copy ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.feature-copy li {
  font-size: 0.94rem;
}

.about-lead {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.about-lead img {
  width: min(100%, 360px);
  margin-inline: auto;
  border-radius: 24px;
}

.illust-panel {
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff, #e7f7f3);
  border: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  gap: 22px;
}

.guide-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.guide-item .shot-frame {
  width: 100%;
  padding: 8px;
  border-radius: 26px;
}

.guide-item .shot-frame img {
  border-radius: 20px;
}

@media (max-width: 920px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .use-grid,
  .quote-row,
  .strip {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row,
  .feature-row.reverse,
  .about-lead,
  .guide-item {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

  .guide-item .shot-frame {
    width: min(100%, 240px);
    margin-inline: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    order: -1;
  }

  .float-tag {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

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

  .grid-3,
  .grid-2,
  .use-grid,
  .quote-row,
  .strip {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 40px 1fr;
  }

  .step::before {
    width: 40px;
    height: 40px;
  }
}
