/* Websites service page: the Automation and Software layout, with desktop and phone screenshot pairs. */

/* Hero heading: sized to the copy column so it always sits on two even lines */
.websites-page .hero-copy{container-type:inline-size}
.story-page.websites-page .page-hero h1{font-size:clamp(30px,10cqi,72px);max-width:none;text-wrap:balance}

/* A shorter gap under the hero, so the next section shows there is more to scroll to */
.story-page.websites-page main>.page-hero{padding-bottom:40px}
.story-page.websites-page main>.page-hero+.section{padding-top:32px}

/* Headings stay in place rather than following the page as it scrolls */
.story-page.websites-page .approach-intro,.story-page.websites-page .faq-layout .story-heading{position:static}

/* What is included: icon, heading and paragraph start at the same height in every card on a row */
.websites-page #included .help-icon svg{width:29px;height:29px;stroke-width:1.8}
@supports (grid-template-rows:subgrid){
  .websites-page .help-card{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;align-content:start}
  .websites-page .help-card h3{align-self:start}
}

/* Screenshot pairs: match the software page's desktop and phone angles */
.site-scene{position:relative;isolation:isolate;width:100%;padding:7% 2% 9% 4%}
.site-scene:before{content:'';position:absolute;inset:4% 3% 0 10%;border:1px solid #fff9;border-radius:50%;background:linear-gradient(140deg,#e1ebd8,#ccddc5);z-index:-1}
.site-scene:after{content:'';position:absolute;inset:-4% 0 2% 14%;border:1px solid #c6d8bc;border-radius:50%;z-index:-1;transform:rotate(-20deg)}
.site-pair{container-type:inline-size;position:relative;padding:0 9% 9% 0}
.site-desktop{padding:1.1cqi;border-radius:2.6cqi;background:#000;box-shadow:0 30px 55px #1d3f2729;transform:rotate(-3deg)}
.site-desktop img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;border-radius:1.6cqi;background:#eef3e8}
.site-phone{position:absolute;right:0;bottom:0;width:25%;padding:1.1cqi;border-radius:4.4cqi;background:#000;box-shadow:0 22px 40px #17362238;transform:rotate(5deg)}
.site-phone img{display:block;width:100%;height:auto;aspect-ratio:9/19;object-fit:cover;object-position:top;border-radius:3.4cqi;background:#fff}
.site-desktop picture,.site-phone picture{display:block}
.site-panel .site-desktop img{aspect-ratio:14/9}
.site-panel .site-phone img{aspect-ratio:440/900}

/* Examples: cycle like the Software explorer. The frames stay put and the screenshots fade in */
.story-page .site-stage{min-height:0;padding:40px 0}
.site-stage:before,.site-stage:after{z-index:0}
.site-panel{grid-area:1/1;position:relative;z-index:1;width:100%;visibility:hidden}
.site-panel.is-active{visibility:visible}
.site-panel.is-active img{animation:screen-reveal .45s ease both}
.examples-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-top:24px}
.story-page .examples-footer .quiet-note{margin:0}
.examples-footer .flow-controls{flex:none}

@media(min-width:1000px){
  .story-page.websites-page main>.page-hero{padding-bottom:56px}
  .story-page.websites-page main>.page-hero+.section{padding-top:48px}
  .websites-page .software-explorer{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px}
  .story-page .site-stage{padding:60px 0}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .site-pair .site-desktop,.site-pair .site-phone{transition:transform .7s var(--story-ease)}
  .site-pair:hover .site-desktop{transform:rotate(-2deg) translateY(-5px)}
  .site-pair:hover .site-phone{transform:rotate(3deg) translateY(-9px)}
}
@media(prefers-reduced-motion:reduce){
  .site-panel.is-active img{animation:none}
}

/* Website options and Google Ads: the same offer as Will's Websites, in the WCD card style */
.offer-section .story-heading{text-align:center;margin-inline:auto}
.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:34px 0 0;padding:0;list-style:none}
.offer-card{display:flex;flex-direction:column;padding:30px 28px;border:1px solid rgba(255,255,255,.92);border-radius:24px;background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,255,255,.7));box-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(20,60,35,.08)}
.story-page .offer-card h3{margin:0;font-size:24px;font-weight:600;letter-spacing:-.025em;line-height:1.2;color:var(--forest)}
.offer-need{margin-top:14px;font-size:17px;font-weight:500;line-height:1.4;color:#2f3d34}
.offer-blurb{margin-top:10px;font-size:15px;line-height:1.6;color:#516154}
.offer-price{display:flex;flex-direction:column;gap:4px;margin-top:22px;padding-top:20px;border-top:1px solid #dfe8d8}
.offer-price strong{font-size:38px;font-weight:600;letter-spacing:-.03em;line-height:1;color:var(--forest)}
.offer-price span{font-size:14px;color:#5d6d60}
.offer-ticks{display:grid;gap:10px;margin:20px 0 0;padding:0;list-style:none}
.offer-ticks li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45;color:#2f3d34}
.offer-ticks svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke:#2E7B1D;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.offer-card>.button{margin-top:auto;align-self:stretch}
.offer-grid .offer-ticks{margin-bottom:26px}
.ads-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px;margin-top:34px;align-items:stretch}
.ads-prices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}
.ads-side{display:grid;gap:22px}
.ads-side .offer-ticks{margin-top:14px}
.ads-notes{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.ads-notes>div{display:flex;flex-direction:column;gap:8px;padding:22px 24px;border-radius:20px;background:#e3ecd9}
.ads-notes strong{font-size:16px;color:var(--forest)}
.ads-notes span{font-size:14.5px;line-height:1.55;color:#3d4c41}
/* Technical details under each included card */
.tech-details{margin-top:16px;border-top:1px solid #dfe8d8;padding-top:12px}
.tech-details summary{cursor:pointer;font-size:14px;font-weight:600;color:#205732;list-style:none;display:flex;align-items:center;gap:8px}
.tech-details summary::-webkit-details-marker{display:none}
.tech-details summary:after{content:'+';font-size:18px;line-height:1}
.tech-details[open] summary:after{content:'–'}
.tech-details p{margin-top:10px;font-size:14px;line-height:1.6;color:#516154}
@supports (grid-template-rows:subgrid){
  .websites-page #included .help-card{grid-row:span 4}
}
@media(max-width:980px){
  .offer-grid{grid-template-columns:1fr;max-width:560px;margin-inline:auto}
  .ads-layout{grid-template-columns:1fr;max-width:560px;margin-inline:auto}
}
@media(max-width:560px){
  .offer-card{padding:24px 20px}
  .ads-notes{grid-template-columns:1fr}
}
@media(prefers-reduced-transparency:reduce){.offer-card{background:#fbfcfa}}
@supports (grid-template-rows:subgrid){
  @media(min-width:981px){
    .offer-grid .offer-card{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0}
    .offer-grid .offer-card>.button{align-self:end}
  }
}
.ads-layout{align-items:start}
.ads-card .ads-prices{margin-bottom:24px}
.ads-side .price-covers{padding:24px 26px;border:1px solid rgba(255,255,255,.92);border-radius:24px;background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,255,255,.7));box-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(20,60,35,.08)}
.story-page .ads-side .price-covers h4{margin:0;font-size:21px;font-weight:500;letter-spacing:-.025em;line-height:1.2;color:var(--forest)}
/* Google Ads: the left card matches the combined height of the two right-hand blocks */
.ads-layout{align-items:stretch}
.ads-card .ads-prices{margin-top:auto;margin-bottom:24px}
.ads-card>.button{margin-top:0}
@media(max-width:980px){.ads-card .ads-prices{margin-top:0}}
