@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #172033;
  --ink-deep: #0f1728;
  --muted: #52617a;
  --muted-light: #7b879b;
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --sky: #38bdf8;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --line: #dce5f0;
  --blue-soft: #eaf2ff;
  --sky-soft: #e9f8fe;
  --positive: #176b47;
  --positive-soft: #e8f7f0;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 14px 44px rgba(23, 32, 51, 0.08);
  --shadow-blue: 0 18px 46px rgba(37, 99, 235, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

svg {
  display: block;
}

.shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 50px 0 54px;
  background:
    linear-gradient(180deg, rgba(234, 242, 255, 0.74), rgba(247, 249, 252, 0.2) 68%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-orb-one {
  top: -160px;
  right: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0));
}

.hero-orb-two {
  bottom: -230px;
  left: -170px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.11), rgba(37, 99, 235, 0));
}

.hero-layout {
  position: relative;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--muted-light);
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.eyebrow > span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--primary);
}

.hero-copy h1,
.section-heading h2,
.support-copy h2 {
  margin: 0;
  letter-spacing: -0.07em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 15vw, 4.25rem);
  font-weight: 900;
  line-height: 1.02;
}

.hero-copy h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-description {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.customer-messenger-launch {
  display: grid;
  width: 100%;
  min-height: 108px;
  margin-top: 26px;
  padding: 18px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(125, 211, 252, 0.3), transparent 30%),
    linear-gradient(125deg, #1d4ed8 0%, var(--primary) 48%, #173e91 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.28);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.customer-messenger-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.3);
}

.customer-messenger-launch:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 4px;
}

.customer-launch-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.customer-launch-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.customer-messenger-launch > span:nth-child(2) { min-width: 0; }
.customer-messenger-launch small,
.customer-messenger-launch strong,
.customer-messenger-launch em { display: block; }
.customer-messenger-launch small {
  color: #c9dcff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.customer-messenger-launch strong {
  margin-top: 3px;
  font-size: 1.18rem;
  line-height: 1.35;
}
.customer-messenger-launch em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-style: normal;
}
.customer-messenger-launch b {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  color: #1d4ed8;
  background: #fff;
  border-radius: 999px;
  font-size: 1.08rem;
  white-space: nowrap;
}
.customer-messenger-launch b span {
  font-size: 0.78rem;
  font-weight: 900;
}

.search-stage {
  position: relative;
  margin-top: 30px;
}

.feature-search {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 7px 7px 18px;
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.11);
}

.feature-search > svg {
  width: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.feature-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature-search input::placeholder {
  color: #99a4b5;
}

.feature-search > button {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.feature-search > button:hover {
  background: var(--primary-deep);
}

.feature-search > button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.key-hint {
  display: none;
}

.quick-row {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-row::-webkit-scrollbar {
  display: none;
}

.quick-row button {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.quick-row button:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.35);
}

.search-results {
  position: absolute;
  z-index: 12;
  top: 70px;
  left: 0;
  width: 100%;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(23, 32, 51, 0.18);
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
}

.search-result:hover {
  background: var(--bg);
}

.search-result div {
  min-width: 0;
}

.search-result strong,
.search-result span {
  display: block;
}

.search-result strong {
  font-size: 0.95rem;
}

.search-result span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-result b {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 0.82rem;
}

.command-panel {
  margin-top: 34px;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.08), transparent 42%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 40, 0.18);
}

.command-head,
.command-list a,
.command-list button,
.panel-download {
  display: flex;
  align-items: center;
}

.command-head {
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.command-head > div span,
.command-head > div strong {
  display: block;
}

.command-head > div span,
.panel-download small {
  color: #91a0b8;
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.command-head > div strong {
  margin-top: 4px;
  font-size: 1.05rem;
}

.live-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: #8fe2bf;
  background: rgba(23, 107, 71, 0.24);
  border: 1px solid rgba(143, 226, 191, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.live-badge i {
  width: 6px;
  height: 6px;
  background: #67d9a6;
  border-radius: 50%;
}

.command-list {
  padding: 6px 0;
}

.command-list a,
.command-list button {
  width: 100%;
  gap: 12px;
  padding: 12px 2px;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.command-list > :last-child {
  border-bottom: 0;
}

.command-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #a7b5ca;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
}

.command-icon.command-blue {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.command-icon svg,
.task-icon svg,
.download-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.command-list a > span:nth-child(2),
.command-list button > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.command-list strong,
.command-list small {
  display: block;
}

.command-list strong {
  font-size: 0.92rem;
}

.command-list small {
  margin-top: 3px;
  color: #91a0b8;
  font-size: 0.75rem;
}

.command-list b {
  color: #71819a;
  font-size: 1rem;
}

.panel-download {
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 16px;
  color: #fff;
  background: var(--primary);
  border-radius: 15px;
}

.panel-download span,
.panel-download small,
.panel-download strong {
  display: block;
}

.panel-download small {
  color: rgba(255, 255, 255, 0.66);
}

.panel-download strong {
  margin-top: 4px;
  font-size: 0.92rem;
}

.panel-download b {
  font-size: 0.8rem;
}

.section-space {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.support-copy h2 {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
}

.heading-row > p,
.guide-heading > p:last-child,
.download-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.task-grid {
  display: grid;
  gap: 10px;
}

.task-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.task-card:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.task-card-featured {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}

.task-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--blue-soft);
  border-radius: 14px;
}

.task-card-featured .task-icon {
  color: var(--primary);
  background: #fff;
}

.task-card small,
.task-card strong {
  display: block;
}

.task-card small {
  margin-bottom: 5px;
  color: var(--muted-light);
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.task-card-featured small {
  color: rgba(255, 255, 255, 0.68);
}

.task-card strong {
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.task-card b {
  color: var(--primary);
}

.task-card-featured b {
  color: #fff;
}

.app-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-showcase {
  display: grid;
  gap: 12px;
}

.featured-app {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(56, 189, 248, 0.25), transparent 30%),
    linear-gradient(145deg, #172033 8%, #1c2b4a 100%);
  border-radius: var(--radius-lg);
}

.app-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border-radius: 15px;
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.app-logo-image {
  display: block;
  object-fit: contain;
  color: inherit;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.status-badge {
  padding: 7px 10px;
  color: #9bdcf7;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.featured-copy h3,
.pass-app h3 {
  margin: 28px 0 0;
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.featured-copy > p,
.pass-app p {
  margin: 9px 0 0;
  color: #aebbd0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 16px;
  color: #fff;
  background: var(--primary);
  border-radius: 13px;
  font-size: 0.88rem;
  font-weight: 800;
}

.text-button {
  color: #c0cadd;
  font-size: 0.84rem;
  font-weight: 700;
}

.app-preview {
  padding: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(5, 12, 26, 0.27);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-bar i {
  width: 7px;
  height: 7px;
  background: #4dc68a;
  border-radius: 50%;
}

.preview-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid #edf1f6;
}

.preview-item:last-child {
  border-bottom: 0;
}

.preview-item.active {
  margin: 6px -4px 0;
  padding-inline: 8px;
  background: var(--blue-soft);
  border-bottom: 0;
  border-radius: 12px;
}

.preview-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #dce9ff;
  border-radius: 13px;
  font-size: 0.8rem;
  font-weight: 800;
}

.preview-avatar.second {
  color: #0f7a8c;
  background: #dff7fb;
}

.preview-avatar.third {
  color: #6a52b8;
  background: #eee9ff;
}

.preview-item span:nth-child(2) {
  min-width: 0;
}

.preview-item strong,
.preview-item small {
  display: block;
}

.preview-item strong {
  font-size: 0.78rem;
}

.preview-item small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-item b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-family: Inter, sans-serif;
  font-size: 0.62rem;
}

.preview-item time {
  color: #99a4b5;
  font-size: 0.62rem;
}

.pass-app {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--blue-soft);
  border: 1px solid #d4e4ff;
  border-radius: var(--radius-lg);
}

.pass-logo {
  color: #fff;
  background: var(--primary);
  box-shadow: none;
}

.status-ready {
  color: var(--positive);
  background: var(--positive-soft);
  border-color: #cbeadb;
}

.pass-app h3 {
  color: var(--ink);
}

.pass-app p {
  color: var(--muted);
}

.pass-app > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  border-top: 1px solid #cadcf7;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
}

.guide-layout {
  display: grid;
  gap: 8px;
}

.guide-heading > p:last-child,
.download-heading > p:last-child {
  margin-top: 13px;
}

.guide-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.guide-list a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.guide-list a:last-child {
  border-bottom: 0;
}

.guide-list a:hover {
  background: var(--blue-soft);
}

.guide-number {
  color: var(--primary);
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.guide-list strong,
.guide-list small {
  display: block;
}

.guide-list strong {
  font-size: 0.95rem;
  letter-spacing: -0.025em;
}

.guide-list small {
  margin-top: 4px;
  color: var(--muted-light);
  font-size: 0.76rem;
}

.guide-list b {
  color: var(--primary);
}

.support-section {
  padding-top: 0;
}

.support-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  padding: 28px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(56, 189, 248, 0.18), transparent 26%),
    var(--ink);
  border-radius: var(--radius-lg);
}

.support-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--primary);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}

.support-mark span {
  font-size: 0.9rem;
  font-weight: 900;
}

.eyebrow-light {
  color: #91a0b8;
}

.eyebrow-light > span {
  background: var(--sky);
}

.support-copy .eyebrow {
  margin-bottom: 12px;
}

.support-copy h2 {
  font-size: clamp(2rem, 9vw, 2.8rem);
}

.support-copy > p:last-child {
  margin: 13px 0 0;
  color: #aebbd0;
  font-size: 0.92rem;
}

.support-button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 15px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.download-section {
  padding: 72px 0 78px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.download-layout {
  display: grid;
  gap: 2px;
}

.download-grid {
  display: grid;
  gap: 10px;
}

.download-item {
  min-height: 100px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}

.download-disabled {
  color: #8995a8;
}

.download-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border-radius: 15px;
}

.download-disabled .download-icon {
  color: #778499;
  background: #edf1f6;
}

.download-copy small,
.download-copy strong,
.download-copy em {
  display: block;
}

.download-copy small {
  color: currentColor;
  opacity: 0.68;
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.download-copy strong {
  margin-top: 3px;
  font-size: 0.98rem;
}

.download-copy em {
  margin-top: 2px;
  color: currentColor;
  font-size: 0.72rem;
  font-style: normal;
  opacity: 0.7;
}

.download-action {
  font-size: 0.8rem;
  font-weight: 800;
}

.floating-help {
  position: fixed;
  z-index: 25;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(15, 23, 40, 0.25);
  cursor: pointer;
}

.floating-help > span:last-child {
  display: none;
}

.help-face {
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.help-dialog {
  width: min(calc(100% - 28px), 480px);
  padding: 0;
  background: var(--surface);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(10, 14, 25, 0.28);
}

.help-dialog::backdrop {
  background: rgba(7, 10, 17, 0.62);
  backdrop-filter: blur(7px);
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 22px 22px 18px;
  color: #fff;
  background: var(--ink);
}

.dialog-head span {
  color: #83d9fa;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dialog-head h2 {
  margin: 6px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.dialog-head button {
  padding: 0 4px;
  color: #fff;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
}

.dialog-body {
  padding: 20px;
}

.dialog-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dialog-suggestions button {
  padding: 9px 11px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
}

.dialog-input {
  margin-top: 18px;
}

.dialog-input textarea {
  width: 100%;
  resize: none;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  font-size: 1rem;
}

.dialog-input textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dialog-input > button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 16px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dialog-status {
  min-height: 20px;
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.is-frame .floating-help {
  display: none;
}

@media (min-width: 760px) {
  .shell {
    width: min(100% - 64px, 1180px);
  }

  .hero-section {
    padding: 80px 0 72px;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
    align-items: center;
    column-gap: 56px;
    row-gap: 32px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .command-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .customer-messenger-launch {
    min-height: 124px;
    margin-top: 0;
    padding: 22px 26px;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 20px;
    border-radius: 28px;
  }

  .customer-launch-icon {
    width: 68px;
    height: 68px;
    border-radius: 21px;
  }

  .customer-launch-icon svg {
    width: 31px;
  }

  .customer-messenger-launch strong {
    font-size: 1.55rem;
  }

  .customer-messenger-launch em {
    font-size: 0.86rem;
  }

  .customer-messenger-launch b {
    padding: 14px 20px;
  }

  .hero-copy h1 {
    font-size: clamp(4.4rem, 8vw, 6.3rem);
  }

  .hero-description {
    font-size: 1.08rem;
  }

  .feature-search {
    min-height: 72px;
  }

  .feature-search input {
    font-size: 1.05rem;
  }

  .key-hint {
    display: block;
    padding: 6px 8px;
    color: #8d99ab;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: Inter, sans-serif;
    font-size: 0.7rem;
  }

  .command-panel {
    margin-top: 0;
    padding: 22px;
  }

  .section-space {
    padding: 96px 0;
  }

  .heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
  }

  .heading-row > p {
    max-width: 27ch;
    margin: 0 0 4px;
    text-align: right;
  }

  .task-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .task-card {
    min-height: 190px;
    grid-template-columns: 1fr auto;
    align-content: space-between;
    padding: 24px;
  }

  .task-icon {
    grid-column: 1 / -1;
  }

  .task-card strong {
    font-size: 1.15rem;
  }

  .app-showcase {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  }

  .featured-app {
    grid-template-columns: minmax(0, 0.86fr) minmax(260px, 1.14fr);
    align-items: center;
    min-height: 420px;
    padding: 34px;
  }

  .app-preview {
    transform: rotate(1.5deg);
  }

  .pass-app {
    min-height: 420px;
    padding: 30px;
  }

  .guide-layout {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 70px;
    align-items: start;
  }

  .guide-heading {
    position: sticky;
    top: 116px;
    margin: 0;
  }

  .guide-list a {
    min-height: 88px;
    padding: 22px 24px;
  }

  .support-card {
    grid-template-columns: 58px 1fr 250px;
    align-items: center;
    gap: 26px;
    padding: 38px;
  }

  .support-button {
    min-height: 62px;
  }

  .download-section {
    padding: 94px 0 100px;
  }

  .download-layout {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 70px;
    align-items: end;
  }

  .download-heading {
    margin: 0;
  }

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

  .download-item {
    min-height: 120px;
    padding: 20px;
  }

  .floating-help {
    width: auto;
    height: 54px;
    display: flex;
    gap: 10px;
    padding: 0 18px 0 9px;
    border-radius: 999px;
  }

  .floating-help > span:last-child {
    display: inline;
    font-size: 0.84rem;
    font-weight: 800;
  }

  .help-face {
    width: 38px;
    height: 38px;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
  }
}

@media (min-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.23fr) 400px;
    column-gap: 84px;
    row-gap: 36px;
  }

  .hero-section {
    padding: 96px 0 88px;
  }

  .command-panel {
    padding: 24px;
  }

  .featured-app {
    padding: 40px;
  }

  .featured-copy h3 {
    font-size: 2.45rem;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(100% - 26px, 1180px);
  }

  .hero-copy h1 {
    font-size: 2.85rem;
  }

  .customer-messenger-launch {
    padding: 16px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .customer-launch-icon {
    width: 52px;
    height: 52px;
  }

  .customer-messenger-launch strong {
    font-size: 1.08rem;
  }

  .customer-messenger-launch b {
    padding: 11px;
  }

  .customer-messenger-launch b span {
    display: none;
  }

  .feature-search {
    padding-left: 14px;
  }

  .command-panel,
  .featured-app,
  .pass-app,
  .support-card {
    border-radius: 22px;
  }

  .download-item {
    grid-template-columns: 46px 1fr;
  }

  .download-icon {
    width: 46px;
    height: 46px;
  }

  .download-action {
    grid-column: 2;
    margin-top: -8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Homepage: shared conversations and industry paths */
.group-preview {
  display: grid;
  gap: 10px;
}

.preview-members {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0 6px;
}

.preview-members span {
  padding: 5px 8px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.preview-members b {
  margin-left: auto;
  color: var(--primary);
  font-size: 0.68rem;
}

.message-row {
  max-width: 88%;
}

.message-row small {
  display: block;
  margin: 0 0 4px 4px;
  color: var(--muted-light);
  font-size: 0.64rem;
  font-weight: 700;
}

.message-row p {
  margin: 0;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px 14px 14px 14px;
  font-size: 0.76rem;
  line-height: 1.55;
}

.message-row.outgoing {
  justify-self: end;
}

.message-row.outgoing small {
  text-align: right;
}

.message-row.outgoing p {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 14px 5px 14px 14px;
}

.message-row.system {
  max-width: none;
  padding: 5px 0 0;
  color: var(--muted-light);
  text-align: center;
  font-size: 0.66rem;
}

.link-logo {
  color: #fff;
  background: var(--ink);
  box-shadow: none;
}

.link-app-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 36%),
    #edf5ff;
}

.industry-section {
  padding: 76px 0 84px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%, rgba(56, 189, 248, 0.15), transparent 26%),
    radial-gradient(circle at 92% 82%, rgba(37, 99, 235, 0.18), transparent 30%),
    var(--ink-deep);
}

.industry-intro {
  margin-bottom: 28px;
}

.industry-intro h2 {
  margin: 0;
  font-size: clamp(2.3rem, 10vw, 4.9rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.industry-intro > p:last-child {
  margin: 15px 0 0;
  color: #9eabc0;
  font-size: 0.95rem;
}

.industry-grid {
  display: grid;
  gap: 10px;
}

.industry-card {
  --accent: #5aa8ff;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.industry-card::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 170px;
  height: 170px;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%);
  pointer-events: none;
}

.industry-card:hover {
  z-index: 1;
  background: rgba(255, 255, 255, 0.09);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translateY(-5px);
}

.industry-interior { --accent: #f4a261; }
.industry-moving { --accent: #7c8cff; }
.industry-sales { --accent: #45c88a; }

.industry-index {
  align-self: flex-end;
  color: var(--accent);
  font-family: Inter, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.industry-card > div {
  margin-top: 24px;
}

.industry-card small,
.industry-card strong {
  display: block;
}

.industry-card small {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.industry-card strong {
  font-size: 1.4rem;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.industry-card > p {
  margin: 12px 0 24px;
  color: #9eabc0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.industry-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
}

.industry-link b {
  color: var(--accent);
}

@media (min-width: 760px) {
  .industry-section {
    padding: 112px 0 120px;
  }

  .industry-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 40px;
    margin-bottom: 48px;
  }

  .industry-intro .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -10px;
  }

  .industry-intro > p:last-child {
    justify-self: end;
    margin: 0 0 8px;
  }

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

  .industry-card {
    min-height: 310px;
    padding: 28px;
  }

  .industry-card strong {
    font-size: 1.7rem;
  }
}

@media (min-width: 1080px) {
  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .industry-card:nth-child(even) {
    margin-top: 32px;
  }
}
