/* Uptotop Garnet landing page */

:root {
  --derin: #5C0F1D;
  --garnet: #8E1B2E;
  --orta: #C03345;
  --acik: #E8626C;
  --amber: #F5A83B;
  --murekkep: #17181A;
  --gri: #4A4F55;
  --krem: #FAF8F5;
  --sicak: #F1ECE6;
  --kenar: #E4DED6;

  --bg: var(--krem);
  --surface: #FFFFFF;
  --text: var(--murekkep);
  --muted: var(--gri);
  --heading: var(--garnet);
  --line: var(--kenar);
  --section-alt: var(--sicak);
  --focus: var(--garnet);
  --amber-hover: #E8962A;

  --radius: 12px;
  --max: 1080px;
  --font-head: Comfortaa, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121315;
    --krem: #121315;
    --surface: #1C1D21;
    --sicak: #1A1B1E;
    --section-alt: #1A1B1E;
    --text: #F2F0EC;
    --muted: #C4C8CE;
    --heading: #F0959D;
    --line: #33363B;
    --focus: #F0959D;
    --amber-hover: #FFB957;
  }
}

:root[data-theme="dark"] {
  --bg: #121315;
  --krem: #121315;
  --surface: #1C1D21;
  --sicak: #1A1B1E;
  --section-alt: #1A1B1E;
  --text: #F2F0EC;
  --muted: #C4C8CE;
  --heading: #F0959D;
  --line: #33363B;
  --focus: #F0959D;
  --amber-hover: #FFB957;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover { color: var(--heading); }

.nav-cta { padding: 8px 16px; font-size: 0.9rem; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .lockup-light { width: 160px; }
}

/* Lockup: inline SVG so Comfortaa from the page loads for the word "garnet" */
.lockup { width: min(100%, 400px); }
.lockup svg { display: block; width: 100%; height: auto; }
.lockup-light { width: min(100%, 240px); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--derin) 0%, var(--garnet) 100%);
  color: #FFFFFF;
  padding: 48px 0 64px;
}

.hero :focus-visible {
  outline-color: var(--amber);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  max-width: 22ch;
}

.lead {
  font-size: 1.125rem;
  color: #F6E3E6;
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--murekkep);
}

.btn-primary:hover {
  background: var(--amber-hover);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-sicak {
  background: var(--section-alt);
}

.section-title {
  color: var(--heading);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin-bottom: 24px;
}

.intro {
  max-width: 66ch;
  margin-bottom: 24px;
  color: var(--muted);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  color: var(--text);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  counter-reset: none;
}

.step-num {
  color: var(--heading);
  margin-right: 2px;
}

/* Feature icon: the gem is an inline SVG symbol (#gem) defined at the top of index.html. */
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 36px;
  height: 36px;
  flex: none;
}

.gem-icon {
  display: block;
  width: 36px;
  height: 36px;
}

/* Results */
.results-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.results-list li {
  color: var(--muted);
}

.results-list strong {
  color: var(--text);
}

/* Final CTA */
.cta-band {
  background: var(--garnet);
  color: #FFFFFF;
  padding: 64px 0;
}

.cta-band :focus-visible {
  outline-color: var(--amber);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  max-width: 24ch;
}

.cta-band p {
  color: #F6E3E6;
  max-width: 60ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.875rem;
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.contact-text { display: flex; flex-direction: column; gap: 12px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.opt { font-weight: 400; color: var(--muted); }

.field input, .field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 110px; }
.contact-form :focus-visible { outline: 2px solid var(--garnet); outline-offset: 2px; }
.contact-form .btn { border: 0; cursor: pointer; align-self: flex-start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 0.95rem; color: var(--muted) !important; }
.form-status.ok { color: #1E7A46 !important; }
.form-status.err { color: #B3261E !important; }

@media (min-width: 860px) {
  .contact-inner { grid-template-columns: 1fr 1.2fr; gap: 56px; }
}
/* Header lockup: the white-wordmark variant on dark themes */
.lk-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lk-dark { display: block !important; }
  :root:not([data-theme="light"]) .lk-light { display: none !important; }
}
:root[data-theme="dark"] .lk-dark { display: block !important; }
:root[data-theme="dark"] .lk-light { display: none !important; }

/* GEM-LIFT (reversible): lighter shadow facets on the dark lockup so the gem silhouette reads. Delete this block to restore the original look. */
svg.lk-dark polygon[fill="#3e0916"], .lockup-dark svg polygon[fill="#3e0916"] { fill: #8a1d30; }
svg.lk-dark polygon[fill="#430a17"], .lockup-dark svg polygon[fill="#430a17"] { fill: #8f2033; }
svg.lk-dark polygon[fill="#641021"], .lockup-dark svg polygon[fill="#641021"] { fill: #a02539; }
svg.lk-dark polygon[fill="#711225"], .lockup-dark svg polygon[fill="#711225"] { fill: #aa2a3f; }
