:root {
  --page: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --ink: #111827;
  --muted: #5c6678;
  --line: #d8e1eb;
  --blue: #2563eb;
  --teal: #0f9f8f;
  --coral: #ff493d;
  --amber: #f59e0b;
  --green: #35b779;
  --shadow: 0 20px 60px rgb(15 23 42 / 16%);
  color-scheme: light;
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 42%, #eef3f7 100%);
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgb(216 225 235 / 72%);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgb(15 23 42 / 10%);
  transform: translateX(-50%);
  transition:
    min-height 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.site-header.is-compact {
  min-height: 56px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(15 23 42 / 14%);
}

.brand-link,
.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-link {
  min-width: 0;
  gap: 10px;
  color: #172033;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  width: 46px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #435064;
  font-size: 14px;
  font-weight: 600;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.header-action,
.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  gap: 8px;
  padding: 0 16px;
  color: #ffffff;
  background: #172033;
  font-size: 14px;
}

.primary-action {
  gap: 10px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--coral);
  box-shadow: 0 14px 30px rgb(255 73 61 / 25%);
}

.secondary-action {
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 68%);
  color: #ffffff;
  background: rgb(17 24 39 / 34%);
  backdrop-filter: blur(8px);
}

.hero-section {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 138px max(24px, calc((100% - 1160px) / 2)) 74px;
  color: #ffffff;
  background: #172033;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(17 24 39 / 82%) 0%, rgb(17 24 39 / 56%) 48%, rgb(17 24 39 / 26%) 100%),
    linear-gradient(180deg, rgb(15 23 42 / 0%) 0%, rgb(15 23 42 / 22%) 100%);
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgb(255 255 255 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 8%) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(17 24 39 / 26%) 0%, rgb(17 24 39 / 8%) 58%, rgb(17 24 39 / 0%) 100%),
    linear-gradient(180deg, rgb(17 24 39 / 0%) 0%, rgb(17 24 39 / 34%) 100%);
}

.hero-board-image {
  position: absolute;
  z-index: 3;
  width: min(980px, 68vw);
  height: auto;
  right: max(24px, calc((100% - 1160px) / 2 - 80px));
  top: 112px;
}

.item-blue {
  color: var(--blue);
  background: #eff6ff;
}

.item-amber {
  color: #b45309;
  background: #fffbeb;
}

.item-teal {
  color: #0f766e;
  background: #ecfdf5;
}

.item-coral {
  color: #c2410c;
  background: #fff1f0;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(680px, 100%);
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker {
  color: #7dd3c7;
}

.hero-content h1 {
  margin: 0;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(610px, 100%);
  margin: 24px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: 22px;
  line-height: 1.45;
}

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

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

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.section-heading h2,
.naming-copy h2,
.final-content h2 {
  margin: 0;
  color: #172033;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
}

.feature-card h3 {
  margin: 22px 0 10px;
  color: #172033;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.naming-copy p,
.flow-list p,
.final-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.feature-icon {
  width: 44px;
  height: 44px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.icon-draft::before {
  width: 20px;
  height: 24px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.icon-draft::after {
  width: 12px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 7px 0 var(--blue);
}

.icon-columns::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--teal);
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 31%, var(--teal) 31%, var(--teal) 38%, transparent 38%, transparent 64%, var(--teal) 64%, var(--teal) 71%, transparent 71%),
    linear-gradient(180deg, transparent 48%, var(--teal) 48%, var(--teal) 56%, transparent 56%);
}

.icon-drag::before {
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--coral);
  box-shadow: 0 -8px 0 var(--coral), 0 8px 0 var(--coral);
}

.icon-progress::before {
  width: 26px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 999px;
}

.icon-progress::after {
  left: 13px;
  width: 14px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.icon-save::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--amber);
  border-radius: 5px;
}

.icon-save::after {
  width: 12px;
  height: 7px;
  border-right: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
}

.icon-export::before {
  width: 22px;
  height: 18px;
  border: 2px solid #7c3aed;
  border-radius: 4px;
}

.icon-export::after {
  width: 12px;
  height: 12px;
  border-top: 3px solid #7c3aed;
  border-right: 3px solid #7c3aed;
  transform: rotate(45deg);
}

.naming-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.naming-copy p {
  margin-top: 18px;
}

.naming-visual {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #172033 0%, #24324a 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.naming-visual img {
  position: absolute;
  right: 26px;
  bottom: 30px;
  width: 260px;
  max-width: 80%;
  transform: rotate(4deg);
}

.naming-item {
  position: absolute;
  left: 24px;
  min-width: 190px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0 18px;
  box-shadow: 0 16px 34px rgb(0 0 0 / 16%);
  font-size: 14px;
  font-weight: 900;
}

.naming-item:first-of-type {
  top: 72px;
}

.naming-item:last-of-type {
  top: 140px;
  left: 68px;
}

.flow-section {
  padding-bottom: 92px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.flow-list span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.flow-list strong {
  display: block;
  margin-bottom: 10px;
  color: #172033;
  font-size: 20px;
}

.final-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 58px;
  border-radius: 8px;
  background: #172033;
  color: #ffffff;
}

.final-content {
  width: min(720px, 100%);
}

.final-content h2 {
  color: #ffffff;
}

.final-content p {
  margin: 18px 0 28px;
  color: rgb(255 255 255 / 78%);
}

.site-footer {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  color: #667085;
  font-size: 14px;
}

.site-footer a {
  color: #172033;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 24px, 760px);
  }

  .site-nav {
    display: none;
  }

  .header-action {
    margin-left: auto;
  }

  .hero-section {
    min-height: 80svh;
    padding: 122px 20px 60px;
  }

  .hero-board-image {
    right: -250px;
    top: 128px;
    width: 860px;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .section-heading h2,
  .naming-copy h2,
  .final-content h2 {
    font-size: 34px;
  }

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

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

  .naming-visual {
    min-height: 310px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    min-height: 56px;
    gap: 10px;
    padding: 8px 10px;
  }

  .brand-link span {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 36px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-section {
    min-height: 78svh;
    padding: 104px 16px 44px;
  }

  .hero-board-image {
    z-index: 1;
    right: -430px;
    top: 116px;
    width: 760px;
  }

  .hero-backdrop::after {
    background:
      linear-gradient(180deg, rgb(17 24 39 / 0%) 0%, rgb(17 24 39 / 72%) 48%, #111827 100%),
      linear-gradient(90deg, rgb(17 24 39 / 18%) 0%, rgb(17 24 39 / 4%) 100%);
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1160px);
    padding: 58px 0;
  }

  .section-heading h2,
  .naming-copy h2,
  .final-content h2 {
    font-size: 29px;
  }

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

  .feature-card,
  .flow-list li {
    min-height: 0;
  }

  .flow-list span {
    margin-bottom: 22px;
  }

  .naming-visual {
    min-height: 280px;
  }

  .naming-visual img {
    right: -18px;
    width: 220px;
  }

  .naming-item {
    left: 18px;
    min-width: 172px;
  }

  .naming-item:last-of-type {
    left: 42px;
  }

  .final-section {
    width: min(100% - 28px, 1160px);
    padding: 34px 20px;
  }

  .site-footer {
    width: min(100% - 28px, 1160px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0 28px;
  }
}
