/* mangalvivah.in: one stylesheet for the platform (home, design page, editor, my invitations).
   The invitation pages themselves use their own template CSS in /w/. Mobile first. */

:root {
  --night: #14070d;
  --wine: #2b0b17;
  --plum: #431327;
  --sindoor: #d13a4b;
  --marigold: #f3a63b;
  --gold: #e6c47e;
  --gold-2: #c9984a;
  --gold-3: #9c6c2a;
  --ivory: #fbf3e6;
  --ink: #fbf3e6;
  --muted: rgba(251, 243, 230, .68);
  --faint: rgba(251, 243, 230, .44);
  --emerald: #0f4d44;
  --glass: rgba(255, 236, 214, .065);
  --glass-2: rgba(255, 236, 214, .11);
  --glass-3: rgba(255, 236, 214, .16);
  --line: rgba(255, 222, 180, .16);
  --line-2: rgba(255, 222, 180, .28);
  --gold-grad: linear-gradient(135deg, #f8e2a8 0%, #e2b866 38%, #c08a3c 70%, #f2d590 100%);
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 30px 60px -28px rgba(0, 0, 0, .75), 0 10px 24px -12px rgba(0, 0, 0, .45);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --label: "Marcellus", "Cormorant Garamond", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: 16px;
  --safe-b: env(safe-area-inset-bottom);
}
@media (min-width: 720px) { :root { --pad: 28px; } }
@media (min-width: 1100px) { :root { --pad: 44px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--night); color: var(--ink);
  font: 400 16px/1.55 var(--body); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.deva { font-family: var(--deva); }

/* ---------- the living background: three slow glows, a jaali lattice and grain ---------- */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, #3a0f20 0%, transparent 60%),
    linear-gradient(180deg, #1a0910 0%, #12060b 60%, #0e0509 100%); }
/* static soft glows: no blur filter and no animation, so scrolling never repaints them */
.aura i { position: absolute; border-radius: 50%; opacity: .5; }
.aura i:nth-child(1) { width: 70vmax; height: 70vmax; left: -24vmax; top: -22vmax; background: radial-gradient(circle, rgba(140, 31, 51, .9), transparent 62%); }
.aura i:nth-child(2) { width: 60vmax; height: 60vmax; right: -26vmax; top: 14vh; background: radial-gradient(circle, rgba(184, 105, 28, .7), transparent 60%); opacity: .35; }
.aura i:nth-child(3) { width: 66vmax; height: 66vmax; left: 6vw; bottom: -36vmax; background: radial-gradient(circle, rgba(15, 80, 69, .9), transparent 62%); opacity: .4; }
.aura::before { content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23f3d9a4' stroke-width='.8'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Cpath d='M28 19v18M19 28h18'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); }
.aura::after { content: ""; position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.08); } }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 240, 222, .1), rgba(255, 236, 214, .035) 60%);
  border: 1px solid var(--line);
  background-color: rgba(38, 12, 22, .55);
  box-shadow: inset 0 1px 0 rgba(255, 245, 230, .14), var(--shadow);
  border-radius: var(--r);
}

/* ---------- type helpers ---------- */
.eyebrow { font: 400 12px/1.3 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-grad); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font: 600 clamp(32px, 7.4vw, 56px)/1.02 var(--display); letter-spacing: -.01em; }
.h2 em { font-style: italic; font-weight: 500; }
.lead { color: var(--muted); font-size: 16px; max-width: 34em; }
.rule { display: flex; align-items: center; gap: 12px; color: var(--gold-2); font-size: 10px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- buttons ---------- */
.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 15px/1 var(--body); letter-spacing: .01em; color: var(--ivory);
  background: var(--glass-2); border: 1px solid var(--line-2);
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s var(--ease);
}
.btn:hover { background: var(--glass-3); border-color: rgba(255, 222, 180, .45); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold {
  color: #2a0d12; border: 0; background: var(--gold-grad); background-size: 180% 180%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(120, 70, 10, .35), 0 12px 28px -10px rgba(226, 170, 80, .55);
}
.btn--gold:hover { background: var(--gold-grad); background-size: 180% 180%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 34px -10px rgba(226, 170, 80, .7); }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 10px; z-index: 50; margin: 10px var(--pad) 0; height: 60px; padding: 0 10px 0 14px;
  display: flex; align-items: center; gap: 14px; border-radius: 999px;
  background: rgba(30, 10, 18, .88); border: 1px solid var(--line);   /* nearly solid: page text scrolling under the bar must not read through it */
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 245, 230, .12), 0 18px 40px -22px rgba(0, 0, 0, .8);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand__word { font: 600 22px/1 var(--display); letter-spacing: .01em; }
.brand__word em { font-style: italic; font-weight: 500; color: var(--gold); }
.brand__word small { font: 400 13px/1 var(--label); color: var(--faint); margin-left: 1px; }
.top__nav { display: none; gap: 4px; margin-left: auto; }
.top__nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s; }
.top__nav a:hover { color: var(--ivory); background: var(--glass); }
.top__cta { margin-left: auto; }
@media (min-width: 880px) { .top__nav { display: flex; } .top__cta { margin-left: 6px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 26px var(--pad) 10px; display: grid; gap: 26px; max-width: 1360px; margin: 0 auto; }
.hero__copy { display: grid; gap: 18px; align-content: start; }
.hero h1 { font: 600 clamp(44px, 12.5vw, 96px)/.94 var(--display); letter-spacing: -.02em; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero h1 .deva { display: block; font-size: .36em; line-height: 1.6; color: var(--gold); letter-spacing: 0; font-weight: 400; margin-bottom: 4px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__ctas .btn { flex: 1 1 auto; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.proof div { padding: 12px 12px 11px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line); }
.proof b { display: block; font: 600 28px/1 var(--display); }
.proof span { font-size: 12.5px; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--ivory); cursor: pointer;
  transition: background .25s, border-color .25s;
}
.chip:hover { background: var(--glass-2); border-color: var(--line-2); }
.chip .deva { color: var(--gold); font-size: 14px; }
.chip b { font-weight: 500; color: var(--faint); font-size: 12.5px; }
.chip[aria-pressed="true"] { background: var(--gold-grad); color: #2a0d12; border-color: transparent; }
.chip[aria-pressed="true"] .deva, .chip[aria-pressed="true"] b { color: #5a2a10; }

/* phone frame (design page) */
.phone {
  position: absolute; width: 214px; aspect-ratio: 9 / 18.6; border-radius: 34px; padding: 7px;
  background: linear-gradient(145deg, #3a2a22, #0d0806 40%, #2a1d16); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 220, 170, .18);
}
.phone::after { content: ""; position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 64px; height: 18px; border-radius: 12px; background: #050304; z-index: 2; }
.phone > img, .phone > iframe { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; border: 0; background: #1b0d10; }
@media (min-width: 1000px) {
  .hero { padding-top: 44px; }
  .hero__copy { max-width: 980px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .proof { max-width: 640px; }
}

/* ---------- marquee ribbon ---------- */
.ribbon { position: relative; margin: 26px 0 0; padding: 14px 0; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(209, 58, 75, .14), rgba(243, 166, 59, .1), rgba(15, 77, 68, .16)); }
.ribbon__track { display: flex; gap: 26px; width: max-content; animation: marquee 48s linear infinite; }
.ribbon span { display: inline-flex; align-items: center; gap: 26px; font: 500 22px/1 var(--display); font-style: italic; white-space: nowrap; }
.ribbon span .deva { font-style: normal; font-size: 17px; color: var(--gold); }
.ribbon span::after { content: "◆"; font-size: 9px; color: var(--gold-2); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section frame ---------- */
.sec { max-width: 1360px; margin: 0 auto; padding: 56px var(--pad) 8px; }
.sec__head { display: grid; gap: 12px; margin-bottom: 22px; }
@media (min-width: 900px) { .sec__head { grid-template-columns: 1fr auto; align-items: end; } .sec__head .lead { justify-self: end; text-align: right; max-width: 30em; } }

/* ---------- designs: filter + grid ---------- */
.filter { position: sticky; top: 78px; z-index: 30; margin: 0 calc(-1 * var(--pad)) 16px; padding: 10px var(--pad);
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(180deg, rgba(20, 7, 13, .9), rgba(20, 7, 13, .6)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-block: 1px solid var(--line); }
.filter::-webkit-scrollbar { display: none; }
.occ-block { margin-bottom: 30px; scroll-margin-top: 140px; }
.occ-block[hidden] { display: none; }
.occ-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.occ-head h3 { font: 600 30px/1.05 var(--display); }
.occ-head .deva { color: var(--gold); font-size: 18px; }
.occ-head p { flex-basis: 100%; color: var(--muted); font-size: 14.5px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none;
  background: linear-gradient(170deg, rgba(255, 240, 222, .09), rgba(255, 236, 214, .03)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .9); }
.card__shot { position: relative; aspect-ratio: 9 / 15.5; overflow: hidden; background: #1c0d11; }
.card__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card__shot img + img { opacity: 0; }
.card:hover .card__shot img + img, .card.flip .card__shot img + img { opacity: 1; }
.card:hover .card__shot img { transform: scale(1.03); }
.card__shot::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(16, 5, 10, .92)); pointer-events: none; }
.card__tags { position: absolute; z-index: 2; top: 9px; left: 9px; right: 9px; display: flex; justify-content: space-between; gap: 6px; }
.tag { padding: 5px 9px; border-radius: 999px; font: 600 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(20, 7, 13, .72); border: 1px solid rgba(255, 222, 180, .22); }
.tag--gold { background: var(--gold-grad); color: #2a0d12; border: 0; }
.card__over { position: absolute; z-index: 2; left: 11px; right: 11px; bottom: 10px; }
.card__name { font: 600 21px/1.05 var(--display); }
.card__name .deva { display: block; font-size: 13px; color: var(--gold); font-weight: 400; margin-top: 3px; }
.card__body { padding: 10px 11px 12px; display: grid; gap: 8px; flex: 1; align-content: space-between; }
.card__for { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dots { display: flex; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #1c0b10; margin-right: -4px; }
.price { font: 600 13.5px/1 var(--body); color: var(--gold); }
.price small { color: var(--faint); font-weight: 400; font-size: 11.5px; }
.card__gesture { display: none; font-size: 12.5px; color: var(--muted); font-style: italic; font-family: var(--display); font-size: 15px; line-height: 1.3; }
@media (min-width: 720px) { .card__gesture { display: block; } }

/* ---------- how + plans ---------- */
.split { display: grid; gap: 14px; }
@media (min-width: 1000px) { .split { grid-template-columns: .9fr 1.4fr; gap: 18px; } }
.steps { padding: 22px; display: grid; gap: 4px; align-content: start; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border: 0; }
.step b { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 600 22px/1 var(--display); color: #2a0d12; background: var(--gold-grad); }
.step h4 { font: 600 22px/1.1 var(--display); margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }
.plans { display: grid; gap: 12px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }   /* 2 or 3 plans, no holes */
.plan { position: relative; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.plan--hot { background: linear-gradient(165deg, rgba(243, 166, 59, .2), rgba(209, 58, 75, .12) 50%, rgba(255, 236, 214, .04)); border-color: rgba(243, 196, 120, .45); }
.plan__badge { position: absolute; top: -11px; right: 18px; }
.plan h3 { font: 600 26px/1.05 var(--display); }
.plan h3 small { display: block; font: 400 12px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.plan__price { font: 600 46px/1 var(--display); }
.plan__price small { font: 400 14px/1 var(--body); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--gold); font-weight: 600; }
.plan li.no { opacity: .5; } .plan li.no::before { content: "–"; }

/* ---------- bento (what every invitation does) ---------- */
.bento { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; min-height: 170px; }
.tile h4 { font: 600 22px/1.05 var(--display); }
.tile p { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.tile--wide { grid-column: span 2; }
.tile__k { font: 400 11px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); } .tile--tall { grid-row: span 2; } }
.wa { margin-top: auto; border-radius: 14px; padding: 8px; background: #0b1a17; border: 1px solid rgba(120, 200, 170, .15); }
.wa__bubble { margin-left: auto; max-width: 290px; border-radius: 12px 4px 12px 12px; overflow: hidden; background: #054d40; font-size: 13px; }
.wa__bubble img { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; }
.wa__bubble div { padding: 8px 10px; }
.wa__bubble b { display: block; font-size: 13.5px; }
.wa__bubble span { color: rgba(255, 255, 255, .7); font-size: 12px; }
.wa__bubble u { display: block; text-decoration: none; color: #7fd8ff; font-size: 12.5px; padding: 0 10px 8px; }
.count-demo { display: flex; gap: 6px; margin-top: auto; }
.count-demo span { flex: 1; text-align: center; padding: 10px 0 8px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.count-demo b { display: block; font: 600 26px/1 var(--display); color: var(--ivory); letter-spacing: 0; }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: auto; }
.eq i { flex: 1; border-radius: 3px; background: var(--gold-grad); animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2n) { animation-delay: -.4s; } .eq i:nth-child(3n) { animation-delay: -.8s; }
@keyframes eq { from { height: 16%; } to { height: 100%; } }
.to-demo { margin-top: auto; padding: 12px 14px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line); font: italic 500 20px/1.2 var(--display); }
.to-demo small { display: block; font: 400 11.5px/1.4 var(--body); color: var(--faint); font-style: normal; margin-bottom: 4px; word-break: break-all; }
.mini-shots { display: flex; gap: 8px; margin-top: auto; }
.mini-shots img { flex: 1; min-width: 0; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- custom (contact us) + faq ---------- */
.custom { display: grid; gap: 14px; }
@media (min-width: 1000px) { .custom { grid-template-columns: 1.1fr 1fr; gap: 18px; } }
.form { padding: 22px; display: grid; gap: 12px; }
.form h3 { font: 600 32px/1.05 var(--display); }
.form .lead { font-size: 15px; }
/* your two names, typed once (home and design pages) */
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px 12px; align-items: end; margin: 0 0 18px; padding: 16px; border-radius: 22px; }
.pair__say { grid-column: 1 / -1; margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.pair__say b { color: var(--ivory); font-weight: 500; }
.pair__amp { align-self: end; padding-bottom: 13px; font: italic 400 22px/1 var(--display, serif); color: var(--gold); }
.pair .field { min-width: 0; }
.pair--dp { width: min(330px, 86vw); margin: 14px auto 0; padding: 0; }
@media (min-width: 760px) { .pair:not(.pair--dp) { grid-template-columns: 1.6fr 1fr auto 1fr; align-items: center; }
  .pair:not(.pair--dp) .pair__say { grid-column: auto; } .pair:not(.pair--dp) .pair__amp { align-self: center; padding: 18px 0 0; } }
.fields2 { display: grid; gap: 12px; }
@media (min-width: 560px) { .fields2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font: 400 11.5px/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 14px; font-size: 16px;
  background: rgba(10, 3, 6, .38); border: 1px solid var(--line); color: var(--ivory); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #2b0b17; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(230, 196, 126, .7); background: rgba(10, 3, 6, .5); box-shadow: 0 0 0 4px rgba(230, 196, 126, .12); }
::placeholder { color: var(--faint); }
.form__ok { padding: 14px; border-radius: 14px; background: rgba(15, 77, 68, .4); border: 1px solid rgba(120, 200, 170, .3); }
.side { display: grid; gap: 14px; align-content: start; }
.perks { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.perks div { font-size: 13.5px; color: var(--muted); }
.perks b { display: block; color: var(--ivory); font: 600 19px/1.15 var(--display); margin-bottom: 2px; }
.faq { padding: 6px 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative; font: 600 19px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font: 400 24px/1 var(--body); color: var(--gold); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- footer ---------- */
.foot { margin-top: 64px; padding: 40px var(--pad) calc(28px + var(--safe-b)); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); }
.foot__grid { max-width: 1360px; margin: 0 auto; display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.foot__brand { grid-column: span 2; display: grid; gap: 12px; }
.foot__brand p { color: var(--muted); font-size: 14.5px; max-width: 30em; }
.foot__hi { font-family: var(--deva); color: var(--gold) !important; }
.foot h4 { font: 400 12px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.foot__grid a:not(.brand) { display: block; text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 5px 0; }
.foot__grid a:hover { color: var(--ivory); }
.foot__grid a { overflow-wrap: anywhere; }
.foot__pay { font-size: 12.5px; color: var(--faint); margin-top: 8px; }
.foot__legal { max-width: 1360px; margin: 28px auto 0; font-size: 12.5px; color: var(--faint); }
.foot__legal b { color: var(--muted); font-weight: 600; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } .foot__brand { grid-column: auto; } }

/* ---------- design page ---------- */
.dp { max-width: 1360px; margin: 0 auto; padding: 22px var(--pad) 0; display: grid; gap: 22px; }
.crumbs { font-size: 13.5px; color: var(--faint); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.dp__stage { position: relative; display: grid; place-items: center; padding: 18px 0 8px; border-radius: 28px; overflow: hidden; }
.dp__stage .phone { position: relative; width: min(330px, 86vw); inset: auto; translate: none; rotate: none; filter: none; }
.dp__stage .phone > iframe { background: #fff; }
.dp__hint { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.dp__info { display: grid; gap: 16px; align-content: start; }
.dp h1 { font: 600 clamp(44px, 11vw, 76px)/.95 var(--display); }
.dp h1 .deva { display: block; font-size: .34em; color: var(--gold); font-weight: 400; margin-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { padding: 14px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line); font-size: 14px; }
.fact span { display: block; font: 400 11px/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.fact--wide { grid-column: span 2; }
.fact .dots i { width: 22px; height: 22px; margin-right: -5px; }
.dp__plans { display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.pick b { font: 600 22px/1.1 var(--display); }
.pick em { font: 600 26px/1 var(--display); font-style: normal; color: var(--gold); grid-row: span 2; align-self: center; }
.pick span { font-size: 13.5px; color: var(--muted); }
.dp__cta { position: sticky; bottom: 0; z-index: 20; margin: 0 calc(-1 * var(--pad)); padding: 12px var(--pad) calc(12px + var(--safe-b));
  background: linear-gradient(180deg, transparent, rgba(16, 5, 10, .92) 30%); display: grid; gap: 8px; }
/* wedding-first home: a short hero whose one action is the names, a single row of filters, a short first shelf */
.hero--wed { padding-top: 14px; gap: 0; }
.hero--wed .hero__copy { gap: 14px; }
.hero--wed h1 { font-size: clamp(38px, 10.6vw, 84px); line-height: .98; }
.hero--wed .lead { font-size: 15.5px; line-height: 1.5; }
.pair--hero { margin: 4px 0 0; padding: 14px; }
.pair--hero .pair__say { font-size: 14px; }
.hero__go { min-height: 54px; }
.hero__price { margin: -2px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.hero__price b { color: var(--gold); font-weight: 600; }
@media (min-width: 900px) { .hero--wed .hero__copy { max-width: 640px; } .hero__price { text-align: left; } .hero__go { width: auto; justify-self: start; padding-inline: 34px; } }
.sec--tight { padding-top: 38px; }
.sec--tight .sec__head { gap: 6px; margin-bottom: 14px; }
.sec--tight .h2 { font-size: clamp(30px, 8vw, 48px); }
.sec--first { padding-top: 18px; }
.pick-row { display: flex; gap: 8px; margin: 0 calc(-1 * var(--pad)) 16px; padding: 2px var(--pad); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pick-row::-webkit-scrollbar { display: none; }
.pick-row .chip { flex: none; min-height: 40px; }
.shelf__more { margin-top: 20px; }
.shelf__more[hidden] { display: none; }
/* a shelf that scrolls sideways: a handful of designs in one row (.shelf's own columns come later in this file, so
   these rules name both classes to win) */
.shelf.shelf--row { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); }
.shelf--row::-webkit-scrollbar { display: none; }
.shelf--row .lux { scroll-snap-align: start; }
@media (min-width: 720px) { .shelf.shelf--row { grid-template-columns: none; grid-auto-columns: 24%; } }
@media (min-width: 1100px) { .shelf.shelf--row { grid-template-columns: none; grid-auto-columns: 19%; } }
/* "not a wedding?" and its mirror on /occasions: one card, one action */
.else { display: grid; gap: 14px; padding: 20px; border-radius: 22px; text-decoration: none; color: var(--ivory); }
.else h3 { font: 600 26px/1.1 var(--display); margin: 6px 0 4px; }
.else p { color: var(--muted); font-size: 14.5px; }
.else .btn { justify-self: start; }
@media (min-width: 760px) { .else { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; } }
/* design grades: Royal and Premium chips, and the grade price table in Plans */
.grade { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font: 500 10.5px/1 var(--label); letter-spacing: .16em; text-transform: uppercase;
  vertical-align: middle; color: #2a1408; background: linear-gradient(135deg, #f3dca0, #c9973e); }
.grade--premium { color: var(--ivory); background: rgba(255, 255, 255, .12); border: 1px solid rgba(230, 196, 126, .55); }
.grade--normal { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.lux__grade { position: absolute; top: 10px; right: 10px; }
.lux__week { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.plan__grades { display: block; }
.grades { width: 100%; border-collapse: collapse; font-size: 15px; }
.grades th, .grades td { padding: 9px 4px; text-align: right; border-bottom: 1px solid var(--line); font-weight: 400; }
.grades thead th { font: 400 10.5px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.grades th:first-child { text-align: left; } .grades th small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.grades td { font-variant-numeric: tabular-nums; color: var(--ivory); }
.grades__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
/* the card set: live cards, each drawn at its own size and scaled into its tile */
.cardset { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; align-items: start; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.cardset::-webkit-scrollbar { display: none; }
.cardset__one { display: grid; gap: 10px; text-decoration: none; color: var(--ivory); font-size: 14.5px; }
.cardset__one iframe { width: 100%; height: auto; border: 0; border-radius: 16px; pointer-events: none; background: rgba(10, 3, 6, .4); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); }
@media (min-width: 720px) { .cardset { grid-auto-columns: 24%; } }
.more-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.more-strip::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .more-strip { grid-auto-columns: 22%; } }
@media (min-width: 1000px) {
  .dp { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 34px; }
  .crumbs { grid-column: span 2; }
  .dp__stage { position: sticky; top: 90px; align-self: start; }
  .dp__cta { position: static; margin: 0; padding: 0; background: none; }
}

/* ---------- my invitations ---------- */
.mine { display: grid; gap: 12px; }
@media (min-width: 720px) { .mine { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mine { grid-template-columns: repeat(3, 1fr); } }
.mine__item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; }
.mine__item img { width: 96px; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; border-radius: 12px; }
.mine__item h3 { font: 600 22px/1.1 var(--display); }
.mine__item p { font-size: 13.5px; color: var(--muted); margin: 4px 0 10px; word-break: break-all; }
.mine__item .row { display: flex; gap: 8px; flex-wrap: wrap; }
.empty { padding: 34px 22px; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); translate: -50% 20px; z-index: 200; opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; font-size: 14px; max-width: calc(100vw - 32px); text-align: center;
  background: rgba(30, 10, 18, .88); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: opacity .35s var(--ease), translate .45s var(--ease); }
.toast.on { opacity: 1; translate: -50% 0; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- fixes after the first look ---------- */
html { overflow-x: clip; }
body { font-variant-numeric: lining-nums; }

/* odd counts never leave a hole: the first design of an occasion becomes a wide feature card (phone + tablet) */
@media (max-width: 1099px) {
  .grid > .card:first-child:nth-last-child(odd) { grid-column: span 2; flex-direction: row; }
  .grid > .card:first-child:nth-last-child(odd) .card__shot { flex: 0 0 48%; aspect-ratio: 9 / 14; }
  .grid > .card:first-child:nth-last-child(odd) .card__body { padding: 16px 14px; align-content: center; gap: 12px; }
  .grid > .card:first-child:nth-last-child(odd) .card__gesture { display: block; font-size: 19px; color: var(--ivory); }
  .grid > .card:first-child:nth-last-child(odd) .card__go { display: inline-flex; }
}
.card__go { display: none; justify-self: start; }
.proof b, .plan__price, .count-demo b, .pick em, .pp em { font-family: var(--body); font-weight: 600; letter-spacing: -.03em; }
.proof b { font-size: 26px; } .plan__price { font-size: 40px; } .pick em, .pp em { font-size: 22px; }

/* ---------- launch offer: banner, prices, % off ---------- */
.offer { margin: 10px var(--pad) 0; position: relative; z-index: 40; }
.offer__in {
  max-width: 1360px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 10px 16px; border-radius: 18px; text-align: center; font-size: 14px; line-height: 1.35; position: relative; overflow: hidden;
  background: linear-gradient(100deg, rgba(209, 58, 75, .55), rgba(150, 30, 50, .45) 40%, rgba(243, 166, 59, .38));
  border: 1px solid rgba(255, 210, 160, .35); box-shadow: inset 0 1px 0 rgba(255, 240, 220, .25), 0 14px 30px -18px rgba(209, 58, 75, .7);
}
.offer__in::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 240, 210, .2), transparent); transform: translateX(-120%);
  animation: offerSheen 6s ease-in-out infinite; will-change: transform; }
@keyframes offerSheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(300%); } }
.offer__k { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 7, 13, .45);
  font: 400 11px/1.2 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.offer__k i { font-style: normal; }
.offer__msg { color: var(--ivory); }
.offer__msg > b { color: #fff; font-weight: 700; }
.offer__msg em { font-style: normal; font-weight: 700; color: #ffe2a8; }
.offer__sep { color: rgba(255, 230, 200, .55); margin: 0 2px; }
.offer__go { font-weight: 700; text-decoration: none; color: #2a0d12; background: var(--gold-grad); padding: 6px 12px; border-radius: 999px; white-space: nowrap; font-size: 13px; }
@media (max-width: 640px) { .offer__in { font-size: 13px; padding: 9px 12px; } .offer__go { display: none; } }

.pr { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.pr s { color: var(--faint); font-weight: 400; font-size: .86em; text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 140, 140, .75); }
.pr b { color: var(--ivory); font-weight: 700; }
.pr--card { font: 600 14.5px/1 var(--body); }
.pr--card b { color: var(--gold); }
.pr--big { font: 600 40px/1 var(--body); letter-spacing: -.03em; }
.pr--big s { font-size: 18px; letter-spacing: 0; }
.pr--big b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr--pick { font: 600 22px/1 var(--body); letter-spacing: -.02em; }
.pr--pick s { font-size: 14px; }
.offer .pr { font-weight: 700; } .offer .pr s { color: rgba(255, 235, 215, .7); } .offer .pr b { color: #fff; }
.offtag { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 8px; font: 800 11px/1 var(--body); letter-spacing: .06em;
  color: #fff; background: linear-gradient(135deg, #e0475a, #b8223a); box-shadow: 0 6px 14px -6px rgba(209, 58, 75, .8), inset 0 1px 0 rgba(255, 255, 255, .3); white-space: nowrap; }
.offtag--sm { padding: 4px 7px; font-size: 10px; }
.card__tags .offtag { font-size: 12px; padding: 6px 9px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 48px; }
.plan__price .offtag { font-size: 12px; }
.plan__from { font: 400 13px/1 var(--body); color: var(--muted); }
[data-tier-box] [data-tier-show] { display: none; }
[data-tier-box][data-tier-on="wedding"] [data-tier-show="wedding"],
[data-tier-box][data-tier-on="celebration"] [data-tier-show="celebration"] { display: flex; }
.tiers { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.tiers::-webkit-scrollbar { display: none; }
.pick b .offtag { margin-left: 6px; vertical-align: 3px; }
.dp__note { text-align: center; font-size: 12.5px; color: var(--muted); }
.dp__note s { color: var(--faint); }

/* ---------- the collection: quiet, luxurious cards ---------- */
.occ-block { margin-bottom: 38px; content-visibility: auto; contain-intrinsic-size: auto 1200px; }
.occ-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line); }
.occ-head h3 { font: 600 28px/1.05 var(--display); }
.occ-head h3 .deva { font: 400 16px var(--deva); color: var(--gold); margin-left: 6px; }
.occ-head__n { font-size: 12.5px; color: var(--faint); white-space: nowrap; letter-spacing: .02em; }

/* every design of an occasion, running down the page: two across on phones, three on tablets, five on desktop */
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 720px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; } }
@media (min-width: 1100px) { .shelf { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lux[hidden] { display: none; }
/* style chips inside a large occasion */
.styles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip--sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
/* the occasion chips: all in view on a wide screen, a swipeable row on a phone */
@media (min-width: 900px) { .filter { flex-wrap: wrap; overflow: visible; } }

.lux { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.lux__shot { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #1c0d11;
  box-shadow: 0 0 0 1px rgba(255, 222, 180, .14), 0 24px 40px -26px rgba(0, 0, 0, .95);
  transform: translateZ(0); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.lux__shot > img, .lux__shot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lux__shot > video { opacity: 0; transition: opacity .5s; }
.lux__shot > video.on { opacity: 1; }
.lux__alt { opacity: 0; transition: opacity .7s var(--ease); }
@media (hover: hover) {
  .lux:hover .lux__shot { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(230, 196, 126, .5), 0 30px 50px -26px #000; }
  .lux:hover .lux__alt { opacity: 1; }
}
.lux__off { position: absolute; top: 10px; left: 10px; font-size: 11px; padding: 5px 8px; }
.lux__body { padding: 12px 2px 0; display: grid; gap: 4px; }
.lux__name { font: 600 21px/1.1 var(--display); }
.lux__name .deva { font: 400 13px var(--deva); color: var(--gold); margin-left: 7px; }
.lux__for { font-size: 13px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lux .pr { margin-top: 2px; }

/* ---------- logo ---------- */
.brand__mark { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.foot__logo img { width: 200px; height: auto; }

/* ---------- header account state, sign-in page ---------- */
.top__me { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.top__me[hidden] { display: none; }
.top__me:not([hidden]) + .top__cta { margin-left: 0; }
.top__me .btn { white-space: nowrap; }
.top__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 17px/1 var(--display); text-transform: uppercase; color: #2a1405; background: var(--gold-grad); }
.top__out { background: none; border: 0; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.top__out:hover { color: var(--ivory); }
@media (max-width: 520px) { .top__me--out { display: none; } .top__me--in + .top__cta { display: none; } }
.signin { max-width: 460px; margin: 0 auto; padding: 40px var(--pad) 60px; display: grid; gap: 18px; }
.signin__box { display: grid; gap: 12px; justify-items: start; }
.signin__box .input { width: 100%; }
.signin__err { color: var(--marigold); font-size: 14px; }
.signin__note { color: var(--muted); font-size: 14.5px; }

/* privacy page */
.legal { max-width: 760px; padding-bottom: 56px; }
.legal h2 { font: 600 22px/1.3 "Cormorant Garamond", serif; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: inherit; text-decoration: underline; }
.legal b { color: var(--ink, inherit); font-weight: 600; }

/* ---------- home: AI photoshoot promo ---------- */
.promo { display: grid; gap: 18px; padding: 22px; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(243, 166, 59, .16), rgba(209, 58, 75, .1) 55%, rgba(255, 236, 214, .04)); border-color: rgba(243, 196, 120, .38); }
.promo__copy { display: grid; gap: 14px; align-content: center; justify-items: start; }
.promo__pics { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.promo__pics img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.promo__pics img:nth-child(2) { translate: 0 -10px; }
.promo__pics small { grid-column: 1 / -1; font-size: 11.5px; color: var(--faint); text-align: right; }
@media (min-width: 900px) { .promo { grid-template-columns: 1.1fr 1fr; padding: 32px; } }

/* bottom sheets over a page (sign in to pay, the payment's mobile number) */
.signin-sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.signin-sheet__back { position: absolute; inset: 0; background: rgba(10, 3, 6, .6); }
.signin-sheet__card { position: relative; width: min(480px, 100%); padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; }
.signin-sheet__x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--glass-2); color: var(--ivory); font-size: 22px; cursor: pointer; }
@media (min-width: 640px) { .signin-sheet { align-items: center; } .signin-sheet__card { border-radius: 26px; } }
.pay-sheet__lead { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.pay-sheet .field { margin-bottom: 12px; }
.pay-sheet__err { color: var(--marigold); font-size: 13.5px; margin: -4px 0 12px; }

/* links to the pages named after an occasion or function: chips that wrap, not a strip that scrolls */
.linkrow { display: flex; flex-wrap: wrap; gap: 8px; }
.linkrow .chip { text-decoration: none; min-height: 40px; }
.fact a { color: inherit; }

/* wording library and feature pages (guide.html): words in a box with a Copy button; the hashtag tool */
.guide { max-width: 820px; display: grid; gap: 22px; }
.guide .legal { max-width: none; padding-bottom: 0; }
.guide__sec { display: grid; gap: 12px; }
.guide__sec h2 { margin: 10px 0 0; }
.copy { margin: 0; padding: 14px 16px 16px; border-radius: 18px; }
.copy figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .04em; color: var(--gold); margin-bottom: 10px; }
.copy blockquote { margin: 0; white-space: pre-line; font-size: 16px; line-height: 1.7; color: var(--ivory); overflow-wrap: anywhere; }
.tagtool { padding: 18px; border-radius: 22px; display: grid; gap: 14px; }
.tagtool__out { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.tagtool__hint { color: var(--muted); font-size: 14.5px; }
.crumbs__lang { margin-left: auto; color: var(--gold); }
/* Devanagari stands taller than Latin: headings set for English lines collide in Hindi */
html[lang="hi"] .h2, html[lang="hi"] h1, html[lang="hi"] .legal h2, html[lang="hi"] .faq summary, html[lang="hi"] .step h4 { line-height: 1.4; }
html[lang="hi"] main h1.h2 { font-size: clamp(26px, 6.4vw, 44px); margin-top: 8px; }
