/* Macrospot's home page only (index.html). The standard: Projects/team/playbooks/landing-pages.md.
   support.html, macro-calculator/ and chipotle-macros/ use style.css; nothing here touches them.
   White canvas, near-black ink, one green (the icon's) for the hairline under the hero. */
:root{--bg:#FFFFFF;--ink:#111111;--muted:#666666;--accent:#1F5E3B;--bezel:#111111}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.5 -apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
img{max-width:100%}
a{color:inherit}
a:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}

/* The quiet uppercase links, in the nav and the footer */
.nav nav a,.foot-links a{display:inline-block;padding:14px 0;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;color:var(--muted);transition:color .15s}
.nav nav a:hover,.foot-links a:hover{color:var(--ink)}

/* 1. Nav */
.nav{max-width:1080px;margin:0 auto;height:84px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:11px;font-size:19px;font-weight:700;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}
.brand img{display:block;width:38px;height:38px;border-radius:9px}
.nav nav{display:flex;align-items:center;gap:32px}

/* 2. Hero */
.hero{max-width:1080px;margin:0 auto;padding:44px 24px 104px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:48px}
.hero h1{margin:0;font-size:clamp(44px,5vw,60px);line-height:1.04;font-weight:700;letter-spacing:-.035em;text-wrap:balance}
.sub{margin:24px 0 0;max-width:24em;font-size:20px;line-height:1.5;color:var(--muted);text-wrap:pretty}
.nb{white-space:nowrap}
.store-row{margin:36px 0 0}
.store-note{margin:14px 0 0;font-size:13px;color:var(--muted)}

/* The App Store button */
.store-btn{display:inline-flex;align-items:center;gap:10px;padding:9px 20px 9px 15px;background:#000;color:#fff;border-radius:12px;text-decoration:none;line-height:1;text-align:left;transition:background .15s}
.store-btn:hover{background:#2a2a2a}
.store-btn svg{flex:none;width:27px;height:27px;margin-top:-3px;fill:currentColor}
.store-txt{display:flex;flex-direction:column;font-size:21px;font-weight:600;letter-spacing:-.015em;white-space:nowrap}
.store-txt small{margin-bottom:3px;font-size:11px;font-weight:500;letter-spacing:.01em}

/* The phone: a plain bezel around a real capture (680 x 1477, the whole screen). The pill is the
   Dynamic Island, which a simulator capture leaves out; sized from the 440 x 956 pt screen. */
.phone{position:relative;width:min(310px,76vw);margin:0 auto;border:11px solid var(--bezel);border-radius:44px;background:var(--bezel);box-shadow:0 24px 60px rgba(0,0,0,.12)}
.phone img{display:block;width:100%;height:auto;aspect-ratio:680/1477;border-radius:34px}
.phone::before{content:"";position:absolute;top:1.45%;left:50%;width:28.5%;aspect-ratio:125/37;transform:translateX(-50%);border-radius:999px;background:#000}

/* The one rule */
.rule{display:block;width:calc(100% - 48px);max-width:1032px;height:1px;margin:0 auto;border:0;background:var(--accent)}

/* 3. Walkthrough */
.tour{max-width:720px;margin:0 auto;padding:112px 24px 0;text-align:center}
.tour h2{margin:0;font-size:clamp(28px,3.4vw,38px);line-height:1.1;font-weight:700;letter-spacing:-.03em}
.feature{margin-top:120px}
.tour h2+.feature{margin-top:72px}
.callout{max-width:560px;margin:0 auto 40px;font-size:19px;line-height:1.55;color:var(--muted);text-wrap:balance}
.callout strong,.callout b{font-weight:600;color:var(--ink)}
.tour .phone{width:min(300px,74vw)}

/* 4. Footer */
footer{max-width:1080px;margin:0 auto;padding:136px 24px 72px;text-align:center}
footer .store-row{margin:0}
.foot-links{margin:32px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:0 32px}
.foot-tools{margin:14px 0 0;font-size:13px;color:var(--muted)}
.foot-tools a{text-decoration:underline;text-decoration-color:#cfcfcf;text-underline-offset:3px;transition:color .15s,text-decoration-color .15s}
.foot-tools a:hover{color:var(--accent);text-decoration-color:var(--accent)}

/* One column: the copy centered, the phone under it */
@media (max-width:820px){
  .hero{grid-template-columns:minmax(0,1fr);gap:56px;padding:36px 24px 80px;text-align:center}
  .hero h1{font-size:clamp(34px,9.6vw,52px)}
  .sub{margin-left:auto;margin-right:auto}
  .phone{width:min(290px,74vw)}
  .tour{padding-top:80px}
  .tour h2+.feature{margin-top:56px}
  .feature{margin-top:84px}
  .callout{margin-bottom:32px}
  footer{padding:96px 24px 56px}
}
@media (max-width:640px){
  .nav{height:72px;padding:0 20px}
  .nav nav{gap:22px}
  .nav .opt{display:none} /* Calculator and Privacy stay in the footer */
  .hero,.tour,footer{padding-left:20px;padding-right:20px}
  .rule{width:calc(100% - 40px)}
  .sub{font-size:18px}
  .callout{font-size:18px}
}
@media (max-width:350px){
  .brand{font-size:16px;gap:8px}
  .brand img{width:34px;height:34px;border-radius:8px}
  .nav nav{gap:12px}
  .nav nav a{font-size:11px;letter-spacing:.06em}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
