:root {
  --ink: #202735;
  --ink-soft: #344157;
  --paper: #faf8f3;
  --paper-warm: #f1eadf;
  --paper-deep: #efe5d7;
  --brass: #c79746;
  --brass-soft: #ddb97a;
  --text: #1f2937;
  --muted: #667085;
  --line: rgba(32, 39, 53, 0.1);
  --shadow: 0 30px 80px rgba(79, 58, 21, 0.12);
  --shadow-soft: 0 18px 45px rgba(53, 42, 20, 0.08);
  color: var(--text);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(199, 151, 70, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 14%, rgba(199, 151, 70, 0.09), transparent 24rem),
    radial-gradient(circle at 70% 70%, rgba(241, 234, 223, 0.95), transparent 26rem),
    linear-gradient(180deg, #fffdfa 0%, var(--paper) 35%, #fffdf9 100%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100% - 64px, 1340px);
  margin: 0 auto;
}

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

.site-header {
  padding: 18px 0 6px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand {
  font-size: 0.92rem;
  gap: 8px;
  letter-spacing: -0.03em;
}

.footer-brand {
  font-size: 1rem;
}

.brand-mark,
.footer-mark {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.footer-mark {
  width: 24px;
  height: 24px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plain-link {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(180deg, #0f2d54, #102743);
  color: #fff;
  box-shadow: 0 16px 28px rgba(15, 45, 84, 0.2);
}

.button--secondary {
  border: 1px solid rgba(32, 39, 53, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0;
  color: var(--brass);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.05em;
}

h1,
h2 {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

h1 {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(3.6rem, 7vw, 5.8rem);
  line-height: 0.98;
}

h1 span {
  color: var(--brass);
}

.title-line {
  display: inline-block;
  color: var(--ink);
  white-space: nowrap;
}

.title-line span {
  color: var(--brass);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.08;
}

p {
  margin: 0;
}

main {
  padding-bottom: 40px;
}

.contact-page {
  padding: 28px 0 56px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
  min-height: calc(100vh - 180px);
}

.contact-copy h1 {
  max-width: 760px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form[hidden],
.contact-success[hidden] {
  display: none !important;
}

.contact-success {
  display: grid;
  gap: 16px;
  text-align: center;
}

.contact-success h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.contact-success p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-success .button {
  justify-self: center;
}

.contact-card-label {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.contact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-list li + li {
  margin-top: 12px;
}

.contact-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brass);
}

.contact-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(32, 39, 53, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-field textarea {
  min-height: 144px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(199, 151, 70, 0.6);
  box-shadow: 0 0 0 4px rgba(199, 151, 70, 0.12);
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
}

.contact-feedback {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-feedback--error {
  color: #b42318;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(18px, 2.8vw, 42px);
  align-items: center;
  padding: 10px 0 4px;
}

.lead,
.sublead,
.problem-copy p,
.feature-copy p,
.step-card p,
.deep-card > p:not(.eyebrow),
.cta-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 580px;
  margin-top: 26px;
  font-size: 1.04rem;
}

.sublead {
  margin-top: 8px;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-height: 620px;
  padding-top: 0;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  height: auto;
  margin: 0;
  transform: translateX(-18px) translateY(-88px);
  transform-origin: bottom center;
  filter: drop-shadow(0 18px 24px rgba(31, 27, 18, 0.1));
}

.phone {
  position: relative;
  border: 10px solid #171717;
  border-radius: 48px;
  background: #101010;
  box-shadow: 0 28px 45px rgba(23, 23, 23, 0.24);
}

.phone--hero {
  width: min(100%, 360px);
  margin: 20px auto 0;
  transform: rotate(-4deg);
}

.phone--mini {
  width: 112px;
  flex-shrink: 0;
  align-self: end;
  margin-right: 18px;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 110px;
  height: 28px;
  border-radius: 18px;
  background: #111;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  min-height: 680px;
  padding: 48px 18px 18px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.95), rgba(252, 248, 242, 0.98)),
    #fdf9f3;
  overflow: hidden;
}

.phone-screen--compact,
.phone-screen--attendance,
.phone-screen--notification {
  min-height: 210px;
}

.phone-screen--compact {
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.9), rgba(255, 250, 244, 0.95)),
    #faf4ea;
  padding: 42px 10px 10px;
}

.phone-screen--attendance::before,
.phone-screen--notification::before {
  content: "";
  display: block;
  height: 100%;
  border-radius: 28px;
}

.phone-screen--attendance::before {
  background:
    linear-gradient(180deg, rgba(16, 39, 67, 0.08), rgba(16, 39, 67, 0)),
    repeating-linear-gradient(
      180deg,
      rgba(32, 39, 53, 0.08) 0 12px,
      transparent 12px 28px
    );
}

.phone-screen--notification::before {
  background:
    linear-gradient(180deg, rgba(8, 27, 48, 0.9), rgba(16, 39, 67, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.status-row,
.bottom-tabs {
  display: flex;
  justify-content: space-between;
  color: rgba(32, 39, 53, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.screen-block {
  margin-top: 20px;
}

.screen-title {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.06;
}

.screen-meta {
  margin-top: 8px;
  color: rgba(32, 39, 53, 0.62);
  font-size: 0.92rem;
}

.screen-card,
.request-row,
.comparison-card,
.step-card,
.feature-card,
.deep-card,
.cta-band {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.screen-card {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(32, 39, 53, 0.06);
  border-radius: 22px;
}

.screen-card-title {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.screen-card-text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.request-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.request-row {
  display: grid;
  grid-template-columns: 44px 1fr 12px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(32, 39, 53, 0.06);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.request-row strong,
.request-row small {
  display: block;
}

.request-row strong {
  color: var(--ink);
  font-size: 1rem;
}

.request-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.request-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7e6, #f8eed9);
  color: var(--brass);
  font-size: 1.2rem;
}

.request-arrow {
  color: rgba(32, 39, 53, 0.4);
  font-size: 1.3rem;
}

.bottom-tabs {
  margin-top: 22px;
  padding: 10px 4px 0;
  border-top: 1px solid rgba(32, 39, 53, 0.08);
  font-size: 0.72rem;
}

.asset-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(199, 151, 70, 0.42);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), transparent 50%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(244, 234, 218, 0.92));
  color: var(--ink-soft);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.asset-placeholder p {
  font-size: 1rem;
  font-weight: 800;
}

.asset-placeholder span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.asset-placeholder--muki {
  position: absolute;
}

.asset-placeholder--small {
  align-self: end;
  min-height: 220px;
}

.asset-placeholder--tiny {
  min-height: 120px;
  margin-top: 24px;
}

.asset-placeholder--small-card {
  min-height: 220px;
  margin-top: 18px;
}

.asset-placeholder--peek {
  min-height: 180px;
}

.asset-placeholder--cta {
  width: 180px;
  min-height: 180px;
  flex-shrink: 0;
}

.problem-section,
.steps-section,
.features-section,
.deep-dive,
.cta-band {
  margin-top: 28px;
}

.problem-section {
  margin-top: -54px;
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1.5fr);
  gap: 30px;
  align-items: center;
}

.step-card,
.feature-card,
.deep-card,
.cta-band {
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.problem-copy {
  padding: 6px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.problem-copy h2 {
  margin-top: 12px;
  max-width: 320px;
  font-size: 1.72rem;
  line-height: 1.08;
}

.problem-copy p:last-child {
  max-width: 250px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.pending-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pending-list b,
.pending-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--brass);
  color: #fff;
  font-size: 0.84rem;
}

.problem-visual {
  position: relative;
}

.problem-art {
  display: block;
  width: min(100%, 1020px);
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 20px 28px rgba(54, 38, 13, 0.08));
}

.steps-section,
.features-section {
  padding: 38px 0 0;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin-top: 10px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step-card {
  padding: 24px 22px 22px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 18px;
  font-size: 1.25rem;
}

.step-card p {
  margin-top: 10px;
  font-size: 0.97rem;
}

.step-art {
  display: block;
  width: calc(100% + 10px);
  height: auto;
  margin: 16px -6px -6px;
  filter: drop-shadow(0 14px 18px rgba(52, 37, 13, 0.08));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  position: relative;
  min-height: 278px;
  padding: 24px 22px 20px;
  overflow: hidden;
}

.feature-card--events,
.feature-card--attendance,
.feature-card--library,
.feature-card--printing,
.feature-card--materials,
.feature-card--notification {
  grid-column: span 4;
}

.feature-copy {
  position: relative;
  z-index: 2;
  max-width: 240px;
}

.feature-copy h3 {
  font-size: 1.18rem;
  line-height: 1.05;
}

.feature-copy p {
  margin-top: 12px;
  color: #6b778f;
  font-size: 0.78rem;
  line-height: 1.65;
}

.feature-art {
  position: absolute;
  right: 18px;
  bottom: -4px;
  z-index: 1;
  display: block;
  width: min(100%, 184px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(52, 37, 13, 0.08));
}

.feature-card--events .feature-copy {
  max-width: 210px;
}

.feature-card--attendance .feature-copy {
  max-width: 220px;
}

.feature-art--events {
  width: 172px;
}

.feature-card--events .feature-art--events {
  right: 26px;
  bottom: -2px;
}

.feature-art--phone {
  width: 182px;
}

.feature-card--attendance .feature-art--phone {
  right: 28px;
  bottom: -2px;
}

.feature-card--library .feature-copy {
  max-width: 160px;
}

.feature-art--stack {
  width: 188px;
}

.feature-card--library .feature-art--stack {
  right: 6px;
  bottom: 12px;
}

.feature-card--printing .feature-copy {
  max-width: 180px;
}

.feature-art--printing {
  width: 250px;
}

.feature-card--printing .feature-art--printing {
  right: 18px;
  bottom: -10px;
}

.feature-card--materials .feature-copy {
  max-width: 210px;
}

.feature-art--materials {
  width: 184px;
}

.feature-card--materials .feature-art--materials {
  right: 18px;
  bottom: -4px;
}

.feature-card--notification .feature-copy {
  max-width: 190px;
}

.feature-art--notification {
  width: 202px;
}

.feature-card--notification .feature-art--notification {
  right: 10px;
  bottom: -2px;
}

.deep-dive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 38px;
}

.deep-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.82fr);
  align-items: start;
  gap: 18px;
  min-height: 390px;
  padding: 28px 30px 20px;
}

.deep-copy {
  min-width: 0;
  max-width: 100%;
}

.deep-card h2 {
  margin-top: 8px;
  max-width: 460px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.08;
}

.deep-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.deep-art {
  display: block;
  width: min(100%, 270px);
  height: auto;
  margin: 0;
  align-self: center;
  justify-self: end;
  filter: drop-shadow(0 16px 24px rgba(52, 37, 13, 0.08));
}

.deep-art--pdf {
  width: min(100%, 258px);
  transform: translate(0, 8px);
}

.deep-art--pending {
  width: min(100%, 282px);
  transform: translate(2px, 8px);
}

.deep-card--pending {
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.82fr);
}

.deep-card--pending .deep-copy {
  max-width: 100%;
}

.deep-card--pending h2 {
  max-width: 460px;
}

.deep-card--pending .eyebrow {
  max-width: none;
  line-height: 1.35;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 40px;
  padding: 28px 30px;
}

.cta-art {
  display: block;
  width: min(100%, 220px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 18px rgba(52, 37, 13, 0.08));
}

.cta-copy {
  flex: 1;
  text-align: center;
}

.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-copy p {
  margin-top: 10px;
  font-size: 1.02rem;
}

.site-footer {
  gap: 18px;
  padding: 24px 0 34px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p {
  text-align: center;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual,
.problem-section,
.steps-section,
.features-section,
.deep-dive,
.cta-band {
  animation: reveal 500ms ease-out both;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .hero-copy {
    text-align: center;
  }

  h1,
  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-stage {
    min-height: auto;
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-art {
    transform: none;
    margin: 0 auto;
  }

  .problem-section {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card--events,
  .feature-card--attendance,
  .feature-card--library,
  .feature-card--printing,
  .feature-card--materials,
  .feature-card--notification {
    grid-column: span 6;
  }

  .pdf-flow {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 100%);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .brand {
    justify-content: center;
  }

  .top-nav {
    justify-content: space-between;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .title-line {
    white-space: normal;
  }

  .lead,
  .sublead {
    font-size: 1.05rem;
  }

  .phone-stage {
    min-height: auto;
    padding-top: 10px;
  }

  .hero-art {
    width: min(100%, 560px);
    transform: none;
  }

  .problem-section,
  .steps-grid,
  .deep-dive {
    grid-template-columns: 1fr;
  }

  .problem-section {
    margin-top: 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--events,
  .feature-card--attendance,
  .feature-card--library,
  .feature-card--printing,
  .feature-card--materials,
  .feature-card--notification {
    grid-column: auto;
  }

  .feature-card {
    min-height: auto;
    padding-bottom: 24px;
  }

  .step-art {
    width: 100%;
    margin: 16px 0 0;
  }

  .feature-copy {
    max-width: none;
  }

  .feature-art,
  .feature-art--phone,
  .feature-art--events,
  .feature-art--stack,
  .feature-art--printing,
  .feature-art--materials,
  .feature-art--notification {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 20px auto 0;
  }

  .feature-art {
    width: min(100%, 220px);
  }

  .feature-art--events {
    width: min(100%, 150px);
  }

  .deep-card {
    grid-template-columns: 1fr;
    padding: 28px 24px 22px;
  }

  .deep-art,
  .deep-art--pdf,
  .deep-art--pending {
    width: min(100%, 340px);
    margin: 8px auto 0;
  }

  .problem-copy {
    padding-inline: 22px;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .cta-art {
    width: 100%;
    max-width: 220px;
  }
}
