/* ===========================================================
   RiloDeploy page (/deploy/)
   Loads after styles.css and draws the page in the home page's
   own style: hairline grids of numbered cells, mono labels, mono
   chips, the plan grid and the Teams row. Only the colour moves,
   from Rilo's purple to the Deploy lime in the brand kit (light
   #CDEC92, mid #8DC63F, dark #4E8A1A, tint #F7FCEC). --lime-ink is
   a deeper shade of the same hue, so white text on buttons stays
   readable. The small pictures of the app inside the cells play
   once when they scroll into view (see MOTION at the end).
=========================================================== */

.deploy {
  --lime-light: #CDEC92;
  --lime: #8DC63F;
  --lime-dark: #4E8A1A;
  --lime-tint: #F7FCEC;
  --lime-ink: #3D6E14;
  --lime-ink-2: #2F5A0D;
  --lime-wash: #EDF7DA;
  --lime-fur: linear-gradient(135deg, #3D6E14 0%, #5E9E22 45%, #8DC63F 75%, #CDEC92 100%);
  --lime-text: linear-gradient(120deg, #3D6E14 0%, #5E9E22 55%, #7DB833 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- the home page's parts, in lime ---------- */
.deploy .pill.solid { background: var(--lime-ink); --wipe: var(--lime-ink-2); }
.deploy .pill.solid:hover { background: var(--lime-ink); }
.pill.outline { background: #fff; color: var(--ink); border: 1px solid rgba(19, 19, 24, 0.2); --wipe: var(--lime-wash); }
.pill.outline:hover { border-color: var(--ink); }
.deploy .sec-title .accent, .dp-hero h1 .accent {
  color: var(--lime-ink);
  background: var(--lime-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.04em;
}
.deploy .frame > .mono-label::before { background: var(--lime-fur); }
.deploy .cell .ico { background: var(--lime-wash); color: var(--lime-ink); }
.tint-lime { background-color: var(--lime-tint); }
.deploy .c-indigo { background: var(--lime-fur); }
.deploy .c-soft { background: var(--lime-light); }
.deploy .split .statement em { color: var(--lime-ink); }
.deploy .typewrite.typing::after { color: var(--lime); }
.deploy p { text-wrap: pretty; }
/* RiloDeploy's footer: lime pools, and no rule above the columns (no footer headline) */
.deploy footer.mega::after {
  background:
    radial-gradient(42% 55% at 88% 0%, rgba(141, 198, 63, 0.2), transparent 70%),
    radial-gradient(36% 48% at 0% 100%, rgba(205, 236, 146, 0.08), transparent 70%);
}
.deploy .mega-rule { border-top: 0; padding-top: 0; }
.deploy .mega .mono-label { color: var(--lime-light); }
/* hairline cells lift a touch under the pointer */
.deploy .grid > .cell { transition: background-color 0.3s ease; }
.deploy .grid > .cell:not(.dp-step):hover { background-color: rgba(141, 198, 63, 0.05); }

/* ---------- nav: RiloDeploy's own, with the Suite menu on the right (styles.css "SUITE MENU") ---------- */
.brand .logo.lock-deploy { aspect-ratio: 443.67 / 100; height: 42px; }
.mega .brand .logo.lock-deploy { height: 34px; }
.nav-signin { font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 0 6px; white-space: nowrap; }
.nav-signin:hover { color: var(--ink); }
.deploy .nav-menu-btn:hover, .deploy .nav-menu-btn[aria-expanded="true"] { color: var(--lime-ink); border-color: var(--lime-ink); background: var(--lime-wash); }
.deploy .m-links a:hover { color: var(--lime-ink); }
/* Start for free and the Suite button share one height in the nav */
.deploy .nav-cta-group > .pill { height: 46px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
/* the footer's Rilo waves when pointed at */
.rilo-foot svg:first-child { transform-origin: 50% 85%; }
.rilo-foot:hover svg:first-child { animation: rilo-wave 0.8s var(--ease-out); }
@keyframes rilo-wave { 0%, 100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-12deg) scale(1.08); } 45% { transform: rotate(9deg) scale(1.08); } 70% { transform: rotate(-4deg) scale(1.03); } }
@media (max-width: 1240px) { .nav-signin { display: none; } }
/* phones: a smaller lockup and button so the bar fits; the narrowest drop the button (it is in the menu and the hero) */
@media (max-width: 480px) {
  .brand .logo.lock-deploy { height: 32px; }
  .deploy .nav .pill { padding: 9px 20px; font-size: 14px; }
}
@media (max-width: 385px) { .deploy .nav-cta-group > .pill { display: none; } }
/* the footer's way to Rilo */
.rilo-foot {
  display: flex; align-items: center; gap: 14px; max-width: 380px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F2F1EC; text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease;
}
.rilo-foot svg:first-child { width: 42px; height: 42px; flex: 0 0 auto; }
.rilo-foot b { display: block; font-size: 15px; font-weight: 700; }
.rilo-foot small { display: block; font-size: 13px; line-height: 1.45; color: #B9B9C2; }
.rilo-foot .arr { margin-left: auto; flex: 0 0 auto; color: #8E8D98; transition: transform 0.2s ease, color 0.2s ease; }
.rilo-foot:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(167, 155, 255, 0.45); }
.rilo-foot:hover .arr { color: #A79BFF; transform: translate(2px, -2px); }

.dp-block { padding: var(--s-6) 0; }
@media (max-width: 640px) { .dp-block { padding: 72px 0; } }
.dp-head { margin-bottom: var(--s-5); }
.dp-head .intro { margin-top: 18px; max-width: 60ch; color: var(--ink-2); font-size: 17px; }

/* ============ HERO ============ */
.dp-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #FAFDF4;
  padding: 150px 0 110px;
}
.dp-glow {
  position: absolute; inset: -12%; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(60% 80% at 6% 10%, rgba(141, 198, 63, 0.42), transparent 68%),
    radial-gradient(55% 70% at 96% 86%, rgba(205, 236, 146, 0.9), transparent 68%),
    radial-gradient(45% 55% at 62% 106%, rgba(106, 168, 42, 0.22), transparent 70%);
  background-size: 130% 130%, 130% 130%, 140% 140%;
  background-position: 0% 0%, 100% 100%, 50% 100%;
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.12);
  animation: glowin 1.8s var(--ease-out) 0.1s forwards, glowdrift 28s ease-in-out 1.9s infinite;
}
.dp-hero::before { opacity: 0; background-size: 140px 140px; animation: grainin 1.4s ease-out 0.5s forwards; }
.dp-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 1000px) { .dp-hero-inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 48px; } }

.dp-hero h1 { font-size: clamp(40px, 4.5vw, 66px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; }
.dp-hero .sub { margin-top: 24px; max-width: 50ch; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--ink-2); }
.dp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.dp-fine { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }

/* the picture of the app: a git push, the project's services, the deploy log */
.dp-hero-art { position: relative; padding-top: 18px; }
.dp-push {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--mono); font-size: 14px; color: #F2F1EC;
  background: var(--dark); padding: 9px 14px; border-radius: 10px;
  box-shadow: 0 14px 30px -12px rgba(19, 19, 24, 0.55);
}
.dp-push span { color: var(--lime); margin-right: 6px; }
.dp-win {
  position: relative; margin: 26px 0 0 28px;
  background: #fff; border: 1px solid rgba(19, 19, 24, 0.1); border-radius: 18px; overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(40, 70, 10, 0.4);
}
.dp-win-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #EEF0EA; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dp-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E4E6E0; }
.dp-win-bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-win-bar em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.dp-svc { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #F0F2EC; }
.dp-svc-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--lime-wash); color: var(--lime-ink); display: grid; place-items: center; }
.dp-svc b { display: block; font-size: 14.5px; }
.dp-svc small { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-spark { width: 72px; height: 26px; }
@media (max-width: 520px) { .dp-spark { display: none; } .dp-svc { grid-template-columns: 36px minmax(0, 1fr) auto; } }
.dp-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.dp-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dp-st.live { color: var(--lime-ink-2); background: var(--lime-wash); }
.dp-st.live i { animation: dp-pulse 2.2s ease-in-out infinite; }
.dp-st.run { color: #8A5A00; background: #FBF1DC; }
.dp-st.run i { animation: dp-pulse 1s ease-in-out infinite; }
.dp-progress { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px 36px; background: #FCFDF9; font-size: 12.5px; }
.dp-progress .st { display: inline-flex; align-items: center; gap: 5px; color: var(--lime-ink); }
.dp-log {
  position: relative; z-index: 3;
  width: min(430px, 94%); margin: -22px 0 0 auto;
  background: var(--dark); color: #C9CCC2; border-radius: 14px; padding: 14px 16px;
  font-family: var(--mono); font-size: 12px; line-height: 1.8;
  box-shadow: 0 24px 50px -24px rgba(19, 19, 24, 0.6);
}
.dp-log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-log em { font-style: normal; color: #6E7266; margin-right: 10px; }
.dp-log .ok { color: var(--lime-light); }
/* on hover the picture comes alive a little: the window lifts and tilts, the push and the log ease outwards */
.dp-win { transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out); }
.dp-push { transition: transform 0.7s var(--ease-out); }
.dp-log { transition: translate 0.7s var(--ease-out); }
.dp-hero-art:hover .dp-win { transform: perspective(1400px) rotateX(3deg) rotateY(-5deg) translateY(-6px); box-shadow: 0 50px 90px -40px rgba(40, 70, 10, 0.5); }
.dp-hero-art:hover .dp-push { transform: translate(-8px, -6px) rotate(-2deg); }
.dp-hero-art:hover .dp-log { translate: 12px 10px; }
/* one status changing into another: both sit in the same cell and cross-fade */
.dp-swap { display: inline-grid; justify-items: end; }
.dp-swap > * { grid-area: 1 / 1; }

/* ============ HOW IT WORKS: the home page's numbered cells ============ */
/* a team at work, faded behind the whole section; the heading sits on the calm wall on the left */
.dp-how { background: #fff; overflow: hidden; isolation: isolate; }
.dp-how::before { opacity: 0.22; background-size: 110px 110px; } /* a finer, lighter grain over the photo */
.dp-how-bg { position: absolute; left: 0; right: 0; top: 0; height: 660px; z-index: -1; background: url("../assets/images/deploy-team.jpg?v=2") right 30% / cover no-repeat; }
.dp-how-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 30%, rgba(255, 255, 255, 0.7) 44%, rgba(255, 255, 255, 0.2) 62%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #fff 100%);
}
@media (max-width: 760px) { .dp-how-bg { height: 520px; background-position: 72% top; } .dp-how-bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.75) 60%, #fff 100%); } }
.dp-steps .cell { background-color: rgba(255, 255, 255, 0.92); }
/* the track: the grid's top line fills across the steps, each number lights as the fill passes */
.dp-track { display: none; }
@media (min-width: 981px) {
  .dp-track { display: block; position: relative; height: 40px; margin-top: var(--s-5); margin-bottom: -20px; z-index: 2; }
  .dp-node {
    position: absolute; top: 0; left: calc(var(--at) * 33.333% + 30px);
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 1px solid var(--hair); font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.5s var(--ease-pop);
    transition-delay: var(--t, 0s);
  }
  .dp-track.in .dp-node { background: var(--lime-ink); border-color: var(--lime-ink); color: #fff; transform: scale(1.06); }
  .dp-head + .dp-track { margin-top: 0; }
  .dp-track + .grid { margin-top: 0; }
  .dp-steps .num { display: none; }
  /* each step's picture plays as the line reaches it */
  .dp-steps .cell:nth-child(2) { --off: 1.2s; }
  .dp-steps .cell:nth-child(3) { --off: 2.4s; }
}
.dp-step h3 { font-size: 21px; }
.dp-step > p { margin-bottom: var(--s-3); }
@media (min-width: 981px) {
  /* title, words and picture share rows across the three columns, so each starts at the same height
     and the three pictures are the same size */
  .dp-steps.grid { grid-template-rows: auto auto auto; }
  .dp-steps > .cell { display: grid; grid-template-rows: subgrid; grid-row: span 3; padding-top: 48px; }
}
.dp-flow { gap: 4px; padding: 10px; }
.dp-flow-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding: 0 8px 8px; margin-bottom: 4px; border-bottom: 1px solid #EEF0EA; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.dp-flow-h span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dp-flow-h em { font-style: normal; display: flex; gap: 6px; letter-spacing: 0.02em; text-transform: none; flex: 0 0 auto; }
.dp-flow-h .dp-chip { font-family: var(--font); font-size: 11.5px; padding: 2px 8px; }
.dp-flow-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; color: var(--ink); transition: background-color 0.4s ease; }
.dp-flow-row .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: var(--ink-3); }
.dp-flow-row .ic.ok { background: var(--lime-wash); color: var(--lime-ink); }
.dp-flow-row > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-flow-row .mono { font-family: var(--mono); font-size: 13px; }
.dp-flow-row em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.dp-flow-row em.tag { border: 1px solid #E6E9E0; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.dp-flow-row em.copy { font-family: var(--font); font-weight: 600; color: var(--lime-ink); background: #fff; border: 1px solid #CFE2AE; border-radius: 999px; padding: 2px 10px; }
.dp-flow-row code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: #F6F7F3; border: 1px solid #E6E9E0; border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.dp-flow-row.live { background: var(--lime-wash); }
.dp-flow-row.live .ic.ok { background: var(--lime-ink); color: #fff; }
.dp-flow-row.live .mono { color: var(--lime-ink-2); }
.dp-mock { margin-top: auto; background: #fff; border: 1px solid #E6E9E0; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; min-width: 0; }
.dp-chip { font-size: 12px; font-weight: 600; background: var(--lime-wash); color: var(--lime-ink-2); padding: 3px 9px; border-radius: 999px; }

/* ============ ANY STACK: what RiloDeploy finds, stack by stack (js/deploy.js) ============ */
.dp-stacks { background: var(--lime-tint); overflow: hidden; }
.dp-stacks::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 70% at 100% 50%, rgba(141, 198, 63, 0.22), transparent 70%); }
.dp-stacks-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: center; }
@media (min-width: 960px) { .dp-stacks-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.dp-stacks-copy .intro { margin-top: 18px; max-width: 48ch; color: var(--ink-2); font-size: 17px; }
.dp-stack-tabs { margin-top: var(--s-4); }
.dp-stack-tabs .tag { font-family: var(--mono); font-size: 12.5px; padding: 8px 14px; cursor: pointer; background: #fff; transition: opacity 0.35s ease, transform 0.55s var(--ease-pop), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.dp-stack-tabs .tag:hover { border-color: rgba(19, 19, 24, 0.35); }
.dp-stack-tabs .tag.hi { background: var(--ink); color: #fff; border-color: var(--ink); }
.dp-found {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid rgba(19, 19, 24, 0.1); border-radius: 20px; padding: 22px 24px;
  box-shadow: 0 40px 80px -40px rgba(40, 70, 10, 0.45);
}
.dp-cycle { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.dp-found.cycling .dp-cycle { animation: dp-cycle var(--cycle, 3.2s) linear forwards; }
@keyframes dp-cycle { to { transform: scaleX(1); } }
.dp-found-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.dp-found-top code { color: var(--ink); }
.dp-found-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 16px; }
.dp-found-name b { font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em; margin-right: 6px; }
.dp-chip.ghost { background: transparent; border: 1px solid #DDE6CC; color: var(--ink-2); }
.dp-found-rows { margin: 0; border-top: 1px dashed var(--hair); }
.dp-found-rows > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--hair); }
.dp-found-rows dt { font-size: 13px; color: var(--ink-3); }
.dp-found-rows dd { margin: 0; min-width: 0; }
.dp-found-rows code { display: inline-block; max-width: 100%; font-family: var(--mono); font-size: 13px; color: var(--ink); background: #F6F7F3; border: 1px solid #E6E9E0; border-radius: 8px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.dp-found-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--ink-3); }
/* each switch: the name and the settings type themselves in again */
.dp-found.typing [data-f] { animation: dp-type 0.55s steps(12) both; }
.dp-found.typing .dp-found-rows div:nth-child(2) [data-f] { animation-delay: 0.12s; }
.dp-found.typing .dp-found-rows div:nth-child(3) [data-f] { animation-delay: 0.24s; }
.dp-found.typing .dp-found-rows div:nth-child(4) [data-f] { animation-delay: 0.36s; }
@keyframes dp-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ============ FEATURES: hairline cells, each with a small picture of the app ============ */
/* columns that may shrink below their content (the code sample and log lines never scroll the page) */
.dp-bento.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dp-steps.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .dp-steps.grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .dp-bento.grid { grid-template-columns: minmax(0, 1fr); } }
.grid > .cell.dp-card { padding: var(--s-4) 34px; }
.dp-card h3 { font-size: 22px; letter-spacing: -0.025em; }
.dp-card > p { margin-top: 2px; margin-bottom: var(--s-3); max-width: 52ch; }
.dp-card.lead { background: var(--lime-tint); justify-content: space-between; gap: var(--s-3); }
.dp-card.lead > p { margin-bottom: 0; }
.dp-big { font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.18; letter-spacing: -0.03em; }
.dp-big em { font-style: normal; color: var(--lime-ink); }
.dp-big em:nth-of-type(3n+2) { color: #5E9E22; }
.dp-big em:nth-of-type(3n) { color: var(--lime-dark); }

.dp-seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #F1F3EC; border: 1px solid #E6E9E0; align-self: flex-start; margin-bottom: 4px; }
.dp-seg span { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.dp-seg span.on { background: #fff; color: var(--lime-ink); box-shadow: 0 1px 2px rgba(19, 19, 24, 0.12); }
.dp-env { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 12px; border: 1px solid #ECEFE6; border-radius: 12px; }
.dp-env b { font-size: 14px; }
.dp-env small { grid-column: 1; font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-env .dp-st { grid-row: 1 / span 2; grid-column: 2; }
.dp-chart { display: flex; flex-direction: column; gap: 6px; }
.dp-chart-h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.dp-chart-h b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.dp-chart svg { width: 100%; height: 76px; display: block; }
.dp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px 2px; border-top: 1px solid #EEF0EA; font-size: 13.5px; flex-wrap: wrap; }
.dp-row small { color: var(--ink-3); font-size: 12.5px; display: block; }
.dp-stepper { display: inline-flex; align-items: center; border: 1px solid #DDE2D3; border-radius: 999px; overflow: hidden; font-family: var(--mono); font-size: 14px; }
.dp-stepper span { width: 32px; height: 30px; display: grid; place-items: center; color: var(--ink-2); }
.dp-stepper b { min-width: 30px; text-align: center; font-weight: 500; color: var(--ink); }
.dp-stepper span:last-child { background: var(--lime-wash); color: var(--lime-ink); }
.dp-rec { display: grid; grid-template-columns: 64px 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 6px; border-bottom: 1px solid #EEF0EA; }
.dp-rec.h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.dp-rec code { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-rec .copy { font-size: 12px; font-weight: 600; color: var(--lime-ink); border: 1px solid #CFE2AE; border-radius: 999px; padding: 2px 9px; }
.dp-domain { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 6px 2px; font-family: var(--mono); font-size: 13px; }
.dp-domain .dp-st { font-family: var(--font); }
.dp-mock.dark { background: var(--dark); border-color: var(--dark); color: #C9CCC2; font-family: var(--mono); font-size: 12px; line-height: 1.75; padding: 14px; }
.dp-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; font-family: var(--font); }
.dp-filters span { font-size: 12px; font-weight: 600; color: #8E9286; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 3px 10px; }
.dp-filters span.on { color: var(--dark); background: var(--lime-light); border-color: var(--lime-light); }
.dp-mock.dark div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-mock.dark em { font-style: normal; color: #6E7266; margin-right: 10px; }
.dp-mock.dark .warn { color: #F0C674; }
.dp-mock.dark .sh { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #F2F1EC; }
.dp-mock.dark .sh span { color: var(--lime); }
.dp-caret { display: inline-block; width: 7px; height: 14px; background: var(--lime-light); vertical-align: -2px; margin-left: 4px; animation: dp-blink 1.1s steps(1) infinite; }
.dp-code { margin-top: auto; background: var(--dark); border-radius: 14px; padding: 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #E6E8E0; overflow-x: auto; white-space: pre; }
.dp-code .c { color: #6E7266; }
.dp-code .k { color: var(--lime-light); }
.dp-code .s { color: #F0C674; }
.dp-key { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.dp-key b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--ink); }
.dp-key .tag { font-size: 12px; font-weight: 600; background: var(--lime-wash); color: var(--lime-ink-2); border-radius: 999px; padding: 2px 9px; }

/* ============ SECURITY ============ */
.dp-safe { background: var(--lime-tint); }

/* ============ PRICING ============
   The home page's plan grid, under its own class so js/main.js never fills it with Rilo's plans.
   Rows line up across the three columns with subgrid, as on the home page. */
.dp-price-grid { grid-template-rows: repeat(12, auto); }
.dp-price-grid .plan { display: grid; grid-template-rows: subgrid; grid-row: span 12; align-content: start; background: rgba(255, 255, 255, 0.55); }
.dp-price-grid .plan-hi { background: #fff; box-shadow: inset 0 0 0 1px var(--lime-ink); }
.dp-price-grid .plan-feats { display: contents; }
@media (max-width: 700px) {
  .dp-price-grid { grid-template-rows: none; }
  .dp-price-grid .plan { display: flex; flex-direction: column; grid-row: auto; }
  .dp-price-grid .plan-feats { display: block; }
}
.deploy .plan-badge { color: var(--lime-ink); background: var(--lime-wash); }
.deploy .save-pill { color: var(--lime-ink-2); background: var(--lime-wash); }
.deploy .billing-toggle .seg.on { background: var(--lime-ink); }
.deploy .billing-toggle .save { color: var(--lime-ink-2); background: var(--lime-wash); }
.deploy .billing-toggle .seg.on .save { color: #fff; background: rgba(255, 255, 255, 0.2); }
.deploy .plan-teams-lock { background: var(--lime-wash); color: var(--lime-ink); }
.dp-sizes-head { margin-top: var(--s-5); }
.dp-sizes-head h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; }
.dp-sizes-head p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }
/* the sizes, in a hairline table like the home page's grids */
.dp-table-wrap { margin-top: var(--s-3); overflow-x: auto; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); border-right: 1px solid var(--hair); }
.dp-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; }
.dp-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 14px 24px; border-bottom: 1px solid var(--hair); }
.dp-table td { padding: 18px 24px; border-bottom: 1px solid var(--hair); color: var(--ink-2); vertical-align: middle; }
.dp-table tbody tr { transition: background-color 0.25s ease; }
.dp-table tbody tr:hover { background: rgba(141, 198, 63, 0.06); }
.dp-table td b { color: var(--ink); font-weight: 600; }
.dp-table .num { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.dp-table .price { text-align: right; white-space: nowrap; }
.dp-table td.price b { font-size: 17px; font-variant-numeric: tabular-nums; }
.dp-table td.price span { font-size: 13px; color: var(--ink-3); margin-left: 4px; }
.dp-meter { display: inline-flex; gap: 4px; margin-right: 12px; vertical-align: 1px; }
.dp-meter i { width: 8px; height: 8px; border-radius: 50%; background: rgba(78, 138, 26, 0.16); }
@media (max-width: 640px) {
  .dp-table { min-width: 0; font-size: 14px; }
  .dp-table th, .dp-table td { padding: 14px 12px; }
  .dp-table th:nth-child(4), .dp-table td:nth-child(4), .dp-meter { display: none; }
  .dp-table .num { font-size: 13px; }
  .dp-table td.price span { display: block; margin-left: 0; }
}

/* ============ CLOSING CALL ============ */
.dp-final { position: relative; overflow: hidden; isolation: isolate; background: #EFEDE6; padding: 120px 0 clamp(260px, 26vw, 380px); text-align: center; }
/* the hills, made with nano banana; they settle in slowly as the section arrives */
.dp-final::before { opacity: 0.22; } /* lighter grain over the photo-like hills */
/* the white of the pricing section fades into the sky, so there is no edge between them */
.dp-final::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: 0; pointer-events: none; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.dp-final-bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/images/deploy-hills.jpg") center bottom / cover no-repeat; }
.dp-final-bg.reveal { opacity: 1; transform: scale(1.08); transition: transform 9s var(--ease-out); }
.dp-final-bg.reveal.in { transform: scale(1); }
@media (max-width: 760px) { .dp-final { padding: 96px 0 240px; } .dp-final-bg { background-position: 70% bottom; } }
.dp-final h2 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -0.04em; }
.dp-final p { margin: 18px auto 0; color: var(--ink-2); max-width: 46ch; font-size: 17px; }
.dp-final .pill { margin-top: 34px; }
/* ===========================================================
   MOTION
   Each picture of the app plays once when its cell reveals (js/main.js
   adds .in): the hero runs a deploy, the steps fill in, the chart draws,
   the domain checks itself, the log lines arrive. Everything is a
   transition on opacity, transform, clip-path or stroke, and settles
   on the finished state. Reduced motion shows the finished state.
=========================================================== */
/* hero: the services arrive, the deploy ticks through its steps, the log fills, the worker goes live */
.dp-hero-art .dp-svc { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.6s var(--ease-out); }
.dp-hero-art.in .dp-svc { opacity: 1; transform: none; }
.dp-hero-art.in .dp-svc:nth-of-type(2) { transition-delay: 0.25s; }
.dp-hero-art.in .dp-svc:nth-of-type(3) { transition-delay: 0.4s; }
.dp-hero-art.in .dp-svc:nth-of-type(4) { transition-delay: 0.55s; }
.dp-spark polyline { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease-out) 0.6s; }
.dp-hero-art.in .dp-spark polyline { stroke-dashoffset: 0; }
.dp-progress .st { opacity: 0.35; color: var(--ink-3); transition: opacity 0.3s ease, color 0.3s ease; }
.dp-progress .st svg { transform: scale(0); transition: transform 0.4s var(--ease-pop); }
.dp-hero-art.in .dp-progress .st { opacity: 1; color: var(--lime-ink); }
.dp-hero-art.in .dp-progress .st svg { transform: scale(1); }
.dp-hero-art.in .dp-progress .st:nth-child(1), .dp-hero-art.in .dp-progress .st:nth-child(1) svg { transition-delay: 1s; }
.dp-hero-art.in .dp-progress .st:nth-child(2), .dp-hero-art.in .dp-progress .st:nth-child(2) svg { transition-delay: 1.6s; }
.dp-hero-art.in .dp-progress .st:nth-child(3), .dp-hero-art.in .dp-progress .st:nth-child(3) svg { transition-delay: 2.1s; }
.dp-hero-art.in .dp-progress .st:nth-child(4), .dp-hero-art.in .dp-progress .st:nth-child(4) svg { transition-delay: 2.6s; }
.dp-log div { opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease, transform 0.35s ease; }
.dp-hero-art.in .dp-log div { opacity: 1; transform: none; }
.dp-hero-art.in .dp-log div:nth-child(1) { transition-delay: 0.8s; }
.dp-hero-art.in .dp-log div:nth-child(2) { transition-delay: 1.6s; }
.dp-hero-art.in .dp-log div:nth-child(3) { transition-delay: 2.1s; }
.dp-hero-art.in .dp-log div:nth-child(4) { transition-delay: 2.7s; }
.dp-swap > * { transition: opacity 0.45s ease; }
.dp-swap > :last-child { opacity: 0; }
.in .dp-swap > :first-child { opacity: 0; transition-delay: var(--swap, 2.9s); }
.in .dp-swap > :last-child { opacity: 1; transition-delay: var(--swap, 2.9s); }
.dp-log { animation: dp-drift 9s ease-in-out 3.5s infinite; }


/* the steps: each picture's rows arrive in turn, the chosen repository lights up, the settings type themselves,
   the checks pop, and the live address comes last */
.dp-flow-h, .dp-flow-row { opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.5s var(--ease-out), background-color 0.4s ease; }
.in .dp-flow-h, .in .dp-flow-row { opacity: 1; transform: none; }
.in .dp-flow-h { transition-delay: calc(var(--off, 0s) + 0.1s); }
.in .dp-flow-row:nth-child(2) { transition-delay: calc(var(--off, 0s) + 0.25s), calc(var(--off, 0s) + 0.25s), 0s; }
.in .dp-flow-row:nth-child(3) { transition-delay: calc(var(--off, 0s) + 0.45s), calc(var(--off, 0s) + 0.45s), 0s; }
.in .dp-flow-row:nth-child(4) { transition-delay: calc(var(--off, 0s) + 0.65s), calc(var(--off, 0s) + 0.65s), 0s; }
.dp-flow-row.pick { background: transparent; }
.in .dp-flow-row.pick { background: var(--lime-wash); transition-delay: calc(var(--off, 0s) + 0.25s), calc(var(--off, 0s) + 0.25s), calc(var(--off, 0s) + 1s); }
.dp-flow-row.pick .ic { transition: color 0.4s ease calc(var(--off, 0s) + 1s); }
.in .dp-flow-row.pick .ic { color: var(--lime-ink); }
.dp-flow-row code { clip-path: inset(0 100% 0 0); transition: clip-path 0.6s steps(12); }
.in .dp-flow-row code { clip-path: inset(0 0 0 0); }
.in .dp-flow-row:nth-child(2) code { transition-delay: calc(var(--off, 0s) + 0.5s); }
.in .dp-flow-row:nth-child(3) code { transition-delay: calc(var(--off, 0s) + 0.8s); }
.in .dp-flow-row:nth-child(4) code { transition-delay: calc(var(--off, 0s) + 1.1s); }
.dp-flow-row .ic.ok svg { transform: scale(0); transition: transform 0.45s var(--ease-pop); }
.in .dp-flow-row .ic.ok svg { transform: none; }
.in .dp-flow-row:nth-child(2) .ic.ok svg { transition-delay: calc(var(--off, 0s) + 0.45s); }
.in .dp-flow-row:nth-child(3) .ic.ok svg { transition-delay: calc(var(--off, 0s) + 0.75s); }
.in .dp-flow-row:nth-child(4) .ic.ok svg { transition-delay: calc(var(--off, 0s) + 0.95s); }

/* features: the environments arrive, the chart draws, the domain verifies, the log fills */
.dp-env { opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.5s var(--ease-out); }
.in .dp-env { opacity: 1; transform: none; transition-delay: 0.3s; }
.in .dp-env + .dp-env { transition-delay: 0.5s; }
.dp-chart .ln { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease-out) 0.3s; }
.in .dp-chart .ln { stroke-dashoffset: 0; }
.dp-chart .area, .dp-chart .mark { opacity: 0; transition: opacity 0.8s ease 1.2s; }
.in .dp-chart .area, .in .dp-chart .mark { opacity: 1; }
.dp-domain .dp-swap { --swap: 1.6s; }
.dp-mock.dark > div:not(.dp-filters) { opacity: 0; transition: opacity 0.3s ease; }
.in .dp-mock.dark > div:not(.dp-filters) { opacity: 1; }
.in .dp-mock.dark > div:nth-child(2) { transition-delay: 0.3s; }
.in .dp-mock.dark > div:nth-child(3) { transition-delay: 0.6s; }
.in .dp-mock.dark > div:nth-child(4) { transition-delay: 0.9s; }
.in .dp-mock.dark > div:nth-child(5) { transition-delay: 1.2s; }
.in .dp-mock.dark > div:nth-child(6) { transition-delay: 1.6s; }

/* sizes: each meter fills dot by dot */
.dp-meter i.on { transition: background-color 0.3s ease; }
.in .dp-meter i.on { background: var(--lime-dark); }
.in .dp-meter i.on:nth-child(2) { transition-delay: 0.15s; }
.in .dp-meter i.on:nth-child(3) { transition-delay: 0.3s; }
.in .dp-meter i.on:nth-child(4) { transition-delay: 0.45s; }

@keyframes dp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes dp-blink { 50% { opacity: 0; } }
@keyframes dp-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  .dp-glow { opacity: 1; transform: none; animation: none; }
  .dp-hero::before { opacity: 0.6; animation: none; }
  .dp-st i, .dp-caret, .dp-log { animation: none; }
  .dp-win, .dp-push, .dp-log { transition: none; }
  .rilo-foot:hover svg:first-child { animation: none; }
  .dp-final-bg.reveal { transform: none; transition: none; }
  .dp-found.typing [data-f] { animation: none; }
  .deploy .dp-svc, .deploy .dp-progress .st, .deploy .dp-progress .st svg, .deploy .dp-log div, .deploy .dp-flow-h, .deploy .dp-flow-row, .deploy .dp-flow-row .ic.ok svg,
  .deploy .dp-env, .deploy .dp-chart .area, .deploy .dp-chart .mark, .deploy .dp-mock.dark > div { opacity: 1; transform: none; transition: none; }
  .deploy .dp-progress .st { color: var(--lime-ink); }
  .deploy .dp-flow-row code { clip-path: none; transition: none; }
  .deploy .dp-spark polyline, .deploy .dp-chart .ln { stroke-dashoffset: 0; transition: none; }
  .deploy .dp-swap > * { transition: none; }
  .deploy .dp-swap > :first-child { opacity: 0; }
  .deploy .dp-swap > :last-child { opacity: 1; }
  .deploy .dp-flow-row.pick { background-color: var(--lime-wash); }
  .deploy .dp-meter i.on { background: var(--lime-dark); transition: none; }
}
