/* NuriTap, Inc. — nuritap.com
   Accessibility-first: Atkinson Hyperlegible (designed for low vision), 19px base, AA contrast. */
:root {
  --teal: #0F6B6D;
  --teal-dark: #0B5456;
  --green: #2EAF7F;
  --green-text: #1B7A57;
  --mint: #EAF6EF;
  --mint-2: #B7E3C7;
  --ink: #1F2937;
  --muted: #4B5563;
  --line: #D9DEE3;
  --bg: #F6F8F7;
  --white: #FFFFFF;
  --red: #B42318;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Atkinson Hyperlegible', 'Noto Sans KR', system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* language switch: html[data-lang] shows one language */
html[data-lang="en"] .ko, html[data-lang="ko"] .en { display: none !important; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-size: 25px; font-weight: 700; letter-spacing: -0.01em; }
.brand-name b { color: var(--green-text); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 17px; }
.nav a:hover { color: var(--teal); }
.lang-toggle {
  border: 2px solid var(--line); background: var(--white); color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--teal); }
@media (max-width: 760px) { .nav a { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.08; letter-spacing: -0.025em;
  margin: 0 0 22px; font-weight: 700; max-width: 14ch;
}
html[data-lang="ko"] .hero h1 { letter-spacing: -0.04em; line-height: 1.2; max-width: 12ch; }
.hero p.lead { font-size: 22px; color: var(--muted); max-width: 36ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 18px; text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-ghost { border: 2px solid var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* The one memorable thing: the tap. */
.tap-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 460px; justify-self: end; width: 100%; }
.ring { position: absolute; border-radius: 50%; }
.ring-3 { inset: 0; background: var(--mint); }
.ring-2 { inset: 14%; background: #D6EEDF; }
.ring-1 { inset: 28%; background: var(--mint-2); }
.tap {
  position: relative; width: 44%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 18px 40px -18px rgba(15, 107, 109, 0.7);
  font-weight: 700; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.2; padding: 12px;
}
.status {
  position: absolute; left: -4%; bottom: 6%;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 290px;
  box-shadow: 0 12px 30px -20px rgba(31, 41, 55, 0.5);
}
.status .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; }
.status strong { display: block; font-size: 17px; }
.status span { display: block; font-size: 15px; color: var(--muted); line-height: 1.35; }
@media (prefers-reduced-motion: no-preference) {
  .ring-1 { animation: breathe 2.4s ease-out 0.4s 1 both; }
  .ring-2 { animation: breathe 2.4s ease-out 0.6s 1 both; }
  @keyframes breathe { from { transform: scale(0.86); opacity: 0.2; } to { transform: scale(1); opacity: 1; } }
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .tap-stage { justify-self: center; max-width: 380px; }
}

/* ---------- sections ---------- */
section.block { padding: 80px 0; border-top: 1px solid var(--line); }
section.block.white { background: var(--white); }
.block h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 20ch; }
.block .intro { color: var(--muted); max-width: 52ch; margin: 0 0 40px; font-size: 20px; }

/* what it does: two-column list with rules, not a card grid */
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.feature { padding: 22px 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.feature svg { width: 32px; height: 32px; color: var(--teal); margin-top: 4px; }
.feature h3 { margin: 0 0 4px; font-size: 22px; }
.feature p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* how it works: a real sequence, so it's numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 24px 0 0; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: var(--white); font-weight: 700; font-size: 22px; margin-bottom: 16px;
}
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: 64px; right: 12px; height: 2px; background: var(--mint-2); }
.steps h3 { margin: 0 0 6px; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); font-size: 18px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* audiences: columns separated by vertical rules */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); }
.audience { padding: 0 32px; border-left: 1px solid var(--line); }
.audience:first-child { padding-left: 0; border-left: 0; }
.audience h3 { margin: 0 0 8px; font-size: 22px; }
.audience p { margin: 0 0 12px; color: var(--muted); }
@media (max-width: 860px) {
  .audiences { grid-template-columns: 1fr; row-gap: 28px; }
  .audience { padding: 0; border-left: 0; }
}

.note {
  margin-top: 48px; padding: 18px 22px; background: var(--mint); border-radius: 14px;
  color: var(--ink); max-width: 72ch; font-size: 18px;
}
.note strong { color: var(--red); }

.company { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
.company p { max-width: var(--measure); }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 700; }
@media (max-width: 860px) { .company { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #E5E7EB; padding: 48px 0; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: #E5E7EB; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 88px; }
.legal article { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 56px); max-width: 860px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
.legal .meta { color: var(--muted); margin: 0 0 32px; font-size: 17px; }
.legal h2 { font-size: 23px; margin: 40px 0 10px; }
.legal h3 { font-size: 19px; margin: 24px 0 6px; }
.legal p, .legal li { max-width: var(--measure); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 17px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 10px 12px 10px 0; }
.legal th { color: var(--muted); font-weight: 700; }
.legal .callout { background: var(--mint); border-radius: 14px; padding: 16px 20px; margin: 20px 0; }
.table-scroll { overflow-x: auto; }

/* ---------- platform showcase (HTML-built screens, crisp at any size) ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
.shot figcaption { margin-top: 14px; }
.shot figcaption strong { display: block; font-size: 19px; }
.shot figcaption span.cap { color: var(--muted); font-size: 17px; }
figure.shot { margin: 0; }
.phone {
  width: 100%; max-width: 290px; margin-inline: auto; aspect-ratio: 9 / 16.2;
  background: #0E1A2B; border-radius: 38px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(15, 107, 109, 0.55);
}
.screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: var(--ink);
}
.s-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 10px; background: var(--white); border-bottom: 1px solid var(--line); }
.s-logo { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; }
.s-logo img { width: 20px; height: 20px; border-radius: 5px; }
.s-logo b { color: var(--green-text); }
.s-right { display: flex; gap: 5px; align-items: center; }
.s-pts { background: #FDF1E7; color: #8A3F08; font-weight: 700; font-size: 10px; padding: 3px 7px; border-radius: 10px; }
.s-sos { background: var(--red); color: #fff; font-weight: 700; font-size: 10.5px; padding: 4px 9px; border-radius: 10px; }
.s-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.s-muted { color: var(--muted); font-size: 11px; }
.s-h { font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.s-h em { font-style: normal; color: var(--green-text); }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.s-card .n { font-weight: 700; font-size: 16px; }
.s-bar { height: 5px; border-radius: 3px; background: var(--mint); margin-top: 4px; overflow: hidden; }
.s-bar i { display: block; height: 100%; background: var(--green); }
.s-tip { background: #FDF1E7; border: 1px solid #F3D9C2; border-radius: 10px; padding: 8px; }
.s-tip b { color: #8A3F08; font-size: 11px; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-chip { background: var(--white); border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 6px; font-weight: 700; font-size: 11px; text-align: center; }
.s-cta { background: var(--teal); color: #fff; font-weight: 700; text-align: center; border-radius: 18px; padding: 9px; font-size: 12.5px; margin-top: auto; }
.s-red-top { background: var(--red); color: #fff; padding: 12px; font-weight: 700; font-size: 14px; }
.s-cam { background: #1E3558; border-radius: 12px; height: 110px; position: relative; display: grid; place-items: center; color: #C9D3E0; font-size: 10px; }
.s-cam .rec { position: absolute; left: 8px; top: 8px; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.s-cam .face { width: 46px; height: 58px; border-radius: 50%; border: 2px dashed #9FB6D8; }
.s-chip.red { border-color: #F3C1BC; }
.s-chip.red.on { border-color: var(--red); background: var(--dangerSurface, #FDECEA); }
.s-hold { margin-top: auto; border-radius: 20px; overflow: hidden; position: relative; height: 40px; background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 12px; }
.s-hold i { position: absolute; inset: 0 40% 0 0; background: #8F1B12; }
.s-hold span { position: relative; }
.s-prov { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; }
.s-prov.on { border: 2px solid var(--teal); }
.s-av { width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 700; font-size: 10px; display: grid; place-items: center; flex: none; }
.s-prov .who { flex: 1; min-width: 0; }
.s-prov .who b { display: block; font-size: 11.5px; }
.s-prov .who span { color: var(--muted); font-size: 10px; }
.s-st { font-size: 10px; font-weight: 700; color: var(--muted); text-align: right; }
.s-st.teal { color: var(--teal); }

figure.shot.desk-wrap { margin-top: 56px; }
.desktop {
  background: #0E1A2B; border-radius: 16px; padding: 10px 10px 12px;
  box-shadow: 0 30px 60px -34px rgba(15, 107, 109, 0.6);
}
.desk-bar { display: flex; gap: 6px; padding: 2px 4px 9px; }
.desk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A5680; }
.desk-screen { background: var(--bg); border-radius: 8px; overflow: hidden; font-size: 12.5px; line-height: 1.4; }
.d-top { display: flex; justify-content: space-between; align-items: center; background: var(--white); border-bottom: 1px solid var(--line); padding: 10px 16px; }
.d-top .s-logo { font-size: 15px; }
.d-nav { display: flex; gap: 6px; }
.d-nav span { padding: 5px 10px; border-radius: 7px; font-size: 12px; }
.d-nav span.on { background: var(--mint); color: var(--teal); font-weight: 700; }
.d-online { background: var(--mint); color: var(--green-text); font-weight: 700; font-size: 11.5px; padding: 5px 10px; border-radius: 12px; }
.d-body { display: grid; grid-template-columns: 0.8fr 1.6fr 1fr; gap: 12px; padding: 14px 16px 16px; }
.d-col h4 { margin: 0 0 8px; font-size: 13px; }
.d-q { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 7px; }
.d-q.on { background: var(--mint); }
.d-q b { display: block; font-size: 12.5px; }
.d-q span { color: var(--muted); font-size: 11px; }
.d-offer { background: var(--white); border: 2.5px solid var(--teal); border-radius: 12px; padding: 14px; }
.d-offer .t { color: var(--teal); font-weight: 700; font-size: 12px; }
.d-offer .h { font-size: 19px; font-weight: 700; margin: 6px 0 8px; line-height: 1.25; }
.d-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.d-tags span { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
.d-tags span.warn { background: #FDF1E7; border-color: #F3D9C2; color: #8A3F08; }
.d-count { background: var(--mint); border-radius: 9px; padding: 8px 10px; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.d-count b { font-size: 22px; color: var(--teal); }
.d-btns { display: flex; gap: 8px; }
.d-btns span { flex: 1; text-align: center; border-radius: 16px; padding: 8px; font-weight: 700; font-size: 12.5px; }
.d-btns .p { background: var(--teal); color: #fff; }
.d-btns .g { flex: 0 0 90px; border: 1.5px solid var(--line); background: var(--white); }
.d-line { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #EEF1F4; font-size: 11.5px; }
.d-line b { color: var(--green-text); }

@media (max-width: 980px) {
  .showcase { grid-template-columns: 1fr 1fr; }
  .d-body { grid-template-columns: 1fr 1.6fr; }
  .d-body .d-col:last-child { display: none; }
}
@media (max-width: 640px) {
  .showcase { grid-template-columns: 1fr; }
  .desktop { overflow-x: auto; }
  .desk-screen { min-width: 640px; }
}

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.portrait {
  width: 220px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  background: var(--mint-2); display: grid; place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-size: 64px; font-weight: 700; color: var(--teal); }
.person h3 { margin: 0; font-size: 28px; }
.person .role { color: var(--green-text); font-weight: 700; margin: 2px 0 14px; }
.person ul { margin: 0; padding-left: 1.1em; color: var(--ink); max-width: 60ch; }
.person li { margin: 6px 0; }
@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; }
  .portrait { width: 160px; }
}

.places { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.places dt { color: var(--muted); }
.places dd { margin: 0; font-weight: 700; }
.tag-planned { display: inline-block; margin-left: 6px; font-size: 14px; font-weight: 700; color: #8A3F08; background: #FDF1E7; border-radius: 10px; padding: 1px 8px; vertical-align: 2px; }

/* team grid (overrides single-person layout) */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.member .avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--mint-2); }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.member h3 small { font-size: 17px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.member .role { color: var(--green-text); font-weight: 700; margin: 4px 0 12px; font-size: 17px; line-height: 1.4; }
.member ul { margin: 0; padding-left: 1.05em; font-size: 16.5px; line-height: 1.5; }
.member li { margin: 3px 0; }
.member li.now { font-weight: 700; }
.member details { margin-top: 10px; font-size: 16.5px; }
.member summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.member details ul { margin-top: 8px; color: var(--muted); }
section.block.white .member { background: var(--bg); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .member { grid-template-columns: 1fr; }
  .member .avatar { width: 96px; height: 96px; }
}
