/* evedeck's own shopfront.   docs/PLAN-public-site.md
 *
 * Its own stylesheet rather than a section of tokens.css: this page is served
 * to strangers on a slow connection and has nothing to do with the app's four
 * hundred rules for screens only a signed-in owner sees. It borrows the app's
 * tokens on purpose, so the site and the product look like one thing.
 *
 * No framework and no webfont from anybody else's machine - `16-your-data`
 * promises nothing on any screen is loaded from another company, and that
 * promise is easiest to break on the page that makes it.
 */

@font-face {
  font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-600-latin.woff2") format("woff2");
}
/* The wordmark has its own face: Outfit 500, uppercase, widely tracked. Not the
   body font in sentence case.   tokens.css .wordmark */
@font-face {
  font-family: "Outfit"; font-weight: 500; font-display: swap;
  src: url("/static/fonts/outfit-500-latin.woff2") format("woff2");
}

:root {
  --brand: #1B5FBF;  --brand-bg: #E6EEFB;
  --text: #141821;   --text-2: #525A6B;  --text-3: #5D6676;  --text-4: #8A92A3;
  --line: #E3E3E8;   --line-2: #EEEEF1;
  --white: #FFFFFF;  --panel: #F5F5F7;
  --ok: #0D7345;     --ok-bg: #E8F4EE;
  --soon: #8A5210;   --soon-bg: #FCF3E6;
  --ink: #0F1420;
  --r: 4px;  --r-l: 8px;
  --font: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-wordmark: "Outfit", var(--font);
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--white); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* `height: auto` is not optional beside `max-width`. Without it the browser
   keeps the height attribute while clamping the width, which drew every
   screenshot squashed to twice its height.   founder 2026-09-09 */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.icon {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.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;
}

/* ------------------------------------------------------------------ header */
header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 26px; height: 62px; }
.logo {
  display: flex; align-items: center; gap: 8px; color: var(--text);
  font-family: var(--font-wordmark); font-weight: 500; font-size: 17px;
  text-transform: uppercase; letter-spacing: .2em;
}
.logo span { margin-right: -.2em; }
/* The mark, from the same geometry as the app's own sidebar rather than a
   letter in a box.   app/templates/_mark.html */
.logo .mk { width: 30px; height: 21.6px; color: var(--brand); flex: none; }
footer .logo .mk { width: 27px; height: 19.4px; }
nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
nav a { color: var(--text-2); }
nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r);
  font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
}
.btn:hover { background: #17539F; color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text-4); background: var(--panel); color: var(--text); }
.btn.big { height: 50px; padding: 0 24px; font-size: 16px; }

/* -------------------------------------------------------------------- hero */
.hero { padding: 74px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  font-weight: 500; color: var(--brand); background: var(--brand-bg);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 22px;
}
h1 {
  font-size: 45px; line-height: 1.1; letter-spacing: -.033em; margin: 0 0 20px;
  font-weight: 600; text-wrap: balance;
}
h1 .q { color: var(--brand); }
.lede {
  font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 0 0 30px;
  max-width: 30em;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 13px; color: var(--text-3); margin-top: 16px; }

/* **Both screens, because he is sold on both.** The phone is where the day is
   entered standing at the counter; the computer is where he looks at the
   month. A phone alone read as a phone-only toy.   founder 2026-09-08 */
.rig { position: relative; padding: 0 40px 54px 0; }
.lap {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: 0 26px 70px rgba(20, 24, 33, .17);
}
.lap-bar {
  display: flex; align-items: center; gap: 7px; padding: 9px 12px;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.lap-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D7D9DF; flex: none; }
.lap-bar span {
  margin-left: 8px; font-size: 11.5px; color: var(--text-4);
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 3px 12px;
}
/* A foot, so it reads as a laptop rather than a floating rectangle. */
.lap-foot {
  position: relative; z-index: 1; height: 11px; width: 58%; margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#E7E9EE, #C6CAD3);
  border: 1px solid var(--line); border-top: 0;
}
.ph {
  position: absolute; right: 0; bottom: 0; width: 148px;
  border: 1px solid var(--line); border-radius: 15px; overflow: hidden;
  background: #fff; box-shadow: 0 20px 44px rgba(20, 24, 33, .24);
}
.shot-phone {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 24, 33, .16); background: #fff;
}
.hero-shot { max-width: 340px; margin: 0 auto; }

/* ------------------------------------------------------------------- strip */
.strip {
  margin-top: 66px; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: var(--panel);
}
.strip ul {
  display: flex; flex-wrap: wrap; gap: 34px; list-style: none;
  margin: 0; padding: 17px 0; font-size: 13.5px; color: var(--text-2);
}
.strip li { display: flex; align-items: center; gap: 8px; }
.strip .icon { width: 16px; height: 16px; color: var(--ok); }

/* ---------------------------------------------------------------- sections */
/* **`body > section`, not `section`.** A bare element selector reaches any
   markup that happens to use the tag - and the policy pages use `<section>`
   for each clause, so every one of them inherited 82px top and bottom and the
   page read as paragraphs adrift in white space. The same shape as the `.pick`
   collision: one name, two components.   founder 2026-09-09 */
body > section { padding: 82px 0; }
.tinted { background: var(--panel); border-top: 1px solid var(--line);
          border-bottom: 1px solid var(--line); }
.head { max-width: 40rem; margin-bottom: 42px; }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-4); margin-bottom: 12px;
}
h2 {
  font-size: 33px; line-height: 1.18; letter-spacing: -.025em; margin: 0 0 14px;
  font-weight: 600; text-wrap: balance;
}
.head p { font-size: 16.5px; color: var(--text-2); margin: 0; }

/* ----------------------------------------------------------------- problem */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prob { border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.prob h3 { font-size: 16px; margin: 14px 0 8px; font-weight: 600; }
.prob p { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.prob .chip {
  width: 34px; height: 34px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: var(--soon-bg); color: var(--soon);
}
.after {
  margin-top: 26px; padding: 20px 24px; border-radius: var(--r-l);
  background: var(--ok-bg); color: #0B5C38; font-size: 16.5px; font-weight: 500;
}

/* ------------------------------------------------------------------- split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 29px; }
.split > .copy > p { font-size: 16.5px; color: var(--text-2); margin: 0; }
.split ul { list-style: none; margin: 22px 0 0; padding: 0; }
.split li {
  display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px;
  font-size: 15.5px; color: var(--text-2);
}
.split li .icon { color: var(--ok); flex: none; margin-top: 3px; }
.split li b { color: var(--text); font-weight: 500; }

/* ----------------------------------------------------------------- modules */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mod { border: 1px solid var(--line); border-radius: var(--r-l); padding: 17px 18px; }
.mod-top { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.mod b { font-size: 15px; font-weight: 600; }
.mod p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.mchip {
  width: 32px; height: 32px; border-radius: var(--r); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.mchip .icon { width: 17px; height: 17px; }
.fam {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-4); margin: 30px 0 12px;
}
.fam:first-of-type { margin-top: 0; }

/* ----------------------------------------------------------------- screens */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 760px; }
.screens { display: grid; gap: 40px; margin-top: 46px; }
.screenshot {
  border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; box-shadow: 0 10px 30px rgba(20, 24, 33, .07);
}
.cap { font-size: 14.5px; color: var(--text-3); margin-top: 13px; }
.cap b { color: var(--text); font-weight: 500; }

/* ------------------------------------------------------------------- trust */
.trust { background: var(--ink); color: #E9ECF2; }
.trust h2 { color: #fff; }
.trust .head p { color: #A9B2C2; }
.trust .kicker { color: #7F8AA0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.tline {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .11);
}
.tline .icon { color: #4ED08D; flex: none; margin-top: 2px; }
.tline b { display: block; font-weight: 600; margin-bottom: 3px; color: #fff; font-size: 15px; }
.tline span { font-size: 14px; color: #A9B2C2; line-height: 1.55; }

/* ----------------------------------------------------------------- pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; }
.price.pick {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-bg); position: relative;
}
.tag {
  position: absolute; top: -11px; left: 26px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.price h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.price .who { font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.rupee { display: flex; align-items: baseline; gap: 4px; margin-bottom: 5px; }
.rupee b { font-size: 38px; font-weight: 600; letter-spacing: -.03em; }
.rupee span { font-size: 14px; color: var(--text-3); }
.count { font-size: 13.5px; color: var(--brand); font-weight: 500; }
.price ul {
  list-style: none; margin: 18px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line-2);
}
.price li {
  display: flex; gap: 9px; font-size: 14px; color: var(--text-2);
  margin-bottom: 10px; align-items: flex-start;
}
.price li .icon { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }
.price li b { color: var(--text); font-weight: 500; }
.trial { margin-top: 26px; text-align: center; font-size: 15.5px; color: var(--text-2); }
.trial b { color: var(--text); font-weight: 600; }

/* -------------------------------------------------------------------- form */
.signup { background: var(--panel); border-top: 1px solid var(--line); }
.form-card {
  max-width: 620px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 34px;
}
.form-card h2 { font-size: 26px; text-align: center; }
.form-card > p { text-align: center; color: var(--text-2); margin: 0 0 26px; }
.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: 13px; font-weight: 500; color: var(--text-2);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%; height: 46px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: var(--r); font: inherit;
  font-size: 15px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-bg);
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-card .btn { width: 100%; margin-top: 8px; }
.fineprint { font-size: 12.5px; color: var(--text-3); text-align: center; margin: 14px 0 0; }
.said {
  margin: 0 0 20px; padding: 13px 16px; border-radius: var(--r-l);
  background: var(--ok-bg); color: #0B5C38; font-size: 15px; font-weight: 500;
}
.wrong {
  margin: 0 0 20px; padding: 13px 16px; border-radius: var(--r-l);
  background: #FBEBE9; color: #93291E; font-size: 15px; font-weight: 500;
}

/* ------------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 54px; font-size: 14px; }
.foot { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--text-2); }
.foot .small { color: var(--text-4); font-size: 13px; margin-top: 14px; max-width: 34em; }

/* ------------------------------------------------------------------- phone
 *
 * One breakpoint, because there is one thing to say: everything becomes a
 * single column. The controls are already 42-50px, which is the app's own
 * rule for something a thumb lands on.   00-common 6
 */
@media (max-width: 900px) {
  .hero-grid, .split, .trust-grid { grid-template-columns: 1fr; gap: 38px; }
  .three, .mods, .prices, .screens, .phones { grid-template-columns: 1fr; }
  .rig { padding: 0 42px 42px 0; }
  .ph { width: 104px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  nav { display: none; }
  section { padding: 56px 0; }
  .hero { padding-top: 46px; }
  .btn, .btn.big { height: 48px; }
}

/* The module colours, copied from tokens.css so this page can draw the same
   chips without loading the app's whole stylesheet. A test fails if the two
   ever disagree - test_the_public_site.py.   founder 2026-09-08 */
:root {
  --m-website: #215E7D;  --m-website-chip: #CFEFFF;
  --m-gallery: #7D217D;  --m-gallery-chip: #FFCFFF;
  --m-enquiries: #7D7C21;  --m-enquiries-chip: #FFFFCF;
  --m-listings: #217D40;  --m-listings-chip: #CFFFDF;
  --m-calendar: #21217D;  --m-calendar-chip: #CFCFFF;
  --m-todo: #7D2140;  --m-todo-chip: #FFCFDF;
  --m-sales: #517D21;  --m-sales-chip: #E8FFCF;
  --m-expenses: #217D7D;  --m-expenses-chip: #CFFFFF;
  --m-employees: #5E217D;  --m-employees-chip: #EFCFFF;
  --m-attendance: #7D6421;  --m-attendance-chip: #FFF2CF;
  --m-salary: #217D21;  --m-salary-chip: #CFFFCF;
  --m-clients: #21407D;  --m-clients-chip: #CFDFFF;
  --m-contacts: #7D215E;  --m-contacts-chip: #FFCFEF;
  --m-membership: #687D21;  --m-membership-chip: #F4FFCF;
  --m-vendors: #217D65;  --m-vendors-chip: #CFFFF2;
  --m-assets: #40217D;  --m-assets-chip: #DFCFFF;
  --m-renewals: #7D3D21;  --m-renewals-chip: #FFDDCF;
  --m-users: #485F3F;  --m-users-chip: #E3EFDF;
}
.mchip.m-website { background: var(--m-website-chip); color: var(--m-website); }
.mchip.m-gallery { background: var(--m-gallery-chip); color: var(--m-gallery); }
.mchip.m-enquiries { background: var(--m-enquiries-chip); color: var(--m-enquiries); }
.mchip.m-listings { background: var(--m-listings-chip); color: var(--m-listings); }
.mchip.m-calendar { background: var(--m-calendar-chip); color: var(--m-calendar); }
.mchip.m-todo { background: var(--m-todo-chip); color: var(--m-todo); }
.mchip.m-sales { background: var(--m-sales-chip); color: var(--m-sales); }
.mchip.m-expenses { background: var(--m-expenses-chip); color: var(--m-expenses); }
.mchip.m-employees { background: var(--m-employees-chip); color: var(--m-employees); }
.mchip.m-attendance { background: var(--m-attendance-chip); color: var(--m-attendance); }
.mchip.m-salary { background: var(--m-salary-chip); color: var(--m-salary); }
.mchip.m-clients { background: var(--m-clients-chip); color: var(--m-clients); }
.mchip.m-contacts { background: var(--m-contacts-chip); color: var(--m-contacts); }
.mchip.m-membership { background: var(--m-membership-chip); color: var(--m-membership); }
.mchip.m-vendors { background: var(--m-vendors-chip); color: var(--m-vendors); }
.mchip.m-assets { background: var(--m-assets-chip); color: var(--m-assets); }
.mchip.m-renewals { background: var(--m-renewals-chip); color: var(--m-renewals); }
.mchip.m-users { background: var(--m-users-chip); color: var(--m-users); }

/* ------------------------------------------------------------- a policy page
 *
 * Privacy, terms, refunds, contact and the data promise. One measure, one
 * rhythm: these are read once, carefully, by somebody deciding whether to
 * trust us - so they get a comfortable line length and nothing else on the
 * page competing for the eye.   docs/PLAN-public-site.md batch 2
 */
.paper { padding: 62px 0 84px; }
.paper .wrap { max-width: 720px; }
.paper h1 { font-size: 38px; line-height: 1.15; letter-spacing: -.03em;
            margin: 0 0 12px; font-weight: 600; text-wrap: balance; }
.paper .lede { font-size: 17px; color: var(--text-2); margin: 0 0 8px; }
.clause { padding: 26px 0 0; }
.clause h2 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; font-weight: 600; }
.clause p { margin: 0 0 12px; color: var(--text-2); font-size: 15.5px;
            line-height: 1.65; max-width: 40em; }
.clause p:last-child { margin-bottom: 0; }
.paper-back { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line);
              font-size: 15px; }

/* The way into the whole promise from the section that summarises it. */
.trust-more { margin: 30px 0 0; font-size: 15.5px; }
.trust-more a { color: #7FC7FF; }
.trust-more a:hover { color: #fff; }
