:root {
  /* Primary blue and its darker shade are sampled from the app icon. */
  --blue: #00aad7;
  --blue-dark: #007796;
  --ink: #17242e;
  --muted: #596872;
  --line: #e4e9ed;
  --pale-blue: #f1f9fd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
::selection { color: var(--ink); background: #c6effa; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px 18px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 650; letter-spacing: -.5px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 30px; }
.language-link { color: var(--blue-dark); font-size: 12px; font-weight: 650; text-decoration: none; }
.language-link:hover { text-decoration: underline; }
.nav-link { font-size: 13px; text-decoration: none; color: var(--muted); }
.nav-link:hover, .text-link:hover, .footer-links a:hover { color: var(--blue-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; background: var(--blue); color: #fff; border: 1px solid transparent; border-radius: 7px; padding: 15px 21px; font-size: 14px; font-weight: 650; text-decoration: none; transition: background .15s; }
.button:hover { background: #17b9e3; }
.button > span { font-size: 19px; line-height: 1; }
.button-small { font-size: 13px; padding: 10px 17px; gap: 18px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.8px; color: var(--blue-dark); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; padding-block: 65px 70px; }
.hero h1 { font-size: clamp(42px, 4.7vw, 64px); line-height: 1.07; font-weight: 650; letter-spacing: -2.8px; margin-top: 24px; }
.hero-description { max-width: 440px; font-size: 17px; color: var(--muted); line-height: 1.8; margin-top: 24px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; margin-top: 30px; }
/* Keep the official badge unchanged, with at least half its height as clear space. */
.shopify-badge { display: inline-block; flex: 0 0 auto; }
.shopify-badge img { width: 204px; height: 60px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; text-decoration: none; }
.text-link svg { width: 17px; height: 17px; fill: none; stroke: var(--blue-dark); stroke-width: 1.5; stroke-linejoin: round; }
.hero-note { margin-top: 30px; font-size: 12px; color: var(--muted); }
.app-preview { min-width: 0; padding: 14px 14px 12px; background: var(--pale-blue); border: 1px solid #e1f0f7; border-radius: 15px; }
.app-preview > a { display: block; border-radius: 7px; }
.app-preview img { width: 100%; border: 1px solid #e2e7eb; border-radius: 7px; box-shadow: 0 4px 14px #21395108; }
.app-preview figcaption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding-top: 12px; color: #5d6d78; font-size: 10px; }
.app-preview figcaption a { text-decoration: none; }
.app-preview figcaption a:hover { text-decoration: underline; color: var(--blue-dark); }
.features { border-top: 1px solid var(--line); padding-block: 44px 55px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; }
.feature-icon { display: block; width: 25px; height: 25px; margin-bottom: 18px; color: var(--blue-dark); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.feature-grid p { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.8; }
.resources-section { border-top: 1px solid var(--line); padding-block: 50px 60px; }
.resources-intro h2 { font-size: 30px; font-weight: 600; letter-spacing: -.9px; margin-top: 15px; }
.resources-intro > p:last-child { margin-top: 16px; color: var(--muted); font-size: 14px; }
.resource-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 40px; list-style: none; margin: 28px 0 0; padding: 0; }
.resource-list li { position: relative; padding-left: 15px; font-size: 14px; }
.resource-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.language-note { margin-top: 25px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.language-note a { color: var(--blue-dark); }
.product-details { margin-top: 30px; border-top: 1px solid var(--line); }
.product-details details { border-bottom: 1px solid var(--line); }
.product-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding-block: 16px; list-style: none; font-size: 14px; font-weight: 550; cursor: pointer; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; color: var(--blue-dark); font-size: 20px; font-weight: 400; }
.product-details details[open] summary::after { content: "−"; }
.detail-content { max-width: 840px; padding: 0 24px 22px 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.detail-content p + p { margin-top: 12px; }
.detail-content a { color: var(--blue-dark); }
.demo-section { background: #f7f9fb; border-block: 1px solid var(--line); padding-block: 65px; }
.demo-layout { display: grid; grid-template-columns: .8fr 1.4fr; align-items: center; gap: 65px; }
.demo-copy h2 { font-size: 32px; letter-spacing: -1px; font-weight: 600; margin-top: 17px; }
.demo-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 18px; }
.demo-copy .text-link { margin-top: 20px; color: var(--blue-dark); }
.video-frame { aspect-ratio: 16 / 9; background: #e8edf2; border: 1px solid #dce3ea; border-radius: 10px; overflow: hidden; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; }

@media (min-width: 1200px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 30px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 45px; }
  .hero h1 { font-size: 49px; letter-spacing: -2px; }
  .hero-description { font-size: 16px; }
  .feature-grid { gap: 32px; }
  .demo-layout { gap: 38px; grid-template-columns: .9fr 1.3fr; }
  .demo-copy h2 { font-size: 28px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 20px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  nav { gap: 18px; }
  .nav-link { display: none; }
  .button-small { padding: 9px 13px; font-size: 12px; gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 45px; }
  .hero h1 { font-size: clamp(43px, 8vw, 60px); letter-spacing: -2px; margin-top: 20px; }
  .hero-description { max-width: 520px; margin-top: 20px; font-size: 16px; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
  .hero-actions .text-link { font-size: 12px; }
  .shopify-badge { margin-left: 10px; }
  .hero-note { margin-top: 30px; font-size: 11px; }
  .app-preview { width: min(460px, 100%); margin-inline: auto; }
  .features { padding-block: 36px 45px; }
  .feature-grid { gap: 25px; }
  .feature-grid h3 { font-size: 16px; }
  .feature-grid p { font-size: 13px; }
  .resources-section { padding-block: 38px 45px; }
  .resources-intro h2 { font-size: 28px; }
  .resource-list { grid-template-columns: repeat(2, 1fr); gap: 10px 25px; }
  .resource-list li { font-size: 13px; }
  .product-details summary { font-size: 13px; }
  .detail-content { font-size: 13px; }
  .demo-section { padding-block: 45px; }
  .demo-layout { grid-template-columns: 1fr; gap: 26px; }
  .demo-copy h2 { font-size: 30px; }
  .demo-copy > p:not(.eyebrow) { max-width: 520px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 25px; }
}
@media (max-width: 500px) {
  .feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid article { display: grid; grid-template-columns: 25px 1fr; gap: 0 15px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature-grid h3 { margin-top: 2px; font-size: 17px; }
  .feature-grid p { margin-top: 9px; font-size: 14px; }
  .app-preview { padding: 9px 9px 10px; border-radius: 11px; }
  .app-preview figcaption { font-size: 9px; gap: 5px; padding-top: 10px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 32px); }
  .brand { font-size: 16px; gap: 7px; }
  .brand img { width: 29px; height: 29px; }
  .header-inner { gap: 8px; }
  nav { gap: 10px; }
  .button-small { font-size: 11px; padding: 8px 11px; gap: 8px; }
  .button-small > span { font-size: 15px; }
  .hero h1 { font-size: 40px; }
  .shopify-badge { margin-left: 14px; }
  .resource-list { grid-template-columns: 1fr; }
  .footer-links { gap: 16px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media print {
  .shell { width: 100%; }
  .skip-link, nav, .video-frame { display: none; }
  .hero, .demo-layout { gap: 30px; }
  .hero { padding-block: 25px; }
  .features, .resources-section, .demo-section { padding-block: 25px; }
  .demo-layout { display: block; }
  .button { border: 1px solid #aaa; }
  .app-preview, .feature-grid article { break-inside: avoid; }
}
