/* Home page, "Everyday" direction (redesign #466, canvas board W3).
   Only index.html uses this file; the docs, legal and other pages keep styles.css.
   Light first; dark when the system asks (or the saved choice of theme.js). */
@font-face{font-family:"Manrope";src:url("/fonts/manrope.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/fonts/jetbrains-mono-500.woff2") format("woff2");font-weight:500;font-display:swap}

:root{
  --ground:#F7F7F5;--sheet:#FFFFFF;--fill:#ECECE8;--ink:#16181D;--muted:#5B6270;--soft:#3D434F;--rule:#E4E4E0;
  --blue:#0B5FB4;--blue-ink:#FFFFFF;--ok:#1F7A4D;
  --t-blue:#DCE7F5;--t-green:#DDEEE4;--t-sand:#F3E6D3;--t-amber:#F6EBD6;--t-rose:#F6DEDB;--t-lilac:#E9E4F2;--t-grey:#ECECE8;
  --glass:rgba(255,255,255,.75);--shadow:0 40px 80px -40px rgba(22,24,29,.35);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ground:#111315;--sheet:#1A1D20;--fill:#24282C;--ink:#ECEEF0;--muted:#9AA1A8;--soft:#C3C8CD;--rule:#2A2F34;
    --blue:#6AA6EC;--blue-ink:#111315;--ok:#7BCF9C;
    --t-blue:#1E2C3D;--t-green:#1D2E26;--t-sand:#30291F;--t-amber:#322A1C;--t-rose:#33221F;--t-lilac:#28243A;--t-grey:#24282C;
    --glass:rgba(17,19,21,.55);--shadow:0 40px 80px -40px rgba(0,0,0,.7);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --ground:#111315;--sheet:#1A1D20;--fill:#24282C;--ink:#ECEEF0;--muted:#9AA1A8;--soft:#C3C8CD;--rule:#2A2F34;
  --blue:#6AA6EC;--blue-ink:#111315;--ok:#7BCF9C;
  --t-blue:#1E2C3D;--t-green:#1D2E26;--t-sand:#30291F;--t-amber:#322A1C;--t-rose:#33221F;--t-lilac:#28243A;--t-grey:#24282C;
  --glass:rgba(17,19,21,.55);--shadow:0 40px 80px -40px rgba(0,0,0,.7);
  color-scheme:dark;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font:15px/1.55 "Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
figure{margin:0}
code,pre{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;z-index:9;padding:8px 12px;border-radius:10px;background:var(--sheet)}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
h1,h2,h3{letter-spacing:-.04em;line-height:1.05;margin:0}
h2{font-size:clamp(26px,3vw,34px);font-weight:800}
h3{font-size:18px;font-weight:800;letter-spacing:-.02em}
.muted{color:var(--muted)}
.center{text-align:center}

/* Header */
header.site{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:22px 0}
.lockup{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-weight:800;font-size:19px;letter-spacing:-.02em}
.lockup:hover{text-decoration:none}
.lockup .mark{width:34px;height:34px;border-radius:10px;background:#0B5FB4;display:flex;align-items:center;justify-content:center}
.beta-badge{font-size:11px;font-weight:800;letter-spacing:.02em;padding:3px 8px;border-radius:999px;background:var(--t-amber);color:var(--soft)}
nav.head{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-left:auto;font-weight:700;font-size:15px}
nav.head a{padding:9px 14px;border-radius:999px;color:var(--ink)}
nav.head a:hover{background:var(--fill);text-decoration:none}
nav.head a.cta{background:var(--ink);color:var(--ground);padding:9px 18px}
nav.head a.cta:hover{opacity:.88;background:var(--ink)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:999px;font-weight:800;font-size:14px;border:none;cursor:pointer}
.btn:hover{text-decoration:none;opacity:.9}
.btn.primary{background:var(--blue);color:var(--blue-ink)}
.btn.soft{background:var(--fill);color:var(--ink)}
.ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}

/* Hero */
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;padding:56px 0 24px}
.beta-tag{display:inline-block;font-size:14px;font-weight:700;padding:7px 14px;border-radius:999px;background:var(--t-amber);color:var(--soft)}
.hero h1{font-size:clamp(36px,5vw,60px);font-weight:800;letter-spacing:-.05em;max-width:11em}
.hero h1 em{font-style:normal;color:var(--blue)}
.hero .sub{margin:0;font-size:17px;color:var(--muted);max-width:31em}
.hero .small{margin:0;font-size:14px;color:var(--muted)}
.say{margin:0;font-size:13px;color:var(--muted)}

section{margin-top:80px}
.lede{font-size:16px;color:var(--muted);max-width:36em}
.section-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin-bottom:28px}

/* Three doors */
.doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:56px}
.door{display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:30px;color:var(--ink);min-height:380px}
.door:hover{text-decoration:none;transform:translateY(-2px);transition:transform .2s}
.door .who{font-size:14px;font-weight:700;color:var(--soft)}
.door .title{font-size:22px;font-weight:800;letter-spacing:-.035em;line-height:1.08}
.door .say-it{color:var(--soft)}
.door .card{margin-top:auto;display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:20px;background:var(--glass)}
.door .card b{font-weight:800}
.door .card span{font-size:14px;color:var(--soft)}
.door .card .result{font-size:14px;font-weight:800;color:var(--ok)}
.door.blue{background:var(--t-blue)}.door.green{background:var(--t-green)}.door.sand{background:var(--t-sand)}

/* The app */
.app{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:40px;align-items:center;padding:48px;border-radius:36px;background:var(--sheet)}
.app h2{margin-bottom:16px}
.app ul{list-style:none;padding:0;margin:18px 0 24px;display:flex;flex-direction:column;gap:10px}
.app li{display:flex;gap:12px;align-items:flex-start}
.app li::before{content:"";flex:none;width:10px;height:10px;margin-top:8px;border-radius:50%;background:var(--blue)}
.stores{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
/* "Coming soon" store buttons, as on getlongcut.papado.me: not links until the app is listed;
   then "Get it on the App Store" / "Get it on Google Play" linking to the listings. */
.store{display:inline-flex;align-items:center;gap:10px;padding:9px 18px 9px 14px;border-radius:12px;background:var(--ink);color:var(--ground)}
.store svg{flex:none;width:26px;height:26px;fill:currentColor}
.store>span{font-weight:700;font-size:15px;line-height:1.05}
.store small{display:block;font-weight:500;font-size:11px;line-height:1.3;opacity:.75}
.soon{font-size:14px;color:var(--muted)}
.phones{display:flex;justify-content:center;align-items:flex-end;gap:16px}
.phone{flex:0 1 220px;min-width:0;margin:0;border-radius:34px;padding:8px;background:var(--ink);box-shadow:var(--shadow)}
.phone img{border-radius:27px}
.phone.lift{transform:translateY(-28px)}

/* How it works (developers) */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:start}
.split p{color:var(--muted)}
.split p b{color:var(--ink)}
.code{border-radius:24px;background:#16181D;color:#E8EAED;overflow:hidden}
.code-tabs{display:flex;gap:4px;padding:10px 10px 0}
.code-tabs button{font:inherit;font-size:14px;font-weight:700;padding:8px 14px;border:none;border-radius:999px;background:transparent;color:#9AA1A8;cursor:pointer}
.code-tabs button[aria-selected="true"]{background:#2A2F34;color:#FFFFFF}
.code pre{margin:0;padding:18px 20px;font-size:13px;line-height:1.6;overflow-x:auto}
.code-reply{border-top:1px solid #2A2F34;padding:12px 20px}
.code-reply span{font-size:12px;font-weight:700;color:#9AA1A8}
.code-reply pre{padding:6px 0 0}
code{font-size:.9em;padding:1px 6px;border-radius:6px;background:var(--fill)}

/* Story rows with a screenshot */
.story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center}
.story.flip{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.story.flip .story-text{order:2}
.story-text p{color:var(--muted)}
.story-text p b{color:var(--ink)}
.shot{margin:0;border-radius:24px;overflow:hidden;background:var(--sheet);box-shadow:var(--shadow)}
.caption{font-size:13px;color:var(--muted);margin:10px 0 0}

/* Everything tiles */
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tile{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:18px;background:var(--sheet)}
.tile i{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.tile i svg{width:20px;height:20px;stroke:var(--ink)}
.tile b{font-weight:800}
.tile span{font-size:14px;color:var(--muted)}
.tile.new b::after{content:"New";margin-left:8px;padding:2px 7px;border-radius:999px;background:var(--t-blue);color:var(--blue);font-size:11px;font-weight:800;vertical-align:2px}

/* Pricing (tables and switch driven by main.js) */
.pricing{display:flex;flex-direction:column;align-items:center;gap:18px}
.price-switch{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.price-switch [role="group"]{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--fill)}
.price-switch button{font:inherit;font-weight:700;font-size:14px;padding:8px 16px;border:none;border-radius:999px;background:transparent;color:var(--muted);cursor:pointer}
.price-switch button[aria-pressed="true"]{background:var(--sheet);color:var(--ink)}
.table-scroll{width:100%;overflow-x:auto;border-radius:26px;background:var(--sheet)}
table.plans{width:100%;border-collapse:collapse;font-size:15px;min-width:640px}
.plans th,.plans td{padding:12px 16px;text-align:left;border-top:1px solid var(--rule)}
.plans thead th{font-size:16px;font-weight:800;border-top:none;padding-top:22px}
.plans thead td{border-top:none}
.plans tbody th{font-weight:600;color:var(--muted)}
.plans .plans-price td{font-size:24px;font-weight:800;letter-spacing:-.04em}
.plans .plans-cta td{border-top:none;padding-bottom:22px}
.plans .plans-cta a{display:inline-block;padding:9px 16px;border-radius:999px;background:var(--fill);color:var(--ink);font-weight:800;font-size:14px}
.plans .plans-cta td:nth-child(4) a{background:var(--blue);color:var(--blue-ink)}
.pricing h3{margin-top:26px}
.pricing .small{font-size:14px;color:var(--muted);max-width:52em;text-align:center;margin:0}
.offer{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.offer>div{padding:22px;border-radius:24px;background:var(--t-amber)}
.offer>div:first-child{background:var(--t-green)}
.offer h3{font-size:18px;margin-bottom:6px}
.offer p{margin:0;font-size:15px;color:var(--soft)}

/* Questions */
.questions{max-width:820px;margin-left:auto;margin-right:auto}
.questions h2{text-align:center;margin-bottom:24px}
.questions details{background:var(--sheet);border-radius:20px;padding:4px 20px;margin-bottom:10px}
.questions summary{cursor:pointer;font-weight:800;padding:14px 0;list-style:none}
.questions summary::-webkit-details-marker{display:none}
.questions summary::after{content:"+";float:right;color:var(--muted);font-weight:600}
.questions details[open] summary::after{content:"–"}
.questions details p{margin:0 0 16px;color:var(--muted)}

/* Close and footer */
.close{display:flex;flex-direction:column;align-items:center;gap:22px;padding:64px 24px;border-radius:36px;background:var(--t-blue);text-align:center}
footer.site{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,5fr);gap:32px;padding:48px 0 56px;margin-top:80px;border-top:1px solid var(--rule);font-size:14px;color:var(--muted)}
footer.site .foot-brand{display:flex;flex-direction:column;gap:6px}
footer.site .foot-brand b{color:var(--ink);font-size:17px;font-weight:800;letter-spacing:-.02em}
footer.site .foot-cols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
footer.site .foot-cols div{display:flex;flex-direction:column;gap:8px}
footer.site .foot-cols h2{font-size:14px;font-weight:800;color:var(--ink);margin:0 0 4px}
footer.site a{color:var(--muted)}

@media (max-width:960px){
  .doors,.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .app,.split,.story,.story.flip{grid-template-columns:1fr}
  .story.flip .story-text{order:0}
  .app{padding:28px}
  .offer{grid-template-columns:1fr}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  .doors,.tiles{grid-template-columns:1fr}
  .door{min-height:0}
  nav.head .hide-sm{display:none}
  section{margin-top:64px}
  .phones{gap:8px}
  .phone{padding:5px;border-radius:24px}.phone img{border-radius:20px}
  .phone.lift{transform:translateY(-14px)}
  .phone.hide-sm{display:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.door:hover{transform:none}}

.more{margin-top:28px;text-align:center}
.tile span a{color:var(--blue);font-weight:700}

/* /features: every feature, grouped, with chips that jump to each group */
.features-page .fhead{padding:40px 0 8px;border-bottom:1px solid var(--rule)}
.features-page h1{font-size:clamp(32px,4.4vw,52px);line-height:1.02;letter-spacing:-.03em;font-weight:800;margin:10px 0 16px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 32px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;font-size:14px;border-radius:999px;border:1px solid var(--rule);color:var(--ink);font-weight:700}
.chip:hover{text-decoration:none;background:var(--fill)}
.chip span{color:var(--muted);font-weight:600;font-size:14px}
.features-page .fgroup{margin-top:0;padding:40px 0 8px;scroll-margin-top:24px}
.fgroup h2{display:flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-.02em;margin:0 0 20px}
.fgroup h2 i{width:16px;height:16px;border-radius:5px;display:inline-block;box-shadow:inset 0 0 0 1px var(--rule)}
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.feature{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:18px;background:var(--sheet)}
.feature h3{margin:0;font-size:16px;font-weight:800}
.feature p{margin:0;color:var(--muted);flex:1}
.feature p a{color:var(--blue);font-weight:700}
.feature.new h3::after{content:"New";margin-left:8px;padding:2px 7px;border-radius:999px;background:var(--t-blue);color:var(--blue);font-size:11px;font-weight:800;vertical-align:2px}
.wheres{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.where{padding:3px 9px;border-radius:999px;border:1px dashed var(--rule);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
@media (max-width:960px){.features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.features{grid-template-columns:1fr}.fgroup h2{font-size:21px}}
.kicker{display:block;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}

/* SEO landing pages (/free-email-marketing, /transactional-email-api, ...): a readable column
   of text, the price strip and the closing call, in the same look as /features. */
.landing .landing-head{padding:40px 0 8px;max-width:46em;margin:0 auto}
.landing h1{font-size:clamp(32px,4.4vw,52px);line-height:1.04;letter-spacing:-.03em;font-weight:800;margin:10px 0 16px}
.landing .landing-head .ctas{margin-top:22px;justify-content:flex-start}
.landing-sec{max-width:46em;margin:44px auto 0}
.landing-sec h2{font-size:clamp(22px,2.4vw,28px);margin-bottom:12px}
.landing-sec h3{font-size:16px;margin:20px 0 6px}
.landing-sec p{margin:0 0 12px;color:var(--soft)}
.landing-sec ul{margin:8px 0 0;padding-left:20px;color:var(--soft)}
.landing-sec li{margin:6px 0}
.landing-sec a,.landing-note a{color:var(--blue);font-weight:700}
.landing-code{margin:0 0 12px;padding:18px;border-radius:16px;background:var(--sheet);border:1px solid var(--rule);font:500 13px/1.6 "JetBrains Mono",ui-monospace,monospace;overflow-x:auto;white-space:pre}
.landing-table{border-collapse:collapse;width:100%;margin:0 0 12px;font-size:14px}
.landing-table th,.landing-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--rule);vertical-align:top}
.landing-table th{width:9em;color:var(--muted);font-weight:700}
.landing-prices{max-width:690px;margin:56px auto 0}
.landing-prices h2{font-size:clamp(22px,2.4vw,28px);margin:0 0 14px}
.price-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.price-strip div{display:flex;flex-direction:column;gap:4px;padding:18px;border-radius:18px;background:var(--sheet)}
.price-strip b{font-weight:800}
.price-strip span{font-size:20px;font-weight:800;letter-spacing:-.02em}
.price-strip small{font-size:13px;color:var(--muted)}
.landing-note{max-width:46em;margin:14px auto 0;font-size:14px;color:var(--muted)}
@media (max-width:640px){.price-strip{grid-template-columns:1fr}.landing-table th{width:7em}}

/* Home cards that open a landing page show where they lead */
.door .more-link{font-size:14px;font-weight:800;color:var(--blue)}
@media (max-width:960px){footer.site{grid-template-columns:1fr}footer.site .foot-cols{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){footer.site .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
.solutions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.solution{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:18px;background:var(--sheet);color:var(--ink);border:1px solid transparent}
.solution:hover{text-decoration:none;border-color:var(--blue)}
.solution b{font-weight:800}
.solution span{font-size:14px;color:var(--muted)}
@media (max-width:640px){.solutions{grid-template-columns:1fr}}
.landing-prices .landing-note{max-width:none;margin:14px 0 0}
