/* =============================================================================
   orisaa — Marketing Landing Page
   Design system: Clinical Ritualism
   Tokens source: orisaa-docs/design/tokens/tokens.json
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Reset
   ----------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* -----------------------------------------------------------------------------
   Design Tokens
   ----------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --surface:               #faf9f7;
  --surface-low:           #f3f4f1;
  --surface-container:     #edeeeb;
  --surface-high:          #e6e9e6;
  --surface-highest:       #e0e3e0;

  /* Text */
  --on-surface:            #2f3331;
  --on-surface-var:        #5c605d;

  /* Primary — Charcoal Stone */
  --primary:               #3a3a38;
  --primary-dim:           #2e2e2c;
  --on-primary:            #faf7f6;

  /* Secondary — Sage */
  --secondary:             #546351;

  /* Tertiary — Earthy Clay */
  --tertiary:              #7e572e;

  /* Borders */
  --outline:               #777c79;
  --outline-var:           #c8cac7;

  /* Error */
  --error:                 #9f403d;

  /* Typography */
  --font-display:          'Newsreader', Georgia, serif;
  --font-body:             'Manrope', system-ui, sans-serif;

  /* Spacing */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   20px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;
  --sp-32:  128px;

  --max-width: 1280px;
}

/* -----------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------------- */
html {
  font-size: 13px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* -----------------------------------------------------------------------------
   Container
   ----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--sp-6); }
}

@media (min-width: 1280px) {
  .container { padding: 0 var(--sp-8); }
}

/* -----------------------------------------------------------------------------
   Typography utilities
   ----------------------------------------------------------------------------- */
.label-md {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.headline-sm {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.headline-md {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .headline-md { font-size: 36px; }
}

.headline-lg {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .headline-lg { font-size: 52px; }
}

.body-md {
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-surface-var);
}

.body-lg {
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-surface-var);
}

/* -----------------------------------------------------------------------------
   Buttons
   All corners 0px — non-negotiable per design principles.
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0;
  border: 1px solid;
  cursor: pointer;
  line-height: 1.35;
  transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}

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

.btn--primary:hover {
  background: var(--primary-dim);
  border-color: var(--primary-dim);
}

.btn--ghost {
  background: transparent;
  color: var(--on-surface);
  border-color: var(--outline);
}

.btn--ghost:hover {
  background: var(--surface-high);
}

/* -----------------------------------------------------------------------------
   Navigation
   ----------------------------------------------------------------------------- */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--outline-var);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav--overlay {
  background: transparent;
  border-bottom-color: transparent;
  position: absolute;
  width: 100%;
}

.nav--overlay-light .nav__wordmark {
  color: #faf9f7;
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 52px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

@media (min-width: 768px) {
  .nav__inner { padding: 0 var(--sp-6); }
}

@media (min-width: 1280px) {
  .nav__inner { padding: 0 var(--sp-8); }
}

.nav__menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-self: start;
}

.nav__wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-surface);
  text-align: center;
  grid-column: 2;
}

.nav__bag {
  display: flex;
  align-items: center;
  justify-self: end;
  color: var(--on-surface);
  transition: color 150ms ease-out;
}

.nav__bag:hover {
  color: var(--on-surface-var);
}

/* -----------------------------------------------------------------------------
   Sections
   ----------------------------------------------------------------------------- */
.section {
  padding: var(--sp-20) 0;
}

@media (min-width: 768px) {
  .section { padding: var(--sp-24) 0; }
}

@media (min-width: 1280px) {
  .section { padding: var(--sp-32) 0; }
}

.section--surface           { background: var(--surface); }
.section--surface-low       { background: var(--surface-low); }
.section--surface-container { background: var(--surface-container); }

.section__label {
  color: var(--on-surface-var);
  margin-bottom: var(--sp-8);
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */
.hero {
  background: var(--surface);
  color: var(--on-surface);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 767px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-20) var(--sp-8) var(--sp-20) var(--sp-4);
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .hero__text {
    padding: var(--sp-24) var(--sp-10) var(--sp-24) var(--sp-6);
  }
}

@media (min-width: 1280px) {
  .hero__text {
    padding: var(--sp-32) var(--sp-12) var(--sp-32) var(--sp-8);
  }
}

.hero__label {
  color: var(--on-surface-var);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--on-surface);
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: 56px;
  }
}

@media (min-width: 1280px) {
  .hero__headline {
    font-size: 68px;
    line-height: 1.05;
  }
}

.hero__media {
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 767px) {
  .hero__media {
    height: 60vw;
  }
}

/* -----------------------------------------------------------------------------
   Press bar
   ----------------------------------------------------------------------------- */
.press-bar {
  border-top: 1px solid var(--outline-var);
  border-bottom: 1px solid var(--outline-var);
  background: var(--surface-low);
  padding: var(--sp-4) 0;
}

.press-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.press-bar__inner span {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--on-surface-var);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* -----------------------------------------------------------------------------
   Our Approach
   ----------------------------------------------------------------------------- */
.approach {
  display: grid;
  gap: var(--sp-12);
}

@media (min-width: 768px) {
  .approach {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-20);
    align-items: start;
  }
}

.approach__title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--on-surface);
}

@media (min-width: 768px) {
  .approach__title {
    font-size: 80px;
  }
}

@media (min-width: 1280px) {
  .approach__title {
    font-size: 100px;
  }
}

.approach__label {
  color: var(--on-surface);
  margin-bottom: var(--sp-5);
}

.approach__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-2);
}

.approach__coda {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--on-surface);
  margin-top: var(--sp-2);
}

/* -----------------------------------------------------------------------------
   Product feature — image left, text right
   ----------------------------------------------------------------------------- */
.product-feature {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .product-feature {
    grid-template-columns: 5fr 4fr;
    gap: var(--sp-16);
  }
}

.product-feature__media {
  overflow: hidden;
}

.product-feature__img {
  width: 100%;
  height: auto;
  display: block;
}

.product-feature__label {
  color: var(--on-surface-var);
  margin-bottom: var(--sp-4);
}

.product-feature__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
}

.feature-list li {
  font-size: 12px;
  color: var(--on-surface-var);
  letter-spacing: 0.03em;
  padding-left: var(--sp-4);
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--outline);
}

/* -----------------------------------------------------------------------------
   Pillars — three-column at tablet+
   ----------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-10);
  }
}

.pillar {
  border-top: 1px solid var(--outline-var);
  padding-top: var(--sp-6);
}

.pillar__index {
  color: var(--on-surface-var);
  margin-bottom: var(--sp-4);
}

.pillar__title {
  margin-bottom: var(--sp-3);
  color: var(--on-surface);
}

/* -----------------------------------------------------------------------------
   Email capture — centered
   ----------------------------------------------------------------------------- */
.email-capture {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.email-capture .section__label {
  margin-bottom: 0;
}

.email-capture__sub {
  max-width: 440px;
}

.email-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.form-inline {
  display: flex;
  width: 100%;
  max-width: 480px;
}

.form-inline__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--outline-var);
  border-right: none;
  color: var(--on-surface);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0;
  outline: none;
  transition: border-color 150ms ease-out;
}

.form-inline__input::placeholder {
  color: var(--on-surface-var);
  opacity: 0.5;
}

.form-inline__input:focus {
  border-color: var(--outline);
}

.form-inline__submit {
  white-space: nowrap;
  flex-shrink: 0;
}

.form__note {
  font-size: 11px;
  color: var(--on-surface-var);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.footer {
  background: var(--surface-highest);
  border-top: 1px solid var(--outline-var);
  padding: var(--sp-8) 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-8);
}

@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

.footer__wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-surface);
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--on-surface-var);
  transition: color 150ms ease-out;
}

.footer__nav a:hover {
  color: var(--on-surface);
}

.footer__copy {
  color: var(--on-surface-var);
  text-align: right;
}

@media (max-width: 767px) {
  .footer__copy { text-align: left; }
}

/* -----------------------------------------------------------------------------
   Focus styles
   ----------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------------
   Reduced motion
   ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
