/* AMES Sales Page Remake (static)
   Timestamp: 20260127_221757GMT
   Target vibe: match AMES app screenshots (gray bg, bold blue panels, red buttons, rounded cards).
*/

:root{
  --bg: #d7d7d7;               /* light gray like app background */
  --blue: #0b4ed8;             /* strong AMES blue */
  --blue2: #0a43bd;
  --lightPanel: #dceaff;       /* light inner panel (forms look) */
  --text: #ffffff;
  --muted: rgba(255,255,255,.82);
  --muted2: rgba(255,255,255,.66);

  --red: #e11515;              /* AMES red */
  --red2: #b90f0f;

  --radius: 18px;
  --radiusSm: 12px;

  --shadow: 0 10px 22px rgba(0,0,0,.25);
  --shadowSm: 0 7px 16px rgba(0,0,0,.22);

  --max: 1280px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

a{ color:#d6e7ff; }
a:hover{ color:#ffffff; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,78,216,.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.topbar__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width: 44px; height:44px;
  border-radius: 999px;
  background: var(--red);
  display:flex; align-items:center; justify-content:center;
  font-weight: 1000;
  box-shadow: var(--shadowSm);
}
.brand__title{ font-weight: 1000; letter-spacing:.5px; }
.brand__subtitle{ font-size:12px; opacity:.86; margin-top:1px; }

.nav{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.nav__link{
  text-decoration:none;
  color: rgba(255,255,255,.88);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.nav__link:hover{ border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.10); }
.nav__link--hot{ background: rgba(225,21,21,.22); border-color: rgba(225,21,21,.35); }

.page{ padding: 18px 12px 40px; }

.section, .hero{
  max-width: var(--max);
  margin: 14px auto;
  padding: 0 16px;
}

.panel{
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero__panel{ padding: 24px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  align-items: start;
}

h1{ margin:0 0 8px; font-size: 34px; letter-spacing:.2px; }
h2{ margin:0 0 10px; font-size: 22px; }
h3{ margin:0 0 8px; font-size: 16px; }

.lead{ margin:0 0 16px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 78ch; }
p{ color: var(--muted); line-height: 1.55; }
.muted{ color: var(--muted); }

.chips{ display:flex; flex-wrap:wrap; gap: 8px; margin: 10px 0 18px; }
.chip{
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.07);
}

.cta{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 8px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 1000;
  letter-spacing:.2px;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 2px 0 rgba(0,0,0,.14);
}
.btn--primary{ background: var(--red); border-color: rgba(0,0,0,.14); color:#fff; }
.btn--primary:hover{ background: var(--red2); }
.btn--ghost{ background: rgba(255,255,255,.10); color:#fff; }
.btn--ghost:hover{ background: rgba(255,255,255,.14); }
.btn--block{ width: 100%; }

.fineprint{ font-size: 12px; color: var(--muted2); margin-top: 10px; }

.micro{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.micro__item{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  padding: 10px 12px;
  min-width: 160px;
}
.micro__k{ font-size: 12px; color: var(--muted2); font-weight: 900; }
.micro__v{ font-size: 13px; font-weight: 1000; }

.hero__mock{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadowSm);
  overflow:hidden;
  padding: 14px;
}
.mock__title{
  background: rgba(255,255,255,.08);
  padding: 12px 14px;
  font-weight: 1000;
}
.mock__body{ padding: 14px; }
.mock__row{ display:flex; gap: 8px; margin-bottom: 12px; }
.mock__pill{ height: 12px; border-radius:999px; flex: 1; background: rgba(255,255,255,.16); }
.mock__pill--red{ background: rgba(225,21,21,.75); }
.mock__box{ height: 64px; border-radius: 14px; background: rgba(220,234,255,.92); margin-bottom: 10px; }
.mock__box--small{ height: 46px; }
.mock__hint{ font-size:12px; color: rgba(255,255,255,.70); }

.grid{ display:grid; gap: 12px; margin-top: 12px; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }

.card{
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  padding: 14px;
  box-shadow: var(--shadowSm);
}
.card p{ margin: 0; color: rgba(255,255,255,.86); }

.card ul{ margin: 0; padding-left: 18px; color: rgba(255,255,255,.90); }
.card li{ margin: 6px 0; }
.steps{ margin: 0; padding-left: 18px; color: rgba(255,255,255,.90); }
.steps li{ margin: 8px 0; }

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.notice{
  margin-top: 12px;
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
  padding: 14px;
}
.notice__title{ font-weight: 1000; margin-bottom: 6px; }
.notice__body{ color: rgba(255,255,255,.90); }

.sublead{ margin-top: -4px; color: var(--muted); }

.pricing{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

.pricecard{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: 16px;
  box-shadow: var(--shadow);
}
.pricecard--alt{ background: rgba(255,255,255,.04); }

.pricecard__header{ display:flex; flex-direction:column; gap:2px; margin-bottom: 10px; }
.pricecard__title{ font-weight: 1000; }
.pricecard__price{ font-size: 34px; font-weight: 1100; }
.pricecard__meta{ font-size: 12px; color: var(--muted2); }

.pricecard__list{ margin: 0; padding-left: 18px; color: rgba(255,255,255,.92); }
.pricecard__list li{ margin: 6px 0; }

.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.buybox{
  border-radius: var(--radiusSm);
  background: rgba(220,234,255,.92);
  color: #0a1b3a;
  padding: 14px;
  box-shadow: var(--shadowSm);
}
.buybox__label{ font-weight: 1000; margin-bottom: 10px; }
.buybox a{ color:#ffffff; }
.buybox .fineprint{ color: rgba(10,27,58,.78); }

.hr{ height:1px; background: rgba(255,255,255,.16); margin: 18px 0; }

.contracts h3{ margin-top: 0; }
.doccard{
  border-radius: var(--radiusSm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  padding: 12px;
  box-shadow: var(--shadowSm);
}
.doccard__t{ font-weight: 1000; }
.doccard__s{ font-size:12px; color: var(--muted2); margin-top: 2px; }
.doccard__a{ display:inline-block; margin-top: 10px; font-weight: 900; }

.faq{ display:grid; gap: 10px; margin-top: 10px; }
.faq__item{
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  padding: 10px 12px;
  box-shadow: var(--shadowSm);
}
.faq__item summary{ cursor:pointer; font-weight: 1000; }
.faq__body{ margin-top: 8px; color: rgba(255,255,255,.90); }

.contactbar{
  margin-top: 14px;
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadowSm);
  padding: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.contactbar__k{ font-size:12px; color: var(--muted2); font-weight: 900; }
.contactbar__v{ font-weight: 1000; }

.footer{ max-width: var(--max); margin: 14px auto 0; padding: 0 0 10px; }
.footer__inner{
  color: rgba(0,0,0,.55);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  padding: 10px 6px;
}
.footer__small{ font-size:12px; opacity:.8; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .topbar__inner{ flex-direction: column; align-items:flex-start; }
  h1{ font-size: 28px; }
  .two-col{ grid-template-columns: 1fr; }
  .contactbar{ grid-template-columns: 1fr; }
}


/* --- Added in sales pass: systems mini-grid + screenshot gallery --- */
.grid--3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}
@media (max-width: 900px){
  .grid--3{ grid-template-columns:1fr; }
}
.subhead{
  margin: 8px 0 12px;
  font-size: 18px;
  opacity: .95;
}
.spacer{ height: 14px; }

.gallery{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .gallery{ grid-template-columns: 1fr; }
}
.shot{
  margin:0;
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.screen{
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 360px;
  overflow:hidden;
}
@media (max-width: 900px){
  .screen{ height: 240px; }
}
.screen img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  border-radius:10px;
  display:block;
}
.shot figcaption{
  margin-top:10px;
  font-size: 14px;
  opacity:.92;
  line-height:1.35;
}
.muted{ opacity:.90; }



/* --- Screenshot resizing fix --- */

.screen-wrap {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 16px;
}
.screen-wrap img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}
@media (max-width: 768px) {
    .screen-wrap img {
        max-height: 420px;
    }
}


/* --- Header code note --- */
.topnote{
  margin-left:auto;
  font-size:14px;
  opacity:.92;
}
.topnote a{
  color:#fff;
  text-decoration:underline;
}
@media (max-width: 900px){
  .topnote{
    width:100%;
    margin:10px 0 0;
    opacity:.95;
  }
}


/* Equal height pricing cards */
.pricecard{ display:flex; flex-direction:column; }
.split{ flex:1; }
.buybox{ margin-top:auto; }
