/* tryvia.shop – Developed by Nikhil Padwal */
:root {
  --ink: #22172E; --ink-2: #3A2A4B; --paper: #FBFAFD; --mist: #EFEAF5; --line: #E2DBEC;
  --muted: #6D6179; --accent: #D6246E; --accent-deep: #B01A59; --tape: #F6D46B; --tape-ink: #3A2A12;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251,250,253,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -.02em; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 12px; border: 0;
  background: var(--ink); color: #fff !important; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink-2); }
.btn.accent { background: var(--accent); }
.btn.accent:hover { background: var(--accent-deep); }
.btn.small { padding: 10px 14px; font-size: 14px; }
.btn[aria-disabled="true"] { background: var(--mist); color: var(--muted) !important; cursor: default; }

/* hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; }
.lede { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta .note { font-size: 14px; color: var(--muted); }
.stores { margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 44ch; }

/* hero demo: a fitting-room window over a product */
.demo { position: relative; aspect-ratio: 5 / 5.2; }
.demo .product { position: absolute; left: 0; top: 6%; width: 62%; height: 88%; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.demo .product .pic { height: 70%; background: #F3EFE9; position: relative; }
.demo .product .pic::before { content: ""; position: absolute; inset: 12% 10% 6%; background: #E86A3A;
  clip-path: polygon(33% 6%, 43% 2%, 50% 11%, 57% 2%, 67% 6%, 92% 26%, 80% 40%, 70% 32%, 70% 98%, 30% 98%, 30% 32%, 20% 40%, 8% 26%); }
.demo .product .pic::after { content: ""; position: absolute; left: 44%; right: 44%; top: 15%; height: 16%; background: #C9532A;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%); }
.demo .product .meta { padding: 14px 16px; font-size: 13px; }
.demo .product .meta b { display: block; font-size: 14px; }
.demo .badge { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: 8px; padding: 5px 9px 4px; font: 700 11px/1 var(--body); box-shadow: 0 4px 14px rgba(34,23,46,.18); border-bottom: 2px solid var(--accent); }
.demo .room { position: absolute; right: 0; top: 0; width: 56%; height: 100%; border-radius: 18px; background: #fff; box-shadow: 0 30px 70px rgba(34,23,46,.25), 0 0 0 1px rgba(34,23,46,.08); overflow: hidden; display: flex; flex-direction: column; }
.room .bar { height: 40px; display: grid; place-items: center; font: 700 12.5px/1 var(--body); border-bottom: 1px solid var(--mist); }
.room .bar i { color: var(--accent); font-style: normal; }
.room .screen { flex: 1; margin: 8px; border-radius: 12px; position: relative; overflow: hidden; background: #2B2034; }
.room .screen .person { position: absolute; left: 50%; bottom: 0; width: 70%; height: 86%; transform: translateX(-50%); }
.room .screen .person::before { content: ""; position: absolute; left: 34%; right: 34%; top: 0; height: 30%; border-radius: 50%; background: #C98A6B; }
.room .screen .person::after { content: ""; position: absolute; left: 6%; right: 6%; top: 34%; bottom: 0; border-radius: 40% 40% 0 0; background: var(--shirt, #5B6B8C); transition: background .9s ease; }
.room .screen .live { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font: 700 11px/1 var(--body); padding: 5px 9px; border-radius: 99px; }
.room .screen .live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #FF3B5C; }
.room .foot { padding: 8px; }
.room .foot span { display: block; text-align: center; padding: 11px; border-radius: 10px; background: var(--accent); color: #fff; font: 700 12.5px/1 var(--body); }
.demo.dressed .room .screen .person { --shirt: #E86A3A; }

/* the measuring tape */
.tape { height: 44px; background: var(--tape); position: relative; overflow: hidden; border-block: 1px solid #E2BD4F; }
.tape::before { content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--tape-ink) 0 1px, transparent 1px 40px) 0 0 / 100% 100%,
    repeating-linear-gradient(90deg, var(--tape-ink) 0 1px, transparent 1px 20px) 0 0 / 100% 45%,
    repeating-linear-gradient(90deg, var(--tape-ink) 0 1px, transparent 1px 10px) 0 0 / 100% 25%;
  background-repeat: no-repeat; opacity: .8; }
.tape span { position: absolute; bottom: 5px; font: 700 11px/1 var(--body); color: var(--tape-ink); transform: translateX(4px); }

/* sections */
section { padding: 88px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 28px; } }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font: 800 44px/1 var(--display); color: var(--accent); margin-bottom: 12px; }
.steps h3 { font-size: 23px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

.modes { background: var(--ink); color: #fff; }
.modes .sec-head p { color: #C9BDD6; }
.mode-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .mode-grid { grid-template-columns: 1fr; } }
.mode { border-radius: 20px; padding: 28px; background: #2E2140; }
.mode.big { background: var(--accent); }
.mode h3 { font-size: 28px; margin-bottom: 10px; }
.mode p { margin: 0; color: #E9E2F1; }
.mode.big p { color: #FFE6F0; }
.mode small { display: block; margin-top: 18px; font-size: 14px; opacity: .85; }

.pricing .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .pricing .plans { grid-template-columns: 1fr; } }
.pricing h3 { font-size: 24px; margin-bottom: 4px; }
.pricing .sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list b { font: 700 18px/1.2 var(--display); }
.price-list span { color: var(--muted); font-size: 15px; }
.price-list .amt { font: 800 22px/1 var(--display); color: var(--ink); white-space: nowrap; }
.price-list .amt small { font: 500 13px var(--body); color: var(--muted); }
.fine { margin-top: 28px; color: var(--muted); font-size: 14.5px; max-width: 70ch; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 19px/1.35 var(--display); letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }

.closing { text-align: left; }
.closing .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; border-top: 3px solid var(--ink); padding-top: 36px; }
.closing h2 { max-width: 14ch; }

footer { background: var(--mist); padding: 44px 0; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* legal pages */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin: 0 0 36px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { max-width: 70ch; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .box { background: var(--mist); border-radius: 14px; padding: 18px 22px; margin: 24px 0; }
.fill { background: #FFF1B8; outline: 2px dashed #C9A200; padding: 0 4px; border-radius: 4px; }
