/* line 30, app/assets/stylesheets/sqrl_brand_tokens.scss */
:root {
  --sqrl-cream-50: #f8f4ee;
  --sqrl-sand-100: #ede0d0;
  --sqrl-sage-200: #eaebc4;
  --sqrl-acorn-400: #e6974c;
  --sqrl-cinnamon-500: #c19a77;
  --sqrl-bark-600: #a87555;
  --sqrl-home-bg: #f6fbf4;
  --sqrl-home-muted: #e7efeb;
  --sqrl-home-primary: #4b9b7d;
  --sqrl-home-primary-glow: #87c5ae;
  --sqrl-home-foreground: #305044;
  --sqrl-home-muted-foreground: #7b9d91;
  --sqrl-home-border: #cfe2d9;
  --sqrl-action-primary: #2f6f58;
  --sqrl-action-primary-hover: #285e4c;
  --sqrl-text-muted-accessible: #526e63;
  --sqrl-auth-primary-strong: var(--sqrl-action-primary);
  --sqrl-auth-primary-hover: var(--sqrl-action-primary-hover);
  --sqrl-auth-muted-foreground: var(--sqrl-text-muted-accessible);
  --sqrl-font-heading: "Montserrat", "Inter", sans-serif;
  --sqrl-font-body: "Inter", "Montserrat", sans-serif;
  --sqrl-space-1: 0.375rem;
  --sqrl-space-2: 0.75rem;
  --sqrl-space-3: 1.125rem;
  --sqrl-space-4: 1.5rem;
  --sqrl-space-5: 1.875rem;
  --sqrl-space-6: 2.25rem;
  --sqrl-space-8: 3rem;
  --sqrl-space-10: 3.75rem;
  --sqrl-space-12: 4.5rem;
  --sqrl-radius-sm: 0.375rem;
  --sqrl-radius-md: 0.75rem;
  --sqrl-radius-lg: 1.125rem;
  --sqrl-radius-xl: 1.5rem;
}

/* line 3, app/assets/stylesheets/terms_of_service.scss */
.terms-page {
  --terms-background: var(--sqrl-home-bg);
  --terms-surface: var(--sqrl-cream-50);
  --terms-surface-muted: var(--sqrl-home-muted);
  --terms-text: var(--sqrl-home-foreground);
  --terms-link: var(--sqrl-action-primary);
  --terms-link-hover: var(--sqrl-action-primary-hover);
  --terms-muted-text: var(--sqrl-text-muted-accessible);
  --terms-border: var(--sqrl-home-border);
  background: var(--terms-background);
  color: var(--terms-text);
  font-family: var(--sqrl-font-body);
  line-height: 1.65;
  min-height: 100vh;
}

/* line 19, app/assets/stylesheets/terms_of_service.scss */
.terms-page,
.terms-page * {
  box-sizing: border-box;
}

/* line 24, app/assets/stylesheets/terms_of_service.scss */
.terms-page__container {
  margin: 0 auto;
  max-width: 72rem;
  padding-left: var(--sqrl-space-4);
  padding-right: var(--sqrl-space-4);
  width: 100%;
}

/* line 32, app/assets/stylesheets/terms_of_service.scss */
.terms-page__skip-link {
  background: var(--terms-link);
  border-radius: var(--sqrl-radius-md);
  color: var(--terms-surface);
  font-family: var(--sqrl-font-heading);
  font-weight: 700;
  left: var(--sqrl-space-3);
  padding: var(--sqrl-space-2) var(--sqrl-space-3);
  position: fixed;
  text-decoration: none;
  top: var(--sqrl-space-3);
  transform: translateY(-200%);
  transition: transform 160ms ease;
  z-index: 1200;
}

/* line 48, app/assets/stylesheets/terms_of_service.scss */
.terms-page__skip-link:focus {
  color: var(--terms-surface);
  transform: translateY(0);
}

/* line 53, app/assets/stylesheets/terms_of_service.scss */
.terms-page__hero {
  background: var(--terms-surface-muted);
  border-bottom: 1px solid var(--terms-border);
  padding: var(--sqrl-space-10) 0;
}

/* line 59, app/assets/stylesheets/terms_of_service.scss */
.terms-page__eyebrow,
.terms-page h1,
.terms-page h2,
.terms-page h3 {
  font-family: var(--sqrl-font-heading);
}

/* line 66, app/assets/stylesheets/terms_of_service.scss */
.terms-page__eyebrow {
  color: var(--terms-link-hover);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 var(--sqrl-space-2);
  text-transform: uppercase;
}

/* line 75, app/assets/stylesheets/terms_of_service.scss */
.terms-page h1 {
  color: var(--terms-text);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

/* line 84, app/assets/stylesheets/terms_of_service.scss */
.terms-page__updated {
  color: var(--terms-muted-text);
  font-size: 1rem;
  font-weight: 600;
  margin: var(--sqrl-space-3) 0 0;
}

/* line 91, app/assets/stylesheets/terms_of_service.scss */
.terms-page__layout {
  align-items: start;
  display: grid;
  gap: var(--sqrl-space-8);
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  padding-bottom: var(--sqrl-space-12);
  padding-top: var(--sqrl-space-8);
}

/* line 100, app/assets/stylesheets/terms_of_service.scss */
.terms-page__toc {
  background: var(--terms-surface-muted);
  border: 1px solid var(--terms-border);
  border-radius: var(--sqrl-radius-lg);
  padding: var(--sqrl-space-3);
  position: sticky;
  top: var(--sqrl-space-4);
}

/* line 109, app/assets/stylesheets/terms_of_service.scss */
.terms-page__toc h2 {
  color: var(--terms-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 var(--sqrl-space-2);
}

/* line 117, app/assets/stylesheets/terms_of_service.scss */
.terms-page__toc ol {
  display: grid;
  gap: var(--sqrl-space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* line 125, app/assets/stylesheets/terms_of_service.scss */
.terms-page__toc a {
  align-items: center;
  border-radius: var(--sqrl-radius-sm);
  color: var(--terms-text);
  display: flex;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.75rem;
  padding: var(--sqrl-space-1) var(--sqrl-space-2);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

/* line 139, app/assets/stylesheets/terms_of_service.scss */
.terms-page__toc a:hover {
  background: var(--terms-surface);
  color: var(--terms-link-hover);
}

/* line 144, app/assets/stylesheets/terms_of_service.scss */
.terms-page__toc a:focus-visible,
.terms-page__body a:focus-visible,
.terms-page__body:focus-visible {
  outline: 3px solid var(--sqrl-home-primary-glow);
  outline-offset: 3px;
}

/* line 151, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body {
  background: var(--terms-surface);
  border: 1px solid var(--terms-border);
  border-radius: var(--sqrl-radius-xl);
  box-shadow: 0 var(--sqrl-space-1) var(--sqrl-space-4) rgba(45, 80, 66, 0.06);
  min-width: 0;
  padding: var(--sqrl-space-8);
}

/* line 160, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body section {
  scroll-margin-top: var(--sqrl-space-5);
}

/* line 164, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body section + section {
  border-top: 1px solid var(--terms-border);
  margin-top: var(--sqrl-space-6);
  padding-top: var(--sqrl-space-6);
}

/* line 170, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body h2 {
  color: var(--terms-text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 var(--sqrl-space-3);
}

/* line 179, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body h3 {
  color: var(--terms-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--sqrl-space-4) 0 var(--sqrl-space-2);
}

/* line 187, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body p,
.terms-page__body ul {
  color: var(--terms-text);
  font-size: 1rem;
  margin: 0 0 var(--sqrl-space-3);
}

/* line 194, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body p:last-child,
.terms-page__body ul:last-child {
  margin-bottom: 0;
}

/* line 199, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body ul {
  padding-left: var(--sqrl-space-4);
}

/* line 203, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body li + li {
  margin-top: var(--sqrl-space-2);
}

/* line 207, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body a {
  color: var(--terms-link);
  font-weight: 700;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.1875rem;
}

/* line 214, app/assets/stylesheets/terms_of_service.scss */
.terms-page__body a:hover {
  color: var(--terms-link-hover);
}

/* line 218, app/assets/stylesheets/terms_of_service.scss */
.terms-page__policy-date {
  color: var(--terms-muted-text) !important;
  font-size: 0.9375rem !important;
  font-weight: 600;
}

@media (max-width: 56.25rem) {
  /* line 225, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__layout {
    gap: var(--sqrl-space-4);
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 230, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__toc {
    position: static;
  }
  /* line 234, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 37.5rem) {
  /* line 240, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__container {
    padding-left: var(--sqrl-space-3);
    padding-right: var(--sqrl-space-3);
  }
  /* line 245, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__hero {
    padding: var(--sqrl-space-8) 0;
  }
  /* line 249, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__layout {
    padding-bottom: var(--sqrl-space-8);
    padding-top: var(--sqrl-space-4);
  }
  /* line 254, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__body {
    border-radius: var(--sqrl-radius-lg);
    padding: var(--sqrl-space-4);
  }
  /* line 259, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__body section + section {
    margin-top: var(--sqrl-space-5);
    padding-top: var(--sqrl-space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 266, app/assets/stylesheets/terms_of_service.scss */
  .terms-page__skip-link,
.terms-page__toc a {
    transition: none;
  }
}
