:root {
  --bg: #f4f5f7;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #77808c;
  --line: #dfe3e8;
  --soft: #eef0f3;
  --dark: #3a414a;
  --accent: #6f7782;
  --shadow: 0 20px 50px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px clamp(20px, 6vw, 86px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
}

.hero {
  min-height: 680px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 86px 20px 110px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 245, 247, 0.96)),
    repeating-linear-gradient(135deg, #f6f7f9 0, #f6f7f9 14px, #eef0f3 14px, #eef0f3 28px);
}

.kicker,
.section-title span {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px auto 34px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.8;
}

.shorten-box {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.shorten-box input {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--soft);
  color: var(--text);
  outline: 0;
}

.shorten-box input:focus {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.shorten-box button,
.cta {
  min-height: 56px;
  border: 0;
  border-radius: 6px;
  background: var(--dark);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.shorten-box button:hover,
.cta:hover {
  background: #20262d;
}

.result {
  display: block;
  min-height: 28px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.result.is-error {
  color: #9d3d3d;
}

.warning {
  width: min(780px, 100%);
  margin: 16px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #b4232d;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.feature-section,
.stats-section {
  padding: 96px clamp(20px, 6vw, 86px);
}

.feature-section {
  background: var(--white);
}

.section-title {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.22;
}

.section-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.feature-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--dark);
  font-weight: 800;
}

.feature-card h3 {
  margin: 26px 0 12px;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.stats-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--bg);
}

.align-left {
  margin: 0;
  text-align: left;
}

.mock-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head span {
  color: var(--muted);
}

.mock-panel ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mock-panel li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.mock-panel li span {
  color: var(--muted);
}

.cta {
  display: inline-grid;
  align-items: center;
  margin-top: 28px;
  padding: 0 22px;
}

.footer {
  display: grid;
  place-items: center;
  padding: 34px clamp(20px, 6vw, 86px);
  background: #2f353d;
  color: var(--white);
  text-align: center;
}

.footer p {
  margin: 8px 0 0;
  color: #c8ced6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .shorten-box,
  .feature-grid,
  .stats-section {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  .shorten-box {
    padding: 8px;
  }

  .feature-section,
  .stats-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}
