/* Techedge round 2, homepage only: the live quote, offer cards, FAQ and founder. Loaded after te.css. */
/* The live quote (a client's customer view, in its own light quote style per the brand's light mode) */
.mq { width: min(380px, 100%); background: #FAF7F0; color: #16171A; border-radius: 22px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 10px #1a1b1c, 0 0 0 11px rgba(250, 247, 240, .12); }
.mq-top { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #E5DDCD; }
.mq-top img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.mq-top b { display: block; font: 600 15px/1.3 var(--body); }
.mq-top small { font-size: 13px; color: #5E5B54; }
.mq-h { margin: 14px 0 8px; font: 500 11px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: #7A5628; }
.mq-o { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; margin-top: 8px; border: 1.5px solid #E0D7C6; border-radius: 10px; background: #fff; cursor: pointer; font-size: 16px; transition: border-color .2s, background .2s; }
.mq-o input { position: absolute; opacity: 0; pointer-events: none; }
.mq-o i { flex: none; width: 20px; height: 20px; border: 1.5px solid #B5AC9B; border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.mq-o input[type=checkbox] + i { border-radius: 5px; }
.mq-o input:checked + i { background: #7A5628; border-color: #7A5628; box-shadow: inset 0 0 0 3px #fff; }
.mq-o input[type=checkbox]:checked + i { box-shadow: none; background: #7A5628 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.mq-o:has(input:checked) { border-color: #7A5628; background: #FBF6EC; }
.mq-o input:focus-visible + i { outline: 3px solid #7A5628; outline-offset: 2px; }
.mq-o span { flex: 1; }
.mq-o b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mq-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 2px 14px; }
.mq-total span { font-size: 15px; color: #5E5B54; }
.mq-total b { font: 600 28px/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mq .btn { width: 100%; color: #16171A; box-shadow: none; }
.mq-note { margin-top: 10px; text-align: center; font-size: 13px; color: #5E5B54; }
.mq-step[hidden] { display: none; }
.mq-sign input { width: 100%; min-height: 56px; padding: 0 14px; border: 1.5px solid #E0D7C6; border-radius: 10px; background: #fff; font: 600 italic 28px/1 var(--display); color: #16171A; }
.mq-sign input:focus { outline: none; border-color: #7A5628; }
.mq-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mq-slots .mq-o { justify-content: center; margin: 0; padding: 0 8px; font-size: 15px; }
.mq-slots .mq-o i { display: none; }
.mq-done { text-align: center; padding: 18px 4px 6px; }
.mq-done .h { font-size: 34px; }
.mq-done p { margin-top: 8px; font-size: 15px; color: #5E5B54; }
.mq-bar { display: flex; gap: 6px; margin: 2px 0 4px; }
.mq-bar i { flex: 1; height: 4px; border-radius: 2px; background: #E5DDCD; transition: background .4s var(--ease); }
.mq-bar i.on { background: #7A5628; }

/* Offer cards: at most 3 per row, one-time and monthly never mixed */
.offers { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 1000px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { position: relative; display: flex; flex-direction: column; background: rgba(250, 247, 240, .05); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 28px; }
.offer.pick { border: 1.5px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
@media (min-width: 1000px) { .offer.pick { transform: translateY(-14px); } }
.offer .tag { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 6px; background: var(--gold); color: var(--onyx); font: 500 11px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; }
.offer h3 { font: 600 30px/1.1 var(--display); }
.offer .for { margin-top: 8px; color: var(--stone); font-size: 16px; min-height: 3.2em; }
.offer .price { margin: 22px 0 4px; font: 600 52px/1 var(--display); font-variant-numeric: lining-nums; }
.offer .price small { font: 400 16px/1 var(--body); color: var(--stone); }
.offer ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; font-size: 16px; }
.offer li { display: flex; gap: 10px; }
.offer li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9995A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat; }
.offer .why { margin-top: 2px; color: var(--gold-text); font-size: 15px; }
.offer .btn { margin-top: auto; width: 100%; min-height: 52px; padding: 0 16px; font-size: 16px; }
.offer:not(.pick) .btn { background: transparent; color: var(--cream); border: 1.5px solid var(--gold); box-shadow: none; }
.offer:not(.pick) .btn:hover { background: rgba(168, 120, 66, .14); }
.offer-group + .offer-group { margin-top: clamp(56px, 7vw, 88px); }
.offer-group > .eyebrow { display: block; margin-bottom: 26px; }
.terms { margin-top: 40px; display: grid; gap: 10px; color: var(--stone); font-size: 16px; max-width: 70ch; }

/* FAQ: one open at a time */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 0; cursor: pointer; list-style: none; font: 600 19px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { overflow: hidden; color: var(--stone); }
.faq details > div > p { padding: 0 0 24px; max-width: 64ch; }

/* Founder */
.founder { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1fr 1.2fr; } }
.founder blockquote { font: 600 clamp(28px, 3vw, 40px)/1.2 var(--display); }
.founder cite { display: block; margin-top: 20px; font: 500 13px/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--gold-text); }
.slot { display: grid; place-items: center; aspect-ratio: 4 / 5; border: 1px dashed rgba(201, 153, 90, .5); border-radius: var(--r-card); background: var(--charcoal); color: var(--stone); font-size: 15px; text-align: center; padding: 24px; }

/* Homepage-only section and card variants */
.bg-lines { background: repeating-linear-gradient(135deg, rgba(201, 153, 90, .06) 0 1px, transparent 1px 22px), var(--onyx); }
.bg-rise { background: linear-gradient(180deg, var(--onyx), #1B1712); }
.bg-parchment .offer.pick { border-color: var(--gold); }
.bg-parchment .offer:not(.pick) .btn, .bg-parchment .btn.ghost { color: var(--ink); }
.bg-parchment .link { color: var(--ink); }
.bg-parchment .bill { background: rgba(22, 23, 26, .05); }
.bg-parchment .bill button { color: var(--slate); }
.bg-parchment .bill button[aria-pressed=true] { color: var(--ink); }
.bg-parchment .slot { background: var(--cream); color: var(--slate); border-color: rgba(122, 86, 40, .45); }
.bg-parchment .faq details { border-color: rgba(22, 23, 26, .12); }
.bg-parchment .faq summary::after { border-color: var(--gold-deep); }
/* Cards on a jewel take a whisper of the gold so they belong to the band */
:is(.bg-midnight, .bg-evergreen, .bg-plum) :is(.tile, .offer:not(.pick), .card) { border-color: rgba(201, 153, 90, .22); }
/* Cards: see-through, so they show on any section background */
.card { background: rgba(250, 247, 240, .05); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
/* The fourth choice: a custom offer, built in a planning chat */
.custom-card { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; margin-top: 28px; padding: 24px 28px; border: 1px solid rgba(201, 153, 90, .35); border-radius: var(--r-card); background: rgba(250, 247, 240, .06); }
.custom-card svg { width: 36px; height: 36px; color: var(--gold-text); }
.custom-card h3 { font: 600 22px/1.25 var(--body); }
.custom-card p { margin-top: 4px; color: var(--stone); font-size: 16px; }
.custom-card .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) { .custom-card { grid-template-columns: auto 1fr auto; } .custom-card .btn { grid-column: auto; } }

/* "Why we built it": the line sits centered once the screen is wider than a phone */
/* Why we built it: a big gold open quote top left and a close quote bottom right frame the line (OnNae picked this, 2026-10-28) */
.pq { display: flex; justify-content: center; }
.pq-t { position: relative; max-width: 720px; }
.pq .q { position: absolute; left: 0; top: 0; font: 600 clamp(96px, 13vw, 200px)/normal var(--display); color: var(--gold); opacity: 0; user-select: none; pointer-events: none; transition: opacity .4s; }
.pq.placed .q { opacity: .75; } /* te.js measures the words' box and puts each mark the same gap from it: open mark top-left, close mark bottom-right */
@media (max-width: 599px) { .pq .q { font-size: 88px; } }

/* What your customer sees: a real phone that never changes size, showing a live demo quote.
   On a laptop the text is on the left and the phone on the right, and the whole section fits one screen. */
.try { --pad: clamp(28px, 4vh, 48px); padding-block: var(--pad); }
.try .wrap { display: grid; gap: 32px; align-items: center; }
.try-head h2 { margin-top: 18px; }
.try-more .bul { margin-top: 0; gap: 18px; }
.try-more .safe { margin-top: 28px; }
.swap { gap: 10px; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 16px; }
.swap svg { width: 20px; height: 20px; color: var(--gold-text); transition: transform .5s var(--ease); }
.swap:hover svg { transform: rotate(180deg); }
.phone { --ph: min(760px, calc(100svh - var(--head) - 2 * var(--pad)), 150vw); justify-self: center; position: relative; height: var(--ph); aspect-ratio: 410 / 864; padding: 10px; border-radius: 48px; background: #0b0b0c; box-shadow: 0 0 0 1.5px rgba(250, 247, 240, .16), 0 40px 90px -30px rgba(0, 0, 0, .85); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #0b0b0c; pointer-events: none; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 38px; background: #FAF8F4; }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; }
@media (min-width: 900px) { .try { min-height: calc(100svh - var(--head)); display: grid; align-items: center; } .try .wrap { grid-template-columns: 1fr auto; grid-template-areas: "head phone" "more phone"; align-content: center; gap: 44px clamp(40px, 6vw, 96px); } .try-head { grid-area: head; align-self: end; } .try-more { grid-area: more; align-self: start; } .phone { grid-area: phone; } }
@media (max-width: 899px) { .phone { --ph: min(680px, 78svh); } }

/* While you work: each icon moves a little on hover (the bell rings, the page flips, the star turns, the check draws) */
.tile .ic { transform-origin: 50% 20%; }
.tile .ic-cal .ck { stroke-dasharray: 12; stroke-dashoffset: 0; }
.tile .ic-check path { stroke-dasharray: 12; }
@media (prefers-reduced-motion: no-preference) {
  .tile:is(:hover, :focus-within) .ic-bell { animation: ring .9s var(--ease); }
  .tile:is(:hover, :focus-within) .ic-cal .ck { animation: tickdraw .7s var(--ease); } /* the booking gets its check */
  .tile:is(:hover, :focus-within) .ic-star { animation: twirl .9s var(--ease); }
  .tile:is(:hover, :focus-within) .ic-check path { animation: tickdraw .7s var(--ease); }
  @media (hover: none) { .tile.in .ic-bell { animation: ring .9s .4s var(--ease); } .tile.in .ic-cal .ck { animation: tickdraw .7s .5s var(--ease) backwards; } .tile.in .ic-star { animation: twirl .9s .6s var(--ease); } .tile.in .ic-check path { animation: tickdraw .7s .7s var(--ease); } }
}
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
@keyframes twirl { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(72deg) scale(1.15); } 100% { transform: rotate(144deg) scale(1); } }
@keyframes tickdraw { from { stroke-dashoffset: 12; } to { stroke-dashoffset: 0; } }
.tile .ic-star { transform-origin: 50% 54%; }

/* Offers and plans: each card's border draws itself when it comes into view, and again on hover or tap.
   Our pick is gold; the others take the brand's other colors. */
@property --draw { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.offers .offer { --edge: var(--gold); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.offers .offer::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: .75;
  background: conic-gradient(from 200deg, var(--edge) calc(var(--draw) - 108%), transparent calc(var(--draw) - 100%)), conic-gradient(from 200deg, transparent 0%, var(--edge) 16%, var(--edge) calc(var(--draw) - 8%), transparent var(--draw));
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.offers .offer.in::after { animation: edge 1.8s .2s linear forwards; }
.offers .offer.in:is(:hover, :focus-within)::after { animation: edge 1.8s .2s linear forwards, glow .9s var(--ease); }
.offers .offer:hover { box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .45); }
@keyframes edge { from { --draw: 0%; } to { --draw: 124%; } }
/* Hover: the whole finished border dims and comes back brighter, all the way around at once, so it never shows an end */
@keyframes glow { 0% { opacity: .75; } 45% { opacity: .15; } 100% { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .offers .offer::after { --draw: 124%; animation: none !important; } }
.bg-parchment .offers .offer:nth-child(1) { --edge: var(--evergreen); }
.bg-parchment .offers .offer:nth-child(3) { --edge: var(--midnight); }
.bg-plum .offers .offer:nth-child(1) { --edge: var(--stone); }
.bg-plum .offers .offer:nth-child(3) { --edge: var(--parchment); }
.offers .offer.pick { border-color: rgba(168, 120, 66, .35); }

/* The custom offer leads the offers: the one most owners should start with */
.bg-parchment .custom-card { margin: 0 0 clamp(36px, 4vw, 52px); background: var(--ink); color: var(--cream); border: 1.5px solid var(--gold); box-shadow: 0 30px 60px -34px rgba(22, 23, 26, .6); }
.bg-parchment .custom-card p { color: var(--stone); }
.bg-parchment .custom-card svg { color: var(--gold-text); }

/* Plans: the head and the monthly/yearly switch sit centered, the switch small */
.head-center .sec-head { margin-inline: auto; text-align: center; }
.head-center .bill { display: flex; width: max-content; margin: -12px auto 40px; }
@media (min-width: 1000px) { .head-center .bill { margin-bottom: 60px; } }
.bill { padding: 3px; }
.bill button { min-height: 44px; padding: 0 14px; font-size: 14px; }
.offer .price s { font: 400 24px/1 var(--body); color: var(--stone); margin-right: 6px; text-decoration-thickness: 1.5px; }
.offer .tag { z-index: 2; }
.offer .price small.per { display: block; margin-top: 10px; }
@media (max-width: 599px) { .custom-card { grid-template-columns: 1fr; } .custom-card .btn { width: 100%; } }

/* Tell people the phone is real: a small hint that leaves after their first tap */
.tap-hint { position: absolute; z-index: 3; left: 50%; top: 44%; width: 86%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--gold); color: #16171A; font: 600 17px/1.3 var(--body); white-space: nowrap; pointer-events: none; transform: translateX(-50%); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .65), 0 0 0 6px rgba(201, 153, 90, .22); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tap-hint svg { flex: none; width: 30px; height: 30px; color: #16171A; }
@media (prefers-reduced-motion: no-preference) { .tap-hint svg { animation: tap 1.8s var(--ease) infinite; } }
@keyframes tap { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px) scale(.9); } }
.phone.touched .tap-hint { opacity: 0; transform: translate(-50%, 8px); }

/* A softer parchment, so a light section doesn't glare next to the dark ones */
.bg-parchment { background: #E9E1D1; }
.bg-parchment :is(.tile, .offer, .card) { background: #F3EDE2; }
/* Soft light from a corner on the dark neutrals too, a different corner each */
.bg-coal { background: radial-gradient(110% 90% at 90% 100%, #2D302F 0%, var(--charcoal) 60%); }
.bg-onyx { background: radial-gradient(110% 90% at 10% 100%, #1A1B1B 0%, var(--onyx) 60%); }
.founder-photo { display: block; max-width: 460px; width: 100%; margin-inline: auto; }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .55); }
