/* ===== Pelican – getpelican.app ===== */
:root {
  --paper: #FAF8F5;
  --paper-2: #F2EEE7;
  --ink: #2A4A5C;
  --ink-soft: #4d6877;
  --ink-mute: #7d8f99;
  --flame: #E8743C;
  --flame-dark: #cf5f2b;
  --line: #e3ddd2;
  --white: #ffffff;
  --radius: 16px;
  --maxw: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--sans);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }

a { color: inherit; text-decoration: none; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(250,248,245,0.82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav-links a.muted { color: var(--ink-soft); transition: color .2s; }
.nav-links a.muted:hover { color: var(--ink); }
.nav-links .btn { padding: 10px 20px; }
@media (max-width: 720px) { .nav-links a.muted { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s, box-shadow .2s;
}
.btn-primary { background: var(--flame); color: #fff; box-shadow: 0 6px 20px rgba(232,116,60,0.28); }
.btn-primary:hover { background: var(--flame-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero { padding: 92px 0 80px; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--flame-dark); background: rgba(232,116,60,0.1);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(40px, 6.5vw, 76px); max-width: 14ch; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--flame); }
.hero p.lead { font-size: clamp(18px, 2.4vw, 23px); color: var(--ink-soft); max-width: 52ch; margin-bottom: 38px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--ink-mute); }

/* hero visual: a notepad turning into a clean list */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.device {
  background: var(--white); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 30px 60px -25px rgba(42,74,92,0.35); padding: 14px; max-width: 340px; margin: 0 auto;
}
.device-screen { background: var(--paper); border-radius: 16px; overflow: hidden; }
.device-top { background: var(--ink); color: #fff; padding: 16px 18px; }
.device-top .t1 { font-family: var(--serif); font-size: 18px; }
.device-top .t2 { font-size: 12px; opacity: .7; margin-top: 2px; }
.device-cta { margin: 14px; background: var(--flame); color: #fff; text-align: center; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.device-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.device-row:last-child { border-bottom: none; }
.device-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); display: inline-block; margin-right: 10px; }
.device-row .qty { color: var(--ink-mute); font-size: 12px; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flame-dark); margin-bottom: 14px; }
.section-title { font-size: clamp(30px, 4.5vw, 46px); max-width: 18ch; margin-bottom: 18px; }
.section-intro { font-size: 19px; color: var(--ink-soft); max-width: 56ch; }

.divider { height: 1px; background: var(--line); border: none; }

/* problem */
.problem { background: var(--ink); color: var(--paper); border-radius: 0; }
.problem h2, .problem .section-title { color: var(--paper); }
.problem .section-tag { color: #f0a886; }
.problem .section-intro { color: rgba(250,248,245,0.78); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step .num { font-family: var(--serif); font-size: 40px; color: var(--flame); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 48px; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(232,116,60,0.12); color: var(--flame-dark); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 19px; font-family: var(--sans); font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: 15px; color: var(--ink-soft); }

/* pricing */
.pricing { background: var(--paper-2); }
.toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 28px 0 44px; }
.toggle button { font-family: var(--sans); font-weight: 600; font-size: 15px; border: none; background: transparent; color: var(--ink-soft); padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.toggle button.active { background: var(--ink); color: #fff; }
.toggle-wrap { position: relative; display: inline-block; }
.toggle-hint { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--flame-dark); margin-bottom: 10px; }
.pricing .toggle-wrap { margin-top: 36px; }
.pricing .toggle { margin-top: 0; margin-bottom: 44px; }

/* Texte volle Container-Breite nutzen, linksbündig */
.section-title { max-width: none; }
.section-intro { max-width: none; }

/* Toggle zentriert halten */
.pricing .toggle-wrap { display: block; text-align: center; margin: 36px auto 0; }
.pricing .toggle { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; position: relative; }
.plan.featured { border-color: var(--flame); box-shadow: 0 20px 50px -28px rgba(232,116,60,0.5); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--flame); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.plan h3 { font-size: 26px; margin-bottom: 6px; }
.plan .who { color: var(--ink-mute); font-size: 15px; margin-bottom: 22px; }
.plan .price { font-family: var(--serif); font-size: 50px; color: var(--ink); line-height: 1; }
.plan .price span { font-family: var(--sans); font-size: 17px; color: var(--ink-mute); font-weight: 500; }
.plan .per-year { font-size: 14px; color: var(--ink-mute); margin-top: 8px; min-height: 20px; }
.plan ul { list-style: none; margin: 26px 0 30px; }
.plan ul li { padding: 9px 0 9px 30px; position: relative; font-size: 16px; color: var(--ink-soft); }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 9px; border-left: 2px solid var(--flame); border-bottom: 2px solid var(--flame); transform: rotate(-45deg); }

/* faq */
.faq-list { margin-top: 44px; }
details { border-bottom: 1px solid var(--line); padding: 6px 0; }
details summary { font-family: var(--serif); font-size: 21px; color: var(--ink); padding: 22px 40px 22px 0; cursor: pointer; list-style: none; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 28px; color: var(--flame); font-weight: 300; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details .answer { padding: 0 40px 24px 0; color: var(--ink-soft); font-size: 17px; }
details .answer p { margin-bottom: 12px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); text-align: center; border-radius: 28px; padding: 72px 32px; margin: 40px 0; }
.cta-band h2 { color: var(--paper); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-band p { color: rgba(250,248,245,0.8); max-width: 48ch; margin: 0 auto 32px; font-size: 19px; }

/* footer */
footer { padding: 60px 0 50px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 15px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }

/* dashboard */
.dash-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; max-width: 540px; margin: 60px auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 16px; background: var(--paper); }
.field input:focus { outline: none; border-color: var(--flame); }
.link-box { display: flex; gap: 8px; margin-top: 10px; }
.link-box input { flex: 1; font-size: 14px; }
.msg { padding: 12px 16px; border-radius: 10px; font-size: 15px; margin-bottom: 16px; }
.msg.err { background: #fbe9e4; color: #b23c1a; }
.msg.ok { background: #e6f0ea; color: #2f6b46; }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.plan-pick button { padding: 14px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.plan-pick button.sel { border-color: var(--flame); background: rgba(232,116,60,0.08); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 70px 0; }
.legal h1 { font-size: 40px; margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--flame-dark); text-decoration: underline; }
.placeholder { background: #fff7d6; border-left: 3px solid #e0b400; padding: 12px 16px; border-radius: 6px; color: #6b5600; font-size: 14px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(20px); animation: rise .7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
