:root { color-scheme: light; --ink: #141b2e; --muted: #525c70; --paper: #fff; --line: #dbe1e9; --lime: #b3f466; --blue: #2855dd; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .3em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
.wrapper { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20; padding: .7rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; font-size: 1.65rem; font-weight: 760; letter-spacing: -.06em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; margin-right: .7rem; background: var(--ink); color: var(--lime); border-radius: 7px; font-size: 1.3rem; font-weight: 850; letter-spacing: 0; }
.brand-period { color: var(--blue); }
nav { display: flex; align-items: center; gap: 2rem; font-size: .875rem; font-weight: 600; }
nav a { text-decoration: none; padding-block: .55rem; }
nav a:hover { color: var(--blue); }
nav .language { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; padding-top: 4rem; padding-bottom: 4.5rem; }
.eyebrow { font-size: .875rem; letter-spacing: .12em; font-weight: 650; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 4.75rem); line-height: 1.08; letter-spacing: -.06em; margin-top: 1.7rem; font-weight: 740; }
.hero h1 span { color: var(--blue); }
.hero-intro { max-width: 470px; color: var(--muted); font-size: 1.125rem; line-height: 1.8; margin-top: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.45rem; border: 1px solid var(--ink); border-radius: 6px; text-decoration: none; font-size: .9375rem; font-weight: 600; transition: background .15s, color .15s; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--blue); border-color: var(--blue); }
.button-outline:hover { background: #edf2fd; }
.studio-panel { min-height: 440px; background: var(--ink); color: white; border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.card-label { font-size: .875rem; font-weight: 650; letter-spacing: .1em; }
.studio-panel .card-label { color: #c3cbdc; }
.studio-monogram { font-size: clamp(8rem, 15vw, 12rem); font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.studio-monogram span { color: var(--lime); }
.studio-panel p { font-size: 1.125rem; line-height: 1.55; }
.studio-strip { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; border-block: 1px solid var(--line); font-size: .875rem; font-weight: 550; color: var(--muted); }
.portfolio-section { padding-block: 5rem; }
.portfolio-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.app-card { background: #f0f3fa; border: 1px solid #e0e5ef; border-radius: 14px; padding: 2rem; }
.app-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.app-card-top img { width: 110px; height: 110px; object-fit: contain; }
.app-card h3 { margin-top: -.4rem; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1.25; }
.app-card h3 a { text-decoration: none; }
.app-card h3 a:hover { color: var(--blue); }
.app-card > p:not(.release-label) { margin-top: .7rem; color: var(--muted); max-width: 380px; }
.app-card-link { display: flex; width: fit-content; margin-top: 1.5rem; }
.next-projects { display: flex; flex-direction: column; justify-content: center; border-top: 2px solid var(--ink); padding: 2rem 1.5rem; }
.next-projects h3 { margin-top: 1.1rem; font-size: 1.8rem; letter-spacing: -.035em; line-height: 1.35; }
.next-projects p { margin-top: 1rem; color: var(--muted); line-height: 1.85; }
.product-section { padding-top: 6rem; padding-bottom: 6.5rem; }
.section-heading h2, .section-heading h1 { margin-top: .7rem; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.2; font-weight: 700; letter-spacing: -.055em; }
.product-detail { padding-top: 2rem; border-bottom: 1px solid var(--line); }
.product-detail h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
.back-apps { display: inline-block; font-size: .875rem; margin-bottom: 2rem; }
.section-intro { max-width: 620px; margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.release-label { display: inline-block; margin-top: 1.1rem; padding: .35rem .75rem; border: 1px solid #c8d0dd; font-size: .875rem; border-radius: 4px; color: #485268; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; margin-top: 3rem; align-items: center; }
.screenshots { background: #f0f3fa; border-radius: 14px; padding: 2rem 1.7rem 1.3rem; }
.screen-pair { display: flex; align-items: flex-start; gap: 1.3rem; }
.screen-pair img { min-width: 0; width: calc(50% - .65rem); border: 4px solid #202638; border-radius: 24px; box-shadow: 0 10px 25px #18213a14; }
.screen-pair img + img { margin-top: 3rem; }
figcaption { margin-top: 1.6rem; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.feature { display: flex; gap: 1.2rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.feature:first-child { padding-top: 0; }
.feature-no { color: var(--blue); font-size: .875rem; font-weight: 650; padding-top: .15rem; }
.feature h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -.025em; }
.feature p { margin-top: .4rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.medical-note { font-size: .875rem; color: var(--muted); margin-top: 1.3rem; }
.product-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1rem; font-size: .875rem; font-weight: 550; }
.product-links a:hover { color: var(--blue); }
.contact-section { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding-block: 5.5rem; }
.contact-section h2 { margin-top: 1rem; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.2; letter-spacing: -.05em; }
.contact-section p:not(.eyebrow) { color: var(--muted); max-width: 450px; margin-top: .9rem; }
.contact-email { flex-shrink: 0; font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .35em; letter-spacing: -.025em; }
.contact-email:hover { color: var(--blue); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
html[lang="ko"] .hero h1 { font-size: clamp(3rem, 5.3vw, 5rem); line-height: 1.18; letter-spacing: -.065em; word-break: keep-all; }
html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] p { word-break: keep-all; }
@media (max-width: 1000px) {
  .wrapper { width: calc(100% - 3rem); }
  .hero { gap: 2.5rem; }
  .studio-panel { min-height: 410px; padding: 1.7rem; }
  .product-grid { gap: 2.5rem; }
  nav { gap: 1.4rem; }
  .screen-pair { gap: .9rem; }
  .screen-pair img { width: calc(50% - .45rem); border-radius: 20px; border-width: 3px; }
}
@media (max-width: 760px) {
  .wrapper { width: calc(100% - 2.5rem); }
  .site-header { min-height: 90px; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
  nav { gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
  nav .nav-contact { display: none; }
  nav .language { padding-left: 1rem; }
  .hero { grid-template-columns: 1fr; padding-top: 2.3rem; padding-bottom: 2.5rem; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  html[lang="ko"] .hero h1 { font-size: clamp(2.6rem, 10.3vw, 4.6rem); }
  .hero-intro { max-width: 100%; font-size: 1.0625rem; }
  .studio-panel { min-height: 350px; max-width: 520px; width: 100%; }
  .studio-monogram { font-size: 9rem; }
  .studio-strip { justify-content: flex-start; flex-wrap: wrap; column-gap: 1.5rem; row-gap: .4rem; }
  .portfolio-section { padding-block: 3.6rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .app-card { padding: 1.5rem; }
  .next-projects { padding-inline: .25rem; }
  .product-section { padding-block: 3.6rem; }
  .product-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .screenshots { max-width: 530px; }
  .screen-pair img { border-radius: 24px; }
  .contact-section { flex-direction: column; align-items: flex-start; gap: 2rem; padding-block: 3.6rem; }
}
@media (max-width: 420px) {
  .wrapper { width: calc(100% - 2rem); }
  .wordmark { font-size: 1.45rem; }
  .brand-mark { width: 28px; height: 28px; margin-right: .5rem; }
  nav { gap: .85rem; font-size: .875rem; }
  .studio-panel { min-height: 330px; }
  .screenshots { padding: 1.5rem 1rem 1rem; }
  .screen-pair img { border-radius: 19px; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
