:root {
  color-scheme: light;
  --paper: #f5f6f8;
  --ink: #121722;
  --muted: #525c6d;
  --blue: #2146eb;
  --blue-deep: #122db7;
  --line: #dce0e8;
  --header-height: 4.65rem;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { display: flex; flex-direction: column; min-height: 100svh; margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
main { flex: 1; }
section[id] { scroll-margin-top: var(--header-height); }

.wrap { width: min(100% - 9rem, 74rem); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 8; padding: .75rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.header { position: fixed; z-index: 5; inset: 0 0 auto; background: #f7f8faed; backdrop-filter: blur(12px); }
.header-inner { width: min(100% - 6rem, 86rem); display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 1rem; }
.brand { display: inline-grid; place-items: center; min-height: 2.75rem; }
.brand img { width: 3.6rem; height: auto; }
.header-nav { display: flex; gap: clamp(1.2rem, 3.3vw, 3.1rem); align-items: center; }
.header-nav a { display: inline-flex; align-items: center; min-height: 2.6rem; font-size: .93rem; font-weight: 720; text-decoration: none; white-space: nowrap; }
.header-nav .nav-contact { color: var(--blue-deep); text-decoration: underline; text-underline-offset: .42em; }
.header-nav a:hover { color: var(--blue); }

.hero { overflow: clip; background: linear-gradient(115deg, #f8f9fa 25%, #eff2f6 100%); }
.hero-inner { min-height: max(38rem, 100svh); position: relative; display: grid; align-items: center; isolation: isolate; }
.hero-copy { z-index: 1; width: fit-content; position: relative; padding: calc(var(--header-height) + 3rem) 0 4.5rem; }
.hero-label { margin-bottom: 1.2rem; color: var(--muted); font-size: .94rem; font-weight: 720; animation: text-reveal .48s ease-out .03s both; }
.hero h1 { margin-bottom: 2rem; font-size: clamp(3.65rem, 7.4vw, 7.7rem); font-weight: 900; letter-spacing: -.09em; line-height: 1.1; word-break: keep-all; }
.hero h1 span { display: block; animation: text-reveal .62s cubic-bezier(.2, .65, .2, 1) .13s both; }
.hero h1 em { display: block; margin-left: clamp(.45rem, 5vw, 5rem); color: var(--blue); font-style: normal; animation: text-reveal .62s cubic-bezier(.2, .65, .2, 1) .26s both; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.35rem; padding: .65rem 1.35rem; border-radius: .32rem; font-size: 1rem; font-weight: 750; text-decoration: none; transition: background .18s; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-deep); }
.hero-art { position: absolute; width: min(59%, 44rem); right: -2.9rem; z-index: 0; margin-top: 3rem; animation: art-in .75s ease both; }
.hero-art img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, transparent, #000 9% 87%, transparent), linear-gradient(to right, transparent, #000 13% 92%, transparent);
  mask-composite: intersect;
}
.scroll-cue { position: absolute; z-index: 1; right: 0; bottom: 1.6rem; color: var(--muted); font-size: .9rem; font-weight: 680; padding: .6rem .3rem; text-underline-offset: .32em; }
@keyframes text-reveal { from { opacity: 0; transform: translateY(-1rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-in { from { opacity: 0; translate: .55rem .25rem; } to { opacity: 1; translate: 0; } }
.reveal-pending:is(h2, h3), .reveal-pending > :is(h2, h3, p) { opacity: 0; }
.reveal-started:is(h2, h3), .reveal-started > :is(h2, h3, p) { animation: text-reveal .58s cubic-bezier(.2, .65, .2, 1) both; }
.reveal-started > h3 { animation-delay: .09s; }
.reveal-started > p:not(:first-child) { animation-delay: .15s; }
.reveal-started > p.feature-description { animation-delay: .21s; }

.brand-section { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr 2.3fr; gap: 1.4rem 2rem; align-items: start; padding-block: clamp(5.3rem, 11vw, 10rem); }
.section-label { color: var(--blue-deep); font-size: .95rem; font-weight: 770; padding-top: .55rem; }
.about-inner h2, .contact h2, .consultation h2 { font-size: clamp(2.65rem, 5.25vw, 5.6rem); line-height: 1.15; letter-spacing: -.082em; font-weight: 870; word-break: keep-all; }
.about-summary { margin-top: 1.4rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.75; word-break: keep-all; }

.brand-scene { width: min(100% - 5rem, 84rem); height: clamp(22rem, 34vw, 30rem); margin-inline: auto; position: relative; isolation: isolate; display: grid; place-items: center; overflow: clip; background: #070d22; }
.scene-light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 65% 70%, #2746c982, transparent 55%), radial-gradient(ellipse at 34% 46%, #0b1c6a, transparent 53%), #070d22; }
.scene-art { width: min(60vw, 35rem); aspect-ratio: 1.55; position: relative; transform: rotate(-14deg); }
.scene-art i { position: absolute; width: 43%; aspect-ratio: 1.12; border: clamp(.8rem, 2.55vw, 2.3rem) solid #85a3ff; border-radius: 21%; box-shadow: inset 2px 0 9px #eff4ff, 0 0 3rem #254cf280, 12px 9px 0 #152878; transform: skewX(-8deg); }
.scene-art i:nth-child(1) { left: 8%; top: 39%; border-color: #4b6de9; }
.scene-art i:nth-child(2) { left: 27%; top: 7%; border-color: #b4c5ff; }
.scene-art i:nth-child(3) { left: 51%; top: 32%; border-color: #668cff; }
@supports (animation-timeline: view()) {
  .scene-art { animation: scene-arrival linear both; animation-timeline: view(); animation-range: entry 10% cover 62%; }
  @keyframes scene-arrival { from { translate: 4% 10%; rotate: 9deg; } to { translate: 0 0; rotate: 0deg; } }
}

.guide, .consultation { background: #fff; }
.guide-inner { padding-block: clamp(4.4rem, 9vw, 8.5rem); }
.guide h2 { margin-bottom: 1.45rem; font-size: clamp(1.5rem, 2.85vw, 2.65rem); letter-spacing: -.057em; }

.contact { color: #fff; background: #101835; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-block: clamp(5rem, 12vw, 10rem); }
.contact-link { justify-self: start; border: 1px solid #919ed4; }
.contact-link:hover { background: #25346a; }
.contact-link:focus-visible { outline-color: #bbc8ff; }

.consultation-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: clamp(1.5rem, 6vw, 6rem); padding-block: clamp(4.5rem, 10vw, 10rem); }
.contact-card { display: grid; gap: .65rem; padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: .38rem; background: var(--paper); }
.contact-card h3 { font-size: clamp(1.25rem, 2.15vw, 1.85rem); letter-spacing: -.045em; font-weight: 800; word-break: keep-all; }
.contact-card p { color: var(--muted); line-height: 1.6; word-break: keep-all; }
.contact-card .button { margin-top: .85rem; }

.footer { border-top: 1px solid var(--line); background: #eef1f5; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.footer .brand img { width: 4.5rem; }
.back-top { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .9rem; text-underline-offset: .3em; }
.footer-notice { color: var(--muted); font-size: .9rem; line-height: 1.75; word-break: keep-all; }
.footer-notice .wrap { border-top: 1px solid #cfd5df; padding-block: 1.4rem 2rem; }
.footer-notice p { max-width: 70ch; }
.footer-notice strong { display: block; margin-bottom: .3rem; color: var(--ink); }

.brand-scene { perspective: 900px; }
.scene-art { transform-style: preserve-3d; }
.scene-art i { animation: frame-float 9s ease-in-out infinite alternate; }
.scene-art i:nth-child(2) { animation-delay: -3s; }
.scene-art i:nth-child(3) { animation-delay: -6s; }
.brand-scene.paused .scene-art, .brand-scene.paused i { animation-play-state: paused; }
@keyframes frame-float {
  from { transform: translateZ(-12px) rotateY(-12deg) rotateX(9deg) skewX(-8deg); }
  to { transform: translateZ(24px) rotateY(15deg) rotateX(-8deg) skewX(-8deg); }
}
.motion-toggle { position: absolute; right: 1.25rem; bottom: 1.25rem; min-height: 2.75rem; padding: .4rem .8rem; border: 1px solid #8c9cda; border-radius: .28rem; background: #101835; color: #fff; font: inherit; font-size: .875rem; cursor: pointer; }
.motion-toggle:focus-visible { outline-color: #bbc8ff; }

.feature-inner { padding-block: clamp(4.4rem, 9vw, 8.5rem); }
#functions { background: #f5f6f8; }
.section-head { margin-bottom: 2rem; }
.section-head .section-label { margin-bottom: .55rem; }
.section-head h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.18; letter-spacing: -.078em; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature-card { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5.5rem); min-width: 0; padding-block: clamp(2.75rem, 6vw, 5.75rem); border-top: 1px solid var(--line); }
.feature-card:last-child { padding-bottom: 0; }
.feature-card.direction .feature-copy { grid-column: 1; grid-row: 1; }
.feature-card.direction .feature-art { grid-column: 2; }
.feature-art { isolation: isolate; }
.feature-art img { width: 100%; height: auto; mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 10% 91%, transparent), linear-gradient(to bottom, transparent, #000 10% 91%, transparent); mask-composite: intersect; }
.feature-card h3 { margin: .65rem 0 1.1rem; font-size: clamp(2.25rem, 4.65vw, 4.85rem); line-height: 1.1; letter-spacing: -.09em; }
.feature-tagline { color: var(--ink); font-size: clamp(1.2rem, 2.3vw, 2.15rem); font-weight: 770; letter-spacing: -.055em; line-height: 1.35; word-break: keep-all; }
.feature-description, .edition p { color: var(--muted); font-size: 1rem; line-height: 1.65; word-break: keep-all; }
.feature-description { margin-top: .9rem; }
.edition { display: grid; grid-template-columns: max-content max-content 1fr; align-items: start; gap: 0 1.25rem; margin: 1.65rem 0 .55rem; }
.edition::after { content: ""; grid-area: 1 / 1 / 2 / -1; align-self: end; height: 1px; background: #cfd5df; }
.edition input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.edition label { z-index: 1; grid-row: 1; grid-column: 1; display: inline-grid; align-items: center; min-width: 2.75rem; min-height: 2.75rem; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 680; cursor: pointer; }
.edition input:nth-of-type(2) + label { grid-column: 2; }
.edition input:checked + label { border-bottom-color: var(--blue); color: var(--blue-deep); }
.edition input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.edition > div { display: none; grid-row: 2; grid-column: 1 / -1; min-height: 6rem; padding-top: .95rem; }
.edition p { margin-top: .3rem; }
.edition input:first-of-type:checked ~ .edition-basic, .edition input:nth-of-type(2):checked ~ .edition-expanded { display: block; }
.detail-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-deep); font-weight: 750; text-underline-offset: .32em; }
.feature-detail { padding-inline: .85rem; border: 1px solid #aab8d1; border-radius: .35rem; text-decoration: none; }
.feature-detail:hover { background: #eaf0fd; border-color: var(--blue); }
.principles { background: #eaf0fd; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.principles-grid p, .support-list li { padding-top: 1rem; border-top: 1px solid #bdc9df; word-break: keep-all; }
.principles-grid strong, .support-list strong { display: block; margin-bottom: .45rem; }
.principles-grid span, .support-list span { display: block; color: var(--muted); line-height: 1.65; }
.support-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding: 0; margin: 0 0 1.2rem; list-style: none; }
.contact-inner p { margin-top: .85rem; color: #d6dff7; line-height: 1.6; word-break: keep-all; }
.contact-actions { display: grid; gap: .7rem; }
.contact-actions .button { justify-self: stretch; }
.light-button { border: 1px solid #fff; background: #fff; color: #101835; }
.light-button:hover { background: #dfe7fd; }
.light-button:focus-visible { outline-color: #bbc8ff; }
.chat-link { margin-top: .6rem; }
.contact-card { min-width: 0; }
.lead-fields { display: grid; gap: .45rem; min-width: 0; padding: 0; margin: .6rem 0 0; border: 0; }
.lead-fields > label:not(.consent, .bot-field) { margin-top: .35rem; font-size: .93rem; font-weight: 740; }
.lead-fields input:not([type=checkbox], [type=hidden]), .lead-fields select { min-width: 0; width: 100%; min-height: 3rem; padding: .55rem .75rem; border: 1px solid #bdc8da; border-radius: .28rem; background: #fff; color: var(--ink); font: inherit; }
.lead-fields select { appearance: none; padding-right: 2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23364666' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .7rem center; }
.consent-copy { margin-top: .85rem; color: var(--muted); font-size: .87rem; line-height: 1.55; word-break: keep-all; }
.consent { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-size: .92rem; cursor: pointer; }
.consent input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--blue); }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button.button { border: 0; font-family: inherit; cursor: pointer; }
button.button:disabled { opacity: .65; cursor: wait; }
.form-status { padding: .85rem; border-radius: .28rem; }
.form-status[data-outcome=success] { background: #e5f2e9; color: #124a30; }
.form-status[data-outcome=error] { background: #fce9e7; color: #8b2522; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.35rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; text-underline-offset: .3em; }

.details { padding: calc(var(--header-height) + 3.25rem) 0 4.5rem; background: #fff; }
.details h1 { font-size: clamp(2.65rem, 6vw, 5.2rem); line-height: 1.12; letter-spacing: -.08em; }
.details-section { padding-top: 3.8rem; }
.details-section h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3.3vw, 2.85rem); letter-spacing: -.05em; }
.details-grid article { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: #f5f7fa; }
.details-grid ul { padding-left: 1.2rem; margin: .7rem 0 0; color: var(--muted); line-height: 1.75; word-break: keep-all; }
.policy-list { margin-bottom: 1.25rem; }
.policy-list details { padding: .9rem 0; border-top: 1px solid var(--line); }
.policy-list details:last-child { border-bottom: 1px solid var(--line); }
.policy-list summary { padding: .3rem .1rem; font-weight: 750; cursor: pointer; }
.policy-list p { padding: .35rem 0 .1rem 1rem; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.inbox { display: grid; gap: 1rem; }
.inbox article { display: grid; gap: .55rem; padding: 1rem; border: 1px solid var(--line); overflow-wrap: anywhere; }
.inbox article form { margin-top: .45rem; }
.muted { color: var(--muted); }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 3rem); }
  .hero h1 { font-size: clamp(3.2rem, 7.35vw, 5.3rem); }
  .hero-art { right: -1.5rem; width: 58%; }
  .brand-scene { width: calc(100% - 3rem); }
}

@media (max-width: 680px) {
  :root { --header-height: 4rem; }
  .wrap, .brand-scene { width: calc(100% - 2.25rem); }
  .brand img { width: 3rem; }
  .header-nav { gap: .95rem; }
  .header-nav a { font-size: .84rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: calc(var(--header-height) + 3rem) 0 0; }
  .hero-label { margin-bottom: .8rem; }
  .hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 10.5vw, 4.65rem); }
  .hero h1 em { margin-left: .5rem; }
  .button { min-height: 3rem; padding-inline: 1rem; font-size: .95rem; }
  .hero-art { position: relative; width: min(100%, 25rem); margin: .45rem auto 0; right: auto; }
  .scroll-cue { position: static; justify-self: end; margin-bottom: .65rem; }
  .about-inner, .contact-inner, .consultation-inner { grid-template-columns: 1fr; }
  .about-inner, .guide-inner, .contact-inner, .consultation-inner { padding-block: 3.6rem; }
  .about-inner h2, .contact h2, .consultation h2 { font-size: clamp(2.1rem, 7.6vw, 3rem); }
  .brand-scene { height: auto; aspect-ratio: 1.75; }
  .scene-art { width: 72%; }
  .motion-toggle { right: .65rem; bottom: .65rem; }
  .feature-card, .details-grid, .principles-grid { grid-template-columns: 1fr; }
  .feature-card { gap: .4rem; padding-block: 1.4rem 2.7rem; }
  .feature-card.direction .feature-art, .feature-card.direction .feature-copy { grid-area: auto; }
  .feature-art { max-width: 26rem; margin-inline: auto; }
  .support-list { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; }
  .footer-nav { gap: .15rem 1rem; justify-content: flex-end; }
  .footer-notice { font-size: .86rem; }
}

@media (max-width: 355px) {
  .header-nav { gap: .7rem; }
  .header-nav a { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal-pending:is(h2, h3), .reveal-pending > :is(h2, h3, p) { opacity: 1; }
}
