/* ================================================
   Totum – Combined Stylesheet
   Source: extracted from React compiled CSS
   ================================================ */

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8fafd;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

@font-face {
  font-family: Aptos-Display;
  font-style: normal;
  font-weight: 400;
  src: url('/Aptos-Display.woff2') format('woff2');
}

* {
  font-family: Aptos-Display, sans-serif;
}

p {
  text-align: center;
}

/* --- App Shell --- */
.App {
  background-color: #f8fafd;
  display: flex;
  flex-direction: column;
}

.home-app {
  scale: 0.95;
}
.home-app .form-button {
  font-weight: 550;
}

.top-spacer {
  height: 6.5vw;
  max-height: 50px;
}

/* --- Header --- */
.header {
  justify-content: center;
}
.header,
.logo-container {
  align-items: center;
  display: flex;
}

.logo-container {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 70px;
}

.logo-image {
  display: block;
  object-fit: contain;
  width: 140px;
}

.logo-text {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* --- Main Content --- */
.main-content h1,
.value-proposition h1 {
  font-size: 27px;
  letter-spacing: -0.5px;
}

.main-content {
  align-items: center;
  display: flex;
  flex: 1 1;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1600px;
  padding: 0;
  position: relative;
}

.main-content > * {
  position: relative;
  z-index: 1;
}

.value-proposition {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-proposition:nth-child(2) {
  margin-top: 20px;
}

html body .heading-large {
  color: #0f172a;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

html body .heading-large.owner {
  font-size: 30px;
}

/* --- Tags --- */
.tag {
  align-items: center;
  background-color: #f3f5f9;
  border: none;
  border-radius: 20px;
  display: inline-flex;
  font-size: 10px;
  gap: 8px;
  margin-top: 2px;
  padding: 6px 12px;
  width: fit-content;
}

.tag-label {
  font-weight: 400;
}
.tag-label,
.tag-separator,
.tag-text {
  color: #a9afb7;
}
.tag-text {
  font-weight: 400;
}

/* --- Subtext & Launch Callout --- */
.subtext {
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 520px;
}

.launch-callout {
  color: #f59e0b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 12px 0 0;
}

/* --- Features & Compliance --- */
.features-section {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

/* --- Value Props (Checkmark list) --- */
.vp-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vp-checklist li {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.vp-checklist li::before {
  color: #f59e0b;
  content: '\2713';
  font-weight: 700;
  margin-right: 8px;
}

.compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.compliance-tag {
  background-color: #f3f5f9;
  border-radius: 20px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.3px;
  padding: 6px 14px;
}

/* --- Form --- */
.waitlist-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 30px;
  width: 100%;
}

.waitlist-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 10px;
}

.waitlist-form input {
  flex: 2 1;
}

.form-button {
  background-color: #f59e0b;
  border: none;
  border-radius: 0;
  box-shadow: 0 14px 30px #f59e0b3d;
  color: #fff;
  cursor: pointer;
  flex: 1 1;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.form-input,
.form-select,
html body .form-button {
  padding: 8px 16px;
}

button,
button *,
input,
input::placeholder,
select {
  font-size: 12px !important;
}

.form-input,
.form-select {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  color: #0f172a;
  flex: 0.9 1;
  font-size: 16px;
  min-width: 1px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px #0f172a26;
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%230F172A' d='M6 9 1 4h10z'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  cursor: pointer;
  padding-right: 40px;
}

.form-select option {
  color: #0f172a;
}

.form-button:hover {
  background-color: #d97706;
}

.form-cta,
.form-description {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.form-description.message {
  color: #26991b;
}
.form-description.message.bad {
  color: #db3f3f;
}

.form-description {
  color: #000;
  font-size: 11px;
  font-weight: 500;
  position: relative;
}

.form-cta {
  color: #4b5563;
  font-weight: 500;
  margin-top: 50px;
}

/* --- Footer --- */
.footer-spacer {
  display: block;
  height: 220px;
}

.footer {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1350px;
  padding: 0;
}

.footer-disclaimer,
.footer-links,
.footer-text {
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0;
}

html body .footer-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 1.6em;
}

.footer-link {
  color: #6b7280;
  text-decoration: none;
}
.footer-link:hover {
  color: #4b5563;
  text-decoration: underline;
}
.footer-separator {
  color: #6b7280;
}

/* --- Cookie Consent --- */
.cookie-consent {
  bottom: 24px;
  left: 50%;
  max-width: 680px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  z-index: 1000;
}

.cookie-content {
  align-items: center;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px #0f172a26;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 20px 24px;
}

.cookie-text {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  gap: 6px;
}

.cookie-title {
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.cookie-description {
  color: #6b7280;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-button {
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.3px;
  padding: 10px 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-button-accept {
  background-color: #0f172a;
  box-shadow: 0 8px 20px #0f172a26;
  color: #fff;
}

.cookie-button-accept:hover {
  background-color: #020617;
  box-shadow: 0 10px 25px #0f172a33;
}

.cookie-button-decline {
  background-color: #f3f5f9;
  border: 1px solid #e7e9ed;
  color: #6b7280;
}

.cookie-button-decline:hover {
  background-color: #e7e9ed;
  color: #4b5563;
}

/* ================================================
   Thank You Page
   ================================================ */

.ty-app {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
}

.ty-container {
  bottom: 5px;
  max-width: 900px;
  position: relative;
  text-align: center;
}

.ty-logo-container {
  gap: 12px;
  margin-bottom: 40px;
}

.ty-checkmark,
.ty-logo-container {
  align-items: center;
  display: flex;
  justify-content: center;
}

.ty-checkmark {
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  color: #fff;
  font-size: 48px;
  height: 80px;
  margin: 0 auto 30px;
  width: 80px;
}

.ty-heading {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
.ty-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.ty-subheading {
  color: #1f2937;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
}
.ty-body {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
}
.ty-email-highlight {
  font-weight: 600;
}

.ty-back-button {
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  margin-top: 30px;
  text-decoration: none;
}

.ty-refer-section {
  margin-top: 0;
  padding-top: 20px;
  width: 100%;
}
.ty-refer-heading {
  color: #1f2937;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ty-refer-description {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
}
.ty-refer-subheading {
  color: #1f2937;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ty-refer-bullets {
  list-style: none;
  margin: 0 auto 30px;
  max-width: 700px;
  padding: 0;
  text-align: left;
}

.ty-refer-bullets li {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.ty-refer-bullets li::before {
  color: #6b7280;
  content: '\2013';
  left: 0;
  position: absolute;
}

.ty-refer-label {
  color: #1f2937;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
}

.ty-refer-input-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.ty-refer-helper {
  color: #000;
  font-size: 14px;
  margin: 0;
}

.form-input.ty-refer-input {
  flex: 1 1;
  min-width: 250px;
  padding-bottom: 13.5px;
  padding-top: 13.5px;
}

.ty-copy-link-button {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: #fff;
  cursor: pointer;
  flex-shrink: 1;
  flex: 0.2 1;
  padding: 14px 20px !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

html body .ty-app .form-button {
  font-size: 13px !important;
  font-weight: 500;
  padding: 14px 32px;
}

.ty-copy-link-button:active {
  transform: translateY(0);
}

.ty-app .footer-spacer {
  height: 60px;
}
.ty-container {
  scale: 0.8;
}

/* ================================================
   Textwall (Legal Pages)
   ================================================ */

.textwall-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.textwall-content {
  max-width: 990px;
  padding: 0 0 40px;
  width: 100%;
}
.textwall-header {
  margin-bottom: 40px;
  text-align: center;
}

.textwall-title {
  color: #0f172a;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.textwall-subtitle {
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

.textwall-date {
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0;
}

.textwall-intro {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 40px;
  padding-bottom: 30px;
}

.textwall-intro p {
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.7;
  margin: 0 0 14px;
  text-align: left;
}

.textwall-intro p:last-child {
  margin-bottom: 0;
}

.textwall-section {
  margin-bottom: 36px;
}

.textwall-section-title {
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 0 0 16px;
}

.textwall-text {
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.7;
  margin: 0 0 14px;
  text-align: left;
}

.textwall-text:last-child {
  margin-bottom: 0;
}

.textwall-list {
  margin: 0 0 14px;
  padding-left: 24px;
  text-align: left;
}

.textwall-list li {
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.textwall-list li:last-child {
  margin-bottom: 0;
}

.textwall-sublist {
  list-style-type: circle;
  margin: 10px 0 0;
  padding-left: 20px;
}
.textwall-sublist li {
  font-size: 11px;
  margin-bottom: 8px;
}

.textwall-link {
  border-bottom: 1px solid #0f172a;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.textwall-link:hover {
  opacity: 0.7;
}

.textwall-back {
  border-top: 1px solid #e5e7eb;
  margin-top: 50px;
  padding-top: 30px;
  text-align: center;
}

.textwall-back-link {
  align-items: center;
  background-color: #f3f5f9;
  border: 1px solid #e7e9ed;
  border-radius: 0;
  color: #0f172a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.3px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.textwall-back-link:hover {
  background-color: #e7e9ed;
  border-color: #d1d5db;
}

.textwall .footer-spacer,
.textwall .scroll-spacer {
  height: 40px;
}

.textwall footer {
  height: auto;
}

/* ================================================
   Responsive (widest breakpoint first)
   ================================================ */

@media (max-width: 1100px) {
  html {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 900px) {
  .ty-app {
    align-items: center;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: flex-start;
    overflow: scroll;
    padding: 30px 20px 20px;
    position: static;
  }
  .ty-container {
    scale: 1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 26px !important;
  }
  .logo-container {
    margin-bottom: 55px;
  }
  html body .heading-large {
    font-size: 33px !important;
  }
  html body .heading-large.owner {
    font-size: 27px !important;
  }
  .waitlist-form {
    flex-direction: column;
  }
  .form-button,
  .form-input,
  .form-select {
    width: 100%;
  }
  .tag {
    font-size: 9px;
  }
  .subtext {
    font-size: 14px;
  }
  .vp-checklist {
    flex-direction: column;
    align-items: center;
  }
  .compliance-tags {
    flex-direction: column;
    align-items: center;
  }
  .scroll-spacer {
    height: 30px;
  }
  .footer-spacer {
    height: 60px;
  }

  /* Cookie consent mobile */
  .cookie-consent {
    bottom: 16px;
    width: calc(100% - 20px);
  }
  .cookie-content {
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
  }
  .cookie-text {
    text-align: center;
  }
  .cookie-actions {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }
  .cookie-button {
    width: 33%;
  }

  /* Textwall mobile */
  .textwall-container {
    padding: 0 16px;
  }
  .textwall-content {
    padding: 0 0 30px;
  }
  .textwall-title {
    font-size: 26px;
  }
  .textwall-subtitle {
    font-size: 13px;
  }
  .textwall-date {
    font-size: 10px;
  }
  .textwall-header,
  .textwall-intro {
    margin-bottom: 30px;
  }
  .textwall-intro {
    padding-bottom: 24px;
  }
  .textwall-section {
    margin-bottom: 28px;
  }
  .textwall-section-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .textwall-text {
    font-size: 11px;
  }
  .textwall-list li {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .textwall-sublist li {
    font-size: 10px;
  }
  .textwall-back {
    margin-top: 40px;
    padding-top: 24px;
  }
  .textwall-back-link {
    font-size: 11px;
    padding: 9px 18px;
  }
  .textwall .footer-spacer {
    height: 30px;
  }
}
