:root {
  --brand: #ea580c;
  --brand-dark: #c2410c;
  --brand-soft: #ffedd5;
  --surface: #fff7ed;
  --ink: #7c2d12;
  --hap: #fb923c;
  --white: #fffdf9;
  --muted: rgba(124, 45, 18, 0.62);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.top-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.top-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
}

.top-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.top-hub {
  color: var(--brand-dark);
}

.top-hap {
  color: var(--brand);
}

.top-mail {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.top-mail:hover {
  color: var(--brand-dark);
}

/* —— Hero: full-bleed banner plane + brand —— */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  transform: scale(1.02);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255, 247, 237, 0.94) 0%,
      rgba(255, 247, 237, 0.78) 38%,
      rgba(255, 247, 237, 0.28) 68%,
      rgba(255, 237, 213, 0.12) 100%
    );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo {
  width: clamp(112px, 18vw, 168px);
  height: auto;
  margin: 0 0 1.1rem;
  filter: drop-shadow(0 12px 28px rgba(124, 45, 18, 0.12));
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  animation: riseIn 0.9s var(--ease) 0.08s forwards;
}

.wordmark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 11vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.9s var(--ease) 0.2s forwards;
}

.wm-hub {
  color: var(--brand-dark);
}

.wm-hap {
  color: var(--brand);
  display: inline-block;
}

.hero-line {
  margin: 1.15rem 0 0;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.85s var(--ease) 0.35s forwards;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.85s var(--ease) 0.5s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-primary[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-ghost {
  background: rgba(255, 253, 249, 0.72);
  color: var(--brand-dark);
  border-color: rgba(194, 65, 12, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: var(--white);
}

.btn-ghost.is-soon {
  opacity: 0.7;
}

.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  opacity: 0;
  animation: riseIn 0.85s var(--ease) 0.62s forwards;
}

.cta-note.is-ready {
  color: var(--brand-dark);
  font-weight: 600;
}

/* —— Sections —— */
.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  font-size: 1.12rem;
  color: var(--muted);
  font-weight: 500;
  max-width: 36ch;
}

.section-steps {
  padding-bottom: 5rem;
}

.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0;
}

.step-n {
  flex: 0 0 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
}

.step-t {
  font-weight: 600;
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Footer —— */
.foot {
  border-top: 1px solid rgba(124, 45, 18, 0.12);
  padding: 2rem 1.5rem 2.75rem;
  text-align: center;
  background: rgba(255, 247, 237, 0.85);
}

.foot-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.55rem;
}

.foot-brand {
  margin: 0 0 0.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.foot a {
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.foot p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.foot-muted {
  color: var(--muted);
  font-size: 0.85rem !important;
  margin-top: 0.65rem !important;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.2%, 0.6%, 0);
  }
}

@media (max-width: 720px) {
  .hero-banner {
    object-position: 85% center;
  }

  .hero-plane::after {
    background: linear-gradient(
      180deg,
      rgba(255, 247, 237, 0.55) 0%,
      rgba(255, 247, 237, 0.88) 42%,
      rgba(255, 247, 237, 0.96) 100%
    );
  }

  .cta {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-logo,
  .wordmark,
  .hero-line,
  .cta,
  .cta-note {
    opacity: 1;
    transform: none;
  }

  .hero-banner {
    transform: none;
  }
}
