:root {
  --brand-orange: #FC5200;
  --bg: #f7f4ee;
  --bg-soft: #f2ede4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --ink: #111111;
  --muted: #66625b;
  --line: rgba(17, 17, 17, 0.1);
  --shadow-soft: 0 14px 38px rgba(17, 17, 17, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --container-max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at top right, rgba(252, 82, 0, 0.035), transparent 22%),
    linear-gradient(180deg, #faf7f1 0%, #f4efe6 100%);
}

.texture-layer {
  position: absolute;
  inset: 0;
  background-image: url('texture.svg');
  background-size: 260px 260px;
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.notation-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.notation-layer span {
  position: absolute;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.16);
}

.notation-layer span:nth-child(1) { top: 18%; right: 8%; }
.notation-layer span:nth-child(2) { top: 28%; right: 16%; }
.notation-layer span:nth-child(3) { top: 42%; left: 7%; }
.notation-layer span:nth-child(4) { top: 60%; right: 12%; }
.notation-layer span:nth-child(5) { bottom: 18%; left: 10%; }
.notation-layer span:nth-child(6) { bottom: 10%; right: 18%; }

.site-container {
  width: min(100% - 2rem, var(--container-max));
}

.site-header,
.hero-section,
.signal-section,
.rhythm-section,
.closing-section {
  position: relative;
  z-index: 2;
}

.site-header {
  padding: 1rem 0 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark-full {
  width: 154px;
  height: auto;
}

.brand-mark-icon {
  display: none;
  width: 22px;
  height: 22px;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--brand-orange);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.62);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.login-link:hover,
.login-link:focus {
  color: #fff;
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: translateY(-1px);
}

.hero-section {
  padding: 2rem 0 2.25rem;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  padding: 2rem 0 3rem;
}

.hero-title {
  font-size: clamp(3.2rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 900;
  margin: 0;
}

.hero-subhead {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin: 1.15rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.utility-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  border-width: 1px;
  padding: 0.85rem 1.35rem;
}

.btn-lg {
  padding: 1rem 1.5rem;
}

.btn-brand {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(252, 82, 0, 0.18);
}

.btn-brand:hover,
.btn-brand:focus {
  background: #df4900;
  border-color: #df4900;
  color: #fff;
}

.signal-section,
.rhythm-section {
  padding: 0 0 1.25rem;
}

.signal-block,
.rhythm-card,
.closing-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.signal-block {
  border-radius: var(--radius-xl);
  padding: 1.4rem;
}

.signal-kicker,
.closing-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.signal-kicker {
  margin: 0 0 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
  margin: 0 0 2rem;
  max-width: 13ch;
}

.section-copy {
	margin: 0;
	color: var(--muted);
	font-size: 1.35rem;
	line-height: 1.45;
	max-width: 34ch;
}

.rhythm-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  min-height: 100%;
}

.rhythm-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.rhythm-card h3 {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 0.7rem;
}

.rhythm-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 28ch;
}

.closing-section {
  padding: 0.5rem 0 2rem;
}

.closing-card {
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--surface-strong);
}

.closing-link {
  font-size: 1rem;
  color: var(--muted);
}

.closing-link a:hover {
  color: var(--brand-orange);
}

@media (min-width: 768px) {
  .site-header {
    padding-top: 1.4rem;
  }

  .hero-section {
    padding-top: 2.6rem;
  }

  .signal-block,
  .closing-card {
    padding: 2rem;
  }

  .rhythm-card {
    padding: 1.5rem;
  }
}

@media (min-width: 992px) {
  .hero-copy {
    padding: 3rem 0 4rem;
  }

  .closing-card {
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .site-container {
    width: min(100% - 1.25rem, var(--container-max));
  }

  .brand-mark-full {
    display: none;
  }

  .brand-mark-icon {
    display: block;
  }

  .login-link {
    min-height: 38px;
    padding: 0.62rem 0.9rem;
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 1.2rem;
  }

  .hero-copy {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .notation-layer span:nth-child(1) { top: 14%; right: 6%; }
  .notation-layer span:nth-child(2) { top: 22%; right: 10%; }
  .notation-layer span:nth-child(3) { top: 52%; left: 5%; }
  .notation-layer span:nth-child(4) { top: 66%; right: 7%; }
  .notation-layer span:nth-child(5) { bottom: 16%; left: 7%; }
  .notation-layer span:nth-child(6) { bottom: 8%; right: 10%; }

  .utility-note {
    width: 100%;
  }
}
