:root {
  --ink: #12233d;
  --muted: #52637b;
  --blue: #174acb;
  --line: #dce4ef;
  --paper: #f6f8fc;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #174acb; outline-offset: 6px; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 10; background: white; padding: 1rem; }
.skip:focus { top: 1rem; }
.wrap { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.nav { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .65rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -.065em; }
.brand-mark { width: 24px; height: 28px; border: 4px solid var(--blue); border-radius: 6px; position: relative; display: inline-block; }
.brand-mark::after { content: ""; position: absolute; width: 12px; height: 15px; border-right: 3px solid #97b3fc; border-bottom: 3px solid #97b3fc; right: -9px; bottom: -8px; border-radius: 3px; }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-size: .95rem; padding-block: .75rem; font-weight: 600; }
nav a:hover, .text-link:hover { color: var(--blue); text-decoration: underline; }
.hero { padding-block: 105px 96px; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--blue); font-size: .9rem; margin: 0 0 1.5rem; font-weight: 700; }
h1, h2, h3, p { word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 4.5vw, 4rem); letter-spacing: -.065em; line-height: 1.25; margin: 0; font-weight: 800; }
.hero h1 span { color: var(--blue); }
.lead { margin: 1.75rem 0 2rem; color: var(--muted); line-height: 1.85; font-size: 1.05rem; max-width: 28rem; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 9px; background: var(--blue); color: white; font-weight: 700; padding: .8rem 1.4rem; font-size: .95rem; border: 1px solid var(--blue); }
.button:hover { background: #103899; }
.hero-art { min-height: 400px; background: #eef3ff; border-radius: 28px; position: relative; display: grid; place-items: center; padding: 36px; isolation: isolate; }
.hero-art::before { content: ""; width: 270px; height: 270px; border: 1px solid #c6d5f6; border-radius: 50%; position: absolute; z-index: -1; }
.hero-art::after { content: ""; width: 355px; height: 355px; border: 1px solid #d9e3f9; border-radius: 50%; position: absolute; z-index: -1; }
.app-stack { width: min(100%, 330px); display: grid; gap: 12px; transform: rotate(-5deg); }
.preview-row { display: flex; align-items: center; gap: 15px; background: white; padding: 19px; border: 1px solid #d8e3f5; border-radius: 15px; box-shadow: 0 12px 24px #1837740a; }
.preview-row:nth-child(2) { transform: translateX(16px); }
.preview-row img { width: 48px; height: 48px; border-radius: 12px; }
.preview-row strong { display: block; font-size: 1rem; }
.preview-row span { display: block; color: var(--muted); font-size: .8rem; margin-top: 5px; }
.section { padding-block: 80px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0; letter-spacing: -.045em; line-height: 1.35; }
.section-head p { color: var(--muted); line-height: 1.8; max-width: 28rem; margin: 0; font-size: .98rem; }
.apps { background: var(--paper); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app-card { border: 1px solid var(--line); background: white; padding: 30px; border-radius: 16px; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.app-icon { height: 52px; width: 52px; object-fit: cover; border-radius: 13px; }
.card-icon { background: #e9edff; color: #294cbd; display: grid; place-items: center; }
.card-icon::before { content: ""; width: 20px; height: 27px; border: 2px solid currentColor; border-radius: 4px; transform: rotate(12deg); box-shadow: -5px 1px 0 #e9edff, -7px 1px 0 -1px currentColor; }
.status { color: #52637b; font-size: .8rem; border: 1px solid #dce4ef; border-radius: 30px; padding: .35rem .65rem; white-space: nowrap; }
.category { color: var(--muted); margin: 0 0 .5rem; font-size: .85rem; }
h3 { font-size: 1.35rem; letter-spacing: -.035em; margin: 0 0 .8rem; }
.app-desc { color: var(--muted); line-height: 1.85; margin: 0 0 1.75rem; font-size: .98rem; }
.app-actions { margin-top: auto; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.text-link { font-weight: 700; color: var(--blue); font-size: .9rem; padding-block: .5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid p { color: var(--muted); line-height: 1.9; margin: 0 0 1rem; }
.about-detail { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }
.contact { padding-block: 64px; background: #edf3ff; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact p { color: var(--muted); line-height: 1.8; margin-bottom: 0; }
footer { padding-block: 38px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.business { margin-top: 1.3rem; line-height: 1.9; }
.copyright { margin: 1.5rem 0 0; font-size: .8rem; }
.document { max-width: 760px; padding-block: 72px 90px; min-height: 62vh; }
.document h1 { font-size: 2.5rem; }
.document h2 { font-size: 1.35rem; margin-top: 2.3rem; }
.document p, .document li { color: var(--muted); font-size: 1rem; line-height: 1.9; }
.document li { margin-bottom: .6rem; }
.document .intro { font-size: 1.1rem; margin-top: 1.5rem; }
.contact-email { display: inline-block; font-size: 1.25rem; margin-top: 1rem; color: var(--blue); }
@media (min-width: 1500px) { .hero { padding-block: 125px; } }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-block: 64px; }
  .hero-art { min-height: 345px; width: 100%; max-width: 550px; }
  .section { padding-block: 56px; }
  .section-head { align-items: start; flex-direction: column; gap: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .nav { min-height: 76px; gap: 1.2rem; }
  nav { gap: 1rem; }
  nav a { font-size: .85rem; }
  h1 { font-size: 2.65rem; }
  .hero { padding-top: 52px; }
  .hero-art { min-height: 320px; padding: 25px; overflow: hidden; }
  .preview-row { padding: 15px; }
  .preview-row:nth-child(2) { transform: translateX(8px); }
  .hero-art::after { width: 315px; height: 315px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 24px; }
  .contact-row, .footer-top { flex-direction: column; align-items: start; }
  .contact-row { gap: 1.75rem; }
  .document h1 { font-size: 2rem; }
  .document { padding-top: 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
