/* Red Pin Web Co - site styles
   Brand: Pin Red #E3262C, Ink Black #111113, White, Light Grey #C9C9CE. Font: Montserrat 400 / 600 / 800. */

:root {
  --red: #E3262C;
  --red-dark: #C41D23;
  --red-light: #FF5A5F;      /* red text on dark backgrounds (easier to read than Pin Red) */
  --ink: #111113;
  --ink-2: #1A1A1E;
  --ink-3: #2A2A30;
  --grey: #C9C9CE;
  --mist: #F4F4F6;
  --line: #E4E4E8;
  --muted: #55555C;
  --muted-dark: #A9A9B1;
  --max: 1160px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .hero :focus-visible, .top :focus-visible, .cta :focus-visible, .foot :focus-visible { outline-color: #fff; }

/* Icons */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 12px;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(227, 38, 44, .75); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-white .i { color: var(--red); }
.btn-white:hover .i { color: #fff; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; border-radius: 10px; box-shadow: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 17, 19, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 156px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: #D6D6DB; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before {
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -180px;
  background: radial-gradient(closest-side, rgba(227, 38, 44, .30), rgba(227, 38, 44, 0) 72%);
}
.hero-in {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 76px; padding-bottom: 104px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 7px 15px;
  font-weight: 600; font-size: .88rem; color: #E8E8EC;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hl { color: var(--red); }
.lead { max-width: 33em; font-size: 1.15rem; color: var(--grey); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.ticks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #E8E8EC; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* Hero picture: a browser window, a phone showing "Your Business", and the pin */
.hero-art {
  position: relative; width: 100%; max-width: 540px; margin-left: auto;
  aspect-ratio: 1 / .92; container-type: inline-size;
}
.browser {
  position: absolute; left: 0; top: 4%; width: 80%; height: 60%;
  background: #fff; border-radius: 3cqw; overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8);
}
.b-bar { display: flex; align-items: center; gap: 1.4cqw; height: 8cqw; padding: 0 3cqw; background: #1E1E22; }
.b-bar i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #3B3B42; }
.b-bar i:first-child { background: var(--red); }
.b-body { padding: 3.6cqw; }
.b-hero { height: 17cqw; border-radius: 2cqw; background: linear-gradient(135deg, #1C1C21, #2C2C33); }
.b-line { height: 2.2cqw; width: 80%; margin-top: 3cqw; border-radius: 2cqw; background: #E6E6EA; }
.b-line.red { width: 46%; background: var(--red); }
.b-line.short { width: 58%; margin-top: 2cqw; }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 3.4cqw; }
.b-cards span { height: 7cqw; border-radius: 1.6cqw; background: #F1F1F4; }

.phone {
  position: absolute; right: 1%; top: 9%; width: 39cqw; height: 81cqw;
  padding: 1.6cqw; border-radius: 6.4cqw;
  background: #0A0A0C; border: 1px solid #2E2E35;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .9), 0 0 0 .6cqw #1B1B20;
}
.p-screen { height: 100%; overflow: hidden; border-radius: 4.8cqw; background: #fff; color: var(--ink); font-size: 2.6cqw; line-height: 1.25; }
.p-nav { display: flex; align-items: center; justify-content: space-between; padding: 5.4cqw 3.4cqw 2.4cqw; font-weight: 800; font-size: 2.6cqw; }
.p-burger { width: 4cqw; height: 2.6cqw; border-top: .5cqw solid var(--ink); border-bottom: .5cqw solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 100% .5cqw no-repeat; }
.p-hero { margin: 0 2.6cqw; padding: 4.2cqw 3.2cqw; border-radius: 3cqw; color: #fff; background: linear-gradient(160deg, #1D1D22, #2D2D34); }
.p-title { font-weight: 800; font-size: 4.3cqw; line-height: 1.05; }
.p-sub { margin: 1.2cqw 0 3.2cqw; font-size: 2.15cqw; color: var(--grey); }
.p-call { padding: 1.9cqw 0; border-radius: 1.6cqw; background: var(--red); font-weight: 700; font-size: 2.6cqw; text-align: center; }
.p-label { margin: 3.6cqw 3.2cqw 1.6cqw; font-weight: 700; font-size: 2.4cqw; }
.p-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; margin: 0 2.6cqw; }
.p-svc span { position: relative; height: 9cqw; border-radius: 2cqw; background: #F1F1F4; }
.p-svc span::after { content: ""; position: absolute; left: 1.8cqw; bottom: 1.8cqw; width: 45%; height: 1.4cqw; border-radius: 1cqw; background: var(--red); }
.p-map {
  position: relative; height: 15cqw; margin: 0 2.6cqw; border-radius: 2cqw; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%),
    linear-gradient(0deg, transparent 58%, #fff 58%, #fff 64%, transparent 64%),
    linear-gradient(30deg, transparent 70%, #fff 70%, #fff 74%, transparent 74%),
    #E4EAE6;
}
.p-map img { position: absolute; left: 50%; top: 50%; width: 6cqw; transform: translate(-50%, -78%); }

.big-pin {
  position: absolute; left: 3%; bottom: 0; width: 23cqw;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .55));
  animation: drop .8s cubic-bezier(.2, .9, .3, 1.25) .2s both;
}
@keyframes drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }

/* Sections */
.sec { padding: clamp(68px, 9vw, 116px) 0; }
.sec.mist { background: var(--mist); }
.sec.dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { margin-bottom: .35em; }
.kicker { margin-bottom: 12px; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.dark .kicker { color: var(--red-light); }
.sub { margin: 0; font-size: 1.08rem; color: var(--muted); }

.ic {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  background: #FDECEC; color: var(--red);
}

/* Who it's for */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 32px 28px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #F3B9BB; box-shadow: 0 22px 40px -28px rgba(17, 17, 19, .35); transform: translateY(-2px); }
.card .ic { margin-bottom: 20px; }
.card p { margin: 0; color: var(--muted); }

/* What you get */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { padding: 26px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.feat .ic { margin-bottom: 16px; }
.feat h3 { margin-bottom: 6px; font-size: 1.02rem; }
.feat p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--muted); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; }
.step::after {
  content: ""; position: absolute; top: 25px; left: 70px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--grey) 0 8px, transparent 8px 15px);
}
.step:last-child::after { display: none; }
.num {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px;
  border-radius: 50% 50% 50% 6px; transform: rotate(-45deg);
  background: var(--ink); color: #fff;
}
.step:first-child .num { background: var(--red); }
.num b { transform: rotate(45deg); font-weight: 800; font-size: 1.15rem; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Price */
#price::before {
  content: ""; position: absolute; pointer-events: none;
  width: 800px; height: 800px; left: -300px; top: 10%;
  background: radial-gradient(closest-side, rgba(227, 38, 44, .18), rgba(227, 38, 44, 0) 72%);
}
#price .wrap { position: relative; }
.price-card {
  display: grid; grid-template-columns: .9fr 1.1fr;
  max-width: 980px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.price-left {
  padding: 44px 40px;
  background: linear-gradient(160deg, rgba(227, 38, 44, .16), rgba(227, 38, 44, 0) 60%);
  border-right: 1px solid var(--ink-3);
}
.amount { font-weight: 800; font-size: clamp(4.2rem, 9vw, 6.4rem); line-height: 1; letter-spacing: -.04em; }
.cur { font-size: .45em; vertical-align: .9em; margin-right: .06em; color: var(--red-light); }
.once { margin: 6px 0 22px; font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red-light); }
.price-left p { color: var(--muted-dark); font-size: .97rem; }
.price-left .btn { margin-top: 8px; }
.price-list { list-style: none; margin: 0; padding: 44px 40px; display: grid; gap: 22px; align-content: center; }
.price-list li { display: flex; gap: 14px; color: #D9D9DE; }
.price-list b { color: #fff; }
.price-list .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; margin-top: 1px; }

.own { max-width: 980px; margin: 64px auto 0; }
.own-title { margin-bottom: 26px; text-align: center; font-size: 1.3rem; }
.own-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.own-item { display: flex; gap: 16px; padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ink-3); }
.own-item .i { color: var(--red-light); width: 28px; height: 28px; }
.own-item h4 { margin-bottom: 4px; font-size: 1rem; }
.own-item p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--muted-dark); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: #F3B9BB; }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 60px 20px 24px; font-weight: 700; font-size: 1.04rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 2.5px; margin-top: -1px;
  border-radius: 2px; background: var(--red); transition: transform .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 14px; }
.faq .a { padding: 0 24px 6px; color: var(--muted); }

/* Contact */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 100px) 0; background: var(--red); color: #fff; }
.cta-pin { position: absolute; right: -40px; top: -60px; width: 360px; fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; }
.cta-in { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: .4em; }
.cta-copy p { max-width: 36em; font-size: 1.1rem; color: #fff; }
.cta .sign { margin: 0; font-weight: 700; color: #fff; }
.cta-box { display: grid; justify-items: start; gap: 14px; }
.cta-box .btn { min-width: 220px; font-size: 1.05rem; }
.mail { color: #fff; font-weight: 600; text-underline-offset: 4px; word-break: break-all; }

/* Footer */
.foot { background: var(--ink); color: var(--muted-dark); font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding-top: 52px; padding-bottom: 36px; }
.foot-brand img { width: 150px; height: auto; margin-bottom: 12px; }
.foot-brand p { margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-left: auto; }
.foot-nav a, .foot-mail { color: #D6D6DB; text-decoration: none; font-weight: 600; }
.foot-nav a:hover, .foot-mail:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-mail { word-break: break-all; }
.foot-bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--ink-3); font-size: .85rem; }

/* 404 page */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: var(--ink); color: #fff; text-align: center; }
.lost img.logo { width: 180px; margin: 0 auto 36px; }
.lost p { color: var(--grey); margin-bottom: 28px; }

/* Tablets */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 72px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .step:nth-child(2)::after { display: none; }
  .price-card { grid-template-columns: 1fr; }
  .price-left { border-right: 0; border-bottom: 1px solid var(--ink-3); }
  .own-grid { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; gap: 28px; }
}

/* Phones */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top-in { height: 64px; }
  .brand img { width: 130px; }
  html { scroll-padding-top: 72px; }
  .hero-in { padding-top: 40px; padding-bottom: 56px; }
  .lead { font-size: 1.06rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .sec-head { margin-bottom: 36px; }
  .grid3 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 26px 22px; }
  .grid4 { grid-template-columns: 1fr; gap: 12px; }
  .feat { display: flex; gap: 16px; padding: 20px; }
  .feat .ic { margin-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 34px 72px; }
  .step:last-child { padding-bottom: 0; }
  .num { position: absolute; left: 4px; top: 0; margin: 0; width: 46px; height: 46px; }
  .step::after, .step:nth-child(2)::after {
    display: block; top: 58px; bottom: 6px; left: 27px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--grey) 0 8px, transparent 8px 15px);
  }
  .step:last-child::after { display: none; }
  .step h3 { padding-top: 10px; }
  .price-left, .price-list { padding: 32px 24px; }
  .own { margin-top: 48px; }
  .own-item { padding: 20px; }
  .faq summary { padding: 18px 54px 18px 20px; font-size: 1rem; }
  .faq summary::before, .faq summary::after { right: 20px; }
  .faq .a { padding: 0 20px 4px; }
  .cta-box, .cta-box .btn { width: 100%; }
  .cta-pin { width: 240px; right: -70px; top: -40px; }
  .foot-nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
