/* DIALED coming-soon page. Palette sampled from the brand artwork. */
:root {
  --bg: #0a0a0a;
  --surface: #111214;
  --surface-2: #17191b;
  --line: #26282b;
  --line-strong: #3a3c3f;
  --cream: #eee8dc;
  --muted: #9c978d;
  --gold: #c09a5f;
  --gold-strong: #d1ad70;
  --gold-soft: rgba(192, 154, 95, 0.14);
  --green: #7fb58a;
  --scene: 4200ms;
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--cream);
  background: var(--bg);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; line-height: 1.55; overflow-x: hidden;
  background: var(--bg); }
a { color: inherit; }

/* ---- header ---- */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark { height: 16px; width: auto; display: block; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); padding: 6px 14px; cursor: pointer; font: 600 0.8rem/1 inherit; letter-spacing: 0.08em; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #0a0a0a; }

/* ---- hero ---- */
.hero { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px clamp(20px, 4vw, 48px) 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.75rem; font-weight: 600; color: var(--gold); margin: 0 0 18px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(192, 154, 95, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(192, 154, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(192, 154, 95, 0); } }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 650; }
.lead { font-size: 1.12rem; color: #d9d3c7; max-width: 520px; margin: 0 0 22px; }
.points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 30px; color: #cfc9bd; }
.points li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--line-strong); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.btn.primary:hover { background: var(--gold-strong); }
.cta-note { color: var(--muted); font-size: 0.88rem; }

/* ---- phone ---- */
.demo { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone { position: relative; width: 300px; height: 580px; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2c30, #121314 40%, #1c1e21); box-shadow: 0 0 0 1px #3a3c3f, 0 30px 60px rgba(0, 0, 0, 0.5); }
.notch { position: absolute; top: 20px; left: 50%; width: 96px; height: 26px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0c0d0e; }
.status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 0.72rem; font-weight: 600; color: var(--cream); }
.status-icons { display: flex; gap: 4px; align-items: flex-end; }
.status-icons i { display: block; width: 4px; background: var(--cream); border-radius: 1px; }
.status-icons i:nth-child(1) { height: 5px; } .status-icons i:nth-child(2) { height: 8px; } .status-icons i:nth-child(3) { height: 11px; }
.appbar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 26px 0 12px; border-bottom: 1px solid var(--line); }
.appbar img:last-child { height: 10px; width: auto; }

.scene { position: absolute; inset: 96px 0 0; padding: 18px 18px 22px; opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
.scene.active { opacity: 1; transform: none; }
.scene-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-weight: 600; text-align: center; margin: 6px 0 10px; }

/* scene 1: shift */
.toast { display: flex; align-items: center; gap: 8px; margin: 0 auto 14px; width: max-content; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 500; opacity: 0; transform: translateY(-14px); }
.toast-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.shift-card { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); opacity: 0; transform: translateY(20px) scale(0.97); }
.shift-photo svg { display: block; width: 100%; height: 108px; }
.shift-body { padding: 14px; }
.shift-title { font-weight: 650; font-size: 1.02rem; }
.shift-sub { color: var(--muted); font-size: 0.78rem; margin-bottom: 10px; }
.shift-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; margin-bottom: 10px; }
.rate { font-weight: 700; font-size: 1.15rem; color: var(--gold); }
.rate small { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.chips span, .paid-chips span { font-size: 0.68rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: #cfc9bd; }
.accept { position: relative; width: 100%; height: 42px; border: 0; border-radius: 10px; background: var(--gold); color: #0a0a0a; font: 650 0.9rem/1 inherit; overflow: hidden; }
.accept span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform 0.35s ease, opacity 0.35s ease; }
.accepted-label { opacity: 0; transform: translateY(100%); }
.accepted-label::before { content: "✓"; }
.tap { position: absolute; left: 50%; top: 362px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 2px solid rgba(238, 232, 220, 0.85); background: rgba(238, 232, 220, 0.18); opacity: 0; }

.scene.active .toast { animation: toastIn 0.5s 0.15s ease forwards; }
.scene.active .shift-card { animation: cardIn 0.6s 0.45s cubic-bezier(.2,.8,.2,1) forwards; }
.scene.active .tap { animation: tap 0.9s 2.1s ease forwards; }
.scene.active .accept { animation: btnPress 0.3s 2.45s ease; }
.scene.active .accept-label { animation: slideOut 0.35s 2.6s ease forwards; }
.scene.active .accepted-label { animation: slideIn 0.35s 2.6s ease forwards; }
@keyframes toastIn { to { opacity: 1; transform: none; } }
@keyframes cardIn { to { opacity: 1; transform: none; } }
@keyframes tap { 0% { opacity: 0; transform: translate(40px, 60px) scale(1); } 40% { opacity: 1; transform: none; } 55% { transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes btnPress { 50% { transform: scale(0.96); } }
@keyframes slideOut { to { opacity: 0; transform: translateY(-100%); } }
@keyframes slideIn { to { opacity: 1; transform: none; } }

/* scene 2: dial in */
.gauge { display: block; width: 100%; height: auto; margin: 4px 0 6px; }
.gauge-fill { stroke-dasharray: 100; stroke-dashoffset: 100; }
.needle { transform-origin: 120px 130px; transform: rotate(-80deg); }
.scene.active .gauge-fill { animation: fill 2.4s 0.3s cubic-bezier(.3,.7,.3,1) forwards; }
.scene.active .needle { animation: sweep 2.4s 0.3s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes fill { 0% { stroke-dashoffset: 100; } 45% { stroke-dashoffset: 6; } 70% { stroke-dashoffset: 33; } 85% { stroke-dashoffset: 24; } 100% { stroke-dashoffset: 26.7; } }
@keyframes sweep { 0% { transform: rotate(-80deg); } 45% { transform: rotate(78deg); } 70% { transform: rotate(30deg); } 85% { transform: rotate(46deg); } 100% { transform: rotate(42deg); } }
.readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.readouts > div { padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.readouts small { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.readouts b { font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.readouts i { font-style: normal; font-size: 0.8rem; color: var(--muted); margin-left: 2px; }
.badge-ok { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--gold); opacity: 0; transform: scale(0.9); }
.scene.active .badge-ok { animation: pop 0.4s 2.75s ease forwards; }
.tick-ico { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); position: relative; }
.tick-ico::after { content: ""; position: absolute; left: 5px; top: 4px; width: 7px; height: 4px; border: solid #0a0a0a; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@keyframes pop { to { opacity: 1; transform: none; } }

/* scene 3: pour */
.machine { display: block; width: 100%; height: 250px; }
.streams path { stroke-dasharray: 116; stroke-dashoffset: 116; }
.liquid { transform: translateY(80px); }
.steam { opacity: 0; }
.scene.active .streams path { animation: stream 3.2s 0.4s linear forwards; }
.scene.active .liquid { animation: rise 2.8s 0.75s cubic-bezier(.4,0,.6,1) forwards; }
.scene.active .steam { animation: steam 1.6s 2.9s ease-out forwards; }
@keyframes stream { 0% { stroke-dashoffset: 116; } 12% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -116; opacity: 0.6; } }
@keyframes rise { to { transform: translateY(26px); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.readouts.two { margin-top: 6px; }

/* scene 4: paid */
.paid { text-align: center; padding-top: 34px; }
.check { width: 96px; height: 96px; display: block; margin: 0 auto 16px; }
.check circle, .check path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.scene.active .check circle { animation: draw 0.7s 0.2s ease forwards; }
.scene.active .check path { animation: draw 0.45s 0.8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.paid-label { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; }
.amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.paid-sub { color: var(--muted); font-size: 0.82rem; margin-bottom: 18px; }
.paid-chips { display: flex; justify-content: center; gap: 6px; opacity: 0; }
.scene.active .paid-chips { animation: pop 0.4s 2.2s ease forwards; }
.paid-chips .chip-gold { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }

/* ---- steps ---- */
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; cursor: pointer; transition: all 0.3s; user-select: none; }
.step-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; border: 1px solid var(--line-strong); }
.steps li.on { color: var(--cream); border-color: var(--gold); background: var(--gold-soft); }
.steps li.on .step-n { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }

.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px clamp(20px, 4vw, 48px); color: #6c685f; font-size: 0.82rem; border-top: 1px solid #16171a; }

.home-bar { position: absolute; bottom: 8px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 4px; background: rgba(238, 232, 220, 0.35); z-index: 2; }
.paid { padding-top: 22px; }
@media (max-width: 480px) {
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
  .steps li { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 2px; border-radius: 12px; font-size: 0.68rem; text-align: center; line-height: 1.2; }
  .step-n { width: 18px; height: 18px; font-size: 0.62rem; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 8px; }
  .demo { order: 2; }
}
@media (max-width: 380px) {
  .phone { transform: scale(0.9); transform-origin: top center; margin-bottom: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .pulse { animation: none; }
}
