/* TeeSee public landing page (Views/Home/Landing.cshtml). Separate from site.css so
   the app's styles and the marketing page can change without affecting each other. */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

:root {
    --ink: #1c1530;          /* the app's sidebar colour */
    --ink-2: #2a2142;
    --violet: #7b2ff7;       /* brand accent */
    --violet-deep: #5f1fd0;
    --violet-on-dark: #b58cff;
    --lilac: #e4d8ff;
    --paper: #f7f5fb;
    --white: #ffffff;
    --text: #241c3b;
    --muted: #5e5674;
    --line: #e2dcef;
    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.lp {
    margin: 0;
    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

.lp img { max-width: 100%; height: auto; display: block; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 3px solid var(--violet-on-dark); outline-offset: 3px; border-radius: 4px; }
.lp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--ink); padding: .6rem 1rem; z-index: 50; }
.lp-skip:focus { left: 1rem; top: 1rem; }

.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lp-narrow { max-width: 820px; }

/* Headlines: condensed and heavy, the way shirt lettering is set. */
.lp h1, .lp h2 {
    font-stretch: 68%;
    font-weight: 820;
    line-height: .98;
    letter-spacing: -.01em;
    margin: 0;
    text-wrap: balance;
}
.lp h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
.lp h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.lp h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin: 0 0 .35rem; }
.lp p { margin: 0 0 1rem; max-width: 64ch; }
.lp-small { font-size: .92rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: .8rem 1.5rem;
    background: var(--violet); color: var(--white) !important;
    font-weight: 700; font-size: 1.05rem; text-decoration: none;
    border-radius: 999px;
    transition: background-color .15s ease;
}
.lp-btn:hover { background: var(--violet-deep); }
.lp-btn-small { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.lp-btn-quiet { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.lp-btn-quiet:hover { background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(28, 21, 48, .94);
    backdrop-filter: blur(8px);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-header-row { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.lp-nav { display: flex; gap: 1.6rem; margin-right: auto; }
.lp-nav a, .lp-signin { text-decoration: none; color: #d6cdea; font-size: .97rem; }
.lp-nav a:hover, .lp-signin:hover { color: var(--white); }
.lp-account { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.lp-signin { font-weight: 600; color: var(--white); }

/* ---------- Hero ---------- */
.lp-hero { background: var(--ink); color: var(--white); padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp .lp-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #ddd5ee; margin-top: 1.5rem; max-width: 34em; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1rem; }
.lp-hero .lp-small { color: #a99fc2; }

/* The memorable bit: one idea, its print file and its ad photo, laid out like proofs on a bench. */
.lp-hero-art { position: relative; margin: 0; min-height: 560px; }
.lp-photo {
    position: absolute; right: 0; top: 0;
    width: 74%;
    border-radius: 6px; overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.lp-print {
    position: absolute; left: 0; bottom: 0;
    width: 52%;
    padding: 6%;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #ece8f3 25%, transparent 25%, transparent 75%, #ece8f3 75%),
        linear-gradient(45deg, #ece8f3 25%, transparent 25%, transparent 75%, #ece8f3 75%);
    background-size: 22px 22px;
    background-position: 0 0, 11px 11px;
    border-radius: 6px;
    transform: rotate(-4deg);
    box-shadow: 0 24px 50px -18px rgba(0,0,0,.65);
    z-index: 2;
}
.lp-idea {
    position: absolute; left: 2%; top: 4%;
    width: 46%;
    background: var(--lilac); color: var(--ink);
    padding: 1rem 1.1rem 1.1rem;
    border-radius: 6px;
    transform: rotate(2deg);
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
    z-index: 3;
}
.lp-idea p { margin: 0; font-size: 1rem; line-height: 1.45; }
.lp-idea-label { display: block; font-size: .8rem; font-weight: 700; color: var(--violet-deep); margin-bottom: .25rem; }
.lp-tag {
    position: absolute; left: .75rem; bottom: .75rem;
    background: var(--ink); color: var(--white);
    font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px;
}
.lp-print .lp-tag { left: auto; right: .6rem; bottom: .6rem; }
.lp-photo .lp-tag { left: auto; right: .75rem; bottom: auto; top: .75rem; }

/* One page-load moment: the proofs land on the bench in order. */
@media (prefers-reduced-motion: no-preference) {
    .lp-photo { animation: lp-land .7s cubic-bezier(.2,.7,.2,1) both; }
    .lp-print { animation: lp-land-print .7s .35s cubic-bezier(.2,.7,.2,1) both; }
    .lp-idea  { animation: lp-land-idea .7s .6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes lp-land       { from { opacity: 0; transform: translateY(18px); } }
@keyframes lp-land-print { from { opacity: 0; transform: translateY(24px) rotate(-9deg); } }
@keyframes lp-land-idea  { from { opacity: 0; transform: translateY(-16px) rotate(6deg); } }

/* ---------- Sections ---------- */
.lp-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.lp .lp-section-lead { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; }

/* Steps: a real sequence, so numbered. */
.lp-steps {
    list-style: none; margin: 3rem 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem;
    counter-reset: step;
}
.lp-steps li { counter-increment: step; }
.lp-steps h3::before {
    content: counter(step);
    display: block;
    font-stretch: 68%; font-weight: 820; font-size: 2.6rem; line-height: 1;
    color: var(--violet); margin: 0 0 .35rem;
}
.lp-steps p { color: var(--muted); font-size: 1rem; }
.lp-step-pic {
    aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; margin-bottom: 1.25rem;
    background: var(--white); border: 1px solid var(--line);
}
.lp-step-pic img { width: 100%; height: 100%; object-fit: cover; }
.lp-step-prompt { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.25rem; background: var(--white); }
.lp-fake-btn { align-self: flex-end; background: var(--violet); color: var(--white); font-weight: 700; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; }
.lp-step-prompt p {
    margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--text);
    border-left: 3px solid var(--violet); padding-left: .85rem;
}
.lp-step-prompt p::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--violet); margin-left: 2px; vertical-align: -3px; }
.lp-checker img { object-fit: contain; padding: 10%; }
.lp-checker {
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #efecf5 25%, transparent 25%, transparent 75%, #efecf5 75%),
        linear-gradient(45deg, #efecf5 25%, transparent 25%, transparent 75%, #efecf5 75%);
    background-size: 20px 20px; background-position: 0 0, 10px 10px;
}
.lp-printify {
    margin-top: 3rem; padding: 1.75rem 2rem;
    border-radius: 6px; background: var(--white); border: 1px solid var(--line);
    border-left: 6px solid var(--violet);
}
.lp-printify p { margin: 0; color: var(--muted); }

/* Gallery: each design on the shirt colour it suits, like a printer's colour swatches. */
.lp-gallery { background: var(--white); }
.lp-swatches {
    list-style: none; margin: 3rem 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.25rem;
}
.lp-swatch {
    background: var(--shirt); aspect-ratio: 1; border-radius: 6px; padding: 9%;
    box-shadow: inset 0 0 0 1px rgba(36,28,59,.08);
}
.lp-swatch img { width: 100%; height: 100%; object-fit: contain; }
.lp-swatches span { display: block; margin-top: .5rem; font-size: .88rem; color: var(--muted); }

/* Dark band: mockups and photos. */
.lp-dark { background: var(--ink); color: var(--white); }
.lp-dark p { color: #d2c9e6; }
.lp-mockups-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp .lp-mockups-copy p { margin-top: 1.25rem; }
.lp-tall { margin: 2rem 0 0; max-width: 360px; }
.lp-tall img { border-radius: 6px; }
.lp-tall figcaption { font-size: .88rem; color: #a99fc2; margin-top: .5rem; }
.lp-mockups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.lp-mockups img { border-radius: 6px; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Tools: a plain list with icons. */
.lp-tools {
    list-style: none; margin: 2.5rem 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3.5rem;
}
.lp-tools li { display: flex; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.lp-tools svg { width: 26px; height: 26px; flex-shrink: 0; fill: var(--violet); margin-top: .1rem; }
.lp-tools p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Pricing */
.lp-pricing { background: var(--white); }
.lp-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lp-pricing-grid h2 + p { margin-top: 1.25rem; }
.lp-costs { margin: 1.5rem 0; display: grid; gap: .1rem; max-width: 26rem; }
.lp-costs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.lp-costs dt { font-weight: 600; }
.lp-costs dd { margin: 0; color: var(--muted); }
.lp-packs { background: var(--paper); border-radius: 6px; padding: 1.75rem 2rem; }
.lp-packs table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.lp-packs th, .lp-packs td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.lp-packs thead th { font-size: .85rem; color: var(--muted); font-weight: 600; padding-top: 0; }
.lp-packs td:last-child, .lp-packs th:last-child { text-align: right; }
.lp-packs tbody td:last-child { font-weight: 700; font-size: 1.1rem; }
.lp-badge { display: inline-block; margin-left: .4rem; font-size: .75rem; font-weight: 600; color: var(--violet-deep); background: var(--lilac); padding: .1rem .5rem; border-radius: 999px; vertical-align: 2px; }

/* FAQ */
.lp-faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary {
    cursor: pointer; list-style: none;
    padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
    font-weight: 650; font-size: 1.12rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: ""; position: absolute; right: .4rem; top: 50%;
    width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet);
    transform: rotate(45deg); transition: transform .15s ease;
}
.lp-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-faq details p { color: var(--muted); padding-bottom: .5rem; }

/* Final call to action */
.lp-final { background: var(--violet); color: var(--white); padding: clamp(4rem, 9vw, 6.5rem) 0; text-align: center; }
.lp-final h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 14em; margin: 0 auto 2rem; }
.lp-final .lp-btn { background: var(--ink); }
.lp-final .lp-btn:hover { background: #0f0a1c; }
.lp-final .lp-small { color: #e8dcff; margin: 1.25rem auto 0; }
.lp-final .lp-small a { color: var(--white); font-weight: 600; }

/* Footer */
.lp-footer { background: var(--ink); color: #b9b0cf; padding: 2rem 0; font-size: .92rem; }
.lp-footer-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.lp-footer .lp-brand { color: var(--white); font-size: 1.05rem; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-right: auto; }
.lp-footer a { text-decoration: none; }
.lp-footer nav a:hover { color: var(--white); }
.lp-footer p { margin: 0; }

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
    .lp-nav { display: none; }
    .lp-hero-grid { grid-template-columns: 1fr; }
    .lp-hero-art { min-height: 0; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; margin: 0 auto; }
    .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
    .lp-swatches { grid-template-columns: repeat(3, 1fr); }
    .lp-mockups-grid, .lp-pricing-grid { grid-template-columns: 1fr; }
    .lp-tall { display: none; }
}
@media (max-width: 600px) {
    body.lp { font-size: 1rem; }
    .lp-header-row { gap: 1rem; min-height: 60px; }
    .lp-brand span { font-size: 1.1rem; }
    .lp-account { gap: .9rem; }
    .lp-btn-small { padding: .45rem .9rem; font-size: .9rem; min-height: 40px; }
    .lp-cta-row .lp-btn { width: 100%; }
    .lp-idea { width: 58%; padding: .75rem .85rem; }
    .lp-idea p { font-size: .9rem; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-step-pic { aspect-ratio: 4 / 3; }
    .lp-step-prompt { aspect-ratio: auto; }
    .lp-swatches { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .lp-mockups { gap: .6rem; }
    .lp-tools { grid-template-columns: 1fr; }
    .lp-packs { padding: 1.25rem 1.25rem; }
    .lp-printify { padding: 1.25rem 1.25rem; }
}
@media (max-width: 380px) {
    .lp-brand span { display: none; }
}

/* "Coming soon": the packs box before prices are announced */
.lp-packs-soon p { margin: .5rem 0 1.25rem; color: var(--muted); }

/* Privacy and Terms (Views/Home, _PublicLayout) */
.lp-doc { background: var(--white); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.lp-doc-wrap { max-width: 780px; }
.lp-doc h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: .75rem; }
.lp-doc h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.5rem 0 .75rem; }
.lp-doc h3 { margin-top: 1.5rem; }
.lp-doc p, .lp-doc li { max-width: 68ch; }
.lp-doc ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.lp-doc li { margin-bottom: .4rem; }
.lp-doc a { color: var(--violet-deep); }
.lp-doc-meta { color: var(--muted); font-size: .95rem; }
.lp-doc-summary { background: var(--paper); border-left: 5px solid var(--violet); border-radius: 6px; padding: 1.25rem 1.5rem; margin: 1.75rem 0 1rem; }
.lp-doc-summary ul { margin: .5rem 0 0; }
.lp-doc table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.25rem; font-size: .95rem; }
.lp-doc th, .lp-doc td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.lp-doc thead th { font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .lp-doc table, .lp-doc thead, .lp-doc tbody, .lp-doc tr, .lp-doc th, .lp-doc td { display: block; } .lp-doc thead { display: none; } .lp-doc td { border: 0; padding: .1rem 0; } .lp-doc tr { border-bottom: 1px solid var(--line); padding: .6rem 0; } }
