:root {
  color-scheme: light;
  --ink: #14221e;
  --muted: #61716c;
  --line: #dce7e3;
  --brand: #08785e;
  --brand-dark: #045642;
  --brand-soft: #e6f4ef;
  --cream: #f8f6ef;
  --dark: #0b1814;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  word-break: keep-all;
}
a { color: inherit; }
.shell { width: min(100% - 32px, 1160px); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(220,231,227,.9); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 900; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: var(--brand); font-size: .82rem; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 750; }
.site-nav a { text-decoration: none; }
.site-nav__cta { padding: 9px 15px; border-radius: 999px; color: #fff; background: var(--brand); }

.hero { position: relative; overflow: hidden; padding: 74px 0 82px; background: radial-gradient(circle at 78% 30%, #d5eee5 0, rgba(213,238,229,0) 29%), linear-gradient(145deg, #f2faf7 0%, #fff 58%, #fbf8ee 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; left: -280px; bottom: -210px; border: 1px solid #cce1d9; border-radius: 50%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr); align-items: center; gap: 56px; }
.eyebrow { margin: 0 0 16px; color: var(--brand); font-size: .82rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #21b683; box-shadow: 0 0 0 5px rgba(33,182,131,.12); }
.hero h1, .section-heading h2, .receivables h2, .tester-card h2 { margin: 0; line-height: 1.14; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(2.35rem, 5.3vw, 4.5rem); }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero__lead { max-width: 650px; margin: 24px 0 0; color: #485954; font-size: clamp(1rem, 2vw, 1.16rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 21px; border-radius: 13px; text-decoration: none; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--brand); box-shadow: 0 12px 28px rgba(8,120,94,.19); }
.button--ghost { border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.hero__note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }

.phone-showcase { position: relative; display: grid; place-items: center; min-height: 880px; }
.phone-showcase__glow { position: absolute; width: min(390px, 88vw); aspect-ratio: 1; border-radius: 50%; background: rgba(8,120,94,.14); filter: blur(4px); }
.phone-frame { position: relative; z-index: 2; width: min(390px, 92vw); padding: 9px; overflow: hidden; border: 1px solid #cbdad5; border-radius: 42px; background: #17201d; box-shadow: 0 32px 70px rgba(17,40,33,.24); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 33px; }
.phone-showcase__notes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.floating-card { position: absolute; z-index: 3; min-width: 154px; padding: 13px 16px; border: 1px solid rgba(220,231,227,.9); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 14px 30px rgba(17,40,33,.13); backdrop-filter: blur(10px); }
.floating-card strong, .floating-card span { display: block; }
.floating-card strong { font-size: .9rem; }
.floating-card span { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.floating-card--top { top: 120px; left: -18px; }
.floating-card--bottom { right: -18px; bottom: 120px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-strip p { margin: 0; padding: 24px 26px; border-right: 1px solid var(--line); }
.trust-strip p:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: .94rem; }
.trust-strip span { color: var(--muted); font-size: .78rem; }

.section { padding: 104px 0; }
.section-heading { max-width: 690px; margin-bottom: 48px; }
.section-heading h2, .receivables h2, .tester-card h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.section-heading > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 340px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.feature-card--accent { background: var(--brand-soft); }
.feature-card__number { position: absolute; top: 24px; right: 26px; color: #a6b8b2; font-size: .72rem; font-weight: 850; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 52px; border-radius: 14px; color: #fff; background: var(--brand); font-size: 1.3rem; font-weight: 900; }
.feature-card h3 { margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature-tag { display: inline-block; margin-top: 22px; padding: 7px 10px; border-radius: 8px; color: var(--brand-dark); background: #f0f7f4; font-size: .74rem; font-weight: 800; }
.accuracy-note { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid #e9b849; color: #6e5a2f; background: #fff9e9; font-size: .82rem; }

.filter-promo { background: #fff; }
.filter-promo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 76px; align-items: center; }
.filter-promo__copy h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.14; letter-spacing: -.045em; }
.filter-promo__copy h2 em { color: var(--brand); font-style: normal; }
.filter-promo__copy > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); }
.filter-benefits { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.filter-benefits li { display: grid; grid-template-columns: minmax(130px, .4fr) 1fr; gap: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.filter-benefits strong { color: var(--ink); font-size: .92rem; }
.filter-benefits span { color: var(--muted); font-size: .82rem; }
.actual-screen-card { width: min(100%, 430px); margin: 0 auto; }
.actual-screen-card img { display: block; width: 100%; height: auto; border: 1px solid #cbdad5; border-radius: 28px; box-shadow: 0 24px 60px rgba(17,40,33,.16); }
.actual-screen-card p { margin: 12px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

.ledger-promo { background: #f1f7f4; }
.ledger-promo__grid { display: grid; grid-template-columns: minmax(300px, .76fr) minmax(0, 1.12fr); gap: 82px; align-items: center; }
.ledger-promo__visual { position: relative; width: min(100%, 460px); margin: 0 auto; }
.ledger-promo__visual::before { content: ""; position: absolute; inset: 7% -11%; border-radius: 50%; background: rgba(8,120,94,.12); filter: blur(14px); }
.ledger-promo__visual img { position: relative; display: block; width: 100%; height: auto; border: 1px solid #c6d9d1; border-radius: 28px; box-shadow: 0 28px 65px rgba(17,40,33,.19); }
.ledger-promo__visual p { position: relative; margin: 12px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.ledger-promo__copy h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.14; letter-spacing: -.045em; }
.ledger-promo__copy h2 em { color: var(--brand); font-style: normal; }
.ledger-promo__copy > p:not(.eyebrow):not(.ledger-promo__note) { margin: 22px 0 0; color: var(--muted); }
.ledger-benefits { display: grid; gap: 12px; margin-top: 28px; }
.ledger-benefits article { padding: 17px 18px; border: 1px solid #d7e6e0; border-radius: 15px; background: rgba(255,255,255,.78); }
.ledger-benefits strong, .ledger-benefits span { display: block; }
.ledger-benefits strong { margin-bottom: 4px; font-size: .96rem; }
.ledger-benefits span { color: var(--muted); font-size: .82rem; }
.ledger-promo__note { margin: 18px 0 0; padding-left: 13px; border-left: 3px solid #e9b849; color: #6e5a2f; font-size: .78rem; }

.section--dark { color: #eef8f4; background: var(--dark); }
.receivables { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .82fr); gap: 76px; align-items: center; }
.receivables__copy > p:not(.eyebrow) { color: #a9bab4; }
.eyebrow--light { color: #63d3ad; }
.check-list { display: grid; gap: 11px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: #d8e7e2; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #63d3ad; font-weight: 900; }
.planned-notice { padding: 15px 17px; border: 1px solid #2d4840; border-radius: 12px; color: #a9bab4; background: #13251f; font-size: .8rem; }
.planned-notice strong { color: #fff; }
.matching-demo { padding: 24px; border: 1px solid #29443b; border-radius: 24px; background: #10211b; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.matching-demo__header, .invoice-card > div, .ledger-card > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.matching-demo__header { margin-bottom: 18px; font-weight: 850; }
.status-pill { padding: 5px 9px; border-radius: 999px; color: #8ee8c7; background: #1b3b31; font-size: .68rem; }
.invoice-card, .ledger-card { padding: 18px; border: 1px solid #315047; border-radius: 15px; background: #172b24; }
.invoice-card span, .ledger-card span { color: #9cb0a9; font-size: .74rem; }
.invoice-card strong, .ledger-card strong { font-size: 1.05rem; }
.invoice-card p, .ledger-card p { margin: 8px 0 0; color: #829890; font-size: .74rem; }
.match-line { display: flex; align-items: center; gap: 9px; padding: 16px 4px; color: #75d7b5; font-size: .7rem; text-align: center; }
.match-line span { flex: 1; height: 1px; background: #315047; }
.match-result { display: flex; gap: 12px; margin-top: 16px; padding: 15px; border-radius: 14px; color: #10211b; background: #91e2c5; }
.match-result > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 900; }
.match-result strong, .match-result p { display: block; margin: 0; }
.match-result p { color: #37564c; font-size: .75rem; }

.tester-section { background: var(--cream); }
.tester-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: 56px 76px; align-items: start; padding: 54px; border: 1px solid #e4e0d2; border-radius: 30px; background: #fff; }
.tester-card > div > p:last-child { color: var(--muted); }
.tester-steps { display: grid; gap: 20px; margin: 4px 0 0; padding: 0; list-style: none; }
.tester-steps li { display: flex; gap: 14px; align-items: flex-start; }
.tester-steps li > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--brand); font-size: .78rem; font-weight: 900; }
.tester-steps p, .tester-steps strong { display: block; margin: 0; }
.tester-steps p { color: var(--muted); font-size: .8rem; }
.tester-steps strong { color: var(--ink); font-size: .93rem; }
.tester-card__button { grid-column: 1 / -1; }

.site-footer { padding: 48px 0; color: #8ca099; background: #08130f; font-size: .8rem; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.brand--footer { color: #fff; }
.site-footer__inner > div > p { margin: 8px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 18px; }
.site-footer nav a { color: #c7d5d0; }
.site-footer__company { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid #1d3029; }

@media (max-width: 840px) {
  .site-nav > a:not(.site-nav__cta) { display: none; }
  .hero { padding-top: 52px; }
  .hero__grid, .filter-promo__grid, .ledger-promo__grid, .receivables, .tester-card { grid-template-columns: 1fr; }
  .hero__grid { gap: 36px; }
  .phone-showcase { min-height: 880px; }
  .floating-card--top { left: 3%; }
  .floating-card--bottom { right: 3%; }
  .feature-grid { grid-template-columns: 1fr; }
  .ledger-promo__grid { gap: 48px; }
  .filter-promo__grid { gap: 46px; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-bottom: 34px; }
  .tester-card { padding: 34px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header__inner { min-height: 62px; }
  .brand { font-size: 1.08rem; }
  .brand__mark { width: 32px; height: 32px; }
  .site-nav__cta { padding: 8px 12px; font-size: .78rem; }
  .hero { padding: 42px 0 56px; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.2rem); }
  .hero__lead { font-size: .96rem; }
  .hero__actions .button { width: 100%; }
  .phone-showcase { min-height: 0; }
  .phone-frame { width: min(390px, 92vw); border-radius: 37px; }
  .phone-frame img { border-radius: 29px; }
  .phone-showcase__notes { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(390px, 92vw); margin-top: 12px; }
  .floating-card { position: static; min-width: 0; padding: 11px 13px; box-shadow: 0 10px 24px rgba(17,40,33,.1); }
  .trust-strip__grid { grid-template-columns: 1fr; padding: 8px 0; }
  .trust-strip p { padding: 14px 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip p:last-child { border-bottom: 0; }
  .trust-strip strong, .trust-strip span { display: inline; }
  .trust-strip span::before { content: " · "; }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 32px; }
  .feature-card { padding: 24px; border-radius: 20px; }
  .filter-benefits li { grid-template-columns: 1fr; gap: 4px; }
  .receivables { gap: 40px; }
  .matching-demo { padding: 17px; border-radius: 20px; }
  .invoice-card > div, .ledger-card > div { align-items: flex-start; }
  .invoice-card strong, .ledger-card strong { text-align: right; }
  .tester-card { gap: 36px; padding: 26px 20px; border-radius: 22px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer__company { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
