/* Public marketing pages: quieter emphasis, with the existing content and controls. */
body.figma-site-style.calm-design {
  --figma-paper: #ffffff;
  --figma-surface: #ffffff;
  --figma-paper-deep: #f6f7f8;
  --figma-alt: #f6f7f8;
  --figma-frame: #f0f2f4;
  --figma-muted: #4b5563;
  --figma-line: #dbe0e4;
  --figma-pale: #f1f3ee;
  background-color: #fff;
  color: var(--figma-ink);
}
body.figma-site-style.calm-design::selection,
body.figma-site-style.calm-design ::selection {
  background: #dce6d4;
  color: var(--figma-ink);
}
body.figma-site-style.calm-design header:has(#menu-button) {
  background: var(--figma-paper);
}
body.figma-site-style.calm-design header nav[aria-label="주요 메뉴"] {
  font-weight: 500;
}
body.figma-site-style.public-page.calm-design:not(.site-refresh) main h1 {
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.025em;
}
body.figma-site-style.public-page.calm-design:not(.site-refresh) main :is(h2, h3) {
  font-weight: 650;
}
body#top.figma-simple-style.calm-design main .page-view :is(h1, h2, h3, h4) {
  font-weight: 650;
}
body#top.figma-simple-style.calm-design :is(#page-about, #page-care, #page-services, #page-templates, #page-work, #page-showcase, #page-faq, #page-contact, #channels) h2,
body#top.calm-design #home-service-title {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 650;
  letter-spacing: -.025em;
}

/* Keep the introduction compact and let the actual customer work provide the color. */
body#top.calm-design #hero .home-intro-copy h1 {
  color: var(--figma-ink);
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 650;
  letter-spacing: -.025em;
}
body#top.calm-design #hero .hero-style-emphasis {
  color: inherit;
}
body#top.calm-design #hero .home-intro-copy > p:first-of-type {
  color: var(--figma-muted);
}
body#top.calm-design #hero .home-intro-price {
  color: var(--figma-ink);
  font-size: 26px;
  font-weight: 600;
}
body#top.calm-design #hero :is(.home-intro-consult, .home-intro-link) {
  font-weight: 600;
}
body#top.calm-design .home-intro-paths strong {
  font-weight: 600;
}
body#top.figma-simple-style.calm-design #hero figure[data-work-hero] {
  border: 1px solid var(--figma-line);
  box-shadow: none;
}
body#top.figma-simple-style.calm-design #showcase > div > div[class~="border"],
body#top.figma-simple-style.calm-design #showcase .rounded-b-2xl,
body.figma-site-style.calm-design.public-case main figure:is(.shadow-lg, .shadow-sm) {
  box-shadow: none;
}

/* Amounts stay prominent through size and alignment, rather than competing colors. */
body#top.calm-design #pricing-cards [data-price-show][hidden] {
  display: none !important;
}
body#top.calm-design #pricing-cards .plan-price > span:first-child {
  color: var(--figma-ink);
  font-size: clamp(30px, 2.5vw, 36px);
  font-weight: 650;
  letter-spacing: -.025em;
}
body#top.calm-design #pricing-cards .plan-price-subtotal > span:first-child {
  font-size: 18px;
}
body#top.calm-design #pricing-cards .plan-charge-total,
body#top.calm-design #hero-plans .one-price > p:first-child {
  color: var(--figma-ink);
  font-weight: 650;
}
body#top.figma-simple-style.calm-design :is(#pricing-cards, #hero-plans) > article > .absolute {
  border: 1px solid var(--figma-line);
  background: var(--figma-paper);
  color: var(--figma-ink);
  font-weight: 500;
}
body#top.figma-simple-style.calm-design #pricing-cards span.rounded.bg-amber-700 {
  color: var(--figma-muted);
  font-weight: 500;
}
body#top.figma-simple-style.calm-design #pricing-common > div {
  background: #fff;
}
/* A fine boundary keeps comparison and contact cards distinct on the white page. */
body#top.figma-simple-style.calm-design #pricing-cards > article,
body#top.figma-simple-style.calm-design #contact .contact-options > :is(a, .contact-phone) {
  border: 1px solid var(--figma-line);
}
body.figma-site-style.calm-design .geo-plan-summary {
  border: 1px solid var(--figma-line);
}
body.figma-site-style.public-page.calm-design .geo-pricing :is(.geo-plan-price, .geo-calculator-total strong, .geo-price-table td),
body.figma-site-style.public-page.calm-design .geo-lead strong,
body.figma-site-style.public-page.calm-design .service-offer .offer-cost strong {
  color: var(--figma-ink);
}
body.figma-site-style.public-page.calm-design .geo-pricing :is(.geo-plan-price, .geo-calculator-total strong) {
  font-weight: 650;
  letter-spacing: -.025em;
}

/* Contact details use the same paper-and-white surfaces as the rest of the site. */
body#top.figma-simple-style.calm-design #contact > div:first-child {
  background: transparent;
  color: var(--figma-ink);
}
body#top.figma-simple-style.calm-design #contact > div:first-child > .relative > :is(p, div) > :is(p.font-bold, h2),
body#top.figma-simple-style.calm-design #contact > div:first-child > .relative > p {
  color: var(--figma-ink);
}
body#top.figma-simple-style.calm-design #contact > div:first-child :is(.text-stone-950\/70, .text-stone-950\/60, .text-stone-900\/55) {
  color: var(--figma-muted);
}
body#top.calm-design #contact .relative > .mt-16 {
  margin-top: 0;
}
body#top.figma-simple-style.calm-design #contact .contact-options > a:focus-visible {
  outline-color: var(--figma-accent);
}

/* Custom service copy uses the same readable secondary color as the shared UI. */
body.figma-site-style.calm-design :is(.service-products-intro, .service-product-summary > p, .service-products-note,
  .geo-breadcrumb, .geo-note, .geo-answer, .geo-plan-description, .geo-plan-spec, .geo-plan-first,
  .geo-price-detail, .geo-fact-list dd, .geo-direct-answer, .geo-table-hint,
  .it-info-breadcrumb, .it-info-breadcrumb a, .it-info-hero > p:last-child, .it-info-count-total,
  .it-info-card-summary, .it-info-card-meta, .it-info-empty p, .it-info-article-summary,
  .it-info-article-meta, .it-info-sources > p, .it-info-sources ol, .it-info-sources li > p,
  .it-info-related-card h3 + p),
body.figma-site-style.calm-design .geo-pricing :is(.geo-disclosure-hint, .geo-value-summary span,
  .geo-calculator-total > span:last-child, .geo-calculator-breakdown dt,
  .geo-scope-steps p:not(.geo-eyebrow), .geo-proof-list p:not(.geo-eyebrow)) {
  color: var(--figma-muted);
}
body.figma-site-style.calm-design :is(.it-info-cover-category, .it-info-cover-brand) {
  opacity: 1;
}
body.figma-site-style.public-page.calm-design:not(.site-refresh) main :is(input, textarea):not(:disabled)::placeholder,
body#top.calm-design main .page-view :is(input, textarea):not(:disabled)::placeholder {
  color: var(--figma-muted);
  opacity: 1;
}

/* Only ornamental hover motion is removed; carousels and disclosure states keep their behavior. */
body#top.calm-design #contact .contact-options > a:is(:hover, :active),
body#top.calm-design :is(#hero, #work, #showcase) .group:hover img {
  transform: none;
  scale: none;
  translate: none;
}

/* Work previews have one action: open the actual website. */
body#top.calm-design #hero .home-case-controls:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--figma-line);
}
body#top.calm-design #hero .home-case-controls > .home-case-track {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}
body#top.calm-design #hero .home-case-controls .home-case-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 24px;
  min-height: 44px;
  padding: 0 3px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
body#top.calm-design #hero .home-case-step-line {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--figma-line);
  transition: background-color .2s;
}
body#top.calm-design #hero .home-case-step-line.is-current {
  background: var(--figma-ink);
}
body#top.calm-design #hero .home-case-controls .home-case-count {
  color: var(--figma-muted);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  white-space: nowrap;
}
body#top.calm-design #hero .home-case-controls > .home-case-navigation {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: #f2f4f5;
}
body#top.calm-design #hero .home-case-controls :is(.home-case-arrow, .home-case-play) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--figma-ink);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
body#top.calm-design #hero .home-case-controls .home-case-arrow:hover {
  background: #e6eaed;
}
body#top.calm-design #hero .home-case-controls .home-case-play {
  margin-left: -8px;
  color: var(--figma-muted);
}
body#top.calm-design #hero .home-case-controls .home-case-play:is(:hover, [aria-pressed="true"]) {
  color: var(--figma-accent);
  background: var(--figma-pale);
}
body#top.calm-design #hero .home-case-controls button:focus-visible {
  outline: 2px solid var(--figma-accent);
  outline-offset: 2px;
}
body#top.calm-design #hero .home-case-controls svg {
  width: 18px;
  height: 18px;
}
body#top.calm-design #hero .home-case-controls svg[hidden] {
  display: none;
}
@container home-proof (max-width: 440px) {
  body#top.calm-design #hero .home-case-controls > .home-case-track {
    display: none;
  }
  body#top.calm-design #hero .home-case-controls .home-case-count {
    margin-right: auto;
  }
}
body#top.calm-design #work {
  background: #fff;
}
body#top.calm-design #work-list.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
body#top.calm-design #work-list > li {
  min-width: 0;
}
body#top.calm-design .work-preview-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--figma-line);
  border-radius: 12px;
  background: #fff;
}
body#top.calm-design .work-preview-link:hover {
  border-color: var(--figma-accent);
}
body#top.calm-design .work-preview-link:focus-visible {
  outline: 2px solid var(--figma-accent);
  outline-offset: 4px;
}
body#top.calm-design :is(#work-list, .home-case-list) .work-preview-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border: 0;
  border-radius: 0;
}
@media (max-width: 1023px) {
  body#top.calm-design #work-list.work-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  body#top.calm-design #work-list.work-preview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  body.figma-site-style.public-page.calm-design:not(.site-refresh) main h1 {
    font-size: clamp(28px, 7.2vw, 32px);
  }
  body#top.calm-design #hero .home-intro-copy h1 {
    font-size: clamp(27px, 7.5vw, 32px);
    line-height: 1.4;
  }
  body#top.calm-design #hero .home-intro-price {
    font-size: 24px;
  }
  body#top.figma-simple-style.calm-design :is(#page-about, #page-care, #page-services, #page-templates, #page-work, #page-showcase, #page-faq, #page-contact, #channels) h2,
  body#top.calm-design #home-service-title {
    font-size: clamp(27px, 7.2vw, 32px);
  }
}
