@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,500&display=swap");

:root {
  --forest-950: #0d2b24;
  --forest-900: #12382f;
  --forest-800: #17483c;
  --forest-700: #1e5c4c;
  --forest-100: #dcece5;
  --forest-50: #eff7f2;
  --ink: #17231f;
  --muted: #607069;
  --line: #dce3df;
  --cream: #f8f6f0;
  --paper: #fffefa;
  --sage: #dfe9d2;
  --orange: #e9824d;
  --shadow: 0 24px 70px rgba(20, 55, 45, 0.15);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--forest-900);
  font-weight: 700;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid #f2a55f;
  outline-offset: 3px;
}

.shell {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: white;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: #d9e7ce;
}

.brand-mark path {
  fill: none;
  stroke: var(--forest-900);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

nav > a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

nav > a:hover {
  color: white;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
}

.button-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.button-dark:hover {
  background: rgba(255, 255, 255, 0.17);
}

.button-primary {
  background: var(--sage);
  color: var(--forest-950);
  box-shadow: 0 10px 30px rgba(4, 21, 17, 0.2);
}

.button-primary:hover {
  background: #edf3e6;
  box-shadow: 0 14px 34px rgba(4, 21, 17, 0.25);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 164px 0 100px;
  background:
    radial-gradient(circle at 77% 42%, rgba(105, 164, 133, 0.22), transparent 29%),
    linear-gradient(135deg, var(--forest-950), var(--forest-900) 62%, #194b3e);
  color: white;
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: 580px;
  height: 580px;
  top: -280px;
  left: -140px;
}

.hero::after {
  width: 760px;
  height: 760px;
  right: -420px;
  bottom: -500px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 5rem;
  align-items: center;
}

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

.eyebrow,
.kicker {
  margin: 0 0 1.25rem;
  color: var(--forest-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #cbe0d4;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ec5a9;
  box-shadow: 0 0 0 5px rgba(158, 197, 169, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.8rem, 6.3vw, 6rem);
  line-height: 0.91;
  letter-spacing: -0.065em;
}

h1 em {
  color: #dce9d1;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 530px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: white;
  font-size: 0.94rem;
  font-weight: 600;
  text-underline-offset: 5px;
}

.hero-notes {
  display: flex;
  gap: 1.3rem;
  margin: 2.1rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  list-style: none;
}

.hero-notes li + li::before {
  margin-right: 1.3rem;
  color: rgba(255, 255, 255, 0.25);
  content: "•";
}

.product-preview {
  position: relative;
  min-height: 500px;
}

.preview-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  top: 40px;
  right: 40px;
  border-radius: 50%;
  background: rgba(158, 197, 169, 0.18);
  filter: blur(50px);
}

.calendar-window {
  position: absolute;
  top: 18px;
  right: 0;
  width: min(570px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: rotate(1.4deg);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 1.1rem;
  border-bottom: 1px solid #e6ebe8;
  font-size: 0.76rem;
  font-weight: 700;
}

.window-bar p {
  margin: 0;
}

.window-controls,
.window-spacer {
  width: 52px;
}

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

.window-controls span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9dfdc;
}

.calendar-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  height: 386px;
  padding: 1rem 1rem 1rem 0.5rem;
}

.time-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.1rem 0 0.1rem 0.5rem;
  color: #8a9691;
  font-size: 0.61rem;
}

.day-grid {
  position: relative;
  border-left: 1px solid #edf0ee;
  background:
    linear-gradient(90deg, transparent 49.8%, #f0f2f1 50%, transparent 50.2%),
    linear-gradient(#fafbfa, #fff);
}

.grid-line {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: #edf0ee;
}

.line-1 {
  top: 20%;
}

.line-2 {
  top: 40%;
}

.line-3 {
  top: 60%;
}

.line-4 {
  top: 80%;
}

.calendar-event {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 0.65rem;
  border-left: 3px solid;
  border-radius: 0.45rem;
  font-size: 0.66rem;
  line-height: 1.35;
}

.calendar-event strong {
  font-size: 0.75rem;
}

.event-time {
  margin-bottom: 0.16rem;
  opacity: 0.62;
}

.event-planning {
  top: 10%;
  left: 4%;
  width: 45%;
  height: 28%;
  border-color: #4b9b7d;
  background: #dff2e9;
  color: #194d3d;
}

.event-review {
  top: 45%;
  right: 4%;
  width: 44%;
  height: 25%;
  border-color: #708db4;
  background: #e4eafa;
  color: #304b71;
}

.event-lunch {
  right: 4%;
  bottom: 3%;
  width: 44%;
  height: 17%;
  border-color: #d39a58;
  background: #faeddc;
  color: #755129;
}

.automation-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  border: 1px solid rgba(29, 74, 61, 0.1);
  border-radius: 0.8rem;
  background: white;
  box-shadow: 0 18px 45px rgba(8, 35, 28, 0.2);
  color: var(--ink);
}

.automation-card strong,
.automation-card span {
  display: block;
}

.room-card {
  right: -20px;
  bottom: 36px;
  width: 360px;
  gap: 0.8rem;
  padding: 1rem;
}

.card-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 0.65rem;
  background: var(--forest-50);
  color: var(--forest-700);
  place-items: center;
}

.card-icon svg,
.scope-icon svg,
.activity-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.room-card > div:nth-child(2) {
  flex: 1;
}

.card-label,
.card-meta {
  color: #7b8883;
  font-size: 0.67rem;
}

.room-card strong {
  margin: 0.1rem 0;
  font-size: 0.83rem;
}

.check-icon {
  width: 24px;
  fill: none;
  stroke: #3b8e70;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.ooo-card {
  bottom: -3px;
  left: -28px;
  gap: 0.75rem;
  min-width: 255px;
  padding: 0.85rem;
  transform: rotate(-2deg);
}

.ooo-card strong {
  font-size: 0.78rem;
}

.avatar-stack {
  display: flex;
  width: 58px;
}

.avatar-stack span {
  display: grid;
  width: 34px;
  height: 34px;
  border: 2px solid white;
  border-radius: 50%;
  background: #e7dfce;
  color: #5b4d38;
  font-size: 0.58rem;
  font-weight: 700;
  place-items: center;
}

.avatar-stack span + span {
  margin-left: -10px;
  background: #dbe6ed;
  color: #3f5968;
}

.signal-strip {
  border-bottom: 1px solid var(--line);
  background: #f5f5ef;
}

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

.signal-grid p {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.7rem 2rem;
  border-right: 1px solid var(--line);
}

.signal-grid p:first-child {
  padding-left: 0;
}

.signal-grid p:last-child {
  border: 0;
}

.signal-grid strong {
  margin-bottom: 0.18rem;
  font-size: 0.8rem;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  padding: 110px 0;
}

.problem-section {
  background: var(--paper);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 4rem;
}

.section-heading h2,
.workflow-copy h2,
.beta-section h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.section-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.problem-grid article {
  padding: 2.2rem 2.3rem 0 0;
}

.problem-grid article + article {
  padding-left: 2.3rem;
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 2.3rem;
  color: var(--orange);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}

.problem-grid h3,
.workflow-steps h3,
.scope-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.problem-grid p,
.workflow-steps p,
.scope-card > p,
.scope-card li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.workflow-section {
  background: var(--cream);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7rem;
  align-items: center;
}

.workflow-steps {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid #d9ddd8;
}

.workflow-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest-900);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  place-items: center;
}

.workflow-steps h3,
.workflow-steps p {
  margin-bottom: 0;
}

.activity-panel {
  overflow: hidden;
  border: 1px solid #d7ddd9;
  border-radius: 1.1rem;
  background: white;
  box-shadow: 0 30px 60px rgba(41, 60, 51, 0.11);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid #e7ebe8;
}

.panel-header > div {
  display: flex;
  flex-direction: column;
}

.panel-header > div span {
  color: var(--muted);
  font-size: 0.65rem;
}

.panel-header strong {
  font-size: 1rem;
}

.live-pill {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 99px;
  background: var(--forest-50);
  color: var(--forest-700);
  font-size: 0.65rem;
  font-weight: 700;
}

.live-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4c9679;
}

.activity-list {
  padding: 0.2rem 1.6rem;
}

.activity-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid #edf0ee;
}

.activity-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
}

.activity-icon.success {
  background: #e3f2ea;
  color: #3b896d;
}

.activity-icon.refresh {
  background: #edf0f8;
  color: #62779a;
}

.activity-icon.neutral {
  background: #f1eee8;
  color: #776c5d;
}

.activity-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.84rem;
}

.activity-list p,
.activity-list time {
  margin: 0;
  color: #7c8984;
  font-size: 0.7rem;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.6rem;
  background: #fafbf9;
  color: #7c8984;
  font-size: 0.68rem;
}

.beta-scope {
  background: white;
}

.compact-heading {
  max-width: 680px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.scope-card {
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fbfcfa;
}

.scope-card-featured {
  border-color: #bed3c8;
  background: var(--forest-50);
}

.scope-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 2rem;
  border-radius: 0.7rem;
  background: white;
  color: var(--forest-700);
  box-shadow: 0 5px 15px rgba(34, 76, 62, 0.08);
  place-items: center;
}

.scope-card .card-kicker {
  margin-bottom: 0.55rem;
  color: var(--forest-700);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scope-card h3 {
  font-size: 1.7rem;
}

.scope-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(29, 74, 61, 0.13);
  list-style: none;
}

.scope-card ul li::before {
  margin-right: 0.65rem;
  color: #4a8c72;
  content: "✓";
  font-weight: 700;
}

.beta-section {
  background: var(--forest-900);
  color: white;
}

.beta-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 7rem;
  align-items: center;
}

.kicker-light {
  color: #a8c9b8;
}

.beta-section h2 {
  max-width: 650px;
}

.beta-section h2 + p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.7;
}

.beta-points {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  list-style: none;
}

.beta-points li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.beta-points span {
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(174, 208, 190, 0.14);
  color: #b8d6c5;
  font-size: 0.65rem;
  place-items: center;
}

.invite-card {
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 20px 50px rgba(2, 17, 13, 0.2);
  color: var(--ink);
}

.invite-label {
  margin-bottom: 0.7rem;
  color: var(--forest-700);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.invite-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.invite-card > p:not(.invite-label, .form-note) {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.invite-form-preview {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0;
  border: 0;
}

.invite-form-preview legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.invite-form-preview label {
  font-size: 0.74rem;
  font-weight: 700;
}

.invite-form-preview input {
  width: 100%;
  height: 48px;
  padding: 0 0.9rem;
  border: 1px solid #cfd8d3;
  border-radius: 0.55rem;
  background: #f8faf8;
  color: var(--muted);
}

.invite-form-preview button {
  height: 48px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 0.55rem;
  background: #79948a;
  color: white;
  font-weight: 700;
  cursor: not-allowed;
}

.form-note {
  margin: 0.9rem 0 0;
  color: #7a8782;
  font-size: 0.68rem;
}

footer {
  padding: 2.6rem 0;
  background: var(--forest-950);
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  font-size: 0.74rem;
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  color: white;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.legal {
  text-align: right;
}

@media (max-width: 980px) {
  .hero {
    padding-bottom: 120px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

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

  .product-preview {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .calendar-window {
    right: 4%;
    width: 88%;
  }

  .workflow-grid,
  .beta-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .workflow-copy {
    max-width: 650px;
  }

  .activity-panel {
    width: min(620px, 100%);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 2rem, 1160px);
  }

  .nav-wrap {
    min-height: 74px;
  }

  nav > a:not(.button) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 82px;
  }

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

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

  .hero-notes {
    display: grid;
    gap: 0.45rem;
  }

  .hero-notes li + li::before {
    margin-right: 0.6rem;
  }

  .product-preview {
    min-height: 405px;
  }

  .calendar-window {
    right: 0;
    width: 96%;
  }

  .calendar-body {
    height: 300px;
  }

  .room-card {
    right: -8px;
    bottom: -6px;
    width: min(330px, 92%);
  }

  .ooo-card {
    display: none;
  }

  .signal-grid,
  .problem-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid p,
  .signal-grid p:first-child {
    padding: 1.2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-grid p:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .problem-grid article,
  .problem-grid article + article {
    padding: 1.8rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-grid article:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .activity-list {
    padding-inline: 1rem;
  }

  .activity-list article {
    grid-template-columns: 38px 1fr;
  }

  .activity-list time {
    display: none;
  }

  .scope-card,
  .invite-card {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .legal {
    text-align: left;
  }
}

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

  .button {
    transition: none;
  }
}
