/* MOPFY — public website
   One stylesheet for every page. No frameworks, no external requests. */

/* ---------------------------------------------------------------- font */
@font-face {
    font-family: 'Jakarta';
    src: url('../fonts/texto.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
    --ink:        #0f172a;
    --ink-soft:   #475569;
    --ink-faint:  #64748b;
    --line:       #e2e8f0;
    --line-soft:  #f1f5f9;
    --paper:      #ffffff;
    --paper-2:    #f8fafc;
    --bar:        #334155;
    --bar-deep:   #1e293b;
    --brand:      #f36d21;
    --brand-deep: #d95c15;
    --ok:         #16a34a;

    --radius:     14px;
    --radius-lg:  22px;
    --shadow:     0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -18px rgba(15, 23, 42, .35);
    --shadow-lg:  0 24px 70px -30px rgba(15, 23, 42, .55);
    --wrap:       1140px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Jakarta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--brand-deep);
    margin: 0 0 .8em;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.muted { color: var(--ink-faint); }

.skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--bar); color: #fff; padding: 10px 16px; z-index: 50;
}
.skip:focus { left: 12px; top: 12px; }

/* -------------------------------------------------------------- header */
.site-head {
    position: sticky; top: 0; z-index: 30;
    background: var(--bar-deep);
    color: #fff;
}

.site-head .wrap {
    display: flex; align-items: center; gap: 22px;
    min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand span { font-weight: 800; letter-spacing: -.01em; color: #fff; font-size: 1.15rem; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
    color: #cbd5e1; padding: 9px 13px; border-radius: 9px;
    font-size: .95rem; font-weight: 600; text-decoration: none;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .09); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .13); }

.nav .btn-nav {
    background: var(--brand); color: #fff; margin-left: 8px;
}
.nav .btn-nav:hover { background: var(--brand-deep); color: #fff; }

/* -------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border-radius: 11px; border: 1px solid transparent;
    font-weight: 700; font-size: .98rem; cursor: pointer;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; color: #e2e8f0; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #cbd5e1; }

/* ---------------------------------------------------------------- hero */
.hero {
    background: linear-gradient(180deg, var(--bar-deep) 0%, var(--bar) 62%, var(--bar) 100%);
    color: #fff;
    padding: clamp(48px, 8vw, 92px) 0 0;
    overflow: hidden;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #cbd5e1; font-size: 1.15rem; max-width: 56ch; }
.hero .eyebrow { color: #fdba74; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin-top: 20px; font-size: .9rem; color: #94a3b8; }
.hero-shot { margin-top: clamp(34px, 5vw, 56px); }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 64ch; margin-bottom: 38px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.card-icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    background: #fff4ec; color: var(--brand-deep);
    font-weight: 800; font-size: 1rem;
    margin-bottom: 14px;
}

.split { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    color: var(--ink-soft);
}
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .45em;
    width: 18px; height: 18px; border-radius: 50%;
    background: #dcfce7;
    box-shadow: inset 0 0 0 2px var(--ok);
}

/* ----------------------------------------------------- product mockup */
.shot {
    border-radius: var(--radius-lg);
    background: var(--bar-deep);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    color: #e2e8f0;
}
.shot-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--bar-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.shot-bar img { height: 16px; }
.shot-chip {
    margin-left: auto;
    background: rgba(255, 255, 255, .1);
    border-radius: 8px; padding: 4px 10px; font-weight: 600;
}
.shot-avatar {
    width: 22px; height: 22px; border-radius: 7px;
    background: rgba(255, 255, 255, .16);
    display: grid; place-items: center; font-weight: 700; font-size: 10px;
}
.shot-body { display: grid; grid-template-columns: 132px 1fr; background: var(--bar); }
.shot-side { padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.shot-side span {
    padding: 7px 10px; border-radius: 8px; color: #cbd5e1; font-weight: 600;
}
.shot-side .on { background: rgba(255, 255, 255, .12); color: #fff; }
.shot-main {
    background: #eef1f5;
    border-top-left-radius: 16px;
    padding: 14px;
    color: var(--ink);
}
.shot-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.shot-month { background: var(--bar); color: #fff; border-radius: 8px; padding: 5px 12px; font-weight: 700; }
.shot-pill { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; color: var(--ink-soft); }
.shot-pill.right { margin-left: auto; }

.shot-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-bottom: 4px; }
.shot-week span {
    background: var(--bar); color: #fff; text-align: center; font-weight: 700;
    letter-spacing: .06em; padding: 5px 0; border-radius: 5px; font-size: 9px;
}
.shot-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.shot-day {
    background: #fff; border-radius: 9px; padding: 7px 7px 9px;
    min-height: 86px; display: grid; gap: 4px; align-content: start;
}
.shot-day > b { font-size: 12px; font-weight: 700; }
.shot-team {
    display: flex; align-items: center; gap: 5px;
    font-size: 8.5px; color: var(--ink-soft);
    border: 1px solid var(--line); border-radius: 5px; padding: 2px 4px;
}
.shot-team i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.shot-team.a { background: #f5f3ff; border-color: #ddd6fe; }
.shot-team.a i { background: #8b5cf6; }
.shot-team.b { background: #fff7ed; border-color: #fed7aa; }
.shot-team.b i { background: #f97316; }
.shot-team.c { background: #eff6ff; border-color: #bfdbfe; }
.shot-team.c i { background: #3b82f6; }
.shot-job {
    display: flex; align-items: center; gap: 4px;
    font-size: 8.5px; background: #fff7ed; border: 1px solid #fed7aa;
    border-radius: 5px; padding: 3px 4px; color: #7c2d12; font-weight: 600;
}
.shot-job u { text-decoration: none; background: #f97316; color: #fff; border-radius: 3px; padding: 1px 3px; }
.shot-job.done { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.shot-job.done u { background: var(--ok); }

/* list mockup */
.shot-table { background: #fff; border-radius: 10px; padding: 10px; }
.shot-row {
    display: grid; grid-template-columns: 1.4fr .8fr .7fr 1fr;
    gap: 8px; padding: 7px 4px; align-items: center;
    border-bottom: 1px solid var(--line-soft); font-size: 10px;
}
.shot-row:last-child { border-bottom: 0; }
.shot-row.head { color: var(--ink-faint); font-weight: 700; letter-spacing: .06em; font-size: 8.5px; text-transform: uppercase; }
.tag { border-radius: 999px; padding: 2px 8px; font-size: 8.5px; font-weight: 700; display: inline-block; }
.tag.on { background: #dcfce7; color: #166534; }
.tag.off { background: #fee2e2; color: #991b1b; }
.shot-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.shot-stat { background: #fff; border-radius: 10px; padding: 9px 10px; }
.shot-stat b { display: block; font-size: 17px; }
.shot-stat span { font-size: 8.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }

/* ----------------------------------------------------------- messaging */
.sms-thread {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    display: grid; gap: 12px;
}
.sms-bubble {
    background: #fff; border: 1px solid var(--line);
    border-radius: 14px 14px 14px 4px;
    padding: 12px 15px; font-size: .95rem; max-width: 34rem;
    box-shadow: var(--shadow);
}
.sms-bubble small { display: block; color: var(--ink-faint); margin-top: 6px; font-size: .78rem; }

/* --------------------------------------------------------------- prose */
.prose { max-width: 76ch; }
/* When the prose block is also the page container, keep the container width and
   cap the lines instead — otherwise the whole column drifts to the center. */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 76ch; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.page-head {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: clamp(40px, 6vw, 64px) 0;
}
.page-head h1 { max-width: 20ch; }
.page-head p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 0; }

.callout {
    border-left: 4px solid var(--brand);
    background: #fff7ed;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px;
    margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea, .field select {
    font: inherit; font-size: .98rem;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    min-height: 48px;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent;
}
.field .hint { font-size: .83rem; color: var(--ink-faint); }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.consent {
    display: grid; grid-template-columns: 22px 1fr; gap: 12px;
    align-items: start;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    font-size: .92rem; color: var(--ink-soft);
}
.consent input { width: 20px; height: 20px; margin-top: 3px; }
.consent label { font-weight: 600; color: var(--ink); }

.info-list { display: grid; gap: 14px; margin: 0; padding: 0; }
.info-list div { display: grid; gap: 2px; }
.info-list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-weight: 700; }
.info-list dd { margin: 0; font-weight: 600; }

/* -------------------------------------------------------------- footer */
.site-foot {
    background: var(--bar-deep);
    color: #cbd5e1;
    padding: clamp(42px, 6vw, 66px) 0 28px;
    font-size: .94rem;
}
.foot-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-foot h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1em; }
.site-foot a { color: #cbd5e1; }
.site-foot a:hover { color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot .brand span { font-size: 1.05rem; }
.foot-legal {
    margin-top: 34px; padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between;
    font-size: .85rem; color: #94a3b8;
}
.foot-note { max-width: 70ch; margin-top: 14px; font-size: .85rem; color: #94a3b8; }

/* --------------------------------------------------------------- small */
@media (max-width: 760px) {
    body { font-size: 16px; }
    .site-head .wrap { flex-wrap: wrap; padding-block: 10px; gap: 10px; }
    .nav { margin-left: 0; width: 100%; gap: 2px; }
    .nav a { padding: 8px 10px; font-size: .88rem; }
    .shot-body { grid-template-columns: 1fr; }
    .shot-side { display: none; }
    .shot-main { border-radius: 0; }
    .shot-grid { grid-template-columns: repeat(3, 1fr); }
    .shot-week { display: none; }
    .shot-stats { grid-template-columns: repeat(2, 1fr); }
    .shot-row { grid-template-columns: 1.3fr .8fr; }
    .shot-row span:nth-child(n+3) { display: none; }
}
