:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #566174;
  --line: #dbe3ef;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --surface-strong: #f9fbff;
  --navy: #1f2f56;
  --teal: #0f766e;
  --blue: #2563eb;
  --orange: #f97316;
  --green: #16a34a;
  --shadow: 0 24px 70px rgba(31, 47, 86, 0.18);
  --soft-shadow: 0 14px 34px rgba(31, 47, 86, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(20, 184, 166, 0.12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(37, 99, 235, 0.12), transparent 26%),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.62;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(31, 47, 86, 0.1);
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
}

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

.page,
.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 92px));
  overflow: hidden;
  border-bottom: 1px solid rgba(31, 47, 86, 0.1);
  background:
    linear-gradient(90deg, rgba(247, 250, 255, 0.98) 0%, rgba(247, 250, 255, 0.86) 44%, rgba(247, 250, 255, 0.18) 74%),
    linear-gradient(135deg, #eef8f7 0%, #eef4ff 48%, #fff7ed 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 58px 0 66px;
}

.hero-copy {
  max-width: 690px;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ambient-shot {
  position: absolute;
  width: min(34vw, 380px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform-origin: center;
}

.ambient-clock {
  right: min(24vw, 340px);
  bottom: -110px;
  transform: rotate(-7deg);
}

.ambient-calendar {
  right: min(10vw, 120px);
  top: 42px;
  width: min(36vw, 420px);
  transform: rotate(4deg);
}

.ambient-widget {
  right: min(1vw, 16px);
  bottom: -170px;
  width: min(33vw, 380px);
  transform: rotate(-2deg);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.18;
}

h1 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 950;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 950;
}

h3 {
  font-size: 20px;
  font-weight: 900;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #334155;
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

.button.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.22);
}

.button.secondary {
  border-color: rgba(31, 47, 86, 0.18);
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
}

.hero-points {
  display: grid;
  max-width: 630px;
  gap: 0;
  margin: 34px 0 0;
}

.hero-points div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(31, 47, 86, 0.14);
}

.hero-points dt,
.hero-points dd {
  margin: 0;
}

.hero-points dt {
  color: var(--navy);
  font-size: 14px;
  font-weight: 950;
}

.hero-points dd {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 86px 0;
  border-top: 1px solid rgba(31, 47, 86, 0.1);
}

.screen-section {
  border-top: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.screen-card {
  display: grid;
  grid-template-rows: auto minmax(150px, auto);
  overflow: hidden;
  border: 1px solid rgba(31, 47, 86, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.screen-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 100%);
}

.screen-card div {
  padding: 22px;
}

.screen-card p,
.widget-copy p,
.widget-points p,
.card p,
.legal p,
.support-panel p,
.mini-screen-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-large {
  grid-column: span 1;
}

.feature-large img {
  object-position: center top;
}

.widget-section {
  width: 100%;
  max-width: none;
  padding: 96px 0;
  background: linear-gradient(135deg, #eafaf6 0%, #eef5ff 48%, #fff7ed 100%);
}

.widget-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.widget-visual {
  margin: 0;
}

.widget-visual img {
  display: block;
  width: min(100%, 430px);
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.widget-copy {
  max-width: 640px;
}

.widget-copy > p {
  font-size: 18px;
  font-weight: 650;
}

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

.widget-points article,
.card,
.mini-screen-grid article {
  border: 1px solid rgba(31, 47, 86, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(31, 47, 86, 0.08);
}

.pro-section {
  padding-bottom: 100px;
}

.plan-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.plan-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(31, 47, 86, 0.12);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
}

.plan-summary span {
  color: var(--muted);
  font-weight: 850;
}

.plan-summary strong {
  color: var(--orange);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.comparison {
  overflow-x: auto;
  border: 1px solid rgba(31, 47, 86, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(31, 47, 86, 0.1);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf4fb;
  color: #27364f;
  font-size: 14px;
}

td {
  color: #354052;
}

tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 900;
}

.tag.yes {
  background: #e7f7ef;
  color: #0f6655;
}

.tag.pro {
  background: #eaf1ff;
  color: #1d4ed8;
}

.tag.limited {
  background: #fff3d8;
  color: #b45309;
}

.tag.unavailable {
  background: #f1f5f9;
  color: #64748b;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 20%, rgba(249, 115, 22, 0.32), transparent 28%),
    #17213a;
  color: #ffffff;
  padding: 30px;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-band .button.primary {
  flex: 0 0 auto;
  background: #ffffff;
  color: #17213a;
  box-shadow: none;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: 58px 0 64px;
}

.detail-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.detail-visual {
  margin: 0;
}

.detail-visual img {
  display: block;
  width: min(100%, 380px);
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.mini-screen-grid article {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}

.mini-screen-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 100%);
}

.mini-screen-grid h3,
.mini-screen-grid p {
  padding-inline: 20px;
}

.mini-screen-grid h3 {
  margin-top: 18px;
}

.mini-screen-grid p {
  padding-bottom: 22px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card h3 {
  color: var(--navy);
  font-size: clamp(26px, 4vw, 40px);
}

.legal {
  max-width: 860px;
  padding: 52px 0 80px;
}

.legal h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.support-panel {
  max-width: 760px;
  border: 1px solid rgba(31, 47, 86, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.email-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 950;
}

.site-footer {
  border-top: 1px solid rgba(31, 47, 86, 0.1);
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ambient-clock {
    right: 54%;
    bottom: -160px;
  }

  .ambient-calendar {
    right: -40px;
    top: 130px;
    width: min(46vw, 360px);
  }

  .ambient-widget {
    display: none;
  }

  .screen-gallery,
  .mini-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widget-layout,
  .detail-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 680px;
    align-items: start;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .ambient-clock {
    display: none;
  }

  .ambient-calendar {
    right: 18px;
    top: auto;
    bottom: -150px;
    width: min(62vw, 330px);
    opacity: 0.78;
  }

  .hero-points {
    max-width: 100%;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-large {
    grid-column: span 1;
  }

  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .widget-points,
  .plan-summary,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(247, 250, 255, 0.98) 0%, rgba(247, 250, 255, 0.9) 66%, rgba(247, 250, 255, 0.44) 100%),
      linear-gradient(135deg, #eef8f7 0%, #eef4ff 48%, #fff7ed 100%);
  }

  .hero-inner {
    min-height: 700px;
  }

  .ambient-calendar {
    width: min(74vw, 300px);
    bottom: -110px;
  }

  .hero-points div,
  .plan-summary div {
    grid-template-columns: 1fr;
  }

  .hero-points div {
    gap: 4px;
  }

  .section {
    padding: 66px 0;
  }

  .screen-card {
    grid-template-rows: minmax(360px, 1fr) auto;
  }

  .screen-card div,
  .widget-points article,
  .card,
  .cta-band,
  .support-panel {
    padding: 20px;
  }

  .mini-screen-grid {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 0;
    table-layout: fixed;
  }

  th,
  td {
    padding: 12px 9px;
    font-size: 12px;
  }

  th:first-child,
  td:first-child {
    width: 42%;
  }

  .tag {
    min-height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }
}
