:root {
  color-scheme: light;
  --ink: #101318;
  --muted: #5c6573;
  --line: #dce2e8;
  --panel: #ffffff;
  --paper: #f5f7fa;
  --teal: #1c9da2;
  --teal-ink: #0c6367;
  --yellow: #f4b326;
  --violet: #766be6;
  --shadow: 0 22px 60px rgba(14, 24, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 226, 232, 0.75);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

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

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

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.hero {
  min-height: min(760px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  padding: clamp(72px, 11vw, 140px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(9, 13, 19, 0.9) 0%, rgba(9, 13, 19, 0.72) 38%, rgba(9, 13, 19, 0.1) 100%),
    url("assets/bucket-studio-hero.png") center / cover no-repeat;
}

.hero-copy {
  max-width: 720px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--yellow);
  color: #171308;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.release-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
}

.section,
.feature-grid,
.downloads {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(76px, 9vw, 112px) 0;
}

.section h2,
.downloads h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p,
.check-list {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: clamp(64px, 8vw, 104px);
}

.feature-grid article {
  min-height: 214px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(16, 19, 24, 0.05);
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust {
  border-top: 1px solid var(--line);
}

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

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(28, 157, 162, 0.14);
}

.downloads {
  padding-bottom: clamp(76px, 9vw, 112px);
}

.download-panel {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: #101318;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.download-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.download-links {
  margin-top: 28px;
}

.download-links a {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 750;
}

.support {
  border-top: 1px solid var(--line);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.support-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
}

.support-links a.secondary {
  background: #ffffff;
  color: var(--teal-ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

html[lang="ko"] body,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] p,
html[lang="ko"] li,
html[lang="ko"] a,
html[lang="ko"] .button,
html[lang="ko"] .release-note,
html[lang="ko"] .check-list {
  word-break: keep-all;
  overflow-wrap: normal;
}

html[lang="ko"] h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 5.2vw, 4.8rem);
  line-height: 1.04;
}

html[lang="ko"] .section h2,
html[lang="ko"] .downloads h2 {
  max-width: 640px;
  font-size: clamp(2.05rem, 3.2vw, 3.4rem);
  line-height: 1.1;
}

html[lang="ko"] .hero-text,
html[lang="ko"] .section p,
html[lang="ko"] .check-list {
  line-height: 1.72;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 720px;
    align-items: flex-end;
    background:
      linear-gradient(0deg, rgba(9, 13, 19, 0.96) 0%, rgba(9, 13, 19, 0.76) 52%, rgba(9, 13, 19, 0.18) 100%),
      url("assets/bucket-studio-hero.png") center / cover no-repeat;
  }

  .section {
    grid-template-columns: 1fr;
  }

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

  html[lang="ko"] h1 {
    font-size: clamp(3rem, 9vw, 4.2rem);
  }

  html[lang="ko"] .section h2,
  html[lang="ko"] .downloads h2 {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 3.1rem;
  }

  html[lang="ko"] h1 {
    font-size: clamp(2.55rem, 12vw, 3.1rem);
  }

  html[lang="ko"] .section h2,
  html[lang="ko"] .downloads h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.45rem);
  }

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

  .button,
  .download-links a,
  .support-links a {
    width: 100%;
  }

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