/* Sundown Desk: one dusk theme, top to bottom */
:root {
  --bg: #14112B;
  --bg-raised: #1B1736;
  --card: #221D42;
  --card-hi: #2A2450;
  --line: rgba(236, 230, 255, .12);
  --text: #F4F1FB;
  --text-2: #C9C2E0;
  --sun: #FF8A3D;
  --sun-hi: #FFA463;
  --rose: #E8577E;
  --violet: #3B2A78;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.1875rem/1.65 "Red Hat Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { margin: 0; font-family: "Red Hat Display", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.intro { color: var(--text-2); max-width: 30em; margin: 18px 0 0; font-size: 1.2rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; text-decoration: none; font-family: "Red Hat Display", sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px rgba(232, 87, 126, .28); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1.08rem; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.btn-sun { background: var(--sun); color: #221000; }
.btn-sun:hover { background: var(--sun-hi); }
.btn-line { color: var(--text); border: 1.5px solid rgba(244, 241, 251, .35); }
.btn-line:hover { border-color: var(--text); }
.btn-wide { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { /* a faint sky of stars: it's after sundown */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background:
    radial-gradient(1.5px 1.5px at 8% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 31% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 57% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 74%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 72% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 52%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 96% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 52% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 90%, #fff 50%, transparent 51%);
}
.bar, .hero-grid { position: relative; z-index: 1; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.bar-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 1rem; }
.bar-links a:not(.bar-cta) { text-decoration: none; color: var(--text-2); }
.bar-links a:not(.bar-cta):hover { color: var(--text); }
.bar-cta { white-space: nowrap; text-decoration: none; background: var(--text); color: var(--bg); padding: 10px 20px; border-radius: 999px; }
.bar-cta:hover { background: #FFE3CC; }

.hero-grid { display: grid; gap: 20px; align-items: center; padding-top: 30px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(3rem, 9.6vw, 5.8rem); max-width: 10ch; text-wrap: balance; }
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--text-2); max-width: 24em; margin: 24px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 18px 0 0; color: var(--text-2); font-size: 1rem; }

/* A sunset orb with signal rings orbiting in 3D (echoes the logo) */
.stage { position: relative; display: grid; place-items: center; min-height: 620px; perspective: 1200px; }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.orb {
  position: absolute; width: 330px; height: 330px; left: -165px; top: -165px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFE4B5 0%, #FFB25E 17%, #FF7A3D 40%, #E0507E 66%, #6A2C8C 93%);
  box-shadow: 0 0 90px 18px rgba(255, 110, 70, .30), inset -30px -40px 70px rgba(40, 10, 60, .45);
  animation: breathe 8s ease-in-out infinite alternate; will-change: transform;
}
.ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(255, 190, 140, .62); will-change: transform;
  --tilt: 74deg; --yaw: 0deg;
  transform: rotateX(var(--tilt)) rotateY(var(--yaw)) rotateZ(0deg);
  animation: spin 30s linear infinite;
}
.ring::after { /* a small light travelling round each ring */
  content: ""; position: absolute; top: -6px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%;
  background: #FFC27A; box-shadow: 0 0 14px 4px rgba(255, 160, 90, .7);
}
.ring-1 { width: 450px; height: 450px; left: -225px; top: -225px; }
.ring-2 { width: 590px; height: 590px; left: -295px; top: -295px; border-color: rgba(232, 87, 126, .52); --tilt: 68deg; --yaw: -16deg; animation-duration: 44s; animation-direction: reverse; }
.ring-2::after { background: #F28AAB; box-shadow: 0 0 14px 4px rgba(232, 87, 126, .6); }
.ring-3 { width: 720px; height: 720px; left: -360px; top: -360px; border-color: rgba(175, 160, 255, .34); --tilt: 78deg; --yaw: 12deg; animation-duration: 60s; }
.ring-3::after { background: #CFC4FF; box-shadow: 0 0 12px 3px rgba(175, 160, 255, .55); }
.pulse { position: absolute; width: 330px; height: 330px; left: -165px; top: -165px; border-radius: 50%; border: 2px solid rgba(255, 150, 90, .55); animation: ping 4.2s ease-out infinite; }
.pulse-2 { animation-delay: 2.1s; }

@keyframes spin    { from { transform: rotateX(var(--tilt)) rotateY(var(--yaw)) rotateZ(0deg); } to { transform: rotateX(var(--tilt)) rotateY(var(--yaw)) rotateZ(360deg); } }
@keyframes ping    { from { transform: scale(1); opacity: .75; } to { transform: scale(1.9); opacity: 0; } }
@keyframes breathe { from { scale: .97; } to { scale: 1.03; } }

/* The phone: real thickness, notifications floating in front of the glass */
.device {
  position: relative; z-index: 2; width: 256px; height: 524px;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(9deg) rotateZ(2deg);
  animation: float 8s ease-in-out infinite;
}
.device::before { /* the phone's body, pushed back to give it depth */
  content: ""; position: absolute; inset: 0; border-radius: 44px;
  background: linear-gradient(160deg, #4A4268, #17122E 55%);
  transform: translateZ(-12px);
  box-shadow: 0 60px 90px rgba(6, 3, 20, .6);
}
.screen {
  position: absolute; inset: 0; border-radius: 44px; padding: 10px; overflow: hidden;
  background: #0E0B20;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16);
}
.screen::before { content: ""; position: absolute; inset: 10px; border-radius: 35px; background: linear-gradient(180deg, #1F1A44 0%, #2D2358 55%, #4A2C6A 100%); }
.island { position: relative; width: 88px; height: 25px; border-radius: 20px; background: #000; margin: 10px auto 26px; }
.clock { position: relative; margin: 0; text-align: center; font-family: "Red Hat Display", sans-serif; font-weight: 600; font-size: 3.9rem; line-height: 1; letter-spacing: -0.03em; color: #F6F3FF; }
.date { position: relative; margin: 6px 0 0; text-align: center; color: #D7D0F0; font-size: .95rem; }
.notes { position: absolute; left: 12px; right: 12px; top: 186px; transform-style: preserve-3d; }
.note {
  background: rgba(250, 248, 255, .95); color: #17132B; border-radius: 18px; padding: 11px 13px 12px;
  font-size: .86rem; line-height: 1.42; box-shadow: 0 18px 30px rgba(10, 6, 28, .35);
}
.note p { margin: 0; }
.note + .note { margin-top: 10px; }
.note-1 { transform: translateZ(64px); }
.note-2 { transform: translateZ(28px); opacity: .9; }
.note-top { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: #5D5872; margin-bottom: 5px !important; }
.note-top span:last-child { margin-left: auto; }
.note-app { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(180deg, #3B2A78, #C2477F 56%, #FF8A3D); }
.note-title { font-weight: 600; margin-bottom: 2px !important; }
.pill { display: inline-block; background: var(--sun); color: #221000; font-weight: 600; font-size: .72rem; padding: 1px 9px; border-radius: 999px; margin-right: 7px; vertical-align: 1px; }
.pill-calm { background: #DDD7EE; }

@keyframes float {
  0%, 100% { transform: rotateY(-24deg) rotateX(10deg) rotateZ(2deg) translateY(0); }
  50%      { transform: rotateY(-10deg) rotateX(4deg) rotateZ(0deg) translateY(-16px); }
}
@keyframes pop {
  0%   { transform: translateZ(0) translateY(-26px) scale(.94); opacity: 0; }
  55%  { transform: translateZ(96px) translateY(0) scale(1.03); opacity: 1; }
  100% { transform: translateZ(64px) translateY(0) scale(1); opacity: 1; }
}

/* ---------- Sections: same dusk background, divided by hairlines ---------- */
section { padding: 104px 0; border-top: 1px solid var(--line); }

/* ---------- Who it's for ---------- */
.trades { padding: 64px 0; }
.built { margin: 0; font-family: "Red Hat Display", sans-serif; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.built em { font-style: normal; background: linear-gradient(90deg, var(--sun), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.log { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px 24px 20px; box-shadow: 0 30px 70px rgba(5, 3, 18, .45); }
.log-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.log-head p { margin: 0; }
.log-head b { display: block; font-family: "Red Hat Display", sans-serif; font-weight: 700; font-size: 1.15rem; }
.log-head span { color: var(--text-2); font-size: 1rem; }
.log-len { font-variant-numeric: tabular-nums; color: var(--text-2); }
.wave { display: flex; align-items: center; justify-content: space-between; height: 34px; margin: 18px 0 22px; }
.wave i { flex: 0 0 4px; height: 30%; border-radius: 4px; background: linear-gradient(180deg, var(--sun), var(--rose)); opacity: .8; transform-origin: center; animation: talk 1.6s ease-in-out infinite; }
.wave i:nth-child(3n)   { height: 70%; animation-delay: -.3s; }
.wave i:nth-child(4n+1) { height: 50%; animation-delay: -.7s; }
.wave i:nth-child(5n+2) { height: 90%; animation-delay: -1.1s; }
.wave i:nth-child(7n)   { height: 40%; animation-delay: -.5s; }
@keyframes talk { 0%, 100% { scale: 1 .55; } 50% { scale: 1 1; } }
.lines { display: grid; grid-template-columns: 4.6rem 1fr; gap: 14px 12px; margin: 0; }
.lines dt { font-weight: 600; font-size: .9rem; color: var(--text-2); padding-top: 3px; }
.lines dt:nth-of-type(odd) { color: var(--sun); }
.lines dd { margin: 0; }
.log-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 1rem; }
.call-copy { max-width: 36em; }
.calls {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 390px); gap: 18px;
  margin-top: 44px; padding: 6px 2px 22px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 138, 61, .55) transparent;
}
.calls .log { scroll-snap-align: start; display: flex; flex-direction: column; padding: 22px 22px 18px; box-shadow: 0 16px 34px rgba(5, 3, 18, .4); animation: none; }
.calls .lines { flex: 1; grid-template-columns: auto 1fr; gap: 10px 10px; font-size: 1.02rem; line-height: 1.5; align-content: start; }
.calls .wave { height: 22px; margin: 14px 0 16px; }
.calls .wave i { flex-basis: 3px; }
.calls .log-foot { margin-top: 18px; padding-top: 14px; }
.calls .lines dt, .calls .lines dt:nth-of-type(odd) { color: var(--text-2); }
.calls .lines dt.ai { color: var(--sun); }
@supports selector(::scroll-marker) {
  .calls { scroll-marker-group: after; scrollbar-width: none; }
  .calls::scroll-marker-group { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
  .calls .log::scroll-marker { content: ""; width: 10px; height: 10px; border-radius: 6px; background: rgba(244, 241, 251, .28); transition: width .2s ease, background-color .2s ease; }
  .calls .log::scroll-marker:target-current { width: 26px; background: var(--sun); }
}

/* Steps: a real sequence, drawn as one connected line */
.steps { position: relative; list-style: none; margin: 52px 0 0; padding: 0; display: grid; gap: 34px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--sun), var(--rose) 70%, rgba(232, 87, 126, 0)); }
.steps li { counter-increment: s; position: relative; padding-left: 68px; max-width: 26em; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Red Hat Display", sans-serif; font-weight: 800; font-size: 1.2rem;
  color: var(--sun); background: var(--bg); border: 2px solid var(--sun); box-shadow: 0 0 0 7px var(--bg);
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-2); }

.pricing { position: relative; overflow: hidden; }
.pricing::before, .pricing::after { /* two orbit rings, tilted in 3D, circling behind the plan */
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.pricing::after {
  right: -170px; bottom: 30px; width: 560px; height: 560px; border: 2px dashed rgba(255, 138, 61, .5);
  transform: perspective(900px) rotateX(68deg) rotateZ(0deg);
}
.pricing::before {
  right: -70px; bottom: 120px; width: 380px; height: 380px; border: 3px dotted rgba(232, 87, 126, .55);
  transform: perspective(900px) rotateX(62deg) rotateY(-12deg) rotateZ(0deg);
}
@keyframes orbit-a { to { transform: perspective(900px) rotateX(68deg) rotateZ(360deg); } }
@keyframes orbit-b { to { transform: perspective(900px) rotateX(62deg) rotateY(-12deg) rotateZ(-360deg); } }
.price-grid { display: grid; gap: 40px; position: relative; z-index: 1; align-items: center; }
.plan { background: var(--card); border: 1px solid rgba(255, 138, 61, .45); border-radius: 30px; padding: 32px 28px 28px; max-width: 470px; box-shadow: 0 30px 70px rgba(5, 3, 18, .45), 0 0 0 6px rgba(255, 138, 61, .06); }
.amount { margin: 0 0 22px; font-family: "Red Hat Display", sans-serif; font-weight: 800; font-size: 4.4rem; line-height: 1; letter-spacing: -0.04em; }
.amount span { font-size: 1.25rem; font-weight: 600; color: var(--text-2); letter-spacing: 0; margin-left: 4px; }
.plan-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 30px; }
.plan-list li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 13px; height: 7px; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }
.plan-list s { color: #9C95B6; margin: 0 2px; }
.plan-fine { margin: 14px 0 0; text-align: center; color: var(--text-2); font-size: 1rem; }

.faq-grid { display: grid; gap: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-family: "Red Hat Display", sans-serif; font-weight: 700; font-size: 1.25rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--sun), var(--sun)) center/16px 2.5px no-repeat, linear-gradient(var(--sun), var(--sun)) center/2.5px 16px no-repeat; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 24px; color: var(--text-2); max-width: 36em; }

.site-foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--text-2); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.foot p { margin: 0; }
.foot .brand { color: var(--text); font-size: 1.1rem; margin-right: auto; }
.foot .mark { width: 30px; height: 30px; border-radius: 9px; }

/* Privacy page */
.page-head { padding-bottom: 40px; }
.page-title { font-size: clamp(2.8rem, 8vw, 4.2rem); margin-top: 30px; }
.prose { max-width: 720px; padding-top: 24px; padding-bottom: 80px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 10px; }
.prose p { color: var(--text-2); margin: 0 0 14px; }
.prose a { color: var(--sun); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 40px; padding-bottom: 96px; }
  .stage { min-height: 700px; }
  .device { justify-self: start; margin-left: 4%; }
  .orbit { left: 66%; top: 47%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 44px; }
  .steps::before { left: 22px; right: 12%; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--sun), var(--rose) 70%, rgba(232, 87, 126, 0)); }
  .steps li { padding-left: 0; padding-top: 70px; }
  .steps li::before { top: 0; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .pricing::after { right: calc(50% - 600px); bottom: auto; top: 50%; width: 760px; height: 760px; margin-top: -380px; }
  .pricing::before { right: calc(50% - 470px); bottom: auto; top: 50%; width: 500px; height: 500px; margin-top: -250px; }
  .faq-grid { grid-template-columns: .55fr 1.45fr; gap: 56px; }
  .log { padding: 30px 32px 24px; }
}
@media (max-width: 899px) {
  .stage { min-height: 600px; }
  .orbit { scale: .68; }
  .bar-links a:not(.bar-cta) { display: none; }
  .brand { font-size: 1.15rem; }
  .mark { width: 34px; height: 34px; }
}

/* Motion: on by default, off for anyone who asks their device to reduce it */
@keyframes card-sway { from { rotate: y -6deg; translate: 0 0; } to { rotate: y -1deg; translate: 0 -8px; } }
@keyframes coin { from { transform: perspective(320px) rotateY(-180deg); } to { transform: perspective(320px) rotateY(0deg); } }
@media (prefers-reduced-motion: no-preference) {
  .note-1 { animation: pop 1.1s cubic-bezier(.2, .9, .25, 1.15) .7s both; }
  .log { animation: card-sway 9s ease-in-out infinite alternate; }
  .pricing::after { animation: orbit-a 60s linear infinite; }
  .pricing::before { animation: orbit-b 42s linear infinite; }
  @supports (animation-timeline: view()) {
    .reveal { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    .log.reveal { animation: tilt-in linear both, card-sway 9s ease-in-out infinite alternate; animation-timeline: view(), auto; animation-range: entry 0% entry 85%, normal; }
    .calls .log { animation: flow linear both; animation-timeline: view(inline); }
    @keyframes flow {
      entry 0%   { opacity: .45; transform: perspective(1100px) rotateY(-26deg) scale(.93); }
      entry 100% { opacity: 1; transform: none; }
      exit 0%    { opacity: 1; transform: none; }
      exit 100%  { opacity: .45; transform: perspective(1100px) rotateY(26deg) scale(.93); }
    }
    .steps li { view-timeline-name: --step; }
    .steps li::before { animation: coin linear both; animation-timeline: --step; animation-range: entry 10% entry 90%; }
    @keyframes tilt-in {
      from { opacity: 0; transform: perspective(900px) rotateX(16deg) translateY(48px) scale(.97); }
      to   { opacity: 1; transform: none; }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .ring, .pulse, .device, .wave i, .log, .pricing::before, .pricing::after { animation: none; }
  .pulse { display: none; }
}
