/* Local brand assets only; introduction and policy copy remain in the HTML. */
@font-face {
  font-family: "Griun Yeeun";
  src: url("./fonts/Griun_Yeeun-Rg.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #faf7f2;
  --paper: #fffefa;
  --soft: #f7f1ef;
  --ink: #252126;
  --muted: #6f686d;
  --line: #e2d9d4;
  --coral: #df6c6f;
  --coral-dark: #bc5055;
  --navy: #252126;
  --violet: #bc5055;
  --link: #bc5055;
  --warning: #8a4b35;
  --warning-bg: #fff5ef;
}
* { box-sizing: border-box; }
body, button, a, input, textarea, select {
  font-family: "Griun Yeeun", sans-serif;
  font-synthesis: none;
  font-weight: 400;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, strong, b, dt, dd { font-weight: 400; }
a { color: var(--coral-dark); text-underline-offset: 4px; }
a:hover { color: #983e43; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 4px; }
button { cursor: pointer; }
.wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}
.app-detail .wrap, .policy-page .wrap {
  width: min(900px, calc(100% - 48px));
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  width: min(1160px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.home-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.topbar { padding: 22px 0 0; }
.back { color: var(--muted); font-size: 14px; text-decoration: none; }
.hero { padding: 52px 0 48px; }
.apps-home .hero { padding: 58px 0 40px; }
.hero::before, .hero::after, .card::after { display: none; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 12px;
  letter-spacing: 0.12em;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}
.lead, .hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; }
.pill { color: var(--muted); font-size: 13px; }
.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 12px 0 72px;
}
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.badge { color: var(--coral-dark); font-size: 12px; }
.card h2 { margin: 14px 0 12px; font-size: 28px; line-height: 1.35; letter-spacing: -0.035em; }
.card p { margin: 0 0 24px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.card .actions { margin-top: auto; width: 100%; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  text-align: center;
}
.button:hover { color: #fff; background: #393239; }
.button.secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: var(--soft); }
.app-detail main { padding: 0 0 72px; }
.panel { padding: 28px 0; border-top: 1px solid var(--line); }
.panel + .panel { margin-top: 8px; }
h2 { margin: 0 0 16px; color: var(--ink); font-size: 24px; line-height: 1.45; letter-spacing: -0.025em; }
h3 { margin: 24px 0 10px; color: var(--ink); font-size: 20px; line-height: 1.45; }
p { margin: 12px 0; }
.contact p { margin: 0; color: var(--muted); }
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.title { padding: 42px 0 36px; }
.effective { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.policy-page main {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 72px;
  font-size: 16px;
}
.policy-page.branded-policy main { padding-top: 56px; }
.document-head { margin-bottom: 30px; }
.intro { margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.summary {
  margin: 20px 0 34px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.summary dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; min-width: 0; }
.summary strong { display: block; margin-bottom: 8px; font-size: 18px; }
.summary p { margin: 0; }
.policy, .policy-card { padding: 0; background: transparent; }
.policy section + section, .policy-card section + section {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
ul, ol { margin: 12px 0; padding-left: 22px; }
li + li { margin-top: 6px; }
.features li + li { margin-top: 0; }
.note { padding: 16px 18px; border-left: 2px solid var(--coral); background: var(--soft); border-radius: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { background: var(--soft); color: var(--ink); font-weight: 400; }
.steps { padding: 18px 20px 18px 40px; background: var(--soft); }
.warning { padding: 16px 18px; border-left: 2px solid var(--coral); background: var(--warning-bg); color: var(--warning); }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.data-card { min-width: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.data-card h3 { margin-top: 0; }
.email-fallback { margin-top: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.email-address { overflow-wrap: anywhere; user-select: all; }
.copy-status { min-height: 1.8em; color: var(--muted); font-size: 14px; }
.contact-link { color: var(--coral-dark); }
.updated-at { margin: 32px 0 0; color: var(--muted); font-size: 14px; text-align: right; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  font-size: 13px;
}
.footer-brand { margin: 0 0 8px; color: var(--ink); font-size: 15px; letter-spacing: 0.06em; }
.footer-copy, .footer-contact { margin: 0; color: var(--muted); font-size: 13px; }
.footer-main-link { color: var(--coral-dark); text-decoration: none; white-space: nowrap; }
@media (max-width: 680px) {
  .wrap, .app-detail .wrap, .policy-page .wrap, .header-inner, .footer-inner, .policy-page main { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand { font-size: 14px; gap: 8px; letter-spacing: 0.04em; }
  .brand-mark { width: 28px; height: 28px; }
  .home-link { font-size: 13px; }
  .hero, .apps-home .hero { padding: 42px 0 34px; }
  h1 { font-size: clamp(32px, 8.5vw, 44px); }
  .lead, .hero p:not(.eyebrow) { font-size: 17px; }
  .apps, .features, .data-grid { grid-template-columns: 1fr; }
  .apps { gap: 18px; padding-bottom: 52px; }
  .card { padding: 22px; }
  .card h2 { font-size: 25px; }
  .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .button { width: 100%; }
  .panel { padding: 24px 0; }
  .title { padding: 32px 0 24px; }
  .summary dl { grid-template-columns: 1fr; gap: 2px; }
  .summary dd + dt { margin-top: 10px; }
  .policy-page.branded-policy main { padding-top: 40px; }
  .policy section + section, .policy-card section + section { margin-top: 30px; padding-top: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  th, td { padding: 9px 7px; }
  .footer-inner { padding: 28px 0; flex-direction: column; gap: 18px; }
}
