/* InstaFeed — site chrome */
:root {
  --ig1: #feda75; --ig2: #fa7e1e; --ig3: #d62976; --ig4: #962fbf; --ig5: #4f5bd5;
  --grad: linear-gradient(45deg, var(--ig2), var(--ig3), var(--ig4));
  --ink: #16181d;
  --muted: #5b616e;
  --bg: #ffffff;
  --soft: #f7f5fb;
  --line: #e8e6f0;
  --accent: #d62976;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(60, 30, 90, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.nav__links { display: flex; gap: 22px; margin-left: 8px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(214, 41, 118, .30);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(214, 41, 118, .38); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: #cfcade; box-shadow: none; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 70% -10%, #fdeef5 0%, transparent 60%), radial-gradient(900px 420px at 10% 0%, #f0eefc 0%, transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: #fdeef5; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.03em; font-weight: 800; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hero__demo { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }

/* ---- sections ---- */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.step__n { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 15px; }
.step h3 { margin: 0 0 8px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 12.5px; }

/* ---- pricing ---- */
.price { max-width: 460px; margin: 0 auto; text-align: center; background: #fff; border: 2px solid transparent; border-radius: 20px; padding: 42px 34px; background-image: linear-gradient(#fff, #fff), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--shadow); }
.price .amount { font-size: 58px; font-weight: 800; letter-spacing: -.04em; }
.price .amount small { font-size: 17px; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 22px 0 28px; text-align: left; }
.price li { padding: 8px 0 8px 30px; position: relative; color: var(--ink); font-size: 15px; }
.price li:before { content: "✓"; position: absolute; left: 4px; color: var(--ig3); font-weight: 800; }

/* ---- faq ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 15.5px; }
.faq p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 13.5px; }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }

/* ---- guide page ---- */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 22px 90px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 22px; margin-top: 44px; }
.doc ol li, .doc ul li { margin-bottom: 10px; color: #2c2f36; }
.doc code, .snippet code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.doc code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: 13px; }
.callout { border-left: 4px solid var(--ig3); background: #fdf2f7; border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 14.5px; margin: 20px 0; }
.callout--blue { border-color: var(--ig5); background: #f1f2fd; }
.tool { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 26px 0; }
.tool input[type=text] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; font-family: ui-monospace, Menlo, Consolas, monospace; margin-bottom: 14px; }
.tool .out { margin-top: 16px; font-size: 13.5px; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: none; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
