/* =========================================================
   LAQTA — TRY YOUR LOGO (/logo/)
   Uses tokens + shared pieces from style.css.
   ========================================================= */
.try { padding-block: clamp(36px, 6vw, 72px) 96px; }
.try__title { font-size: clamp(34px, 6vw, 64px); font-weight: 700; line-height: 1.15; margin-top: 12px; }
.try__sub { color: var(--ink-2); font-weight: 300; font-size: 17px; max-width: 580px; margin-top: 14px; }

.try__layout { display: grid; gap: 40px; margin-top: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .try__layout { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } .try__stage { position: sticky; top: 96px; } }

/* ---------- phone ---------- */
.try__stage { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(340px, 78vw, calc((100svh - 150px) * 0.5625));
  aspect-ratio: 9 / 16; padding: 10px; border-radius: 38px;
  background: #050505; border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px var(--shadow);
}
@media (min-width: 900px) { .phone { width: min(360px, calc((100svh - 150px) * 0.5625)); } }
.phone canvas { display: block; width: 100%; height: 100%; border-radius: 28px; background: #0c0c0c; }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #050505; z-index: 1; }

/* ---------- controls ---------- */
.try__controls { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (max-width: 899px) { .try__controls { order: 2; } }

.drop {
  position: relative; display: flex; align-items: center; gap: 16px; cursor: pointer;
  padding: 22px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--bg-2);
  transition: border-color 0.25s, background 0.25s;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--accent); }
.drop.is-over { background: var(--bg-3); }
.drop.has-file { border-style: solid; border-color: rgba(232, 32, 43, 0.5); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.drop__icon { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.drop__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.drop__text strong { font-size: 20px; font-weight: 700; }
.drop__text small { font-size: 14px; color: var(--ink-3); }

.tfield { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.tfield input {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 14px 16px; transition: border-color 0.2s;
}
.tfield input:focus { outline: none; border-color: var(--accent); }

.tgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.tgroup legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip, .swatch { position: relative; cursor: pointer; }
.chip input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  font-size: 16px; font-weight: 700; transition: border-color 0.2s, background 0.2s;
}
.chip small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.chip input:checked + span, .swatch input:checked + span { border-color: var(--accent); background: var(--bg-2); }
.chip input:focus-visible + span, .swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; transition: border-color 0.2s, background 0.2s;
}
.swatch__dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; background: #e8202b; }
.swatch__dot--auto { background: conic-gradient(#0c0c0c 0 50%, #f7f7f5 0); }

.try__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.try__actions .btn:disabled { opacity: 0.6; cursor: progress; }
.try__note { font-size: 14px; color: var(--ink-2); }

.try__cta { position: relative; margin-top: 8px; padding: 26px; border-radius: 12px; border: 1px solid var(--line-2); }
.try__cta-vf { position: absolute; inset: 10px; --vf-color: var(--accent); --vf-len: 14px; --vf-w: 2px; }
.try__cta strong { font-size: 20px; font-weight: 700; }
.try__cta p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.try__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- ad ideas ---------- */
.ideas { margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.ideas__title { font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.2; margin-top: 12px; }
.ideas__sub { color: var(--ink-2); font-weight: 300; font-size: 17px; max-width: 600px; margin-top: 12px; }

.ideas__types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.itype { position: relative; cursor: pointer; }
.itype input { position: absolute; opacity: 0; pointer-events: none; }
.itype span {
  display: inline-block; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 15px; font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
@media (hover: hover) { .itype:hover span { border-color: var(--ink-3); } }
.itype input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.itype input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.ideas__grid { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .ideas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ideas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.idea {
  display: flex; flex-direction: column; padding: 26px 24px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg-2);
  animation: ideaIn 0.5s var(--ease) both;
  transition: border-color 0.3s;
}
.idea:nth-child(2) { animation-delay: 0.07s; }
.idea:nth-child(3) { animation-delay: 0.14s; }
@keyframes ideaIn { from { opacity: 0; transform: translateY(14px); } }
.idea.is-active { border-color: var(--accent); }
.idea__num { font-family: var(--font-en); font-size: 13px; color: var(--accent-text); letter-spacing: 0.1em; }
.idea__title { font-size: 24px; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.idea__label { font-size: 12px; color: var(--ink-3); margin-top: 16px; }
.idea__hook { font-size: 17px; font-weight: 600; margin-top: 4px; padding-inline-start: 12px; border-inline-start: 3px solid var(--accent); }
.idea__beats { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: beat; display: flex; flex-direction: column; gap: 8px; }
.idea__beats li { position: relative; padding-inline-start: 30px; font-size: 15px; color: var(--ink-2); counter-increment: beat; }
.idea__beats li::before {
  content: counter(beat); position: absolute; inset-inline-start: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--font-en); font-size: 11px; color: var(--ink-3);
}
.idea__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.idea__meta span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); }
.idea__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 22px; }
.idea__try { --pad: 12px 20px; font-size: 14px; }
.idea__wa { font-size: 14px; color: var(--ink-2); transition: color 0.25s; }
.idea__wa:hover { color: var(--accent-text); }
.ideas__more { display: flex; justify-content: center; margin-top: 24px; }
