/* My Timetable — landing page (matches app: cream + iOS orange) */

:root {
  --bg: #fffbf2;
  --bg-elevated: #ffffff;
  --accent: #ff9500;
  --accent-hover: #e68600;
  --text: #1c1c1e;
  --text-secondary: #636366;
  --border: rgba(0, 0, 0, 0.06);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 242, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
}

.btn--large {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.hero {
  padding: 2.5rem 1.5rem 3.5rem;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 1rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__meta {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 36px;
  padding: 10px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.phone-frame img {
  border-radius: 28px;
}

.section {
  padding: 3rem 1.5rem;
}

.section--tint {
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.06) 0%, transparent 100%);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--accent);
}

.section__subtitle {
  margin: 0 auto 2.5rem;
  max-width: 42ch;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card__media {
  padding: 1.25rem 1.25rem 0;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.feature-card__media img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.feature-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.feature-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .feature-card--wide .feature-card__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
  }

  .feature-card--wide .feature-card__media {
    padding: 1.5rem;
    order: 1;
  }

  .feature-card--wide .feature-card__body {
    padding: 2rem 1.5rem 2rem 2rem;
    order: 0;
  }
}

.cta-band {
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-band__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 600px) {
  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
}

@media (min-width: 600px) {
  .site-footer__legal {
    justify-content: flex-end;
  }
}

.site-footer__legal a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.site-footer__legal a:hover {
  color: var(--accent);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
