:root {
  font-family: Inter, Arial, sans-serif;
  color: #262626;
  background: #fffafc;
  --ig-purple: #833ab4;
  --ig-magenta: #c13584;
  --ig-pink: #e1306c;
  --ig-orange: #f77737;
  --ig-yellow: #fcaf45;
  --ig-gradient: linear-gradient(115deg, #833ab4 0%, #c13584 28%, #e1306c 50%, #f77737 76%, #fcaf45 100%);
  --ig-soft-gradient: linear-gradient(135deg, #fff3f8 0%, #fff8f2 52%, #f7f1ff 100%);
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(131, 58, 180, .12), transparent 28%),
    radial-gradient(circle at 92% 14%, rgba(247, 119, 55, .13), transparent 30%),
    #fffafc;
}

.site-header,
.site-footer {
  max-width: 1120px;
  margin: auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: clamp(23px, 3.2vw, 34px);
  letter-spacing: -1.8px;
  font-weight: 800;
  text-decoration: none;
  color: #262626;
}

.brand span,
.steps b { color: var(--ig-pink); }

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}

main {
  max-width: 960px;
  margin: 54px auto 80px;
  padding: 0 28px;
}

.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ig-gradient);
  box-shadow: 0 0 0 4px rgba(225, 48, 108, .1);
}

h1 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -4px;
  margin: 26px 0;
}

em {
  display: inline-block;
  font-style: normal;
  color: var(--ig-pink);
  background: var(--ig-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: #737373;
}

form {
  position: relative;
  overflow: hidden;
  margin: 36px 0;
  padding: 2px;
  border-radius: 22px;
  background: var(--ig-gradient);
  box-shadow: 0 18px 55px rgba(193, 53, 132, .14);
}

form::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
}

form > * {
  position: relative;
  z-index: 1;
  margin-left: 24px;
  margin-right: 24px;
}

form > label { margin-top: 22px; }
form > .hint { margin-bottom: 22px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.inputrow {
  display: flex;
  gap: 12px;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dbdbdb;
  background: #fafafa;
  padding: 18px;
  border-radius: 12px;
  font-size: 16px;
  color: inherit;
}

input:focus {
  outline: 2px solid var(--ig-magenta);
  outline-offset: 1px;
  border-color: transparent;
}

button,
.download {
  background: var(--ig-gradient);
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(225, 48, 108, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

button:hover,
.download:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 28px rgba(225, 48, 108, .3);
}

button span { margin-left: 18px; }
button:disabled { opacity: .55; cursor: wait; transform: none; }

.hint {
  font-size: 11px;
  color: #8e8e8e;
  margin-top: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin: 50px 0;
}

.steps b { font-size: 11px; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14px; line-height: 1.7; color: #737373; }

.responsibility-note {
  font-size: 12px;
  color: #8e8e8e;
  line-height: 1.8;
  border-top: 1px solid #efdae5;
  padding-top: 24px;
}

.site-footer {
  font-size: 12px;
  color: #8e8e8e;
  border-top: 1px solid #efdae5;
}

#result {
  border: 1px solid #f0d7e3;
  border-radius: 16px;
  padding: 24px;
  background: var(--ig-soft-gradient);
  box-shadow: 0 12px 35px rgba(131, 58, 180, .08);
}

#status { line-height: 1.6; }

video {
  display: block;
  max-height: 400px;
  max-width: 100%;
  margin: 18px auto;
  border-radius: 12px;
}

.download { display: inline-block; margin-top: 10px; }
[hidden] { display: none !important; }

@media (max-width: 600px) {
  .site-header { padding: 22px; }
  main { margin-top: 32px; padding: 0 22px; }
  h1 { letter-spacing: -2.5px; }
  .inputrow { flex-direction: column; }
  form > * { margin-left: 16px; margin-right: 16px; }
  form > label { margin-top: 16px; }
  form > .hint { margin-bottom: 16px; }
  .steps { gap: 18px; grid-template-columns: 1fr; margin: 34px 0; }
  .steps article { display: grid; grid-template-columns: 30px 1fr; gap: 0 12px; }
  .steps h3 { margin: 0; }
  .steps p { grid-column: 2; margin: 8px 0; }
  .steps b { padding-top: 4px; }
  .site-footer { gap: 24px; }
}

.top-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav a,
.site-footer a,
.section-link a,
.text-cta,
.content-section a {
  color: #7a2760;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.top-nav a {
  color: #616161;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible { color: var(--ig-pink); }

.hero { max-width: 820px; }

.hero h1 { max-width: 900px; }

.tool-block { margin: 42px 0 70px; }

.tool-heading { display: none; }

.section-heading { max-width: 700px; margin-bottom: 28px; }

.section-heading h2,
.content-section h2,
.tool-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.section-heading > p:last-child,
.content-section > p,
.content-section li,
.tool-heading > p:last-child {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.steps-section,
.content-section { margin: 78px 0; }

.steps h3 { margin: 12px 0; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px;
  align-items: start;
}

.support-list {
  display: grid;
  gap: 14px;
}

.support-list article {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid #efd9e4;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}

.support-list strong { color: var(--ig-pink); }
.support-list span { color: #666; line-height: 1.55; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid article {
  padding: 24px;
  border: 1px solid #eedde5;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}

.card-grid h3 { margin: 0 0 10px; font-size: 17px; }
.card-grid p { margin: 0; color: #6e6e6e; font-size: 14px; line-height: 1.75; }

.section-link { margin-top: 24px; font-weight: 700; }

.faq-list { display: grid; gap: 12px; }

.faq-list details {
  border: 1px solid #eadbe3;
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  padding: 0 20px;
}

.faq-list summary {
  padding: 18px 28px 18px 0;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.4;
}

.faq-list details p { margin: 0 0 20px; color: #666; line-height: 1.75; }

.responsibility-note {
  border: 1px solid #ead3df;
  border-radius: 16px;
  padding: 22px 24px;
  background: var(--ig-soft-gradient);
  color: #6c5b64;
}

.responsibility-note strong { color: #3f2633; }

.site-footer {
  align-items: flex-start;
  gap: 40px;
}

.site-footer > div { max-width: 560px; }
.site-footer p { margin: 10px 0 0; line-height: 1.6; }
.site-footer a { font-size: 12px; }
.footer-brand { color: #333 !important; font-weight: 800; text-decoration: none; }

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8a8a8a;
  font-size: 12px;
  margin-bottom: 50px;
}

.breadcrumbs a { color: #7a2760; text-underline-offset: 3px; }

.article-page { max-width: 960px; }
.narrow-page { max-width: 820px; }

.article-hero { display: block; max-width: 860px; margin-bottom: 54px; }
.article-hero h1 { margin: 24px 0; font-size: clamp(44px, 6.2vw, 70px); }
.article-hero .lead { max-width: 780px; }

.updated { color: #929292; font-size: 12px; margin-top: 24px; }

.article-page .tool-block {
  padding: 30px;
  border: 1px solid #efdce5;
  border-radius: 24px;
  background: rgba(255,255,255,.48);
}

.article-page .tool-heading { display: block; }
.article-page .tool-heading h2 { font-size: clamp(27px, 4vw, 38px); }
.article-page .tool-block form { margin-bottom: 0; }

.numbered-list,
.check-list {
  margin: 24px 0 0;
  padding-left: 24px;
}

.numbered-list li,
.check-list li { margin: 14px 0; padding-left: 6px; }

.check-list { list-style: "✓  "; }
.check-list.negative { list-style: "—  "; }

.callout {
  padding: 28px 30px;
  border: 1px solid #ead3df;
  border-radius: 18px;
  background: var(--ig-soft-gradient);
}

.callout h2 { font-size: clamp(25px, 3.5vw, 34px); }
.text-cta { display: inline-block; margin-top: 8px; font-weight: 750; }

.article-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 20px 24px;
  border: 1px solid #eadbe3;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}

.article-index strong { width: 100%; }
.article-index a { color: #7a2760; font-size: 14px; }

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #f4eaf0;
  color: #702855;
}

.button-link {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 20px;
  border-radius: 11px;
  background: var(--ig-gradient);
  color: white !important;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(225,48,108,.18);
}

.legal-page .content-section { margin: 52px 0; }
.legal-page .content-section h2 { font-size: clamp(23px, 3vw, 31px); }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; gap: 18px; }
  .top-nav { gap: 11px 16px; flex-wrap: wrap; justify-content: flex-end; }
  .top-nav a { font-size: 11px; }
  .split, .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps-section, .content-section { margin: 58px 0; }
  .article-page .tool-block { padding: 18px; }
  .site-footer { flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .site-header { display: block; }
  .top-nav { margin-top: 18px; justify-content: flex-start; }
  .hero h1, .article-hero h1 { font-size: 44px; }
  .breadcrumbs { margin-bottom: 34px; }
}
