:root {
  color-scheme: dark light;
  --ink: #101318;
  --paper: #fffaf0;
  --paper-soft: #f5efe4;
  --night: #090c10;
  --night-2: #121821;
  --muted: #68717d;
  --muted-on-dark: #a9b6c4;
  --line: rgba(16, 19, 24, 0.14);
  --line-on-dark: rgba(255, 250, 240, 0.15);
  --green: #00c985;
  --cyan: #6fd4ff;
  --amber: #ffbc66;
  --rose: #ff637d;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body.en {
  word-break: normal;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 250, 240, 0.13);
  background: rgba(9, 12, 16, 0.78);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(0, 201, 133, 0.95), rgba(111, 212, 255, 0.8)),
    var(--night);
  box-shadow: 0 0 30px rgba(0, 201, 133, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 14px;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fffaf0;
}

.language-link {
  padding: 7px 10px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 999px;
  color: #fffaf0;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(820px, 84svh);
  padding: clamp(74px, 10vw, 118px) clamp(18px, 4vw, 42px) clamp(46px, 7vw, 74px);
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.94) 0%, rgba(9, 12, 16, 0.82) 38%, rgba(9, 12, 16, 0.34) 72%, rgba(9, 12, 16, 0.22) 100%),
    image-set(url("./remudio/recording.png") 1x);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(9, 12, 16, 0), var(--night));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  margin-bottom: 20px;
  max-width: 650px;
  color: #fffaf0;
  font-size: clamp(31px, 5.5vw, 66px);
  font-weight: 820;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.gate-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 11px 16px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 740;
  line-height: 1;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #06100d;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--night);
  color: #fffaf0;
}

.proof-item {
  min-height: 118px;
  padding: clamp(18px, 3vw, 30px);
  border-top: 1px solid var(--line-on-dark);
  background: rgba(255, 250, 240, 0.035);
}

.proof-item b {
  display: block;
  margin-bottom: 6px;
  color: #fffaf0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.proof-item span {
  color: var(--muted-on-dark);
}

.section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 4vw, 42px);
}

.section.dark {
  color: #fffaf0;
  background: var(--night);
}

.section.soft {
  background: var(--paper-soft);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.46fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-heading p,
.dark .feature-card p,
.dark .timeline-item p,
.dark .screen-caption,
.dark .cta p {
  color: var(--muted-on-dark);
}

.screen-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.45fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.screen-frame {
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: var(--radius);
  background: #0f1319;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.screen-frame.light {
  border-color: var(--line);
  background: #11161d;
}

.screen-frame img {
  width: 100%;
  height: auto;
}

.screen-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(27px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.screen-copy p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.4);
}

.dark .feature-card {
  border-color: var(--line-on-dark);
  background: rgba(255, 250, 240, 0.04);
}

.feature-card .tag {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 820;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.screen-tile {
  display: grid;
  gap: 10px;
}

.screen-caption {
  color: var(--muted);
  font-size: 14px;
}

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

.timeline-item {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.48);
}

.timeline-item h3 {
  margin-bottom: 14px;
  font-size: 27px;
  line-height: 1.1;
}

.timeline-item p {
  color: var(--muted);
}

.timeline-item ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.timeline-item li {
  margin-top: 8px;
  padding-left: 18px;
  position: relative;
}

.timeline-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.3fr);
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line-on-dark);
  padding-top: clamp(34px, 5vw, 58px);
}

.cta h2 {
  margin-bottom: 14px;
  font-size: clamp(33px, 5vw, 68px);
  line-height: 1.02;
}

.cta p {
  margin-bottom: 0;
  max-width: 720px;
  font-size: 18px;
}

.footer {
  padding: 28px clamp(18px, 4vw, 42px);
  color: rgba(255, 250, 240, 0.66);
  background: var(--night);
  border-top: 1px solid var(--line-on-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  font-size: 13px;
}

.language-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #fffaf0;
}

.gate {
  width: min(520px, calc(100% - 36px));
}

.gate h1 {
  font-size: clamp(42px, 8vw, 72px);
}

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

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

  .hero {
    min-height: 80svh;
    background:
      linear-gradient(180deg, rgba(9, 12, 16, 0.96), rgba(9, 12, 16, 0.74) 56%, rgba(9, 12, 16, 0.5)),
      image-set(url("./remudio/recording.png") 1x);
    background-position: center;
  }

  .hero-proof,
  .section-heading,
  .screen-feature,
  .feature-grid,
  .screens-grid,
  .timeline,
  .cta {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .nav-links a:not(.language-link) {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .timeline-item {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}
