/* Kerala Gold Today – app website · "Kasavu & jewellery shop" design */
:root {
  --cream: #F7F0E1;
  --cream-2: #EFE4CC;
  --paper: #FFFBF2;
  --maroon: #6E1423;
  --maroon-d: #3E0A13;
  --velvet: #2A0710;
  --gold: #C8962E;
  --gold-2: #E9C46A;
  --gold-3: #F8E2A0;
  --ink: #2A160F;
  --muted: #6D5B4C;
  --up: #B3261E;
  --down: #1E7A45;
  --serif: "Noto Serif Malayalam", "Noto Sans Malayalam", serif;
  --sans: "Noto Sans Malayalam", "Manrope", system-ui, sans-serif;
  --en: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --zari: linear-gradient(90deg, #b27f1f, #f3d27a 18%, #c8962e 35%, #fbe7a6 52%, #b8862a 70%, #f0cd70 86%, #a8761c);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65;
  background-color: var(--cream);
  /* handloom weave */
  background-image:
    repeating-linear-gradient(0deg, rgba(120, 90, 40, .035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(120, 90, 40, .03) 0 1px, transparent 1px 5px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* kasavu border band */
.kasavu { height: 16px; background:
  linear-gradient(var(--maroon), var(--maroon)) 0 3px / 100% 2px no-repeat,
  linear-gradient(var(--maroon), var(--maroon)) 0 11px / 100% 2px no-repeat,
  var(--zari); }
.kasavu.thin { height: 8px; background: var(--zari); }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(247, 240, 225, .94); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--maroon); text-decoration: none; font-family: var(--en); font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 6px rgba(60, 20, 0, .25); }
.brand span { color: var(--gold); }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; opacity: .8; }
.top nav a:hover { opacity: 1; color: var(--maroon); }
.top::after { content: ""; display: block; height: 6px; background: var(--zari); }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; padding-top: 54px; padding-bottom: 50px; }
.over { font-family: var(--en); font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; }
.over::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.22; margin: 14px 0 16px; color: var(--maroon-d); }
.hero h1 em { font-style: normal; background: var(--zari); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 540px; margin: 0 0 24px; }

/* jewellery-shop rate board */
.board { position: relative; background: linear-gradient(180deg, #1c0a0d, #2b0e14); border-radius: 18px; padding: 16px 18px 14px; max-width: 520px; box-shadow: 0 18px 40px rgba(40, 8, 12, .35), inset 0 0 0 2px #5a3a1a, inset 0 0 0 5px #1c0a0d, inset 0 0 0 6px #8a6326; margin-bottom: 26px; }
.board .bhead { display: flex; justify-content: space-between; align-items: center; color: var(--gold-3); font-size: 13.5px; font-weight: 700; margin-bottom: 10px; gap: 10px; flex-wrap: wrap; }
.board .bhead .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 6px; box-shadow: 0 0 8px #3ddc84; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.flips { display: flex; gap: 5px; align-items: stretch; }
.flip { position: relative; flex: 1; max-width: 54px; height: 72px; border-radius: 7px; background: linear-gradient(180deg, #3a1a14 0 49.5%, #2a120e 50.5% 100%); color: var(--gold-2); font-family: var(--en); font-weight: 800; font-size: 46px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 0 #000; text-shadow: 0 0 14px rgba(233, 196, 106, .35); }
.flip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
.flip.sep { flex: 0 0 18px; background: none; box-shadow: none; font-size: 40px; }
.flip.sep::after { display: none; }
.flip.go { animation: flipin .55s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes flipin { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.board .bfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: #e6d3ad; font-size: 14px; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-block; padding: 2px 12px; border-radius: 999px; font-family: var(--en); font-weight: 800; font-size: 14px; }
.chip.up { background: #a3281c; color: #fff; } .chip.down { background: #1f6b3a; color: #fff; } .chip.flat { background: #4a3a2a; color: #f3e3c3; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border-radius: 14px; background: var(--maroon-d); color: #fff; text-decoration: none; min-width: 205px; border: 1px solid #000; box-shadow: 0 4px 0 #1a0408; transition: transform .15s, box-shadow .15s; }
.store:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #1a0408; }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 12px; opacity: .8; line-height: 1.2; font-family: var(--sans); }
.store b { display: block; font-size: 19px; line-height: 1.2; font-family: var(--en); font-weight: 700; }
.store.soon { opacity: .55; cursor: default; box-shadow: none; }
.store.soon:hover { transform: none; box-shadow: none; }

/* phone inside a gold coin */
.coin { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin: 0 auto; }
.coin .ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, transparent 57%, #b98a2a 57.4%, #f5d98a 60%, #c8962e 63%, #f8e6ac 66%, #a8761c 69.5%, transparent 70%); }
.coin .disc { position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d8, #f1d488 45%, #d2a043 80%, #b88628); box-shadow: inset 0 0 0 6px rgba(150, 100, 20, .35), 0 20px 50px rgba(110, 70, 10, .35); }
.coin svg.txt { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coin .phone { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%) rotate(-6deg); }
.phone { border-radius: 34px; background: #111; padding: 8px; box-shadow: 0 30px 50px rgba(40, 10, 0, .45); }
.phone img { border-radius: 27px; }

/* ticker */
.ticker { background: var(--velvet); color: var(--gold-2); overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 15px; border-top: 1px solid #000; border-bottom: 1px solid #000; }
.ticker .track { display: inline-flex; gap: 46px; padding: 12px 0; animation: tick 40s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker span b { color: #fff; margin: 0 8px; }
.ticker .u { color: #ff8a80; } .ticker .d { color: #7ee2a8; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
section { padding: 78px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head .over { justify-content: center; }
.sec-head .over::after { content: ""; width: 34px; height: 2px; background: var(--gold); }
.sec-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.3; margin: 10px 0 8px; color: var(--maroon-d); }
.sec-head p { color: var(--muted); margin: 0; }

/* price-tag features */
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.tag { position: relative; background: var(--paper); border: 1.5px solid #d9c49a; border-radius: 6px 26px 26px 26px; padding: 30px 24px 22px 26px; box-shadow: 0 8px 0 -2px var(--cream-2), 0 12px 24px rgba(90, 60, 20, .10); transform: rotate(var(--r, 0deg)); transition: transform .25s; }
.tag:hover { transform: rotate(0deg) translateY(-4px); }
.tag::before { content: ""; position: absolute; left: 18px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid #c9b07a; }
.tag::after { content: ""; position: absolute; left: 24px; top: -26px; width: 2px; height: 44px; background: linear-gradient(#b0894a, transparent); transform: rotate(-18deg); transform-origin: bottom; }
.tag .no { position: absolute; right: 20px; top: 14px; font-family: var(--en); font-weight: 800; font-size: 13px; color: var(--gold); letter-spacing: 2px; }
.tag h3 { margin: 6px 0 6px 18px; font-family: var(--serif); font-size: 21px; color: var(--maroon); line-height: 1.35; }
.tag p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* velvet display case */
.case { background: radial-gradient(ellipse at 50% -10%, #5a1222 0%, var(--velvet) 60%); color: #fff; position: relative; }
.case .sec-head h2 { color: #fff; } .case .sec-head p { color: #e2c9a0; }
.shelf { display: flex; gap: 26px; justify-content: center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 6px 6px; }
.shelf figure { margin: 0; flex: none; width: 220px; text-align: center; scroll-snap-align: center; position: relative; }
.shelf figure::before { content: ""; position: absolute; left: 50%; top: -40px; width: 260px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(255, 228, 160, .22), transparent 65%); pointer-events: none; }
.shelf .phone { box-shadow: 0 24px 40px rgba(0, 0, 0, .6); }
.shelf .ped { height: 18px; margin: 14px 14px 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(233, 196, 106, .55), transparent 70%); }
.shelf figcaption { margin-top: 8px; font-family: var(--serif); font-weight: 700; color: var(--gold-3); }

/* steps + faq */
.duo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 26px 74px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--en); font-weight: 800; font-size: 22px; color: #6b4a0e; background: radial-gradient(circle at 35% 30%, #fff3cc, #e9c46a 55%, #b8862a); box-shadow: inset 0 0 0 3px rgba(120, 80, 10, .3), 0 4px 10px rgba(110, 70, 10, .3); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 52px; bottom: 4px; width: 2px; background: repeating-linear-gradient(var(--gold) 0 6px, transparent 6px 12px); }
.steps b { display: block; font-family: var(--serif); color: var(--maroon); font-size: 18.5px; }
.steps span { color: var(--muted); font-size: 15.5px; }
.faq { background: var(--paper); border: 1.5px solid #e1cfa8; border-radius: 22px; padding: 10px 26px; }
details { border-bottom: 1px dashed #d8c39b; padding: 15px 0; }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-weight: 700; color: var(--maroon-d); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--en); font-weight: 800; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }

/* cta */
.cta { position: relative; text-align: center; background: var(--maroon); color: #fff; border-radius: 6px; padding: 52px 24px; box-shadow: 0 0 0 6px var(--cream), 0 0 0 12px #c8962e, 0 20px 40px rgba(70, 20, 10, .3); }
.cta h2 { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); }
.cta p { margin: 0 0 26px; color: #f1dfbd; }
.cta .stores { justify-content: center; }
.cta .store { background: #1c0408; }

/* doc pages (privacy, support) */
.doc { max-width: 800px; margin: 0 auto; padding: 50px 20px 76px; }
.doc h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); color: var(--maroon-d); line-height: 1.3; margin: 0 0 6px; }
.doc .upd { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-family: var(--serif); font-size: 22px; color: var(--maroon); margin: 34px 0 8px; }
.doc ul { padding-left: 22px; } .doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15.5px; background: var(--paper); }
.doc th, .doc td { border: 1px solid #e1cfa8; padding: 9px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--cream-2); }

/* footer */
footer { background: var(--velvet); color: #d9c7ae; font-size: 14.5px; }
footer::before { content: ""; display: block; height: 10px; background: var(--zari); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 34px; }
footer a { color: #f3e6d0; text-decoration: none; margin-right: 18px; }
footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 34px; }
  .coin { width: min(400px, 92%); }
  .tags { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
  .shelf { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .tags { grid-template-columns: 1fr; }
  section { padding: 58px 0; }
  .store { min-width: 0; flex: 1 1 100%; }
  .flip { height: 56px; font-size: 34px; border-radius: 6px; }
  .flip.sep { flex-basis: 12px; font-size: 30px; }
  .board { padding: 14px 12px 12px; }
  .shelf figure { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .coin svg.txt, .ticker .track, .board .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .flip.go { animation: none; }
}
.ticker i { font-style: normal; } .board .dot { font-style: normal; }
/* phone sits fully inside the coin */
.hero { overflow: hidden; }
.coin .phone { width: 36%; padding: 6px; border-radius: 26px; }
.coin .phone img { border-radius: 21px; }
@media (max-width: 920px) { .coin { margin-top: 10px; } }
