/* bermfsm.com home page */

:root {
  --navy-950: #0a1424;
  --navy-900: #0e1a2e;
  --copper: #a84628;
  --copper-dark: #8e3a20;
  --copper-text: #a84628;
  --copper-tint: rgba(168, 70, 40, 0.1);
  --paper: #ffffff;
  --canvas: #f6f4f0;
  --canvas-deep: #eee9e1;
  --ink: #132039;
  --muted: #4b5869;
  --line: #e2ddd4;
  --line-strong: #cbc3b6;
  --check: #2f7d5b;
  --check-tint: rgba(47, 125, 91, 0.12);
  --on-dark: #ecf2fa;
  --on-dark-muted: rgba(236, 242, 250, 0.74);
  --shadow-card: 0 1px 2px rgba(10, 20, 36, 0.05), 0 8px 24px -14px rgba(10, 20, 36, 0.18);
  --shadow-shot: 0 40px 80px -42px rgba(14, 26, 46, 0.42), 0 0 0 1px rgba(14, 26, 46, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --copper-text: #eea07e;
    --copper-tint: rgba(238, 160, 126, 0.12);
    --paper: #12203a;
    --canvas: #0b1628;
    --canvas-deep: #0f1d33;
    --ink: #edf2f8;
    --muted: #aab7c8;
    --line: #22344f;
    --line-strong: #344a6b;
    --check: #62c697;
    --check-tint: rgba(98, 198, 151, 0.14);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-shot: 0 40px 80px -42px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

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

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

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

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
}

figure {
  margin: 0;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

[id] {
  scroll-margin-top: 84px;
}

:focus-visible {
  outline: 3px solid #6ea8ff;
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--copper-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-lg {
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16.5px;
}

.btn-block {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.btn-copper {
  background: var(--copper);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 22px -12px rgba(168, 70, 40, 0.75);
}

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

.btn-quiet-dark {
  color: #fff;
}

.btn-quiet-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 26, 46, 0.9);
  color: #fff;
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.header-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* Hero */

.hero {
  position: relative;
  padding-top: 88px;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(168, 70, 40, 0.34), transparent 62%),
    radial-gradient(760px 460px at -6% 4%, rgba(62, 112, 190, 0.24), transparent 60%),
    var(--navy-900);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 22%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 22%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 240px;
  background: var(--canvas);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
}

.eyebrow-pill {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.lead {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--on-dark-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  color: rgba(236, 242, 250, 0.6);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding-bottom: 80px;
}

.hero-visual .browser {
  max-width: 1060px;
  margin-inline: auto;
  box-shadow: 0 60px 120px -48px rgba(3, 9, 20, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.browser {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid #d9dfe7;
  background: #eceff3;
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd6df;
}

.browser-bar span {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 300px;
  height: 22px;
  margin-left: 12px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  color: #5b6778;
  font-size: 12.5px;
}

.phone {
  width: 280px;
  padding: 8px;
  border-radius: 42px;
  background: #0a1424;
  box-shadow: 0 44px 90px -36px rgba(3, 9, 20, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone img {
  border-radius: 34px;
}

.hero-phone {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 232px;
}

/* Flow */

.flow {
  padding: 32px 0 96px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
}

.flow-steps strong {
  font-size: 17px;
}

.flow-steps li > span:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--copper-tint);
  color: var(--copper-text);
}

.flow-icon svg,
.grid svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature rows */

.features {
  position: relative;
  z-index: 0;
  padding: 8px 0 56px;
}

.feature-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 80px;
  padding: 56px 0;
}

.feature-row.reverse {
  grid-template-columns: 7fr 5fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy .section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  text-wrap: balance;
}

.feature-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17.5px;
}

.feature-media {
  position: relative;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: -28px -28px -28px 36px;
  z-index: -1;
  border-radius: 26px;
  background: var(--canvas-deep);
}

.feature-row.reverse .feature-media::before {
  inset: -28px 36px -28px -28px;
}

.feature-media .browser {
  box-shadow: var(--shadow-shot);
}

.panel-shot {
  width: min(440px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-shot);
}

.feature-media-phone {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

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

.checks li {
  position: relative;
  padding-left: 32px;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--check-tint);
}

.checks li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 7.5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--check);
  border-bottom: 2px solid var(--check);
  transform: rotate(45deg);
}

/* More features */

.more {
  padding: 96px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.grid article {
  padding: 28px 24px 30px;
  background: var(--paper);
}

.grid svg {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  color: var(--copper-text);
}

.grid h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 17.5px;
  letter-spacing: -0.01em;
}

.grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.soon {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--copper-tint);
  color: var(--copper-text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Pricing */

.pricing {
  padding: 104px 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.plan h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
}

.amount {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.per {
  color: var(--muted);
  font-size: 16px;
}

.plan-note {
  flex: 1;
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 15.5px;
}

.included {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: 24px;
  margin-top: 20px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.included h3 {
  padding-top: 2px;
  font-size: 17px;
}

.checks-columns {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
  margin: 0;
  font-size: 15.5px;
}

/* Getting started */

.start {
  padding: 96px 0;
  background: var(--canvas-deep);
}

.start-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 72px;
}

.steps {
  display: grid;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 52px;
  color: var(--muted);
  font-size: 16.5px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 17.5px;
}

.start-card {
  display: grid;
  gap: 12px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-shot);
}

.start-card h3 {
  font-size: 25px;
  letter-spacing: -0.02em;
}

.start-card p {
  margin-bottom: 12px;
  color: var(--muted);
}

/* Questions */

.faq {
  padding: 96px 0;
}

.faq-wrap {
  max-width: 780px;
}

.faq .section-title {
  margin-bottom: 36px;
}

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

details:first-of-type {
  border-top: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

details p {
  padding: 0 44px 22px 0;
  color: var(--muted);
}

details a {
  color: var(--copper-text);
  font-weight: 600;
}

/* Closing */

.closing {
  padding: 100px 0;
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(168, 70, 40, 0.4), transparent 70%),
    var(--navy-900);
  color: #fff;
  text-align: center;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.closing p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--on-dark-muted);
  font-size: 18px;
}

/* Footer */

.site-footer {
  padding: 48px 0 32px;
  background: var(--navy-950);
  color: var(--on-dark-muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.brand-footer {
  margin-bottom: 10px;
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-nav a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

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

.footer-legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(236, 242, 250, 0.5);
  font-size: 14px;
}

/* Not found */

.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 69px);
  padding: 64px 0;
  text-align: center;
}

.not-found p {
  margin-top: 12px;
  color: var(--muted);
}

/* Smaller screens */

@media (max-width: 1080px) {
  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-steps li::after {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checks-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 0;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

  .feature-media::before,
  .feature-row.reverse .feature-media::before {
    inset: -16px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .included {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .start-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-phone {
    width: 170px;
    right: 12px;
    bottom: 28px;
  }
}

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 56px;
  }

  .hero::after {
    height: 90px;
  }

  .hero-visual {
    margin-top: 44px;
    padding-bottom: 40px;
  }

  .hero-phone {
    display: none;
  }

  .browser-bar {
    height: 26px;
    padding: 0 10px;
  }

  .browser-bar i {
    width: 7px;
    height: 7px;
  }

  .browser-bar span {
    display: none;
  }

  .flow,
  .more,
  .pricing,
  .start,
  .faq,
  .closing {
    padding-block: 64px;
  }

  .flow-steps,
  .grid,
  .checks-columns {
    grid-template-columns: 1fr;
  }

  .phone {
    width: 240px;
  }

  .start-card {
    padding: 26px 22px;
  }

  summary {
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .header-row {
    gap: 12px;
  }

  .header-actions .btn-quiet-dark {
    display: none;
  }
}

@media (max-width: 640px) {
  .flow-steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 2px 16px;
    padding: 18px;
  }

  .flow-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }
}
