/* KeyDash Locksmith - one page, built to be called from.
   Square corners everywhere. Plain sentences. The number sits in every block,
   and a green call button follows the page down so it is always one tap away. */

:root {
  --orange: #ff4600;
  --orange-dark: #d63a00;
  --green: #07943b;
  --green-dark: #067831;
  --ink: #16181c;
  --ink-soft: #4b535c;
  --line: #d8dee4;
  --line-soft: #eceff2;
  --tint: #fdf3ef;
  --grey: #f5f7f8;
  --dark: #14171b;
  --gold: #f5a623;
  --yellow: #fcc93f;
  --wrap: 1220px;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 { margin: 0 0 12px; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0 0 14px; }

.kd-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.kd-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff;
}
.kd-skip:focus { left: 0; }

/* --- buttons: rectangles, no rounding -------------------------------- */

.kd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 0;
  font: 700 17px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.kd-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.kd-btn--call { background: var(--orange); color: #fff; }
.kd-btn--call:hover { background: var(--orange-dark); }
/* the first screen calls in green, the same green as the button that
   follows the page: green is the colour people read as "phone" */
.kd-hero .kd-btn--call { background: var(--green); }
.kd-hero .kd-btn--call:hover { background: var(--green-dark); }
.kd-btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.kd-btn--ghost:hover { background: var(--ink); color: #fff; }
.kd-btn--white { background: #fff; color: var(--orange); }
.kd-btn--white:hover { background: var(--ink); color: #fff; }
.kd-btn--card {
  width: 100%; min-height: 46px; margin-top: auto;
  background: #fff; color: var(--orange); border-color: var(--orange); font-size: 16px;
}
.kd-btn--card:hover { background: var(--orange); color: #fff; }
.kd-btn--xl { min-height: 62px; padding: 0 30px; font-size: 19px; }
.kd-btn--block { display: flex; width: 100%; }

.kd-inline { display: inline-block; color: var(--orange); font-weight: 700; text-decoration: none; }
.kd-inline:hover { text-decoration: underline; }

/* --- top strip and header (neither is pinned) ------------------------ */

.kd-strip { background: var(--ink); color: #dfe4e9; font-size: 14px; }
.kd-strip__in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; }
.kd-strip b { color: #fff; }
.kd-strip__lic { color: #fff; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }

.kd-head { position: relative; background: #fff; border-bottom: 2px solid var(--ink); }
.kd-head__in { display: flex; align-items: center; gap: 22px; min-height: 78px; }

.kd-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; flex: none; }
.kd-brand img { width: 168px; height: auto; display: block; }
.kd-brand span { font-size: 15px; font-weight: 600; color: #8c959d; }

.kd-nav { display: flex; gap: 22px; margin-left: auto; }
.kd-nav a { font-weight: 600; font-size: 16px; color: var(--ink-soft); text-decoration: none; }
.kd-nav a:hover { color: var(--orange); }

/* the menu button, which stands where the call button used to */
.kd-burger {
  display: none; align-items: center; gap: 10px; flex: none;
  min-height: 46px; padding: 0 18px; margin-left: auto;
  background: var(--ink); color: #fff; border: 0; border-radius: 0;
  font: 700 16px/1 var(--sans); cursor: pointer;
}
.kd-burger__lines, .kd-burger__lines::before, .kd-burger__lines::after {
  display: block; width: 20px; height: 2px; background: #fff; content: "";
}
.kd-burger__lines { position: relative; }
.kd-burger__lines::before { position: absolute; top: -6px; }
.kd-burger__lines::after { position: absolute; top: 6px; }
.kd-burger[aria-expanded="true"] { background: var(--orange); }

/* --- hero -------------------------------------------------------------- */

.kd-hero { background: var(--tint); border-bottom: 1px solid #f0ded6; }
.kd-hero__in { padding: 70px 20px 72px; text-align: center; }
.kd-hero h1 { margin: 0 auto 10px; max-width: 18ch; }
.kd-hero .kd-lead { margin: 0 auto 14px; max-width: 74ch; }
.kd-hero__call { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.kd-hero__call a { text-decoration: none; }
.kd-hero__call a:hover { color: var(--orange); }
.kd-hero .kd-hero__stars { width: 180px; height: 30px; background-size: 36px 30px; margin: 4px 0 24px; }
/* the points stand in two columns in the middle of the screen */
.kd-hero .kd-checks {
  display: grid; grid-template-columns: repeat(2, auto); justify-content: center;
  gap: 6px 44px; margin: 0 auto 28px !important; text-align: left;
}
.kd-hero .kd-checks li { padding-left: 34px; }
.kd-hero .kd-actions { justify-content: center; }
.kd-eyebrow {
  margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
}
.kd-lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 48ch; }

.kd-rating { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: 16px; color: var(--ink-soft); }
.kd-rating b { color: var(--ink); font-size: 18px; }
/* drawn stars: crisp at any size, evenly spaced, the same gold everywhere */
.kd-stars {
  display: inline-block; width: 140px; height: 24px; vertical-align: middle;
  font-size: 0; color: transparent; line-height: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='24' viewBox='0 0 28 24'%3E%3Cpath d='m14 2.6 3.1 6.3 7 1-5 4.9 1.2 6.9-6.3-3.3-6.3 3.3 1.2-6.9-5-4.9 7-1z' fill='%23f5a623'/%3E%3C/svg%3E") repeat-x left center;
  background-size: 28px 24px;
}

.kd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* --- sections ---------------------------------------------------------- */

.kd-sec { padding: 84px 0; }
.kd-sec--tint { background: var(--grey); }
.kd-sub { margin: -4px 0 34px; color: var(--ink-soft); font-size: 18px; }

.kd-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

/* --- why people call: reasons on the left, a photo on the right -------- */

.kd-why__in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; }
.kd-why__list { margin: 0 0 26px; padding: 0; list-style: none; }
.kd-why__list li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.kd-why__list li:last-child { border-bottom: 1px solid var(--line); }
.kd-why__ico { flex: none; padding-top: 2px; }
.kd-why__ico svg {
  display: block; width: 26px; height: 26px;
  fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.kd-why__list b {
  display: inline-block; margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 3px solid var(--yellow); font-size: 19px;
}
.kd-why__list span { display: block; color: var(--ink-soft); }
.kd-photo { margin: 0; border: 2px solid var(--ink); background: var(--grey); }
/* the photo keeps its own proportions: cropping it to the frame cut the van
   and the technician out of their own picture */
.kd-photo img { display: block; width: 100%; height: auto; }
.kd-photo--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 6 / 5; padding: 30px; text-align: center; background: var(--ink); color: #fff;
}
.kd-photo--empty img { width: 220px; height: auto; aspect-ratio: auto; object-fit: contain; }
.kd-photo--empty span { font-size: 15px; color: #aeb7bf; max-width: 32ch; }

/* --- services, in three groups ---------------------------------------- */

.kd-svc {
  display: flex; flex-direction: column;
  padding: 28px 28px 26px; background: #fff; border: 2px solid var(--ink);
}
.kd-svc h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--orange); }
.kd-checks { margin: 0 0 20px; padding: 0; list-style: none; }
.kd-checks li {
  position: relative; padding: 9px 0 9px 34px; font-weight: 600; font-size: 16.5px;
}
.kd-checks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191c20' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px 13px no-repeat;
}
.kd-svc .kd-btn--card { margin-top: auto; }

/* --- reviews ----------------------------------------------------------- */

.kd-rev {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; background: #fff; border: 2px solid var(--ink);
}
.kd-rev .kd-stars { width: 125px; height: 21px; background-size: 25px 21px; }
.kd-rev p { margin: 0; font-size: 17px; }
.kd-rev mark { background: #ffe9b8; color: inherit; padding: 1px 2px; font-weight: 700; }
.kd-rev__by { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kd-rev__by b { font-size: 16px; margin-right: 2px; }
.kd-badge {
  padding: 3px 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-soft); background: var(--grey);
  border: 1px solid var(--line);
}
.kd-badge--ok { color: var(--green); border-color: #bfe3cc; background: #f0f9f3; }
.kd-more { margin: 24px 0 0; }

/* --- how it works ------------------------------------------------------ */

.kd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.kd-steps li { padding: 26px; background: #fff; border: 2px solid var(--ink); border-top-width: 6px; border-top-color: var(--orange); }
.kd-steps b { display: block; margin-bottom: 8px; font-size: 18px; }
.kd-steps span { color: var(--ink-soft); }

/* --- where we work ----------------------------------------------------- */

.kd-area { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.kd-cities {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: 0 0 16px; padding: 0; list-style: none;
  border: 2px solid var(--ink); background: #fff;
}
.kd-cities li {
  padding: 11px 12px 11px 26px; position: relative; font-weight: 600; font-size: 16px;
  border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.kd-cities li::before {
  content: ""; position: absolute; left: 11px; top: 13px; width: 15px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4600'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 6.2 12.2 6.5 12.5a.7.7 0 0 0 1 0C12.8 21.2 19 14.2 19 9a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.kd-cities li { padding-left: 34px; }
.kd-area__note { color: var(--ink-soft); font-size: 16px; }
.kd-area__addr { margin-top: 16px; padding: 20px; background: #fff; border: 2px solid var(--ink); line-height: 1.7; }
.kd-cta-box { padding: 26px 24px; background: #fff; border: 2px solid var(--ink); border-top: 6px solid var(--orange); display: grid; gap: 12px; }
.kd-cta-box__kicker { margin: 0; font-weight: 800; color: var(--orange); }
.kd-cta-box__note { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }

/* --- questions --------------------------------------------------------- */

.kd-faq { display: grid; gap: 12px; }
.kd-faq details { background: #fff; border: 2px solid var(--ink); padding: 2px 20px; }
.kd-faq summary { padding: 15px 0; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.kd-faq summary::-webkit-details-marker { display: none; }
.kd-faq summary::after { content: "+"; float: right; color: var(--orange); font-size: 26px; line-height: 1; }
.kd-faq details[open] summary::after { content: "\2212"; }
.kd-faq p { margin: 0 0 16px; color: var(--ink-soft); }

/* --- closing band and footer ------------------------------------------- */

.kd-final { background: var(--orange); color: #fff; padding: 58px 0; }
.kd-final__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kd-final h2 { color: #fff; margin-bottom: 4px; }
.kd-final p { margin: 0; font-size: 19px; }

.kd-foot { background: var(--dark); color: #b9c2cb; padding: 44px 0 0; }
.kd-foot__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.kd-foot b { display: block; color: #fff; margin-bottom: 6px; }
.kd-foot a { color: #fff; text-decoration: none; }
.kd-foot a:hover { color: var(--orange); }
.kd-foot__mark { width: 190px; margin-bottom: 10px; }
.kd-foot__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid #262b31; padding-top: 18px; padding-bottom: 22px;
  font-size: 14px; color: #8c959d;
}
.kd-foot__links a { color: #b9c2cb; text-decoration: none; }
.kd-foot__links a:hover { color: var(--orange); }

/* --- the small text pages and the missing page ------------------------- */

.kd-page { padding: 56px 0 62px; }
.kd-page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.kd-page__date { color: var(--ink-soft); margin-bottom: 28px; }
.kd-page h2 { font-size: 22px; margin: 30px 0 10px; }
.kd-page p, .kd-page li { color: var(--ink-soft); }
.kd-page ul { padding-left: 20px; }
.kd-page li { margin-bottom: 8px; }
.kd-lost { padding: 90px 0 100px; text-align: center; }
.kd-lost h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 10px; }
.kd-lost p { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 0 auto 26px; }
.kd-lost__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.kd-lost__code { font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }

/* --- the green call button that follows the page ----------------------- */

.kd-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px; background: var(--green); color: #fff;
  font: 800 19px/1 var(--sans); text-decoration: none;
  border: 2px solid #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: background-color .15s ease, opacity .15s ease;
}
.kd-float svg { width: 20px; height: 20px; fill: currentColor; }
.kd-float:hover { background: var(--green-dark); }
/* it stays put: the owner wants the number on screen the whole way down */

/* --- narrower screens -------------------------------------------------- */

@media (max-width: 900px) {
  .kd-head__in { min-height: 68px; gap: 12px; flex-wrap: wrap; }
  .kd-brand img { width: 138px; }
  .kd-brand span { font-size: 13px; }
  .kd-burger { display: inline-flex; }
  /* the links drop under the header when the button is pressed */
  .kd-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 45;
    flex-direction: column; gap: 0; margin: 0; padding: 4px 0 8px;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(12, 16, 20, .18);
  }
  .kd-nav.is-open { display: flex; }
  .kd-nav a { padding: 13px 20px; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .kd-nav a:last-child { border-bottom: 0; }
  .kd-grid3, .kd-steps, .kd-area, .kd-foot__in { grid-template-columns: 1fr; }
  .kd-why__in { grid-template-columns: 1fr; gap: 28px; }
  /* on a phone the photo opens this block, above the heading */
  .kd-why__in .kd-photo { order: -1; }
  .kd-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd-services__list li:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .kd-services__list li:nth-child(2n) { border-right: 0; }
  .kd-services__list li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .kd-services__list li:nth-last-child(-n+2) { border-bottom: 0; }
  .kd-hero__in { padding: 44px 20px 46px; }
  .kd-sec { padding: 56px 0; }
  .kd-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 82px; }
  /* the strip carries the licence and nothing else, on every width */
  .kd-strip__in { padding: 0 16px; }
  .kd-strip__lic { white-space: normal; text-align: center; }
  .kd-actions .kd-btn, .kd-final__in .kd-btn, .kd-services__cta .kd-btn { width: 100%; }
  /* one point to a line, the block centred */
  .kd-hero .kd-checks {
    grid-template-columns: auto; justify-items: start; justify-content: center;
    gap: 8px; width: max-content; max-width: 100%;
  }
  .kd-services__list { grid-template-columns: 1fr; }
  .kd-services__list li { border-right: 0 !important; border-bottom: 1px solid var(--line-soft) !important; }
  .kd-services__list li:last-child { border-bottom: 0 !important; }
  .kd-services__cta { text-align: center; }
  /* A pill, not a bar across the bottom. Safari on the iPhone blurs whatever
     sits behind its own toolbar and tints the toolbar with it, so a green
     band along the bottom edge turned the browser's toolbar green too. Held
     clear of the home indicator with the safe area. */
  .kd-float {
    left: auto; right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding: 15px 20px; font-size: 18px;
  }
}


/* ------------------------------------------------------------------ lines
   Loose curves behind the content, the way LocksmithsNow draws them. They
   are decoration only: no pointer events, and the text always sits above.  */
.kd-hero, #how, .kd-final { position: relative; overflow: hidden; }
.kd-hero__in, #how > .kd-wrap, .kd-final__in { position: relative; z-index: 1; }

.kd-hero::before, .kd-hero::after, #how::before, .kd-final::before {
  content: ""; position: absolute; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.kd-hero::before {
  right: -56px; top: -50px; width: 340px; height: 530px; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20360%20560%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M250%20-30%20C%20360%20120%20210%20230%20290%20350%20C%20355%20450%20300%20520%20150%20590%27%20stroke%3D%27%23ff4600%27%20stroke-width%3D%2714%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
}
.kd-hero::after {
  left: -64px; bottom: -48px; width: 280px; height: 410px; opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20300%20440%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M-10%2040%20C%20110%2010%20140%20120%2080%20200%20C%2025%20275%2070%20345%20190%20390%27%20stroke%3D%27%23ff4600%27%20stroke-width%3D%2712%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
}
#how::before {
  right: -50px; bottom: -40px; width: 380px; height: 250px; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20420%20280%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M-20%20220%20C%20100%20130%20190%20235%20300%20150%20C%20360%20104%20390%2056%20382%20-10%27%20stroke%3D%27%23ff4600%27%20stroke-width%3D%2712%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
}
.kd-final::before {
  right: -40px; top: -30px; width: 400px; height: 285px; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20420%20300%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M-20%20250%20C%20120%20160%20200%20250%20300%20170%20C%20360%20120%20380%2060%20370%20-20%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%2712%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
}

@media (max-width: 900px) {
  .kd-hero::before { width: 210px; height: 330px; right: -50px; opacity: .22; }
  .kd-hero::after { width: 170px; height: 250px; left: -56px; opacity: .18; }
  #how::before { width: 250px; height: 165px; }
  .kd-final::before { width: 260px; height: 185px; }
}


@media (max-width: 620px) {
  /* On a phone the side curves were clipped by the edge of the block and read
     as broken stubs. One wide sweep along the bottom reads as a shape. */
  .kd-hero::after, #how::before { display: none; }
  .kd-hero::before {
    left: 0; right: 0; top: auto; bottom: -2px; width: auto; height: 100px;
    opacity: .26; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20760%20200%27%20preserveAspectRatio%3D%27none%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M-20%20150%20C%20130%2040%20270%20190%20430%2095%20C%20555%2020%20660%2080%20780%2025%27%20stroke%3D%27%23ff4600%27%20stroke-width%3D%279%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
  }
  .kd-final::before {
    left: 0; right: 0; top: auto; bottom: -4px; width: auto; height: 110px;
    opacity: .32; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20760%20160%27%20preserveAspectRatio%3D%27none%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M-20%20120%20C%20140%2030%20280%20150%20440%2070%20C%20560%2010%20660%2060%20780%2015%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%279%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
  }
}

/* ----------------------------------------- the green button on a phone
   The first screen has its own green call button, so the pill would only be
   a second one over the top of it. It slides up once the first screen has
   scrolled by and then stays for the rest of the page. Guarded by .js so a
   browser with no scripting keeps the old always-there button. */
@media (max-width: 620px) {
  .js .kd-float {
    transform: translateY(150%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .2s ease, background-color .15s ease;
  }
  .js .kd-float.is-up { transform: none; opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .kd-float { transition: opacity .2s ease; }
}
