:root {
  color-scheme: light;
  --paper: #f8f7f5;
  --white: #fff;
  --ink: #211c20;
  --muted: #5b5459;
  --rule: #e2dce0;
  --accent: #a00070;
  --pink-surface: #fff0fa;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1184px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 8px; padding: 8px 12px; background: var(--white); z-index: 1; }
.skip:not(:focus) { clip-path: inset(50%); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; }
.header-inner nav { display: flex; gap: 28px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.header-inner nav a, .footer a { text-decoration: none; }
.header-inner nav a:hover, .footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.button, .btn-google-full {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 .9375rem/1.3 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: #d6009d; color: var(--white); }
.primary:hover { background: #bc008a; }
.outline, .btn-google-full { border-color: var(--rule); background: var(--white); color: var(--ink); }
.outline:hover, .btn-google-full:hover { background: var(--pink-surface); }
.btn-google-full:disabled { cursor: wait; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(64px, 8vw, 120px);
}
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: .875rem; font-weight: 600; }
.intro { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); max-width: 42ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; font-weight: 600; text-underline-offset: 4px; }
.text-link:hover, .faq-list summary:hover { color: var(--accent); }

.product { padding: 16px; background: var(--pink-surface); border-radius: 16px; }
.window-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 8px 8px 0 0; background: var(--white); font-size: .8125rem; }
.window-bar strong { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.window-bar > span { color: var(--muted); text-align: right; }
.board { padding: 20px 16px; border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 8px 8px; background: #faf9fa; }
.board-heading { display: grid; gap: 4px; margin-bottom: 16px; }
.board-heading strong { font-size: 1.375rem; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.board-heading span, .deal span, figcaption { color: var(--muted); font-size: .75rem; }
.board-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stage { min-width: 0; padding: 8px; border-radius: 8px; background: #f0edf0; }
.stage.active { background: var(--pink-surface); }
.stage-name { display: flex; justify-content: space-between; gap: 4px; margin-bottom: 8px; font-size: .75rem; font-weight: 600; line-height: 1.2; }
.stage-name span:last-child { color: var(--muted); }
.active .stage-name { color: var(--accent); }
.deal { display: grid; gap: 4px; min-height: 64px; padding: 8px; border: 1px solid var(--rule); border-radius: 4px; background: var(--white); font-size: .8125rem; line-height: 1.25; }
.deal strong { font-weight: 600; }
figcaption { padding-top: 8px; }

.section { padding-block: clamp(52px, 7vw, 88px); border-top: 1px solid var(--rule); }
.white { background: var(--white); }
.section-copy, .steps p, .features dd, .faq-list p { color: var(--muted); }
.section-copy { margin-top: 16px; max-width: 54ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; margin: 32px 0 0; list-style: none; }
.steps li { display: grid; align-content: start; gap: 12px; border-top: 1px solid var(--rule); padding-top: 16px; }
.steps li > span { color: var(--accent); font-size: .875rem; font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 7vw, 96px); }
.features > div, .faq-list details { border-top: 1px solid var(--rule); }
.features > div:last-child, .faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.features > div { padding-block: 16px; }
.features dt { font-weight: 600; margin-bottom: 4px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding-block: 12px; list-style: none; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-inline: 4px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list details p { padding-bottom: 16px; }
.final { background: var(--pink-surface); }
.final-inner, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer { min-height: 72px; font-size: .875rem; color: var(--muted); }

.login-dialog { width: min(100% - 32px, 400px); padding: 0; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); color: var(--ink); }
.login-dialog::backdrop { background: rgb(33 28 32 / .56); }
.login-dialog-inner { display: grid; gap: 16px; padding: 24px; }
.login-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.login-dialog-head h2 { font-size: 1.5rem; }
.login-dialog-close { min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.login-dialog-close:hover { background: var(--pink-surface); }
.login-status { font-size: .875rem; color: var(--muted); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  .hero h1 { max-width: 16ch; }
  .product { width: 100%; max-width: 640px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; }
  .header-inner nav { display: none; }
  .split, .steps { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding-block: 48px; }
}
@media (max-width: 420px) {
  .product, .board { padding: 12px; }
  .window-bar { padding-inline: 12px; }
  .board-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:last-child { grid-column: 1 / -1; }
  .stage:last-child .deal { min-height: auto; }
}
