:root {
  --ink: #15171a;
  --soft-ink: #424a53;
  --muted: #6e7781;
  --line: #d9dee5;
  --bg: #f6f7f8;
  --panel: #ffffff;
  --teal: #0d766e;
  --teal-dark: #095e58;
  --coral: #c94f4f;
  --amber: #b46a13;
  --mint: #dff3ef;
  --cream: #f7f1e7;
  --charcoal: #111820;
  --focus: rgba(37, 99, 235, .24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.inline-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd2da;
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 56px);
  color: #fff;
  background: rgba(13, 18, 24, .84);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 224px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 104px clamp(18px, 7vw, 92px) 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 13, 17, .88) 0%, rgba(10, 13, 17, .66) 38%, rgba(10, 13, 17, .18) 74%),
    url("assets/hero-operations.png") center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .24), rgba(0, 0, 0, .08) 58%, rgba(0, 0, 0, .42));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #9fe3d8;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

h1,
h2,
h3,
p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.04;
  font-weight: 900;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

.hero-actions,
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--teal);
}

.btn.primary:hover {
  background: var(--teal-dark);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .08);
}

.btn.secondary {
  color: #20272f;
  border-color: #bfc7d1;
  background: #fff;
}

.btn.light {
  color: var(--charcoal);
  background: #fff;
}

.btn.danger {
  color: #9e263e;
  border-color: #d8a4af;
  background: #fff;
}

.btn.full {
  width: 100%;
}

.btn.is-disabled {
  opacity: .58;
  cursor: not-allowed;
}

.hero-status {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 7vw, 92px);
  right: clamp(18px, 7vw, 92px);
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .88);
}

.hero-status span {
  color: #9fe3d8;
  font-size: 13px;
  font-weight: 900;
}

.hero-status strong {
  font-size: 15px;
}

.section {
  padding: 72px clamp(16px, 4vw, 56px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.two-col,
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.two-col {
  align-items: center;
}

h2 {
  margin: 0;
  color: #111820;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.dark-section h2,
.dark-section .copy-block p {
  color: #fff;
}

.copy-block > p:not(.eyebrow),
.two-col > p {
  margin: 18px 0 0;
  color: var(--soft-ink);
  font-size: 17px;
}

.plain-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
  color: #29313b;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(16, 24, 32, .08);
}

.form-panel {
  padding: 24px;
}

.form-panel h3,
.admin-panel h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.25;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #27313b;
  font-size: 13px;
  font-weight: 900;
}

.checkline {
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 2px 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.checkline input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.link-panel p {
  margin: 0 0 16px;
  color: var(--soft-ink);
}

.mini-list {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 21px;
  color: #27313b;
  font-size: 14px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.tinted {
  background: linear-gradient(180deg, #edf4f2 0%, #f7f8f8 100%);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid #cbdad6;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.metric strong {
  color: var(--teal-dark);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.product-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.22;
}

.product-card p {
  margin: 0;
  color: var(--soft-ink);
}

.badge {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.badge.warm {
  color: #704104;
  background: #ffe5bd;
}

.badge.coral {
  color: #8f2830;
  background: #ffd9dc;
}

.dark-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, .98), rgba(13, 118, 110, .88)),
    #111820;
}

.dark-section .eyebrow {
  color: #b9f3e9;
}

.beta-panel {
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
}

.steps {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: #eaf7f4;
}

.steps strong {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
}

.tool-section {
  background: #fff;
}

.tool-preview {
  overflow: hidden;
  border: 1px solid #cbd2da;
  border-radius: 8px;
  background: #f9fbfc;
  box-shadow: 0 18px 60px rgba(16, 24, 32, .12);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 13px;
  border-bottom: 1px solid #dce2e8;
  background: #eef2f4;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9aa4af;
}

.preview-lines {
  padding: 24px;
  display: grid;
  gap: 13px;
}

.preview-lines strong {
  font-size: 22px;
}

.preview-lines span {
  height: 13px;
  border-radius: 999px;
  background: #dfe7eb;
}

.preview-lines span.short {
  width: 58%;
}

.preview-checks {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.preview-checks i {
  height: 42px;
  border: 1px solid #d9e1e7;
  border-radius: 6px;
  background: #fff;
}

.signature-line {
  height: 76px;
  margin-top: 8px;
  border: 1px dashed #abb5bf;
  border-radius: 6px;
  background: #fff;
}

.admin-section {
  border-top: 1px solid var(--line);
}

.admin-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.setup-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #27313b;
  font-weight: 800;
}

.code-card {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd2da;
  border-radius: 6px;
  color: var(--teal-dark);
  background: #f4fbf9;
  font-weight: 900;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  background: #111820;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(16px, 4vw, 56px);
  color: #d7dde4;
  background: #111820;
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: #fff;
}

.site-footer span,
.site-footer a {
  font-size: 13px;
}

.site-footer a {
  color: #9fe3d8;
  font-weight: 900;
}

.plain-page {
  background: #fff;
}

.plain-main {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.plain-main h1 {
  margin-top: 28px;
  color: #111820;
  font-size: clamp(34px, 6vw, 58px);
}

.plain-main p {
  color: var(--soft-ink);
}

.back-link {
  color: var(--teal-dark);
  font-weight: 900;
}

.privacy-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.privacy-block h2 {
  font-size: 24px;
}

.resource-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: #27313b;
}

.notice-box {
  margin-top: 30px;
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  padding: 14px 16px;
  color: #483100;
  background: #fff5df;
}

.copy-template {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid #cbd2da;
  border-radius: 8px;
  padding: 16px;
  color: #27313b;
  background: #f8fbfb;
}

.copy-template p {
  margin: 0;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.score-grid article {
  border: 1px solid #cbd2da;
  border-radius: 8px;
  padding: 14px;
  background: #f8fbfb;
}

.score-grid strong,
.score-grid span {
  display: block;
}

.score-grid strong {
  color: var(--teal-dark);
  font-size: 22px;
}

.score-grid span {
  margin-top: 2px;
  color: #111820;
  font-weight: 900;
}

.score-grid p {
  margin: 8px 0 0;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 78vh;
    padding-top: 142px;
    background-position: 58% center;
  }

  .two-col,
  .split {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 82vh;
    padding: 138px 16px 76px;
    background:
      linear-gradient(90deg, rgba(10, 13, 17, .92) 0%, rgba(10, 13, 17, .76) 52%, rgba(10, 13, 17, .38) 100%),
      url("assets/hero-operations.png") 60% center / cover no-repeat;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .tool-actions {
    flex-direction: column;
  }

  .hero-status {
    left: 16px;
    right: 16px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 66px;
    gap: 3px;
  }

  .section {
    padding: 54px 16px;
  }

  .field-grid,
  .metric-row,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 18px;
  }
}
