:root {
  --bg: #fbfbf8;
  --ink: #050505;
  --muted: #33332f;
}

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

html,
body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sofea-landing {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  transform: translateX(-50%);
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sofea-landing a,
.sofea-landing a:visited,
.sofea-landing a:hover,
.sofea-landing a:active {
  color: inherit;
  text-decoration: none !important;
}

.sofea-landing ul,
.sofea-landing li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body:has(.sofea-landing) [class*="mb-12"]:has(.sofea-landing) {
  margin-bottom: 0 !important;
}

@supports (width: 100dvw) {
  .sofea-landing {
    width: 100dvw;
    max-width: 100dvw;
  }
}

.sofea-container {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.dot-grid {
  background-image: radial-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero {
  display: block;
  min-height: 0;
  padding: 56px 0 28px;
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.hero p {
  max-width: 820px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero .hero-extra-copy {
  max-width: 720px;
  margin-top: 48px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.hero-image-wrap {
  aspect-ratio: 640 / 479;
  width: min(620px, 100%);
  margin: 34px auto 0;
}

.hero-image-wrap-secondary {
  aspect-ratio: 4 / 3;
  margin-top: 24px;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.feature-grid-section {
  padding: 22px 0 52px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.feature-card {
  min-height: 290px;
  padding: 34px 30px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.feature-card:nth-child(2n) {
  border-right: 0;
}

.feature-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.feature-card span {
  display: block;
  margin-bottom: 18px;
  color: #b76820;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.feature-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: #3f3f3a;
  font-size: 14px;
  line-height: 1.62;
}

.feature-card p + p {
  margin-top: 12px;
}

.pricing-section {
  padding: 34px 0 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.pricing-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 24px 22px;
  border-right: 1px solid var(--ink);
}

.pricing-card:last-child {
  border-right: 0;
}

.pricing-kicker,
.pricing-note {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.pricing-kicker {
  color: #3f3f3a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h2 {
  margin: 16px 0 6px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pricing-note {
  color: #777770;
  font-size: 12px;
}

.pricing-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 18px;
  padding: 0;
}

.pricing-list p {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 4px;
  align-items: start;
  margin: 0;
  padding: 0;
  color: #33332f;
  font-size: 13px;
  line-height: 1.35;
}

.pricing-list span {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
}

.pricing-button-light {
  background: transparent;
  color: var(--ink) !important;
  text-decoration: none !important;
}

.pricing-button-dark {
  background: var(--ink);
  color: #fff !important;
  text-decoration: none !important;
}

.faq-section {
  padding: 18px 0 56px;
}

.faq-header {
  max-width: 760px;
  margin: 0 auto 18px;
}

.faq-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

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

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 650px;
  margin: -4px 24px 22px;
  color: #3f3f3a;
  font-size: 15px;
  line-height: 1.62;
}

@media (max-width: 640px) {
  .sofea-container {
    width: min(100% - 28px, 1040px);
  }

  .hero {
    padding: 40px 0 22px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero .hero-extra-copy {
    margin-top: 34px;
    font-size: 20px;
  }

  .hero-image-wrap {
    margin-top: 28px;
  }

  .hero-image-wrap-secondary {
    margin-top: 20px;
  }

  .hero-image {
    border-radius: 12px;
  }

  .feature-grid-section {
    padding: 18px 0 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(2n),
  .feature-card:nth-last-child(-n + 2) {
    min-height: auto;
    padding: 30px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .feature-card h2 {
    font-size: 25px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .pricing-section {
    padding: 26px 0 28px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
    padding: 34px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .pricing-card:last-child {
    border-bottom: 0;
  }

  .pricing-card h2 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .pricing-button {
    min-height: 54px;
    font-size: 15px;
  }

  .faq-section {
    padding: 14px 0 42px;
  }

  .faq-header {
    margin-bottom: 14px;
  }

  .faq-header h2 {
    font-size: 40px;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-item p {
    margin: -2px 20px 20px;
    font-size: 14px;
  }
}
