/* PalmTara — palmtara.com
   The site wears the app's skin: deep aura purple, gold line-art, generous
   serif display type. One stylesheet, no frameworks, loads in one request. */

:root {
  --ink: #0d0620;
  --abyss: #150a2e;
  --aura: #1d0f3d;
  --glass: rgba(227, 192, 123, 0.06);
  --glass-strong: rgba(227, 192, 123, 0.12);
  --hairline: rgba(227, 192, 123, 0.28);
  --hairline-faint: rgba(227, 192, 123, 0.14);
  --gold: #e3c07b;
  --gold-bright: #ffe3a0;
  --text: #f2ecdf;
  --text-secondary: #c9bfa8;
  --text-tertiary: #948a72;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, #2a1657 0%, var(--ink) 62%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* --- Header ------------------------------------------------------------- */
header {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline-faint);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { font-family: var(--serif); font-size: 24px; color: var(--text); letter-spacing: 0.5px; }
.brand b { color: var(--gold); font-weight: normal; }
nav { display: flex; gap: 26px; }
nav a {
  color: var(--text-secondary); text-decoration: none; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
nav a:hover { color: var(--gold-bright); }
@media (max-width: 640px) { nav { display: none; } }

/* --- Type --------------------------------------------------------------- */
.eyebrow {
  color: var(--gold); font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 14px;
}
h1 {
  font-family: var(--serif); font-weight: normal;
  font-size: clamp(38px, 6vw, 60px); line-height: 1.12; margin-bottom: 20px;
}
h2 {
  font-family: var(--serif); font-weight: normal;
  font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin-bottom: 14px;
}
h3 { font-family: var(--serif); font-weight: normal; font-size: 21px; margin-bottom: 8px; color: var(--gold-bright); }
.sub { color: var(--text-secondary); font-size: 19px; max-width: 620px; }
.gold { color: var(--gold); }

/* --- Hero --------------------------------------------------------------- */
.hero { padding: 84px 0 70px; text-align: center; }
.hero .sub { margin: 0 auto 34px; }
.hero-hand { width: 190px; margin: 0 auto 30px; display: block; filter: drop-shadow(0 0 34px rgba(227, 192, 123, 0.35)); }

/* --- Buttons ------------------------------------------------------------ */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  font-size: 16px; text-decoration: none; letter-spacing: 0.02em;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: #241304; font-weight: 600;
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { border: 1px solid var(--hairline); color: var(--gold); }
.btn-ghost:hover { background: var(--glass); }
.cta-note { color: var(--text-tertiary); font-size: 13px; margin-top: 14px; }

/* --- Sections ----------------------------------------------------------- */
section { padding: 74px 0; }
section.alt { background: var(--abyss); border-top: 1px solid var(--hairline-faint); border-bottom: 1px solid var(--hairline-faint); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head .sub { margin: 0 auto; }

/* --- Steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--hairline-faint); border-radius: 18px;
  padding: 28px 24px; background: var(--glass);
}
.step .num {
  font-family: var(--serif); color: var(--gold); font-size: 15px;
  letter-spacing: 0.2em; margin-bottom: 12px; display: block;
}
.step p { color: var(--text-secondary); font-size: 15.5px; }

/* --- Feature grid ------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature {
  border: 1px solid var(--hairline-faint); border-radius: 18px;
  padding: 26px 24px; background: rgba(13, 6, 32, 0.55);
}
.feature .glyph { font-size: 26px; display: block; margin-bottom: 12px; }
.feature p { color: var(--text-secondary); font-size: 15px; }
.feature .tag {
  display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 3px 11px;
}

/* --- Split (privacy) ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { width: 78%; max-width: 330px; margin: 0 auto; display: block; }
.split ul { list-style: none; margin-top: 18px; }
.split li { padding: 9px 0 9px 30px; position: relative; color: var(--text-secondary); }
.split li::before { content: '✦'; position: absolute; left: 2px; color: var(--gold); }

/* --- FAQ ---------------------------------------------------------------- */
details {
  border-bottom: 1px solid var(--hairline-faint); padding: 20px 4px;
}
summary {
  cursor: pointer; font-family: var(--serif); font-size: 19px; color: var(--text);
  list-style: none; position: relative; padding-right: 34px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; color: var(--gold); font-size: 22px; }
details[open] summary::after { content: '–'; }
details p { color: var(--text-secondary); padding-top: 12px; font-size: 15.5px; max-width: 640px; }

/* --- Footer ------------------------------------------------------------- */
footer { padding: 46px 0 60px; border-top: 1px solid var(--hairline-faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--gold-bright); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.fine { color: var(--text-tertiary); font-size: 12.5px; margin-top: 10px; max-width: 560px; }

/* --- Legal pages --------------------------------------------------------- */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); }
.legal h2 { font-size: 23px; margin: 36px 0 10px; color: var(--gold-bright); }
.legal p, .legal li { color: var(--text-secondary); font-size: 16px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal .meta { color: var(--text-tertiary); font-size: 14px; margin-bottom: 30px; }
.legal strong { color: var(--text); }
