@font-face {
  font-family: Pretendard;
  src: url("/assets/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #131725;
  --header: #171b2b;
  --light: #f5f1eb;
  --muted: #c5c7d8;
  --accent: #bec8ff;
  --apricot: #f3c9ae;
  --night-line: #b6bffc32;
  --paper: #f2eee8;
  --paper-ink: #22283b;
  --paper-muted: #515568;
  --paper-line: #d8d1cd;
  font: 16px/1.65 Pretendard, system-ui, sans-serif;
  background: var(--night);
  color: var(--light);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 10px; transform: translateY(-180%); padding: 8px 12px; background: var(--paper); color: var(--paper-ink); z-index: 3; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 1; background: var(--header); border-bottom: 1px solid var(--night-line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; min-height: 72px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 720; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 27px; }
nav a { font-size: .92rem; font-weight: 560; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--light); text-decoration: underline; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 11px; padding: 10px 18px; border: 1px solid transparent; border-radius: 100px; font-weight: 660; line-height: 1.3; text-decoration: none; }
.button-primary { background: var(--accent); color: #1c2240; }
.button-primary:hover { background: #d1d8ff; }
.button-outline { border-color: #bbc3ef60; background: #17203880; }
.button-outline:hover { border-color: var(--accent); background: #323c5a; }
.header-cta { justify-self: end; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.glass-panel { border: 1px solid #c5ccfd3d; border-radius: 18px; background: #232a42a6; padding: clamp(17px, 3.4vw, 38px); box-shadow: inset 0 1px #ffffff0c; backdrop-filter: blur(12px); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(515px, 47vw, 680px); background: #202942; overflow: hidden; }
.hero-art, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; background: linear-gradient(90deg, #101729eb 0%, #11192a82 38%, transparent 67%), linear-gradient(0deg, var(--night), transparent 28%); }
.hero-inner { padding-block: 70px 86px; }
.hero-copy { max-width: 495px; background: #1c253c78; }
.eyebrow { font-size: .9rem; letter-spacing: .06em; font-weight: 650; color: var(--accent); }
.hero-label { display: inline-flex; align-items: center; gap: 11px; font-size: .78rem; color: var(--apricot); margin-bottom: 13px; }
.hero-label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(2.15rem, 4.5vw, 3.65rem); line-height: 1.13; font-weight: 720; letter-spacing: -.055em; }
.hero-description { max-width: 340px; font-size: 1.12rem; color: #e1e2ed; margin-top: 21px; word-break: keep-all; }
.hero .actions { margin-top: 23px; }
.hero .button { min-height: 48px; }

.product { padding-block: 78px 92px; background: linear-gradient(155deg, var(--night) 42%, #202840); }
.product-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(22px, 4.5vw, 64px); align-items: start; }
.product h2 { font-size: clamp(1.7rem, 3.1vw, 2.65rem); line-height: 1.12; font-weight: 730; letter-spacing: -.065em; word-break: keep-all; }
.product h2, .company h2 { margin-block: 9px 14px; }
.product h2 small { display: block; margin-top: 8px; font-size: 1.06rem; letter-spacing: .01em; font-weight: 600; color: var(--accent); }
.product-intro p:not(.eyebrow) { max-width: 310px; color: var(--muted); word-break: keep-all; }
.text-link { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 680; overflow-wrap: anywhere; }
.text-link:hover { opacity: .83; }
.product-links { display: flex; flex-wrap: wrap; column-gap: 18px; }
.feature-list { border: 1px solid var(--night-line); border-radius: 17px; padding-inline: clamp(16px, 3vw, 30px); background: linear-gradient(145deg, #434a6729, #1a2033); }
.feature { padding-block: 18px; }
.feature + .feature { border-top: 1px solid var(--night-line); }
.feature h3 { margin-bottom: 4px; font-size: 1.17rem; font-weight: 690; letter-spacing: -.025em; }
.feature p { font-size: .95rem; color: var(--muted); word-break: keep-all; }

.company { padding-block: 72px; background: var(--paper); color: var(--paper-ink); }
.company-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 7vw, 100px); row-gap: 26px; align-items: center; }
.company-summary { background: #fffaf699; border-color: #c5bab266; }
.company-name { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.042em; line-height: 1.2; }
.company-name img { flex-shrink: 0; }
.company .company-name { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.company .eyebrow, .company .text-link, .document .text-link { color: #3f4a82; }
.company p:not(.eyebrow) { max-width: 420px; color: var(--paper-muted); word-break: keep-all; }
.company-details div { display: grid; grid-template-columns: minmax(90px, .52fr) 1fr; gap: 5px 16px; padding-block: 11px; border-bottom: 1px solid var(--paper-line); }
.company-details div:first-child { border-top: 1px solid var(--paper-line); }
.company-details dt { color: var(--paper-muted); }
.company-details dd { font-weight: 630; word-break: keep-all; overflow-wrap: anywhere; }
.company-details a:hover { color: #3f4a82; }

.app-preview { padding-block: 64px 57px; }
.preview-figure { position: relative; border: 1px solid var(--night-line); border-radius: 22px; background: #181d30; overflow: hidden; }
.preview-figure img { display: block; width: 100%; height: auto; }
.preview-caption { position: absolute; right: 18px; bottom: 15px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: #182039cc; color: var(--muted); font-size: .89rem; }
.preview-caption a { color: var(--light); font-weight: 650; }

.resources { padding-block: 40px 76px; border-top: 1px solid var(--night-line); }
.resources h2 { margin-bottom: 16px; font-size: 1.2rem; font-weight: 680; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.resource { position: relative; display: grid; gap: 4px; padding: 17px 42px 17px 18px; border: 1px solid var(--night-line); border-radius: 12px; color: var(--muted); text-decoration: none; word-break: keep-all; }
.resource:hover { border-color: var(--accent); background: #232b44; }
.resource strong { font-weight: 680; color: var(--light); }
.resource span { font-size: .92rem; }
.resource .resource-arrow { position: absolute; inset: 17px 17px auto auto; color: var(--accent); }

.site-footer { background: #111420; border-top: 1px solid var(--night-line); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 16px 24px; padding-block: 29px; }
.footer-identity strong { display: block; font-weight: 680; }
.footer-identity a { font-size: .9rem; color: var(--muted); }
.footer-inner nav { flex-wrap: wrap; gap: 4px 20px; }

.document-heading { color: var(--light); background: radial-gradient(ellipse at 85% 0%, #3e4368, transparent 70%), linear-gradient(120deg, #1c263e, #22243d); padding-block: 46px 48px; }
.document-title { background: #1b233d70; }
.document-width { max-width: 770px; }
.document-heading h1 { margin-top: 9px; font-size: clamp(1.95rem, 4.6vw, 3.15rem); font-weight: 720; letter-spacing: -.065em; line-height: 1.12; word-break: keep-all; }
.document-heading .company-name { font-size: clamp(1.85rem, 4vw, 2.85rem); letter-spacing: -.042em; }
.document-intro { margin-top: 13px; color: var(--muted); font-size: 1.1rem; word-break: keep-all; }
.document-heading .button { margin-top: 18px; }
.business { padding-block: 32px 53px; color: var(--light); background: radial-gradient(ellipse at 50% 8%, #2e3652, #171c2d 75%); }
.business-title { position: relative; display: table; margin-inline: auto; padding: 10px 25px; border-radius: 12px; font-size: 1.2rem; font-weight: 680; }
.business-title::after { content: ""; position: absolute; inset: 100% auto auto 50%; width: 1px; height: 21px; background: #a5b3f37a; }
.business-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; }
.business-grid::before { content: ""; position: absolute; inset: -20px calc((100% - 36px) / 6) auto; border-top: 1px solid #a5b3f37a; }
.business-card { position: relative; min-width: 0; padding: clamp(17px, 2.6vw, 29px); }
.business-card::before { content: ""; position: absolute; inset: -21px auto auto 50%; width: 1px; height: 20px; background: #a5b3f37a; }
.business-card h3 { font-size: clamp(1.08rem, 2.1vw, 1.55rem); font-weight: 680; line-height: 1.25; margin-bottom: 6px; letter-spacing: -.027em; }
.business-card p { color: var(--muted); font-size: .93rem; word-break: keep-all; }
.business-card p[lang] { color: var(--accent); font-weight: 580; margin-bottom: 2px; }
.business-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 13px; border: 1px solid currentColor; border-radius: 10px; color: var(--accent); background: #bec8ff10; }
.business-icon-data::before { content: ""; width: 19px; height: 17px; border: 1.5px solid currentColor; border-radius: 50% / 24%; background: linear-gradient(currentColor, currentColor) center 50% / 100% 1px no-repeat; }
.business-icon-data::after { content: ""; position: absolute; top: 11px; width: 19px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.business-icon-app { color: #f3c9ae; background: #f3c9ae13; font: 650 .86rem/1 ui-monospace, monospace; }
.business-icon-security { color: #b2ddda; background: #b2ddda13; }
.business-icon-security::before { content: ""; width: 19px; height: 22px; background: currentColor; clip-path: polygon(50% 0, 96% 18%, 87% 65%, 50% 100%, 13% 65%, 4% 18%); }
.business-icon-security::after { content: ""; position: absolute; width: 9px; height: 5px; margin-top: -2px; border: solid #1f3445; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.subpage main { background: var(--paper); color: var(--paper-ink); }
.document { padding-block: 42px 69px; overflow-wrap: break-word; }
.document h2 { font-size: 1.39rem; letter-spacing: -.035em; margin-bottom: 9px; }
.document section + section, .contact-panel + section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--paper-line); }
.document section p + p { margin-top: 10px; }
.document ul { padding-left: 1.3em; margin-block: 0; }
.document li + li { margin-top: 8px; }
.policy-details div + div { margin-top: 12px; }
.policy-details dt { font-weight: 680; }
.policy-details dd { margin-top: 2px; }
.contact-panel { padding: 20px 23px; background: #e6e6f1; border: 1px solid #d6d7e9; border-radius: 14px; }
.contact-panel p { margin-bottom: 13px; }
.contact-panel .button { max-width: 100%; overflow-wrap: anywhere; }
details { border-bottom: 1px solid var(--paper-line); }
summary { padding-block: 10px; cursor: pointer; font-weight: 650; }
summary:hover { color: #3f4a82; }
details p { margin: 0 0 13px 18px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 15px; }
  .header-inner nav { gap: 14px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 8px; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
  .header-inner nav a { padding-block: 6px; font-size: .84rem; }
  .header-cta { min-height: 38px; padding-inline: 13px; font-size: .84rem; }
  .hero { min-height: 0; background: var(--night); }
  .hero-art { inset: 0 0 auto; height: clamp(285px, 76vw, 400px); }
  .hero-art img { object-position: center 46%; }
  .hero::after { background: linear-gradient(0deg, var(--night) 0 45%, transparent 76%); }
  .hero-inner { padding-block: clamp(207px, 60vw, 320px) 41px; }
  .hero h1 { font-size: clamp(1.95rem, 7.7vw, 2.65rem); }
  .hero-label { margin-bottom: 10px; }
  .hero-description { margin-top: 14px; font-size: 1rem; }
  .hero .actions { margin-top: 19px; }
  .product, .company, .app-preview, .resources { padding-block: 41px; }
  .preview-figure { border-radius: 15px; }
  .preview-caption { position: static; margin: 0 8px 8px; font-size: .82rem; padding: 8px 10px; }
  .business { padding-block: 26px 38px; }
  .business-title { margin-inline: 0; }
  .business-title::after { display: none; }
  .business-grid { grid-template-columns: 1fr; gap: 10px; padding-left: 16px; margin-top: 17px; }
  .business-grid::before { inset: 0 auto 36px 0; border-top: 0; border-left: 1px solid #a5b3f37a; }
  .business-card::before { inset: 28px 100% auto auto; width: 16px; height: 1px; }
  .product-grid, .company-inner, .resource-grid { grid-template-columns: 1fr; gap: 19px; }
  .resource-grid { gap: 9px; }
  .footer-inner { flex-direction: column; }
  .document-heading { padding-block: 38px 42px; }
  .document { padding-block: 28px 48px; }
}

@media (max-width: 360px) {
  .header-inner nav { column-gap: 12px; }
  .hero .button { padding-inline: 13px; }
}
