/* cohesera.com. The product's tokens (packages/shell/src/styles.css), light-first: the site sells
   calm and order; dark sections only for contrast. No JavaScript: menus and FAQ are <details>. */

@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-mono.woff2') format('woff2-variations');
}

:root {
  --font: 'Geist Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono Variable', ui-monospace, Consolas, monospace;
  --brand: #07594f;
  --brand-deep: #053f38;
  --brand-ink: #0b2723;
  --brand-soft: #07594f12;
  --mint: #b8ddd4;
  --mint-hover: #c9e7df;
  --on-mint: #123d38;
  --teal: #72bdb0;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #eaf1ee;
  --border: #15191b1a;
  --text: #15191b;
  --muted: #4f5c59;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(21 25 27 / 0.06), 0 24px 64px rgb(21 25 27 / 0.14);
  --wide: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 4.1vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
}

h3 {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42rem;
}

.accent {
  background: linear-gradient(90deg, #07594f, #2a9d8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow--light {
  color: var(--mint);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 24px;
  font-size: 1.04rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.92rem;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgb(7 89 79 / 0.28);
}

.btn--primary:hover {
  background: var(--brand-deep);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn--mint {
  background: var(--mint);
  color: var(--on-mint);
}

.btn--mint:hover {
  background: var(--mint-hover);
}

.btn--outline-light {
  border-color: #ffffff47;
  color: #fff;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 24px;
  margin-right: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__signin {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 10px;
}

.menu {
  display: none;
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu__panel {
  position: absolute;
  right: 0;
  top: 46px;
  width: min(300px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
}

.menu__panel a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.menu__panel a:hover {
  background: var(--surface-2);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 520px at 90% 0%, #55bfae2e, transparent 65%),
    radial-gradient(700px 520px at 0% 30%, #b8ddd450, transparent 60%),
    linear-gradient(180deg, #f4f7f5 0%, #ffffff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#07594f0a 1px, transparent 1px), linear-gradient(90deg, #07594f0a 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid #07594f2e;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(21 25 27 / 0.05);
}

.hero__copy .lead {
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  color: var(--brand);
}

.hero__visual {
  position: relative;
}

.hero__visual .browser {
  box-shadow:
    0 2px 4px rgb(21 25 27 / 0.06),
    0 40px 90px rgb(7 89 79 / 0.22);
}

.browser {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.browser__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #15191b26;
}

.browser__url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface);
  border-radius: 6px;
  padding: 2px 10px;
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgb(21 25 27 / 0.16);
  font-size: 0.85rem;
  line-height: 1.25;
}

.float strong {
  display: block;
}

.float small {
  color: var(--muted);
}

.float .app__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.float--a {
  left: -28px;
  bottom: 18%;
}

.float--b {
  right: -18px;
  top: 16%;
}

/* ---------- sections ---------- */

.section {
  padding: 112px 0;
}

.section--tint {
  background: var(--bg);
}

.section--dark {
  background: radial-gradient(800px 400px at 100% 0%, #72bdb022, transparent 60%), var(--brand-ink);
  color: #e8f2ef;
}

.section--dark .eyebrow {
  color: var(--mint);
}

.section--dark .lead,
.section--dark p {
  color: #b9d1ca;
}

.section__head {
  max-width: 46rem;
  margin-bottom: 52px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__head--center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* replace the stack */
.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.stack__list {
  list-style: none;
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  gap: 6px;
}

.stack__list li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
}

.stack__old {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: line-through;
  text-decoration-color: #c5303080;
}

.stack__old svg {
  color: #c53030;
  flex: none;
}

.stack__arrow {
  color: #15191b40;
}

.stack__new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.stack__new .app__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

/* tour */
.tour {
  display: grid;
  gap: 96px;
}

.tour__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
}

.tour__row:nth-child(even) .tour__text {
  order: 2;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ticks svg {
  flex: none;
  margin-top: 4px;
  color: var(--brand);
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  background: #ffffff0a;
  border: 1px solid #ffffff17;
  overflow: hidden;
}

.tile h3 {
  color: #fff;
}

.tile p {
  margin: 0;
  font-size: 0.96rem;
}

.tile__icon {
  color: var(--mint);
  margin-bottom: 14px;
}

.tile--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.mock--zip {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.mock--zip strong {
  display: block;
  color: #fff;
}

.mock--zip svg {
  color: var(--mint);
  flex: none;
}

.tile--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.mock {
  margin-top: 18px;
  border-radius: 14px;
  background: #ffffff0d;
  border: 1px solid #ffffff17;
  font-size: 0.86rem;
  color: #dbe9e5;
}

.mock--roles {
  margin-top: 0;
  padding: 8px;
  display: grid;
  gap: 4px;
}

.mock__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #ffffff08;
}

.mock__avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #b8ddd433;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.78rem;
}

.mock__chip {
  font-size: 0.74rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: #b8ddd41f;
  color: var(--mint);
}

.mock--switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.mock__toggle {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--teal);
}

.mock__toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.mock--log {
  display: grid;
  padding: 6px 14px;
}

.mock--log span {
  padding: 6px 0;
  border-bottom: 1px solid #ffffff12;
}

.mock--log span:last-child {
  border-bottom: 0;
}

.mock--log b {
  color: #fff;
  font-weight: 600;
}

.safety {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 32px;
  color: #b9d1ca;
  font-size: 0.94rem;
}

.safety span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.safety svg {
  color: var(--mint);
}

.safety .link-arrow {
  margin-left: auto;
}

/* apps */
.app__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: color-mix(in srgb, var(--accent), #000 18%);
  background: color-mix(in srgb, var(--accent) 15%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.appgrid {
  columns: 3 280px;
  column-gap: 28px;
}

.appgrid__group {
  break-inside: avoid;
  margin-bottom: 32px;
}

.appgrid__group h3 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

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

.app {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.15s;
}

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

.app__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app__name {
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}

.badge {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.plan {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.plan--main {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}

.plan__badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.plan__badge--muted {
  background: var(--surface-2);
  color: var(--text);
}

.plan__price {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 18px 0 4px;
  line-height: 1;
}

.plan__price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan__price--talk {
  font-size: 2.2rem;
}

.plan .ticks {
  margin: 22px 0 30px;
}

.plan .btn {
  margin-top: auto;
}

/* steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  padding: 28px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* final CTA */
.cta {
  padding: 0 0 96px;
}

.cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 56px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, #72bdb055, transparent 60%),
    radial-gradient(500px 300px at 0% 100%, #55bfae44, transparent 60%),
    linear-gradient(135deg, #07594f, #0b3f39);
}

.cta__box h2 {
  margin-bottom: 8px;
}

.cta__box .lead {
  color: #c9ddd7;
  margin: 0;
}

/* prose pages (security, privacy, terms) */
.page-head {
  padding: 80px 0 44px;
  background: radial-gradient(700px 300px at 90% 0%, #55bfae22, transparent 60%), var(--bg);
  border-bottom: 1px solid var(--border);
}

.prose {
  max-width: 46rem;
  padding: 56px 0 96px;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 1.8em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.updated {
  color: var(--muted);
  font-size: 0.92rem;
}

/* the 404 page and other centred sections */
.hero__copy--center {
  text-align: center;
}

/* footer */
.footer {
  background: var(--brand-ink);
  color: #b9d1ca;
  padding: 64px 0 40px;
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer .logo {
  color: #fff;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.9rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: #b9d1ca;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer__base {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #ffffff1f;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* ---------- smaller screens ---------- */

@media (max-width: 1060px) {
  .hero__grid,
  .stack,
  .tour__row,
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .tour__row:nth-child(even) .tour__text {
    order: 0;
  }
  .hero__visual {
    margin: 0 8px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile--wide {
    grid-column: span 2;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav,
  .header__signin {
    display: none;
  }
  .menu {
    display: block;
  }
  .header__inner {
    justify-content: space-between;
  }
  .section {
    padding: 76px 0;
  }
  .hero {
    padding: 48px 0 64px;
  }
  body {
    font-size: 16px;
  }
  .float {
    display: none;
  }
  .bento,
  .plans,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile--wide,
  .tile--full {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
  .stack__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .stack__arrow {
    display: none;
  }
  .cta__box {
    padding: 36px 24px;
  }
  .safety .link-arrow {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .app {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
