:root {
  --bg: #fffbf5;
  --bg-alt: #fff7eb;
  --bg-soft: #fff2df;
  --accent: #ff8c42; /* sunset orange */
  --accent-soft: rgba(255, 140, 66, 0.11);
  --accent-strong: rgba(255, 140, 66, 0.3);
  --indigo: #6366f1;
  --text: #2d2d2d;
  --text-soft: #6b7280;
  --border-subtle: rgba(148, 163, 184, 0.45);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 1.5rem;
  --radius-md: 1rem; /* 16px */
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    -apple-system, sans-serif;
  background: radial-gradient(circle at top, #fffdf7 0, #fffbf5 40%, #ffeeda 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 251, 245, 0.96),
    rgba(255, 251, 245, 0.9),
    rgba(255, 251, 245, 0.4)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(248, 171, 106, 0.45);
  box-shadow: 0 8px 20px rgba(148, 91, 45, 0.12);
}

.logo-image {
  height: 40px;
  width: auto;
  border-radius: 999px;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.nav a {
  padding: 0.35rem 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--indigo));
  border-radius: 999px;
  transition: width 0.2s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  border-radius: 12px;
  padding: 0.5rem 1.1rem;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out,
    box-shadow 0.18s ease-out, transform 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffb66f);
  color: #201b15;
  box-shadow: 0 16px 32px rgba(255, 140, 66, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(255, 140, 66, 0.45);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  border-color: rgba(255, 140, 66, 0.8);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  border-color: rgba(255, 140, 66, 0.8);
}

.section {
  padding: 4.5rem 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-alt {
  background: linear-gradient(180deg, #fff8ee, #fff3e0);
  border-top: 1px solid rgba(250, 204, 170, 0.8);
  border-bottom: 1px solid rgba(250, 204, 170, 0.6);
}

.hero {
  padding-top: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

h1 {
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
}

.hero-card {
  display: flex;
  justify-content: flex-end;
}

.device-iphone {
  width: 270px;
  padding: 0.7rem 0.4rem;
  border-radius: 2.8rem;
  background: radial-gradient(circle at top left, #f9fafb, #e5e7eb);
  box-shadow:
    0 26px 55px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.6),
    0 0 0 4px rgba(243, 244, 246, 0.9);
  position: relative;
}

.device-iphone-inner {
  position: relative;
  border-radius: 2.2rem;
  background: transparent;
  padding: 0.7rem 0.35rem 0.7rem;
}

.device-iphone-notch {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 0.5rem;
  border-radius: 999px;
  background: #020617;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 10px 20px rgba(0, 0, 0, 0.6);
}

.device-iphone-screen {
  border-radius: 1.7rem;
  overflow: hidden;
  background: transparent;
}

.device-iphone::before,
.device-iphone::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  width: 3px;
  border-radius: 999px;
  background: #9ca3af;
}

.device-iphone::before {
  top: 4.4rem;
  height: 2.2rem;
}

.device-iphone::after {
  top: 7.2rem;
  height: 1.6rem;
}

.phone-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-body {
  padding: 0.8rem 1rem 0.8rem;
  border-radius: 1.7rem;
  background: radial-gradient(circle at top left, #fefefe, #f4f4fb);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.7);
}

.phone-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.ring-wrapper {
  position: relative;
  width: 100%;
  max-width: 180px;
  margin: 0 auto 0.75rem;
  aspect-ratio: 1/1;
}

.ring-bg,
.ring-fg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.ring-bg {
  border: 10px solid rgba(229, 231, 235, 0.9);
}

.ring-fg {
  --progress: 0.82;
  border: 10px solid transparent;
  border-image: conic-gradient(
      from -90deg,
      var(--accent) calc(var(--progress) * 100%),
      rgba(255, 140, 66, 0.1) 0
    )
    1;
  mask: radial-gradient(circle 62% at 50% 50%, transparent 60%, #000 61%);
  transform: rotate(0.001deg);
}

.ring-animate {
  animation: ring-fill 1.1s ease-out forwards;
}

.ring-center {
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  background: radial-gradient(circle at top, #ffffff, #eef2ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.ring-score {
  font-size: 1.7rem;
  font-weight: 700;
}

.ring-caption {
  font-size: 0.8rem;
  color: var(--indigo);
}

.phone-tags {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 0 0 1px rgba(209, 213, 219, 0.7);
}

.tag.hot {
  background: #fee2e2;
  color: #b91c1c;
}

.tag.calm {
  background: #e0f2fe;
  color: #1d4ed8;
}

.tag.soft {
  background: #fce7f3;
  color: #be185d;
}

.phone-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.phone-row {
  display: flex;
  gap: 0.6rem;
  margin: 0.55rem 0 0.5rem;
}

.phone-card {
  flex: 1;
  border-radius: 14px;
  padding: 0.5rem 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.phone-card-primary {
  flex: 1.2;
}

.phone-card-secondary {
  text-align: right;
}

.phone-card-label {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
}

.phone-card-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.phone-card-value {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--indigo);
}

.phone-card-meta {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.phone-nav {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.phone-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.3rem 0;
  border-radius: 999px;
  font-size: 0.68rem;
  color: #9ca3af;
}

.phone-nav-item.is-active {
  background: rgba(255, 140, 66, 0.08);
  color: var(--accent);
}

.phone-nav-icon {
  font-size: 0.85rem;
}

.phone-nav-label {
  font-size: 0.68rem;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.flow-node {
  flex: 1;
  text-align: center;
}

.flow-node-main {
  max-width: 130px;
}

.flow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  font-size: 0.8rem;
  color: var(--text);
}

.flow-chip-quiet {
  background: #eef2ff;
  border-color: rgba(129, 140, 248, 0.8);
}

.flow-arrow {
  flex: 0 0 auto;
  font-size: 1.1rem;
  color: rgba(107, 114, 128, 0.9);
}

.feature-card {
  padding: 1.4rem 1.35rem 1.3rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.feature-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
}

.feature-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.feature-card li + li {
  margin-top: 0.25rem;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  border-left: 2px dashed rgba(209, 213, 219, 0.9);
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.timeline-badge {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #ffedd5, #fed7aa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(248, 171, 106, 0.5);
}

.timeline-content {
  flex: 1;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.timeline-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.timeline-content p + p {
  margin-top: 0.3rem;
}

.timeline-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.15rem 1.1rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.06);
  color: var(--indigo);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.callout {
  margin-top: 1.8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 140, 66, 0.6);
  background: rgba(255, 247, 237, 0.8);
  font-size: 0.88rem;
  color: var(--text-soft);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.86rem;
  background: rgba(249, 250, 251, 0.9);
  padding: 0.1rem 0.18rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(209, 213, 219, 0.8);
}

.site-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1.5rem 0 2.3rem;
  background: linear-gradient(to bottom, #fff7ed, #fffbf5);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-meta {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    justify-content: flex-start;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .phone-frame {
    width: 100%;
    max-width: 260px;
  }

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

  .header-inner {
    padding-inline: 0.25rem;
  }

  .btn-outline {
    display: none;
  }
}

@keyframes ring-fill {
  0% {
    border-image: conic-gradient(
        from -90deg,
        var(--accent) 0deg,
        rgba(255, 140, 66, 0.1) 0deg
      )
      1;
  }
  100% {
    border-image: conic-gradient(
        from -90deg,
        var(--accent) calc(var(--progress) * 100%),
        rgba(255, 140, 66, 0.1) 0
      )
      1;
  }
}

