/* Hasu Yoga · Cosmic clay
   Colors and fonts live here so they're easy to change in one place. */
:root {
  --cream: #F7F1E8;
  --sand: #EDE2D3;
  --clay: #C2673F;
  --clay-dark: #A9542F;
  --navy: #1E2350;
  --teal: #4FA89A;
  --text: #4A3F3A;
  --text-soft: #7A6A60;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons and links */
.btn {
  display: inline-block;
  background: var(--clay);
  color: #FFF8F0;
  text-decoration: none;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s;
}
.btn:hover { background: var(--clay-dark); }
.btn-small { padding: 9px 20px; font-size: 16px; }

.text-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.text-link:hover { text-decoration: underline; }

/* 1. Menu */
.site-header { padding: 20px 0; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
}
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 16px; }
.nav a { text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--navy); }
.account-link { font-size: 16px; text-decoration: none; color: var(--navy); font-weight: 500; white-space: nowrap; }
.account-link:hover { text-decoration: underline; }

/* Shared section spacing: generous whitespace keeps it calm */
main section.container { padding-top: 120px; padding-bottom: 0; }
main section.container:last-child { padding-bottom: 120px; }

/* 2. Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 72px !important;
}
.lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 30ch;
  margin: 20px 0 36px;
}
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-art img {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: 32px;
}

/* 3. Why one-on-one */
.why { text-align: center; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.why-item p { margin: 16px auto 0; max-width: 18ch; }
.icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 4. How it works */
.how {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.how-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
  border-radius: 32px;
}
.steps { list-style: none; padding: 0; margin: 28px 0 0; }
.steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.steps span {
  font-family: var(--font-heading);
  color: var(--clay);
  font-size: 1.4rem;
  width: 24px;
}

/* 5. One student voice */
.quote { text-align: center; }
.quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.45;
  color: var(--navy);
  max-width: 28ch;
  margin: 0 auto;
}
.quote-name { color: var(--text-soft); margin-top: 20px; font-size: 16px; }

/* 6. Closing */
.closing { text-align: center; }
.closing h2 { margin-bottom: 32px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--sand);
  padding: 32px 0;
  font-size: 15px;
  color: var(--text-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--navy); }

/* Phones and small tablets */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .header-inner { gap: 16px; }
  .brand { white-space: nowrap; }
  .account-link { margin-left: auto; }
  main section.container { padding-top: 80px; }
  main section.container:last-child { padding-bottom: 80px; }
  .hero, .how { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px !important; }
  .hero-art img { margin: 0 auto; max-width: 320px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ------------------------------------------------------------------
   Account pages: sign in and My sessions
   ------------------------------------------------------------------ */
.app-page { min-height: 100vh; }

.card {
  background: #FFFCF7;
  border: 1px solid var(--sand);
  border-radius: 24px;
  padding: 24px;
}
.muted { color: var(--text-soft); }
.small { font-size: 15px; }

.btn { border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-block { display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--sand);
}
.btn-outline:hover { background: var(--sand); }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--navy); text-decoration: underline;
}

label { display: block; font-weight: 500; color: var(--navy); margin: 20px 0 8px; }
input[type="email"], input[type="text"], input:not([type]), .code-input {
  width: 100%;
  font: inherit;
  padding: 12px 16px;
  border: 1px solid var(--sand);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}
input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
form .btn-block { margin-top: 16px; }
.form-msg { min-height: 1.5em; margin: 12px 0 0; color: var(--clay-dark); font-size: 15px; }
.form-msg.good { color: var(--teal); }

/* Sign in */
.auth-wrap { display: flex; justify-content: center; padding-top: 48px; padding-bottom: 96px; }
.auth-card { width: 100%; max-width: 420px; padding: 36px; }
.card-title { font-size: 2rem; margin-bottom: 8px; }
.auth-card .muted { margin: 0 0 8px; }
.auth-card #google-area { margin-top: 24px; }
.code-input { font-size: 1.6rem; letter-spacing: 0.4em; text-align: center; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-size: 15px; margin: 20px 0 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--sand); }
.small-links { font-size: 15px; text-align: center; color: var(--text-soft); margin: 8px 0 0; }

/* My sessions */
.dash { padding-top: 32px; padding-bottom: 96px; max-width: 820px; }
.dash-title { font-size: clamp(2rem, 5vw, 2.8rem); }
.dash-head .muted { margin: 6px 0 0; }
.dash-section { margin-top: 48px; }
.dash-section h2 { font-size: 1.5rem; margin-bottom: 16px; }

.name-card { margin-top: 32px; }
.name-card label { margin-top: 0; }
.inline-form { display: flex; gap: 12px; }
.inline-form input { flex: 1; }

.session-list { display: grid; gap: 12px; }
.session-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
}
.session-when, .session-what { display: flex; flex-direction: column; line-height: 1.4; }
.session-when strong, .session-what strong { color: var(--navy); font-weight: 500; }
.session-when span, .session-what span { color: var(--text-soft); font-size: 16px; }

.badge {
  display: inline-block;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--text);
  white-space: nowrap;
}
.badge-booked, .badge-completed { background: #E1F0EC; color: #2F6F64; }
.badge-no_show { background: #F6E0D6; color: var(--clay-dark); }

.pack-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pack strong { color: var(--navy); font-weight: 500; }
.pack-left { font-family: var(--font-heading); font-size: 1.5rem; color: var(--navy); margin: 4px 0 12px; }
.pack .small { margin: 12px 0 0; }
.meter { display: flex; gap: 6px; }
.meter span { flex: 1; height: 8px; border-radius: 4px; background: var(--teal); }
.meter span.used { background: var(--sand); }

.empty { text-align: center; color: var(--text-soft); }
.empty p { margin: 0 0 12px; }
.empty p:last-child { margin: 0; }
#rules { margin-top: 48px; }

@media (max-width: 760px) {
  .auth-wrap { padding-top: 16px; }
  .auth-card { padding: 28px 22px; }
  .session-row { grid-template-columns: 1fr auto; }
  .session-what { grid-column: 1; }
  .session-action { grid-column: 2; grid-row: 1 / span 2; }
  .inline-form { flex-direction: column; }
}
