/* Generated by tools/build-design-system.mjs — do not edit by hand. */
/* Site: 생활계산노트 (dailycostnote) · Reference: DESIGN-wise + DESIGN-notion */

/* Geist fonts — generated for portfolio static sites. */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-100-900.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-100-900.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


:root {
  --site-brand-primary: #123c35;
  --site-bg: #f6f3ea;
  --site-surface: #ffffff;
  --site-surface-soft: #edf4ef;
  --site-ink: #111815;
  --site-muted: #59645f;
  --site-line: #d7ddd6;
  --site-accent: #126b5f;
  --site-accent-strong: #0b4d44;
  --site-link: #0b4d44;
  --site-note: #fff3cf;
  --site-footer-bg: #101815;
  --site-footer-text: #f5f0e4;
  --site-radius: 18px;
  --site-font: Geist, Inter, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

/* Open Design token bridge — maps site theme vars to legacy component hooks. */
:root {
  --brand-color-primary: var(--site-brand-primary);
  --brand-color-link: var(--site-link);
  --brand-color-bg-container: var(--site-surface);
  --brand-color-bg-layout: var(--site-bg);
  --brand-color-text: var(--site-ink);
  --brand-color-text-tertiary: var(--site-muted);
  --brand-color-border: var(--site-line);
  --brand-border-radius: var(--site-radius);
}


/* Shared portfolio component layer — uses --site-* theme variables. */
body {
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: var(--site-font);
  line-height: 1.58;
}

a {
  color: var(--site-link);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: none;
}

.header-inner {
  min-height: 72px;
  padding: 0.75rem 0;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--site-accent);
  color: var(--site-ink);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--site-ink);
  font-weight: 700;
}

.home-hero,
.page-hero,
.hero {
  background: var(--site-hero-bg, var(--site-bg));
  color: var(--site-hero-text, inherit);
  border-bottom: 0;
}

.home-hero,
.hero {
  padding: 4.5rem 0 3.5rem;
}

.page-hero.compact {
  padding: 3.5rem 0 2.5rem;
}

.home-hero .lead,
.home-hero .eyebrow,
.home-hero .card-kicker,
.hero .lead,
.hero .kicker {
  color: var(--site-hero-muted, var(--site-muted));
}

.home-hero a,
.hero a {
  color: var(--site-hero-link, var(--site-link));
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.lead {
  color: var(--site-muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.eyebrow,
.card-kicker,
.kicker {
  color: var(--site-accent-strong);
  letter-spacing: 0.08em;
}

.button {
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--site-ink);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--site-accent);
  background: var(--site-accent);
  color: var(--site-button-primary-text, var(--site-ink));
}

.button.secondary {
  border-color: var(--site-ink);
  background: var(--site-surface);
  color: var(--site-ink);
}

.insight-panel,
.side-box,
.card,
.feature-card,
.result-panel,
.calculator-form,
.answer-box,
.workflow-grid article,
.proof-grid article,
.category-card,
.search-panel,
.starter-card,
.page-toc,
.trust-box,
.trust-grid div,
.calculator-next-actions,
.asset-box,
.toc-box,
.note-card,
.tool-panel,
.result-card,
.plant-card {
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  box-shadow: none;
  background: var(--site-surface);
}

.card,
.feature-card,
.workflow-grid article,
.proof-grid article,
.category-card,
.starter-card,
.asset-box,
.note-card,
.plant-card {
  padding: 1.35rem;
}

.feature-card:nth-child(2n),
.category-card:nth-child(2n),
.starter-card:nth-child(2n) {
  background: var(--site-surface-soft);
}

.intro-strip {
  border: 0;
  border-radius: calc(var(--site-radius) - 4px);
  background: var(--site-note);
}

.section-heading {
  margin-top: 4rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
}

.content-layout {
  padding-top: 3rem;
}

.content-main h2 {
  padding-left: 0;
  border-left: 0;
  font-size: 1.7rem;
  font-weight: 900;
}

.answer-box,
.result-panel {
  background: var(--site-surface-soft);
  border-color: transparent;
}

.table-wrap {
  border: 0;
  border-radius: calc(var(--site-radius) - 4px);
}

th {
  background: var(--site-surface-soft);
}

.calculator-form {
  border-top: 0;
  padding: 1.4rem;
}

input[type="number"],
input[type="date"],
input[type="text"],
input[type="email"],
input[type="search"],
.search-row input,
.search-box input,
.filter-bar input,
.filter-bar select,
.tool-panel input,
.tool-panel select {
  min-height: 48px;
  border: 1px solid var(--site-ink);
  border-radius: calc(var(--site-radius) - 8px);
}

details {
  border: 1px solid var(--site-line);
  border-radius: calc(var(--site-radius) - 4px);
  padding: 1rem 1.1rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 0;
  background: var(--site-footer-bg);
  color: var(--site-footer-text);
  padding: 3rem 0;
}

.site-footer a,
.site-footer .fine-print,
.site-footer .footer-links a {
  color: var(--site-footer-text);
}

@media (max-width: 640px) {
  .home-hero,
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .site-nav a {
    padding: 0.35rem 0.2rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .section-heading {
    margin-top: 3rem;
  }
}

/* Calculator-first product polish for DailyCostNote-style content sites. */
:root {
  --site-shadow-sm: 0 12px 30px rgba(20, 36, 31, 0.06);
  --site-shadow-md: 0 18px 48px rgba(20, 36, 31, 0.1);
  --site-shadow-lg: 0 28px 72px rgba(20, 36, 31, 0.14);
  --site-focus: rgba(18, 107, 95, 0.28);
}

html {
  background: var(--site-bg);
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(18, 107, 95, 0.13), transparent 26rem),
    radial-gradient(circle at 88% 6%, rgba(214, 155, 47, 0.12), transparent 23rem),
    linear-gradient(180deg, #fbfaf5 0%, var(--site-bg) 36rem, #faf8f1 100%);
  letter-spacing: -0.005em;
}

a {
  text-decoration-thickness: 0.075em;
}

:focus-visible {
  outline: 3px solid var(--site-focus);
  outline-offset: 3px;
}

.site-header {
  background: rgba(250, 249, 244, 0.9);
  border-bottom-color: rgba(17, 24, 21, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand-mark {
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, var(--site-accent-strong), var(--site-accent));
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 77, 68, 0.2);
}

.site-nav {
  gap: 0.15rem;
}

.site-nav a {
  border: 1px solid transparent;
  color: #46524d;
  font-size: 0.925rem;
}

.site-nav a:hover {
  border-color: rgba(18, 107, 95, 0.16);
  background: rgba(237, 244, 239, 0.9);
  color: var(--site-accent-strong);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.75rem, 6.2vw, 6.9rem) 0 clamp(3rem, 5vw, 5.25rem);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 235, 0.88) 52%, rgba(232, 243, 237, 0.92)),
    var(--site-bg);
  border-bottom: 1px solid rgba(17, 24, 21, 0.08);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 107, 95, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 95, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  gap: clamp(2rem, 4.8vw, 5rem);
}

.home-hero .eyebrow,
.section-heading .eyebrow,
.card-kicker,
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  color: var(--site-accent-strong);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.home-hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  letter-spacing: -0.06em;
}

.home-hero .lead {
  max-width: 46rem;
  margin-top: 1.05rem;
  color: #46524d;
  font-size: clamp(1.08rem, 1.4vw, 1.23rem);
}

.hero-actions {
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.button {
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button.primary {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(135deg, var(--site-accent-strong), var(--site-accent));
  color: #fff;
  box-shadow: 0 14px 26px rgba(11, 77, 68, 0.22);
}

.button.secondary {
  border-color: rgba(11, 77, 68, 0.28);
  background: rgba(255, 255, 255, 0.86);
  color: var(--site-accent-strong);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--site-shadow-sm);
}

.button:active {
  transform: translateY(0);
}

.insight-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  border: 1px solid rgba(17, 24, 21, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 10%, rgba(18, 107, 95, 0.14), transparent 17rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 248, 0.98));
  box-shadow: var(--site-shadow-lg);
}

.insight-panel::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 0.55rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, #2ac07c 0 32%, transparent 35%) 0 0 / 0.75rem 0.55rem repeat-x;
  opacity: 0.9;
}

.insight-panel > * {
  position: relative;
  z-index: 1;
}

.hero-snapshot {
  margin-bottom: 1.2rem;
  border-color: rgba(17, 24, 21, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #fff, #edf4ef);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 12px 32px rgba(20, 36, 31, 0.08);
}

.insight-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
}

.insight-panel ol {
  margin-bottom: 0;
  padding-left: 1.35rem;
}

.insight-panel li {
  margin: 0.38rem 0;
  color: #39443f;
}

.mini-metrics span {
  border: 1px solid rgba(18, 107, 95, 0.1);
  border-radius: 16px;
  background: rgba(237, 244, 239, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mini-metrics strong {
  color: var(--site-accent-strong);
  font-size: 1.58rem;
  letter-spacing: -0.04em;
}

.intro-strip {
  margin-top: 1.6rem;
  padding: 1.1rem 1.25rem;
  border-color: rgba(191, 141, 44, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 243, 207, 0.96), rgba(255, 250, 236, 0.96));
  box-shadow: 0 10px 24px rgba(118, 75, 9, 0.05);
}

.section-heading {
  margin: clamp(3.75rem, 6vw, 5.5rem) 0 1.35rem;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 68rem;
}

.card,
.feature-card,
.workflow-grid article,
.proof-grid article,
.category-card,
.starter-card,
.search-panel,
.page-toc,
.trust-box,
.calculator-form,
.result-panel,
.answer-box,
.side-box,
.tool-panel,
.result-card,
.plant-card {
  border-color: rgba(17, 24, 21, 0.1);
  border-radius: 22px;
  box-shadow: var(--site-shadow-sm);
}

.card,
.feature-card,
.workflow-grid article,
.proof-grid article,
.category-card,
.starter-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.card:hover,
.feature-card:hover,
.workflow-grid article:hover,
.category-card:hover,
.starter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 107, 95, 0.26);
  box-shadow: var(--site-shadow-md);
}

.card h3 a,
.feature-card h3 a,
.category-card h3 a,
.starter-card a {
  text-decoration: none;
}

.card h3 a:hover,
.feature-card h3 a:hover,
.category-card h3 a:hover,
.starter-card a:hover {
  text-decoration: underline;
}

.feature-card,
.category-card {
  border-top: 0;
}

.feature-card::before,
.category-card::before,
.starter-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--site-accent), rgba(214, 155, 47, 0.75));
}

.workflow-grid strong,
.starter-step {
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, var(--site-accent-strong), var(--site-accent));
  box-shadow: 0 10px 20px rgba(11, 77, 68, 0.18);
}

.category-card span {
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: var(--site-surface-soft);
  color: var(--site-accent-strong);
}

.search-panel {
  padding: clamp(1.1rem, 2vw, 1.55rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 248, 0.98));
}

input[type="number"],
input[type="date"],
input[type="text"],
input[type="email"],
input[type="search"],
.search-row input,
.search-box input,
.filter-bar input,
.filter-bar select,
.tool-panel input,
.tool-panel select {
  border-color: rgba(17, 24, 21, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

input[type="number"]:focus,
input[type="date"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
.search-row input:focus,
.search-box input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.tool-panel input:focus,
.tool-panel select:focus {
  border-color: var(--site-accent);
  outline: 0;
  box-shadow:
    0 0 0 4px var(--site-focus),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-row button,
.search-chips button {
  border-color: rgba(18, 107, 95, 0.16);
  border-radius: 999px;
  background: var(--site-surface-soft);
  color: var(--site-accent-strong);
}

.search-row button:hover,
.search-chips button:hover {
  background: rgba(18, 107, 95, 0.1);
}

.search-results a {
  border-color: rgba(17, 24, 21, 0.1);
  border-radius: 16px;
  background: #fff;
}

.search-results a:hover {
  border-color: rgba(18, 107, 95, 0.28);
  background: #f8fbf8;
}

.site-footer {
  border-top: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(18, 107, 95, 0.22), transparent 18rem),
    linear-gradient(180deg, #101815, #0c1210);
  color: var(--site-footer-text);
}

.site-footer a,
.site-footer .fine-print,
.site-footer .footer-links a {
  color: rgba(245, 240, 228, 0.84);
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.84fr);
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 2.8rem 0 2.25rem;
  }

  .home-hero h1 {
    max-width: 12.5ch;
  }

  .site-nav a {
    justify-content: flex-start;
    border-radius: 12px;
  }

  .insight-panel {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

