:root {
  --home-bg: #0f1115;
  --home-panel: #171b22;
  --home-panel-2: #202632;
  --home-line: #303846;
  --home-soft-line: rgba(148, 163, 184, 0.18);
  --home-text: #f4f7fb;
  --home-muted: #9aa7b8;
  --home-green: #3fbf8f;
  --home-green-2: #2a9d74;
  --home-cyan: #4cc9f0;
  --home-amber: #e0a43a;
  --home-red: #e26363;
  --home-blue: #4f8cff;
  --home-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(63, 191, 143, 0.10), transparent 30%),
    linear-gradient(25deg, transparent 58%, rgba(76, 201, 240, 0.09)),
    var(--home-bg);
  color: var(--home-text);
  font: 15px/1.5 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

button,
input {
  font: inherit;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--home-line);
  background: rgba(15, 17, 21, 0.86);
  backdrop-filter: blur(18px);
}

.home-header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.home-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--home-green);
  color: #06120d;
  box-shadow: 0 16px 36px rgba(63, 191, 143, 0.20);
}

.home-mark svg {
  width: 21px;
  height: 21px;
}

.home-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.home-brand small {
  display: block;
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 12px;
}


.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-left: 6px;
  border: 1px solid rgba(224, 164, 58, 0.46);
  border-radius: 999px;
  background: rgba(224, 164, 58, 0.12);
  color: #f2c66d;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.home-nav {
  gap: 26px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 600;
}

.home-nav a:hover,
.header-link:hover,
.home-footer a:hover {
  color: var(--home-text);
}

.header-actions {
  gap: 10px;
}

.header-link {
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 700;
}

.header-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(63, 191, 143, 0.32);
  border-radius: 8px;
  background: rgba(63, 191, 143, 0.12);
  color: #dfffee;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  width: min(1260px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(720px, 1.35fr);
  gap: 24px;
  align-items: start;
  padding: 52px 0 66px;
}

.hero-copy {
  max-width: 500px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  border: 1px solid rgba(63, 191, 143, 0.36);
  border-radius: 999px;
  background: rgba(63, 191, 143, 0.10);
  padding: 8px 13px;
  color: #dfffee;
  font-size: 14px;
  font-weight: 800;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--home-cyan);
}

h1 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(36px, 3.65vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 500px;
  margin: 16px 0 0;
  color: #c8d1dc;
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 850;
}

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

.button-primary:hover {
  background: #58d6a5;
}

.button-secondary {
  border-color: var(--home-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--home-text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-stats {
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-stats div {
  min-height: 72px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(32, 38, 50, 0.62);
  padding: 12px;
}

.hero-stats strong {
  display: block;
  color: var(--home-green);
  font-size: 22px;
  line-height: 1;
}

.hero-stats div:nth-child(2) strong {
  color: var(--home-amber);
}

.hero-stats div:nth-child(3) strong {
  color: var(--home-blue);
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-preview {
  min-width: 0;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-panel);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.studio-screenshot {
  min-width: 0;
  align-self: end;
  margin: 0;
  aspect-ratio: 846 / 526;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #11151d;
  box-shadow: var(--home-shadow);
  overflow: hidden;
  transform: translateX(8px);
}

.studio-screenshot img {
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: none;
  transform-origin: top left;
}

.preview-topbar {
  min-height: 44px;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--home-line);
  background: #12161d;
  padding: 0 14px;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--home-red);
}

.window-controls span:nth-child(2) {
  background: var(--home-amber);
}

.window-controls span:nth-child(3) {
  background: var(--home-green);
}

.preview-topbar strong {
  font-size: 14px;
}

.preview-topbar small {
  color: var(--home-muted);
  font: 12px/1.2 "Cascadia Mono", Consolas, monospace;
}

.preview-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--home-line);
  background: #161b23;
  padding: 8px 12px;
  color: var(--home-muted);
  font-size: 12px;
}

.preview-toolbar span {
  border: 1px solid var(--home-line);
  border-radius: 6px;
  background: #1d2330;
  padding: 7px 9px;
}

.preview-toolbar b {
  color: var(--home-text);
}

.preview-toolbar button {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: var(--home-green);
  color: #06120d;
  padding: 0 12px;
  font-weight: 850;
}

.preview-toolbar .flash {
  background: var(--home-amber);
}

.preview-body {
  min-height: 282px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.preview-files {
  border-right: 1px solid var(--home-line);
  background: #141922;
  padding: 12px 10px;
  color: #d9e2ef;
  font-size: 13px;
}

.preview-files p {
  margin: 0 0 12px;
  color: var(--home-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.preview-files span {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 5px;
  padding: 0 7px;
}

.preview-files span:nth-of-type(4) {
  background: rgba(79, 140, 255, 0.14);
}

.preview-files svg {
  width: 15px;
  height: 15px;
  color: var(--home-cyan);
}

.preview-files .indent {
  padding-left: 20px;
}

.preview-files .indent-2 {
  padding-left: 34px;
}

.preview-editor {
  min-width: 0;
  background: #1e1e1e;
}

.editor-tab {
  width: fit-content;
  min-height: 36px;
  display: flex;
  align-items: center;
  border-right: 1px solid #333842;
  background: #252526;
  padding: 0 14px;
  color: #e7edf5;
  font-size: 13px;
}

.preview-editor pre,
.preview-output pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.62 "Cascadia Mono", Consolas, monospace;
}

.preview-editor pre {
  padding: 15px 18px 20px;
  color: #d4d4d4;
}

.code-muted {
  color: #c586c0;
}

.code-cyan {
  color: #9cdcfe;
}

.code-amber {
  color: #dcdcaa;
}

.code-green {
  color: #ce9178;
}

.preview-output {
  border-top: 1px solid var(--home-line);
  background: #0c1016;
  padding: 12px 14px 16px;
}

.output-label {
  display: block;
  margin-bottom: 8px;
  color: var(--home-cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.preview-output pre {
  color: #cbd5e1;
}

.board-workflow {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 34px;
  align-items: center;
  border-block: 1px solid rgba(48, 56, 70, 0.78);
  padding: 34px 0;
}

.board-workflow-copy {
  max-width: 470px;
}

.board-workflow-copy p {
  margin: 0;
  color: var(--home-green);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.board-workflow-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.16;
}

.board-workflow-copy span {
  display: block;
  margin-top: 12px;
  color: var(--home-muted);
}

.board-workflow img {
  width: min(100%, 560px);
  justify-self: end;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.28));
}

.section,
.why-c {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading p,
.why-c > div:first-child > p {
  margin: 0;
  color: var(--home-green);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading h2,
.why-c h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.15;
}

.section-heading span {
  display: block;
  margin-top: 12px;
  color: var(--home-muted);
}

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

.feature-card,
.workflow-grid article {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(32, 38, 50, 0.56);
  padding: 18px;
}

.feature-card svg {
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
}

.feature-card:nth-child(1) svg,
.feature-card:nth-child(4) svg,
.feature-card:nth-child(6) svg {
  color: var(--home-green);
}

.feature-card:nth-child(2) svg,
.feature-card:nth-child(5) svg {
  color: var(--home-amber);
}

.feature-card:nth-child(3) svg {
  color: var(--home-blue);
}

.feature-card h3,
.workflow-grid h3 {
  margin: 0;
  font-size: 18px;
}

.feature-card p,
.workflow-grid p {
  margin: 10px 0 0;
  color: var(--home-muted);
}

.why-c {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 38px;
  border-block: 1px solid var(--home-line);
}

.why-copy {
  color: #cbd5e1;
}

.why-copy p {
  margin: 0 0 14px;
}

.why-copy strong {
  color: var(--home-text);
  font-size: 18px;
}

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

.workflow-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--home-amber);
  font-size: 14px;
  font-weight: 900;
}

.pricing-section {
  padding-top: 24px;
  border-block: 1px solid rgba(48, 56, 70, 0.78);
}

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

.pricing-note {
  width: 100%;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(190, 128, 28, 0.72);
  border-radius: 6px;
  background: rgba(28, 21, 11, 0.82);
  padding: 15px 16px;
  color: #e7edf7;
  font-size: 14px;
  line-height: 1.35;
}

.pricing-note strong {
  color: #ffd166;
  font-weight: 900;
  white-space: nowrap;
}

.pricing-note span {
  color: #e7edf7;
}

.plan-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid rgba(63, 191, 143, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(63, 191, 143, 0.12), transparent 42%),
    rgba(32, 38, 50, 0.68);
  box-shadow: var(--home-shadow);
  padding: 24px;
}

.beta-note {
  width: min(940px, 100%);
  margin: 22px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(224, 164, 58, 0.36);
  border-radius: 8px;
  background: rgba(224, 164, 58, 0.09);
  padding: 14px 16px;
}

.beta-note strong {
  color: #f2c66d;
  white-space: nowrap;
}

.beta-note span {
  color: #d4deeb;
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.plan-head h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.plan-head p {
  margin: 8px 0 0;
  color: var(--home-green);
  font-weight: 850;
}

.plan-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(63, 191, 143, 0.42);
  border-radius: 999px;
  background: rgba(63, 191, 143, 0.12);
  color: #dfffee;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.plan-lead {
  margin: 20px 0 0;
  color: #dbe5f1;
  font-size: 18px;
}

.plan-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 18px;
  margin-top: 20px;
}

.plan-features,
.plan-limits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.plan-features li,
.plan-limits li {
  position: relative;
  padding-left: 24px;
  color: #d4deeb;
}

.plan-features li::before,
.plan-limits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--home-green);
  font-weight: 900;
}

.plan-limits {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(15, 17, 21, 0.48);
  padding: 16px;
}

.plan-limits strong {
  display: block;
  margin-bottom: 12px;
  color: var(--home-text);
  font-size: 16px;
}

.plan-limits ul {
  display: grid;
  gap: 9px;
}

.plan-limits li {
  color: var(--home-muted);
}

.plan-limits li::before {
  content: "-";
  color: var(--home-amber);
}

.plan-cta,
.waitlist-button {
  width: 168px;
  margin-top: 26px;
}

.pro-card {
  border-color: rgba(76, 201, 240, 0.34);
  background:
    linear-gradient(145deg, rgba(76, 201, 240, 0.12), transparent 42%),
    rgba(32, 38, 50, 0.68);
}

.pro-badge {
  border-color: rgba(76, 201, 240, 0.42);
  background: rgba(76, 201, 240, 0.12);
  color: #e3f8ff;
}

.pro-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.pro-features li::before {
  color: var(--home-cyan);
}

.waitlist-form {
  width: 100%;
  margin-top: auto;
  display: grid;
}

.waitlist-email-panel {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(15, 17, 21, 0.48);
  padding: 16px;
}

.waitlist-email-panel label {
  display: grid;
  gap: 7px;
}

.waitlist-email-panel span {
  color: #d4dce8;
  font-size: 14px;
  font-weight: 800;
}

.waitlist-email-panel input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #10141b;
  color: var(--home-text);
  outline: 0;
  padding: 0 13px;
}

.waitlist-email-panel input:focus {
  border-color: var(--home-cyan);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.15);
}


.signin-status.success {
  color: var(--home-green);
}

.home-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--home-line);
  padding: 20px 0 26px;
  color: var(--home-muted);
  font-size: 14px;
}

.home-footer a {
  color: var(--home-green);
  font-weight: 800;
}

.footer-contact {
  position: relative;
}

.support-email-button {
  border: 0;
  background: transparent;
  color: var(--home-green);
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 800;
}

.support-email-button:hover {
  color: #58d6a5;
}

.email-copied-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  transform: translateY(12px);
  border: 1px solid rgba(63, 191, 143, 0.42);
  border-radius: 8px;
  background: #171b22;
  box-shadow: var(--home-shadow);
  color: #dfffee;
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  font-weight: 850;
  transition: opacity 160ms ease, transform 160ms ease;
}

.email-copied-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.signin-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.signin-modal:target {
  display: grid;
}

.signin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.72);
  backdrop-filter: blur(10px);
}

.signin-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #171b22;
  box-shadow: var(--home-shadow);
  padding: 24px;
}

#signup .signin-card {
  max-height: calc(100vh - 40px);
  overflow: visible;
  padding: 18px;
}

.signin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.signin-head h2 {
  margin: 0;
  font-size: 26px;
}

.signin-head p {
  margin: 6px 0 0;
  color: var(--home-muted);
}

.signin-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  color: var(--home-muted);
  font-size: 24px;
  line-height: 1;
}

.signin-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.signin-form label {
  display: grid;
  gap: 7px;
}

.signin-form span {
  color: #d4dce8;
  font-size: 14px;
  font-weight: 800;
}

.signin-form input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #10141b;
  color: var(--home-text);
  outline: 0;
  padding: 0 13px;
}

.signin-form input:focus {
  border-color: var(--home-green);
  box-shadow: 0 0 0 3px rgba(63, 191, 143, 0.15);
}

.signin-form .button {
  width: 100%;
}

.signin-status {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--home-muted);
  font-size: 13px;
}

.signin-status.error {
  color: var(--home-red);
}

.signin-providers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.signin-providers button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--home-text);
  cursor: pointer;
  font-weight: 800;
}

.signin-providers svg {
  width: 16px;
  height: 16px;
}

.auth-switch {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  text-align: center;
}

.auth-switch a {
  color: var(--home-green);
  font-weight: 850;
}

.auth-switch.secondary {
  margin-top: 6px;
  font-size: 13px;
}

.auth-switch.secondary a {
  color: var(--home-muted);
}

.auth-switch.secondary a:hover {
  color: var(--home-text);
}

.signup-plan-note {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  border: 1px solid rgba(63, 191, 143, 0.28);
  border-radius: 8px;
  background: rgba(63, 191, 143, 0.08);
  padding: 10px 12px;
}

.signup-plan-note strong {
  color: #dfffee;
}

.signup-plan-note span {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

.signup-plan-details {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(15, 17, 21, 0.38);
  padding: 10px 12px;
}

.signup-plan-details ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-plan-details li {
  position: relative;
  padding-left: 20px;
  color: #d4deeb;
  font-size: 13px;
  line-height: 1.25;
}

.signup-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--home-green);
  font-weight: 900;
}

.signup-plan-details strong {
  margin-top: 2px;
  color: var(--home-text);
  font-size: 14px;
}

.signup-limit-list li {
  color: var(--home-muted);
}

.signup-limit-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--home-amber);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .home-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  h1,
  .hero-text {
    max-width: 700px;
  }

  .product-preview {
    max-width: 760px;
  }

  .feature-grid,
  .workflow-grid,
  .why-c,
  .plans-grid,
  .plan-grid,
  .pro-grid,
  .board-workflow {
    grid-template-columns: 1fr;
  }

  .plan-features {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    gap: 18px;
  }

  .board-workflow img {
    justify-self: start;
    width: min(100%, 520px);
  }
}

@media (max-width: 680px) {
  .home-header-inner,
  .hero-inner,
  .section,
  .why-c,
  .board-workflow,
  .home-footer {
    width: min(100% - 28px, 1180px);
  }

  .home-brand small,
  .header-link {
    display: none;
  }

  .hero-inner {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-stats,
  .preview-body {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .plan-card {
    padding: 18px;
  }

  .beta-note,
  .pricing-note {
    display: grid;
  }

  .plan-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-cta {
    width: 100%;
  }

  .preview-files {
    display: none;
  }

  .preview-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .preview-toolbar span,
  .preview-toolbar button {
    flex: 1 1 130px;
  }

  .preview-topbar {
    grid-template-columns: 58px 1fr;
  }

  .preview-topbar small {
    display: none;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .signin-providers {
    grid-template-columns: 1fr;
  }
}
