/*
Theme Name: KIPATENT Professional
Theme URI: https://kipatent.com/
Author: KIPATENT
Description: Custom professional WordPress theme for KIPATENT patent strategy services.
Version: 1.0.0
Text Domain: kipatent-professional
*/

:root {
  --navy: #12304a;
  --blue: #2e74b5;
  --dark-blue: #1f4d78;
  --teal: #0f766e;
  --teal-soft: #ddf3ef;
  --gold: #b07a16;
  --ink: #17202a;
  --muted: #5c6773;
  --line: #d7dfe7;
  --soft: #f3f6f8;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(18, 48, 74, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, select { font: inherit; }
.section-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.prototype-banner {
  padding: 9px 20px;
  color: #4c3704;
  background: #fff1c7;
  border-bottom: 1px solid #e6ce85;
  text-align: center;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .025em;
}
.site-header {
  width: min(1160px, calc(100% - 40px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 850; letter-spacing: .09em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--white); background: var(--navy); font-size: 1.05rem; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 25px; }
nav a { color: #3c4b58; text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--navy); border-radius: 8px; color: var(--navy); }

.hero { min-height: 670px; padding: 92px 0 104px; display: grid; grid-template-columns: 1.28fr .72fr; gap: 75px; align-items: center; }
.eyebrow { margin: 0 0 13px; color: var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.11; }
h1 { max-width: 770px; margin-bottom: 25px; font-size: clamp(2.65rem, 5vw, 4.75rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.hero-lede { max-width: 720px; margin: 0 0 29px; color: #4b5966; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.button { display: inline-flex; min-height: 48px; padding: 12px 19px; align-items: center; justify-content: center; border: 0; border-radius: 8px; text-decoration: none; font-weight: 780; cursor: pointer; }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 8px 20px rgba(18,48,74,.17); }
.button-primary:hover { background: var(--dark-blue); }
.button-secondary { color: var(--navy); background: var(--soft); }
.button-light { color: var(--navy); background: var(--white); }
.microcopy { max-width: 630px; margin: 0; color: var(--muted); font-size: .78rem; }
.decision-card { padding: 33px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fff, #f5f8fa); box-shadow: var(--shadow); }
.decision-card h2 { margin-bottom: 12px; font-size: 1.7rem; }
.card-kicker, .result-label { margin: 0 0 7px; color: var(--teal); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.price { margin: 0 0 22px; color: var(--muted); font-size: .85rem; }
.price span { margin-right: 8px; color: var(--navy); font-size: 2rem; font-weight: 850; }
.check-list { display: grid; gap: 11px; margin: 0 0 20px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.card-note { margin: 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: var(--white); }
.signal-strip div { min-height: 128px; padding: 29px; display: grid; place-content: center; border-right: 1px solid rgba(255,255,255,.18); text-align: center; }
.signal-strip strong { font-size: 1.05rem; letter-spacing: .035em; }
.signal-strip span { margin-top: 4px; color: #cbd8e3; font-size: .77rem; }

.content-section { padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { min-height: 275px; padding: 30px; border: 1px solid var(--line); border-radius: 13px; }
.feature-card .number { display: inline-block; margin-bottom: 45px; color: var(--blue); font-size: .75rem; font-weight: 850; }
.feature-card p { margin: 0; color: var(--muted); }
.audience-card { display: flex; min-height: 310px; flex-direction: column; }
.audience-card .audience-label { display: inline-flex; width: fit-content; margin-bottom: 34px; padding: 6px 9px; border-radius: 999px; color: var(--teal); background: var(--teal-soft); font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.audience-card p { margin-bottom: 25px; }
.audience-card a { margin-top: auto; color: var(--blue); font-size: .88rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.audience-boundary { max-width: 900px; margin: 24px 0 0; color: var(--muted); font-size: .78rem; }
.muted-section { background: var(--soft); }
.process-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.process-list li { min-height: 235px; padding: 26px; border-top: 1px solid #c8d3dc; border-right: 1px solid #c8d3dc; }
.process-list li:first-child { border-left: 1px solid #c8d3dc; }
.process-list li > span { display: grid; width: 38px; height: 38px; margin-bottom: 44px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-weight: 850; }
.process-list p { margin: 0; color: var(--muted); font-size: .9rem; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.resource-section { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f8fafc, #eef4f7); }
.resource-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.resource-layout h2 { max-width: 720px; margin-bottom: 14px; }
.resource-layout > div > p:last-child { max-width: 760px; margin: 0; color: var(--muted); }
.resource-action { padding: 27px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.resource-action .button { width: 100%; }
.resource-action p { margin: 13px 0 0; color: var(--muted); font-size: .75rem; }
.soft-panel { padding: 38px; border-radius: 15px; background: var(--soft); }
.plain-list { display: grid; gap: 14px; margin: 25px 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 28px; }
.plain-list li::before { position: absolute; left: 0; font-weight: 900; }
.positive li::before { content: "✓"; color: var(--teal); }
.neutral li::before { content: "—"; color: var(--gold); }

.form-section { background: var(--navy); color: var(--white); }
.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; }
.form-intro h2 { color: var(--white); }
.form-intro > p:not(.eyebrow) { color: #d7e1e9; }
.notice { display: grid; gap: 5px; margin-top: 26px; padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: #dce7ee; font-size: .84rem; }
form { padding: 34px; border-radius: 16px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 22px; color: var(--navy); font-size: 1.3rem; font-weight: 800; }
label { display: block; margin: 17px 0 7px; color: #263744; font-size: .87rem; font-weight: 720; }
select { width: 100%; min-height: 47px; padding: 9px 38px 9px 12px; border: 1px solid #b8c5cf; border-radius: 7px; color: var(--ink); background: var(--white); }
select:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #e1b54d; outline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.text-button { border: 0; color: var(--blue); background: transparent; font-weight: 760; cursor: pointer; }
.form-error { margin-bottom: 0; color: #a11d21; font-size: .86rem; font-weight: 700; }
.result-panel { grid-column: 2; padding: 25px; border: 1px solid #63a99f; border-radius: 12px; color: var(--ink); background: var(--teal-soft); }
.result-panel h3 { font-size: 1.45rem; }
.result-boundary { margin-bottom: 0; color: #415e5b; font-size: .78rem; }

.faq-section { max-width: 900px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 21px 5px; color: var(--navy); font-weight: 800; cursor: pointer; }
details p { max-width: 760px; margin: -5px 0 22px; color: var(--muted); }
.closing-section { padding: 80px 0; text-align: center; background: linear-gradient(135deg, var(--dark-blue), var(--navy)); }
.closing-section h2 { max-width: 820px; margin-inline: auto; color: var(--white); }
footer { padding: 42px 0; color: #cbd8e3; background: #0c2234; }
.footer-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 50px; align-items: start; }
.footer-grid div { display: grid; gap: 4px; }
.footer-grid strong { color: var(--white); letter-spacing: .07em; }
.footer-grid span, .footer-grid p { margin: 0; font-size: .78rem; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero, .form-layout, .split-section, .resource-layout { grid-template-columns: 1fr; }
  .hero { gap: 45px; padding: 65px 0 75px; }
  .card-grid.three, .process-list { grid-template-columns: 1fr 1fr; }
  .signal-strip { grid-template-columns: 1fr 1fr; }
  .result-panel { grid-column: 1; }
}

@media (max-width: 610px) {
  .section-shell, .site-header { width: min(100% - 28px, 1160px); }
  .site-header { min-height: 68px; }
  .nav-cta { padding: 8px 11px; font-size: .78rem; }
  .content-section { padding: 75px 0; }
  .resource-section { padding: 58px 0; }
  .card-grid.three, .process-list, .signal-strip, .footer-grid { grid-template-columns: 1fr; }
  .signal-strip div { min-height: 105px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .process-list li { border-left: 1px solid #c8d3dc; }
  form, .decision-card, .soft-panel { padding: 24px; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
