:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5d6b7f;
  --line: #d9e1ea;
  --paper: #fbfcfe;
  --soft: #eef3f7;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --coral: #c2410c;
  --gold: #b7791f;
  --blue: #2563eb;
  --shadow: 0 18px 60px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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: 0 32px;
  border-bottom: 1px solid rgba(217, 225, 234, 0.82);
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 0.8rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header nav a:hover,
.site-header nav a.is-active {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 58px 28px 42px;
}

.hero.page-view.is-active {
  display: grid;
}

.hero h1,
.section-heading h2,
.content-layout h2,
.faq h2,
.assistant-page h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-one {
  inset: 40px 72px 116px 20px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.92) 0 10%, transparent 11%),
    linear-gradient(135deg, #2dd4bf, #2563eb 48%, #111827);
}

.panel-two {
  right: 12px;
  bottom: 58px;
  width: 48%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 18%, transparent 18% 100%),
    linear-gradient(145deg, #f97316, #facc15 46%, #0f766e);
}

.panel-three {
  left: 0;
  bottom: 10px;
  width: 54%;
  min-height: 150px;
  background: white;
}

.panel-three::before,
.panel-three::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  height: 14px;
  border-radius: 999px;
  background: var(--soft);
}

.panel-three::before {
  top: 34px;
}

.panel-three::after {
  top: 68px;
  right: 70px;
  background: #dbeafe;
}

.ad-band {
  width: min(1100px, calc(100% - 32px));
  min-height: 110px;
  margin: 16px auto 44px;
  padding: 14px;
  border: 1px dashed #b8c4d2;
  border-radius: 8px;
  background: #f7fafc;
  color: #718096;
  text-align: center;
}

.ad-band span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toolbar-section,
.content-layout,
.faq,
.policy-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.section-heading h2,
.content-layout h2,
.faq h2,
.assistant-page h2,
.policy-page h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  margin-bottom: 12px;
}

.search-box,
.category-box {
  display: grid;
  gap: 7px;
}

.search-box span,
.category-box span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.result-count {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.prompt-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(24, 33, 47, 0.06);
}

.prompt-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.prompt-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.35;
}

.badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.prompt-text {
  flex: 1;
  margin: 14px 18px 18px;
  color: #334155;
  font-size: 0.95rem;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}

.model {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.copy-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 12px;
}

.copy-button.copied {
  background: var(--teal);
}

.assistant-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.assistant-group + .assistant-group {
  margin-top: 34px;
}

.assistant-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.assistant-heading span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-heading h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.16;
}

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

.assistant-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 390px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(24, 33, 47, 0.06);
}

.assistant-card h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.34;
}

.assistant-card p {
  margin: 0;
  color: var(--muted);
}

.assistant-card code {
  display: block;
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.52;
  white-space: normal;
}

.assistant-card .copy-button {
  align-self: flex-start;
}

.work-guide {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

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

.work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(24, 33, 47, 0.06);
}

.work-number {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.work-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.32;
}

.work-card p {
  margin: 0;
  color: var(--muted);
}

.work-card code {
  display: block;
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: normal;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: start;
  padding: 78px 0 44px;
}

.content-layout article p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.tip-list {
  display: grid;
  gap: 12px;
}

.tip-list div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: white;
  box-shadow: 0 8px 24px rgba(24, 33, 47, 0.06);
}

.tip-list strong {
  font-size: 0.98rem;
}

.tip-list span {
  color: var(--muted);
}

.policy-page {
  padding: 58px 0 86px;
}

.policy-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.policy-layout article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(24, 33, 47, 0.06);
}

.policy-layout h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.32;
}

.policy-layout p {
  margin: 0;
  color: var(--muted);
}

.policy-layout p + p {
  margin-top: 12px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  padding: 46px 0 86px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  background: white;
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-note a {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 940px) {
  .hero,
  .content-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

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

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

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

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

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero {
    padding: 44px 18px 28px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 16vw, 4.8rem);
  }

  .tools,
  .prompt-grid,
  .work-grid,
  .assistant-grid {
    grid-template-columns: 1fr;
  }

  .prompt-card {
    min-height: 0;
  }

  .assistant-card,
  .work-card {
    min-height: 0;
  }

  .section-heading,
  .assistant-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
