@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-SemiBold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --ink: #102018;
  --muted: #607064;
  --green: #2a8a51;
  --green-soft: #eaf6e4;
  --leaf: #8bc379;
  --paper: #f4f8f1;
  --white: #ffffff;
  --line: #dce7d8;
  --coral: #ff8f7d;
  --yellow: #ffe08a;
  --blue: #7bcfe9;
  --dark: #173828;
  --shadow: 0 18px 40px rgba(16, 32, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 231, 216, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--green);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--green);
}

.secondary-button {
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--leaf);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 112px 72px 96px;
  overflow: hidden;
  background-image: url("./assets/images/login_hero_rect.png");
  background-size: cover;
  background-position: right center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(244, 248, 241, 0.76);
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.closing h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: 60px;
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-status {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hero-status span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(220, 231, 216, 0.95);
  color: var(--dark);
  font-weight: 700;
}

.section {
  padding: 96px 72px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.section h2,
.closing h2 {
  font-size: 42px;
}

.section-heading p:not(.eyebrow),
.closing p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.problem,
.flow,
.tech {
  background: var(--white);
}

.experience,
.demo,
.audiences,
.care-model {
  background: var(--paper);
}

.problem-grid,
.tech-grid,
.audience-row,
.evidence-grid,
.care-model-grid {
  display: grid;
  gap: 20px;
}

.problem-banner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  margin: -8px 0 28px;
  padding: 18px 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--dark);
}

.problem-banner strong {
  color: var(--leaf);
  font-size: 18px;
}

.problem-banner span {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.evidence-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 28px;
}

.evidence-grid article {
  min-height: 112px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.evidence-grid strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.evidence-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.tech-card,
.audience-row article,
.feature-item,
.demo-step,
.flow-strip article {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 224px;
  padding: 28px;
  border-left-width: 8px;
}

.card-number {
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 700;
}

.info-card h3,
.tech-card h3,
.audience-row h3,
.feature-item h3,
.flow-strip strong {
  margin: 0;
  font-size: 25px;
}

.info-card p,
.tech-card p,
.audience-row p,
.feature-item p,
.flow-strip span {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.accent-coral {
  border-left-color: var(--coral);
}

.accent-yellow {
  border-left-color: var(--yellow);
}

.accent-blue {
  border-left-color: var(--blue);
}

.accent-green {
  border-left-color: var(--leaf);
}

.experience-layout,
.demo-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.avatar-stage {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-stage::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.avatar-main {
  position: relative;
  z-index: 2;
  width: 270px;
  max-width: 70%;
}

.avatar-side {
  position: absolute;
  z-index: 3;
  width: 122px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.avatar-one {
  left: 8%;
  bottom: 66px;
}

.avatar-two {
  right: 8%;
  top: 64px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px;
}

.feature-item span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.flow-strip article {
  min-height: 126px;
  padding: 24px;
  background: var(--paper);
}

.demo-layout {
  align-items: stretch;
}

.phone-demo {
  position: relative;
  min-height: 500px;
  padding: 76px 34px 34px;
  border: 2px solid var(--dark);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 96px;
  height: 10px;
  border-radius: 8px;
  transform: translateX(-50%);
  background: var(--dark);
}

.phone-demo img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  border-radius: 8px;
}

.phone-demo h3 {
  margin: 34px 0 0;
  font-size: 32px;
}

.phone-demo p {
  margin: 18px auto 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.phone-demo button {
  min-height: 48px;
  min-width: 180px;
  margin-top: 32px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 700;
}

.demo-steps {
  display: grid;
  gap: 14px;
}

.demo-step {
  display: block;
  width: 100%;
  padding: 24px;
  border-left: 8px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.demo-step.active {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.demo-step strong {
  display: block;
  font-size: 24px;
}

.demo-step span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
}

.tech-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tech-card {
  min-height: 156px;
  padding: 26px;
  border-left-width: 8px;
}

.care-model-grid {
  grid-template-columns: repeat(4, 1fr);
}

.care-model-grid article {
  min-height: 190px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.care-model-grid h3 {
  margin: 0;
  font-size: 24px;
}

.care-model-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.audience-row {
  grid-template-columns: repeat(3, 1fr);
}

.audience-row article {
  padding: 28px;
  text-align: center;
}

.audience-row img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 22px;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 90px 72px;
  color: var(--white);
  background: var(--dark);
}

.closing div {
  max-width: 760px;
}

.closing .eyebrow {
  color: var(--leaf);
}

.closing p {
  color: #dcebdd;
}

@media (max-width: 1020px) {
  .site-header {
    padding: 12px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding: 104px 32px 96px;
    background-position: 63% center;
  }

  .hero h1 {
    font-size: 46px;
  }

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

  .hero-status {
    left: 32px;
    right: 32px;
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .closing {
    padding-left: 32px;
    padding-right: 32px;
  }

  .problem-grid,
  .tech-grid,
  .audience-row,
  .evidence-grid,
  .care-model-grid,
  .flow-strip,
  .experience-layout,
  .demo-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    font-size: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 96px 20px 122px;
    background-position: 68% center;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-status {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .hero-status span {
    min-height: 40px;
    font-size: 14px;
  }

  .section,
  .closing {
    padding: 72px 20px;
  }

  .section h2,
  .closing h2 {
    font-size: 32px;
  }

  .section-heading p:not(.eyebrow),
  .closing p {
    font-size: 18px;
  }

  .problem-banner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .problem-banner span {
    font-size: 19px;
  }

  .evidence-grid article,
  .care-model-grid article {
    min-height: 0;
  }

  .avatar-stage {
    min-height: 360px;
  }

  .avatar-stage::before {
    width: 260px;
    height: 280px;
  }

  .avatar-main {
    width: 210px;
  }

  .avatar-side {
    width: 88px;
  }

  .feature-item {
    grid-template-columns: 1fr;
  }

  .phone-demo {
    min-height: 450px;
  }

  .closing {
    display: block;
  }

  .closing .primary-button {
    margin-top: 28px;
  }
}
