/* Plant Hub public website: home and contact. Builds on app.css (colours, fonts, buttons, fields).
   Dark ink and hi-vis plate yellow, like the plant the product is for; fleet-number lettering for headings. */

.site { background: var(--paper); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--plate); color: var(--ink); padding: 8px 12px; border-radius: 4px; font-weight: 600; }
.skip:focus { left: 8px; }

/* buttons only the website uses */
.btn-plate { background: var(--plate); color: var(--ink); }
.btn-plate:hover { background: #ffc61a; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1.05rem; }

/* ---------------------------------------------------------------- header and footer */

.site-head { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-head-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-cond); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; }
.site-brand:hover { color: #fff; }
.site-brand img { display: block; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: #c9d1d4; text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-signin { min-height: 40px; }
@media (max-width: 760px) {
  .site-head-inner { gap: 12px; }
  .site-nav { display: none; }
  .site-signin { margin-left: auto; }
}

.site-foot { background: var(--ink); color: #b9c3c7; padding: 36px 0; }
.site-foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.site-foot p { margin: 10px 0 0; }
.site-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot-links a { color: #dbe2e4; }

/* ---------------------------------------------------------------- hero */

.hero { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
/* hazard stripe along the bottom edge, like the chevrons on plant */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--plate) 0 14px, var(--ink) 14px 28px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: var(--plate); margin: 0 0 14px; }
.eyebrow.dark { color: var(--amber-ink); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.02; font-weight: 700; letter-spacing: -.005em; margin: 0 0 20px; }
.lede { font-size: 1.15rem; line-height: 1.6; color: #d5dcdf; max-width: 36em; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; color: #c9d1d4; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 9px; height: 9px; background: var(--green); flex-shrink: 0; }

/* the visual: a sticker and the check-in page on a phone, drawn in HTML */
.hero-visual { position: relative; min-height: 470px; }
.phone { position: absolute; right: 0; top: 0; width: 270px; padding: 10px; border-radius: 34px; background: #0b1013; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 2px #2b363c; }
.phone-screen { border-radius: 26px; overflow: hidden; background: #fff; color: var(--ink); font-size: 12px; }
.mock-plate { background: var(--plate); padding: 16px 16px 14px; }
.mock-owner { font-weight: 600; font-size: 11px; }
.mock-ref { font-family: var(--font-cond); font-weight: 700; font-size: 38px; line-height: 1; margin-top: 6px; }
.mock-desc { font-weight: 500; }
.mock-body { padding: 12px 14px 16px; }
.mock-q { font-weight: 700; margin: 10px 0 6px; }
.mock-q:first-child { margin-top: 2px; }
.mock-select { display: flex; justify-content: space-between; border: 2px solid var(--field-border); border-radius: 6px; padding: 7px 9px; font-weight: 500; }
.mock-check { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.mock-check b { font-size: 11px; padding: 3px 8px; border-radius: 4px; border: 2px solid; }
.mock-check .r-pass { color: var(--green); background: var(--green-wash); border-color: var(--green); }
.mock-check .r-fail { color: var(--red); background: var(--red-wash); border-color: var(--red); }
.mock-fail { margin-top: 8px; padding: 8px; border-radius: 6px; background: var(--red-wash); color: var(--red); font-weight: 600; font-size: 11px; line-height: 1.35; }
.mock-submit { margin-top: 12px; text-align: center; background: var(--blue); color: #fff; font-weight: 600; border-radius: 6px; padding: 10px; }
.sticker { position: absolute; left: 0; bottom: 6px; width: 200px; background: var(--plate); color: var(--ink); border-radius: 10px; padding: 12px; transform: rotate(-6deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); z-index: 2; }
.sticker-top { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.sticker-qr { background: #fff; border-radius: 6px; padding: 4px; }
.sticker-qr svg { display: block; width: 100%; height: auto; }
.sticker-ref { font-family: var(--font-cond); font-weight: 700; font-size: 34px; line-height: 1; margin-top: 8px; text-align: center; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; }
  .hero-visual { min-height: 440px; max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 440px) {
  .phone { width: 240px; }
  .sticker { width: 160px; }
}

/* ---------------------------------------------------------------- sections */

.band { padding: 80px 0; }
.band-alt { background: var(--page); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.08; max-width: 22em; margin: 0 0 36px; }
@media (max-width: 760px) { .band { padding: 56px 0; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 4px solid var(--ink); padding-top: 18px; }
.step-no { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--plate); -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 10px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 8px; }
.steps p { color: var(--ink-2); line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { width: 34px; height: 34px; padding: 6px; border-radius: 8px; background: var(--ink); color: var(--plate); margin-bottom: 14px; }
.feature-stop .ico { background: var(--red); color: #fff; }
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.split p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.65; max-width: 36em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.ticks { list-style: none; margin: 0; padding: 22px 24px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.ticks li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 500; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 3px; background: var(--plate);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat; }

.faq-wrap details { max-width: 860px; }
.faq-wrap details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq-wrap summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: "+"; font-family: var(--font-cond); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--ink-2); }
.faq-wrap details[open] summary::after { content: "\2212"; }
.faq-wrap details p { padding: 0 20px 16px; margin: 0; color: var(--ink-2); line-height: 1.6; }

.cta-band { background: var(--plate); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin: 0; }

/* ---------------------------------------------------------------- contact */

.page-hero { background: var(--ink); color: #fff; padding: 56px 0 48px; position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--plate) 0 12px, var(--ink) 12px 24px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 700; margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 12px; }
.next-steps { padding-left: 1.2rem; margin: 0; color: var(--ink-2); line-height: 1.6; }
.next-steps li { margin-bottom: 8px; }
.big-link { font-weight: 600; font-size: 1.15rem; }
.contact-form { padding: 28px; margin: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; gap: 14px; align-items: flex-start; }
.sent .sign { width: 18px; height: 18px; margin-top: 8px; }
.sent h2 { font-size: 1.6rem; margin-bottom: 6px; }

/* ---------------------------------------------------------------- sign in */

.login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.login-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px 48px 48px; background: var(--ink); color: #fff; }
.login-side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--plate) 0 14px, var(--ink) 14px 28px); }
.login-tagline { font-family: var(--font-cond); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; max-width: 13em; margin: 0; }
.login-back { color: #c9d1d4; font-weight: 500; }
.login-back::before { content: "\2190  "; }
.login-back:hover { color: #fff; }
.login-main { display: grid; place-items: center; padding: 40px 24px; background: var(--page); }
.login-card { width: 100%; max-width: 400px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.login-card h1 { font-size: 1.9rem; margin-bottom: 20px; }
.login-submit { width: 100%; }
@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; min-height: 0; }
  .login-side { padding: 20px 20px 34px; gap: 16px; }
  .login-side-copy, .login-back { display: none; }
  .login-main { padding: 28px 16px 48px; place-items: start center; }
}
