:root {
  color-scheme: light;

  /* === Brand · 통일된 톤 (teal + gold + coral + warm cream) === */
  --ink: #16302e;
  --ink-soft: #1f3f3b;
  --muted: #5c6f6b;
  --muted-soft: #7d8b88;
  --line: #e2efeb;
  --line-soft: #eef5f2;
  --paper: #fbfdfb;
  --cream: #fff8ee;
  --cream-deep: #fdeed4;
  --mint: #dff7f1;
  --mint-deep: #c7ede2;

  /* Brand */
  --brand: #0f766e;          /* primary teal */
  --brand-deep: #0b5f59;
  --brand-bright: #14b8a6;
  --brand-tint: #e8fbf8;

  /* Accents */
  --coral: #ff7a59;
  --coral-deep: #e06044;
  --coral-tint: #fff1ea;
  --gold: #f9c74f;
  --gold-deep: #d99e1f;
  --gold-tint: #fff6d8;
  --cyan: #0e9aa7;

  --white: #ffffff;

  /* Geometry / motion tokens */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 6px 16px rgba(18, 48, 44, 0.06);
  --shadow-md: 0 14px 36px rgba(18, 48, 44, 0.09);
  --shadow-lg: 0 28px 70px rgba(18, 48, 44, 0.14);
  --shadow-brand: 0 18px 38px rgba(15, 118, 110, 0.25);
  --shadow-coral: 0 18px 38px rgba(255, 122, 89, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    "Segoe UI",
    sans-serif;
  line-height: 1.68;
  letter-spacing: -0.01em;
  font-feature-settings: "ss03", "ss04", "tnum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 122, 89, 0.28);
  color: var(--ink);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(10, 44, 40, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition:
    background 240ms var(--ease),
    box-shadow 240ms var(--ease),
    transform 240ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(10, 44, 40, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
  transition: transform 320ms var(--ease);
}

.brand:hover img {
  transform: rotate(-1.5deg) scale(1.02);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color 200ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: translateX(-50%);
  transition: width 220ms var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  width: 20px;
}

.text-link {
  transition: color 160ms var(--ease);
}

.text-link:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral) 0%, #ff6f4d 100%);
  color: var(--white);
  font-weight: 850;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-coral);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    filter 220ms var(--ease);
  white-space: nowrap;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(255, 122, 89, 0.36);
  filter: brightness(1.04);
}

.button:hover::before {
  opacity: 1;
}

.button:active {
  transform: translateY(0);
}

.button .button-arrow {
  display: inline-block;
  transition: transform 220ms var(--ease);
}

.button:hover .button-arrow {
  transform: translateX(4px);
}

.button.secondary {
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  background: var(--white);
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow-md);
  filter: none;
}

.button.small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.button.small:hover {
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.32);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: 54px;
  padding: 144px max(28px, calc((100vw - 1180px) / 2)) 120px;
  background:
    radial-gradient(1200px 600px at 12% 8%, rgba(255, 246, 216, 0.85), transparent 60%),
    radial-gradient(900px 540px at 92% 22%, rgba(255, 226, 210, 0.9), transparent 65%),
    radial-gradient(800px 460px at 50% 100%, rgba(199, 237, 226, 0.55), transparent 60%),
    linear-gradient(180deg, #fff9ef 0%, #fef3e2 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

/* Floating gradient orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orb-float 16s ease-in-out infinite;
}

.orb-coral {
  width: 380px;
  height: 380px;
  top: -80px;
  left: 30%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.55), transparent 70%);
  animation-delay: 0s;
}

.orb-gold {
  width: 300px;
  height: 300px;
  top: 38%;
  left: -60px;
  background: radial-gradient(circle, rgba(249, 199, 79, 0.55), transparent 70%);
  animation-delay: -5s;
}

.orb-teal {
  width: 360px;
  height: 360px;
  bottom: -80px;
  right: 8%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.34), transparent 70%);
  animation-delay: -10s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.04); }
  66% { transform: translate(-18px, 22px) scale(0.97); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: var(--paper);
  clip-path: polygon(0 58%, 100% 16%, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-copy,
.hero-helper,
.hero-strip {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.18);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(255, 122, 89, 0.04); }
}

/* Section-level eyebrows (outside of pill) */
.section-heading .eyebrow,
.demo-heading .eyebrow,
.workflow-copy .eyebrow,
.closing .eyebrow {
  border: 0;
  background: transparent;
  padding: 0;
  backdrop-filter: none;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 74px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  background: linear-gradient(120deg, var(--coral) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: rgba(249, 199, 79, 0.32);
  border-radius: 6px;
  z-index: -1;
}

.hero-text {
  max-width: 660px;
  margin: 28px 0 0;
  color: #35514d;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.72;
}

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

.hero-helper {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 440px);
  filter: drop-shadow(0 30px 60px rgba(22, 48, 46, 0.16));
}

.hero-helper::before,
.hero-helper::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-helper::before {
  width: 88%;
  height: 88%;
  top: 6%;
  left: 6%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 70%);
  filter: blur(20px);
}

.hero-helper::after {
  width: 16px;
  height: 16px;
  top: 14%;
  right: 6%;
  background: var(--gold);
  box-shadow:
    -40px 80px 0 -3px var(--coral),
    24px 240px 0 -2px var(--brand-bright);
  animation: helper-sparkle 4s ease-in-out infinite;
}

@keyframes helper-sparkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.75; }
}

.hero-helper img {
  width: 100%;
  animation: helper-float 5.2s ease-in-out infinite;
}

.hero-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.hero-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #284844;
  font-size: 14px;
  font-weight: 720;
  backdrop-filter: blur(8px);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background 220ms var(--ease);
}

.hero-strip span:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.hero-strip span b {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--brand));
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

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

.section-heading h2,
.demo-heading h2,
.workflow-copy h2,
.closing h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.7vw, 48px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-heading .eyebrow,
.demo-heading .eyebrow,
.workflow-copy .eyebrow,
.closing .eyebrow {
  color: var(--coral-deep);
}

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

.evidence {
  padding-bottom: 60px;
}

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

.evidence-card {
  position: relative;
  min-height: 224px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease),
    border-color 280ms var(--ease);
  overflow: hidden;
}

.evidence-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.evidence-card:nth-child(2)::before { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.evidence-card:nth-child(3)::before { background: linear-gradient(90deg, var(--cyan), var(--brand)); }
.evidence-card:nth-child(4)::before { background: linear-gradient(90deg, var(--gold), var(--coral)); }

.evidence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.18);
  box-shadow: var(--shadow-md);
}

.evidence-card:hover::before {
  opacity: 1;
}

.evidence-card strong {
  display: block;
  color: var(--brand);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.evidence-card:nth-child(2) strong { color: var(--coral-deep); }
.evidence-card:nth-child(3) strong { color: var(--cyan); }
.evidence-card:nth-child(4) strong { color: var(--gold-deep); }

.evidence-card span {
  display: block;
  min-height: 44px;
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease),
    border-color 280ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.18);
  box-shadow: var(--shadow-md);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 280ms var(--ease);
}

.feature-card:hover .feature-index {
  transform: rotate(-6deg) scale(1.05);
}

.feature-card:nth-child(2) .feature-index {
  background: var(--coral-tint);
  color: var(--coral-deep);
}

.feature-card:nth-child(3) .feature-index {
  background: #e8f4ff;
  color: var(--cyan);
}

.feature-card:nth-child(4) .feature-index {
  background: var(--gold-tint);
  color: var(--gold-deep);
}

.feature-card h3 {
  margin: 26px 0 12px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}

.feature-card p,
.workflow-copy p,
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.72;
}

.roles {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 112px max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(800px 400px at 12% 10%, rgba(15, 118, 110, 0.42), transparent 60%),
    radial-gradient(700px 340px at 92% 90%, rgba(255, 122, 89, 0.28), transparent 60%),
    linear-gradient(180deg, #112826 0%, #0d201f 100%);
  color: var(--white);
  overflow: hidden;
}

.roles::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.roles > * {
  position: relative;
}

.roles .eyebrow {
  border-color: rgba(249, 199, 79, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

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

.role-card {
  display: grid;
  position: relative;
  min-height: 260px;
  align-content: space-between;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(4px);
  transition:
    transform 280ms var(--ease),
    background 280ms var(--ease),
    border-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
  overflow: hidden;
}

.role-card::after {
  content: "→";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 900;
  transition:
    transform 280ms var(--ease),
    background 280ms var(--ease);
}

.role-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 199, 79, 0.45);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.role-card:hover::after {
  transform: translate(3px, -3px);
  background: var(--gold);
  color: var(--ink);
}

.role-card span {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.role-card:nth-child(2) span {
  background: var(--brand-bright);
  color: var(--white);
}

.role-card:nth-child(3) span {
  background: var(--coral);
  color: var(--white);
}

.role-card strong {
  display: block;
  max-width: 320px;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.28;
  letter-spacing: 0;
}

.role-card ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.role-card li {
  position: relative;
  padding-left: 18px;
}

.role-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.demo-stage {
  width: min(1180px, calc(100% - 40px));
}

.demo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.slide-controls {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 340px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.slide-tab {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 820;
  transition:
    background 220ms var(--ease),
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.slide-tab:hover {
  color: var(--ink);
}

.slide-tab.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--white);
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.22);
}

.demo-carousel {
  position: relative;
  min-height: 520px;
}

.demo-slide {
  display: none;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 520px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(620px 320px at 12% 8%, rgba(223, 247, 241, 0.85), transparent 60%),
    radial-gradient(520px 280px at 90% 90%, rgba(255, 246, 216, 0.7), transparent 60%),
    var(--white);
  box-shadow: var(--shadow-md);
}

.demo-slide.active {
  display: grid;
}

.demo-slide[hidden] {
  display: none;
}

.demo-copy h3 {
  margin: 0;
  font-size: clamp(29px, 3.35vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.demo-copy p {
  margin: 22px 0 0;
  color: #3d5b56;
  font-size: 17px;
  font-weight: 580;
  line-height: 1.74;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #2f4d49;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.mock-screen {
  justify-self: end;
  width: min(100%, 430px);
  min-height: 560px;
  padding: 0;
  border: 10px solid #233f42;
  border-radius: 28px;
  background: #233f42;
  box-shadow: 0 30px 70px rgba(22, 48, 46, 0.22);
  overflow: hidden;
}

.app-phone {
  overflow: hidden;
  min-height: 560px;
  border-radius: 18px;
  background: var(--brand-tint);
}

.phone-header {
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: #111827;
}

.app-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
}

.phone-header strong {
  font-size: 14px;
  font-weight: 920;
}

.phone-header span {
  color: #7b8494;
  font-size: 20px;
  line-height: 1;
}

.phone-body {
  padding: 18px;
}

.phone-body.scrolled {
  padding-top: 22px;
}

.phone-date,
.class-name {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 880;
}

.phone-body h4 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dash-grid div,
.family-mini div {
  min-height: 128px;
  padding: 18px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.05);
}

.dash-grid span,
.family-mini span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4f7ff;
  font-size: 20px;
}

.dash-grid strong {
  display: block;
  margin-top: 14px;
  color: #111827;
  font-size: 26px;
  line-height: 1;
}

.dash-grid em {
  margin-left: 3px;
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
  font-weight: 780;
}

.dash-grid small,
.quick-card small,
.family-mini small {
  display: block;
  margin-top: 7px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 760;
}

.quick-card,
.album-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 16px;
  background: var(--white);
}

.quick-card strong,
.album-head h4 {
  display: block;
  margin: 0;
  color: #111827;
  font-size: 15px;
}

.quick-card button,
.album-head button,
.alert-card button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.quick-card button,
.album-head button {
  padding: 0 14px;
}

.record-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.record-pills span {
  min-height: 42px;
  padding: 11px 8px;
  border: 1px solid #c9f0df;
  border-radius: 12px;
  background: #ecfdf5;
  color: #047857;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.record-pills span:nth-child(2) {
  border-color: #ffe1d3;
  background: var(--coral-tint);
  color: var(--coral-deep);
}

.record-pills span:nth-child(3) {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.record-pills span:nth-child(4) {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.alert-card,
.white-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
}

.alert-card {
  border: 1px solid #fecaca;
  background: #fff1f2;
}

.alert-card > div,
.card-title,
.album-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.alert-card b {
  color: #dc2626;
  font-size: 14px;
}

.alert-card a,
.card-title a {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.alert-card section {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--white);
}

.alert-card section small {
  grid-column: 1 / 2;
  color: #6b7280;
  font-size: 12px;
}

.alert-card section span {
  color: #dc2626;
  font-weight: 900;
}

.white-card {
  margin-top: 16px;
}

.child-status {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.child-status li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
}

.child-status span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  font-weight: 950;
}

.child-status span.pink {
  background: #fce7f3;
  color: #db2777;
}

.child-status strong {
  font-size: 14px;
}

.child-status b {
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
}

.meal-card p,
.family-note p,
.album-card p {
  margin: 12px 0 0;
  color: #374151;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.meal-card b {
  color: var(--brand);
}

.album-head {
  margin-top: 4px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.album-head p {
  margin: 3px 0 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 720;
}

.album-card {
  overflow: hidden;
  margin-top: 20px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 140px;
}

.album-grid span {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(34, 197, 94, 0.2)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=420&q=70") center/cover;
}

.album-grid span:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(59, 130, 246, 0.18)),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=420&q=70");
}

.album-grid span:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(245, 158, 11, 0.18)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=420&q=70");
}

.album-card .album-title,
.album-card p,
.tag-row,
.teacher {
  margin-left: 16px;
  margin-right: 16px;
}

.album-title {
  margin-top: 16px;
}

.album-title strong {
  color: #111827;
  font-size: 16px;
}

.album-title em {
  color: #9ca3af;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  align-items: center;
}

.tag-row small,
.teacher {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 760;
}

.tag-row b {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 11px;
}

.teacher {
  display: block;
  margin-top: 12px;
  margin-bottom: 16px;
}

.family-note strong {
  color: var(--brand);
  font-size: 15px;
}

.family-mini {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: #16302e;
  color: var(--white);
}

.mock-topbar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.mock-topbar strong {
  font-size: 17px;
}

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

.metric-tile {
  min-height: 98px;
  padding: 18px;
  border-radius: 16px;
  background: var(--mint);
}

.metric-tile.cyan {
  background: #e4f7fb;
}

.metric-tile.coral {
  background: #fff0ea;
}

.metric-tile small,
.notice-stack small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.metric-tile strong {
  display: block;
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.05;
}

.mock-panel,
.daily-card,
.chat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.panel-title,
.approval-row,
.child-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title {
  margin-bottom: 14px;
  font-weight: 950;
}

.panel-title em {
  color: var(--brand);
  font-size: 13px;
  font-style: normal;
}

.approval-row,
.child-row {
  min-height: 64px;
  padding: 12px 0;
  border-top: 1px solid #edf4f2;
}

.approval-row.compact {
  min-height: 72px;
  padding: 14px 0;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 950;
}

.avatar.gold {
  background: var(--gold);
  color: var(--ink);
}

.approval-row div,
.child-row div {
  flex: 1;
}

.approval-row strong,
.child-row strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.approval-row small,
.child-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.45;
}

.approval-row b,
.child-row b {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--brand);
  font-size: 12px;
}

.status-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.status-bars span {
  position: relative;
  overflow: hidden;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf3f0;
  color: #23443f;
  font-size: 13px;
  font-weight: 900;
}

.status-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: rgba(15, 118, 110, 0.18);
}

.status-bars span {
  isolation: isolate;
}

.chat-card {
  margin: 18px 0;
}

.chat-card p {
  margin: 0;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.62;
}

.chat-card span {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff6d8;
  color: #8a5b00;
  font-size: 13px;
  font-weight: 900;
}

.notice-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.notice-stack div,
.family-actions button {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.notice-stack strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.daily-card {
  margin: 18px 0;
}

.daily-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.daily-card p {
  margin: 0;
  color: #36504c;
  font-weight: 580;
  line-height: 1.68;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 10px;
  margin-bottom: 16px;
}

.photo-strip span {
  min-height: 104px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 122, 89, 0.85), rgba(249, 199, 79, 0.86)),
    #fff1e8;
}

.photo-strip span:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.84), rgba(14, 154, 167, 0.72)),
    #e4f7fb;
}

.photo-strip span:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(249, 199, 79, 0.72), rgba(15, 118, 110, 0.76)),
    #fff6d8;
}

.family-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.family-actions button {
  min-height: 60px;
  color: var(--ink);
  cursor: default;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.slide-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slide-arrows button {
  min-width: 86px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.slide-arrows button:hover {
  border-color: rgba(15, 118, 110, 0.3);
  background: var(--brand-tint);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.slide-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.screen-menu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.screen-menu-list span,
.form-preview label {
  min-height: 54px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.form-preview {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.form-preview label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.form-preview strong {
  color: var(--ink);
}

.mock-panel p,
.screen-note {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}

.workflow-copy p {
  margin-top: 20px;
  font-size: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.timeline li {
  position: relative;
  min-height: 118px;
  padding: 26px 26px 26px 92px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease),
    border-color 280ms var(--ease);
}

.timeline li:hover {
  transform: translateX(4px);
  border-color: rgba(15, 118, 110, 0.2);
  box-shadow: var(--shadow-md);
}

.timeline li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.28);
}

.timeline li:nth-child(2)::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 8px 20px rgba(249, 199, 79, 0.32);
}

.timeline li:nth-child(3)::before {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  box-shadow: 0 8px 20px rgba(255, 122, 89, 0.32);
}

.timeline li:nth-child(4)::before {
  background: linear-gradient(135deg, var(--cyan), var(--brand));
  box-shadow: 0 8px 20px rgba(14, 154, 167, 0.32);
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.closing {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  padding: 60px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(720px 360px at 12% 12%, rgba(255, 246, 216, 0.95), transparent 60%),
    radial-gradient(620px 320px at 90% 88%, rgba(255, 226, 210, 0.85), transparent 60%),
    linear-gradient(135deg, var(--brand-tint) 0%, var(--cream) 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.22), transparent 70%);
  pointer-events: none;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  padding: 38px 20px 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.footer-mail {
  color: var(--brand-deep);
  font-weight: 800;
  transition: color 160ms var(--ease);
}

.footer-mail:hover {
  color: var(--coral-deep);
}

.closing-copy {
  max-width: 720px;
}

.closing-sub {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

@keyframes helper-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section.reveal.is-visible > * {
  animation: stagger-in 600ms var(--ease) both;
}

@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .hero-helper {
    width: min(72vw, 360px);
  }

  .demo-heading {
    align-items: start;
    flex-direction: column;
  }

  .slide-controls {
    width: min(100%, 420px);
    min-width: 0;
  }

  .demo-carousel {
    min-height: auto;
  }

  .demo-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mock-screen {
    justify-self: center;
  }

  .feature-grid,
  .evidence-grid,
  .role-list,
  .workflow {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 10px 12px;
  }

  .brand img {
    width: 126px;
  }

  .header-actions {
    gap: 8px;
  }

  .text-link {
    display: none;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .button.small {
    width: auto;
  }

  .hero {
    padding: 120px 20px 88px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero h1 br {
    display: none;
  }

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

  .hero-actions,
  .hero-strip {
    display: grid;
  }

  .hero-strip span {
    justify-content: center;
  }

  .closing {
    padding: 36px 28px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 70px 0;
  }

  .demo-stage {
    width: calc(100% - 32px);
  }

  .slide-controls {
    grid-template-columns: 1fr;
  }

  .demo-slide {
    padding: 20px;
  }

  .mock-screen {
    min-height: auto;
    padding: 14px;
    border-width: 7px;
    border-radius: 22px;
  }

  .metric-row,
  .notice-stack,
  .family-actions,
  .screen-menu-list {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .photo-strip span:first-child {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .evidence-grid,
  .role-list,
  .workflow {
    grid-template-columns: 1fr;
  }

  .roles {
    padding: 70px 16px;
  }

  .feature-card,
  .role-card {
    min-height: auto;
  }

  .timeline li {
    padding: 76px 22px 22px;
  }

  .timeline li::before {
    left: 22px;
    top: 22px;
  }

  .closing {
    display: grid;
    padding: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-helper img {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
