* {
  -webkit-tap-highlight-color: transparent;
}

:root {
    --bg: #f2f4f7;
    --card: transparent;
    --text: #111827;
    --muted: #6b7280;
    --line: #dfe3ea;
    --focus: #4f46e5;

    --btn: #1d4ed8;
    --btn2: #2563eb;
    --danger: #ef4444;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: var(--bg);
    color: var(--text);
}

/* Top header like app */
.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.topInner {
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 14px 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    object-fit: contain;
}

.topTitle {
    font-weight: 900;
    font-size: 18px
}

.topSub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

/* Form container */
.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 12px 0
}

.sheet {
    padding: 10px 0 0
}

.row {
    margin: 12px 0
}

.lab {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 8px;
    font-weight: 700;
}

.lab.req::after {
    content: " *";
    color: var(--danger);
    font-weight: 900;
}

/* Inputs - flat app style */
.inp {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 14px;
    font-size: 16px;
    background: #fff;
    outline: none;
}

.inp:focus {
    border-color: rgba(79, 70, 229, .55);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

.ta {
    min-height: 70px;
    resize: vertical
}

.help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

/* photo */
.photoLine {
    display: flex;
    gap: 12px;
    align-items: center
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 1px dashed var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

#photoPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none
}

.avatarPlus {
    font-size: 22px;
    font-weight: 900;
    color: #c7cbd3
}

.file {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff
}

.photoRight {
    flex: 1
}

/* grid2 for city/state on desktop */
.grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px
}

@media(min-width:640px) {
    .grid2 {
        grid-template-columns: 1fr 1fr
    }
}

/* checkbox row */
.optRow {
    margin-top: 8px
}

.chk {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    cursor: pointer;
    color: var(--text);
}

.chk input {
    display: none
}

.chk .box {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 2px solid #cfd5df;
    background: #fff;
    display: inline-block;
    position: relative;
}

.chk input:checked+.box {
    border-color: var(--btn);
    background: rgba(29, 78, 216, .08);
}

.chk input:checked+.box::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--btn);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.chk .txt {
    font-weight: 700
}

/* price bar */
.priceBar {
    margin: 14px 0 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.priceTitle {
    font-weight: 900
}

.priceSub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.priceAmt {
    font-weight: 900;
    font-size: 18px
}

/* error */
.err {
    color: var(--danger);
    font-size: 13px;
    min-height: 18px;
    margin: 10px 0
}

/* terms */
.terms {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0 84px;
}

.link {
    color: var(--btn);
    font-weight: 900
}

/* sticky bottom button */
.bottomBtn {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 12px 12px 18px;
}

.bottomBtn .btn {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
    display: block;

    background: linear-gradient(180deg, var(--btn2), var(--btn));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 14px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.bottomBtn .btn:active {
    transform: translateY(1px)
}

.spacer {
    height: 90px
}