/* Yur Home — site styles (Lato, warm home palette) */

:root {
  --color-text: #3d3429;
  --color-text-muted: #7a6e62;
  --color-hover: #2a241c;
  --color-accent: #b87333;
  --color-bg: #fff;
  --gradient-page: linear-gradient(180deg, #e8dcc8 0%, #f0e6d8 45%, #faf8f5 100%);
  --site-width: 980px;
  --content-narrow: 780px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text);
  background: var(--gradient-page);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--color-hover);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

/* Header */
.site-header {
  padding-top: 30px;
  padding-bottom: 30px;
}

.header-logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
}

.header-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 18px;
}

.header-rule {
  border: 0;
  border-top: 1px solid rgba(61, 52, 41, 0.35);
  margin: 0 0 7px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  min-height: 30px;
  font-size: 14px;
  line-height: 1.79;
}

.site-nav a {
  padding: 0 10px;
  transition: color 0.4s ease;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.site-nav .is-current {
  cursor: default;
}

.site-nav .is-current:hover {
  color: var(--color-text);
}

/* Hero */
.hero {
  padding: 60px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1,
  .hero-text p {
    text-align: center;
  }

  .hero-phone {
    justify-self: center;
    max-width: 280px;
  }
}

.hero-text h1 {
  margin: 109px 0 29px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--color-text);
}

.hero-text p {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.67;
}

.hero-tagline {
  max-width: 28ch;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-phone {
  width: 100%;
  max-width: 420px;
  margin-top: 0;
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(61, 52, 41, 0.18);
}

.hero-coming-soon {
  margin: 22px 0 0;
}

.coming-soon-badge {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(184, 115, 51, 0.35);
}

/* FAQ */
.faq {
  padding: 56px 0 24px;
}

.faq h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list {
  max-width: var(--content-narrow);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(61, 52, 41, 0.16);
  border-radius: 8px;
  padding: 10px 14px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 8px 0 4px;
  font-size: 15px;
  line-height: 1.7;
}

/* Contact */
.contact {
  padding: 63px 0 67px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.contact h2 {
  margin: 0 0 23px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-form-wrap {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.form-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 4px;
}

.form-alert--success {
  color: rgb(12, 74, 42);
  background: rgba(46, 160, 100, 0.12);
  border: 1px solid rgba(46, 160, 100, 0.35);
}

.form-alert--error {
  color: rgb(90, 18, 18);
  background: rgba(200, 60, 60, 0.1);
  border: 1px solid rgba(200, 60, 60, 0.35);
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  margin-bottom: 2px;
  padding-left: 5px;
  font-size: 15px;
  line-height: 1.875;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 5px;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.875;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-text);
  border-radius: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-text-muted);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn-submit {
  display: block;
  width: 100%;
  margin: 17px 0 13px;
  padding: 12px 24px;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  color: #fff;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.btn-submit:hover {
  opacity: 0.92;
  filter: brightness(0.95);
}

/* Footer */
.site-footer {
  padding: 48px 20px 42px;
  border-top: 1px solid rgba(61, 52, 41, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.79;
}

.footer-links {
  margin: 0 0 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-links span {
  margin: 0 8px;
  color: rgba(61, 52, 41, 0.5);
}

/* Privacy page */
.page-privacy .privacy-hero {
  padding: 60px 0 40px;
}

.page-privacy .privacy-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.privacy-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-bottom: 80px;
}

.privacy-body p {
  margin: 0 0 1.25em;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.875;
}

.privacy-body a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-body a:hover {
  color: var(--color-hover);
}

/* FAQ page */
.page-faq .faq-hero {
  padding: 56px 0 24px;
}

.page-faq .faq-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-faq .faq-intro {
  max-width: 760px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

/* Terms page */
.page-terms .terms-hero {
  padding: 56px 0 20px;
}

.page-terms .terms-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.terms-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-bottom: 80px;
}

.terms-body p,
.terms-body h2 {
  text-align: left;
}

.terms-body p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.7;
}

.terms-body h2 {
  margin: 1.4em 0 0.5em;
  font-size: 22px;
  line-height: 1.35;
}

/* What's New */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-releases .releases-hero {
  padding: 56px 0 24px;
}

.page-releases .releases-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-releases .releases-intro {
  max-width: 640px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

.releases {
  padding-bottom: 72px;
}

.release-list {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.release-entry {
  margin-bottom: 28px;
  padding: 22px 24px 20px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(61, 52, 41, 0.08);
}

.release-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.release-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.release-header time {
  font-size: 14px;
  color: var(--color-text-muted);
}

.release-entry ul {
  margin: 0;
  padding-left: 1.2em;
}

.release-entry li {
  margin-bottom: 0.55em;
  font-size: 16px;
  line-height: 1.65;
}

.release-entry li:last-child {
  margin-bottom: 0;
}

.releases-note {
  max-width: 640px;
  margin: 8px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.coming-soon-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(61, 52, 41, 0.08);
}

.coming-soon-panel p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

/* Guide pages (e.g. OpenAI API setup) */
.page-guide .guide-hero {
  padding: 56px 0 20px;
}

.page-guide .guide-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-guide .guide-intro {
  max-width: 720px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.guide-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-bottom: 80px;
}

.guide-body p,
.guide-body h2,
.guide-body li {
  text-align: left;
}

.guide-body p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.7;
}

.guide-body h2 {
  margin: 1.6em 0 0.6em;
  font-size: 22px;
  line-height: 1.35;
}

.guide-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.guide-body ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.guide-body li {
  margin-bottom: 0.75em;
  font-size: 16px;
  line-height: 1.7;
}

.guide-body li:last-child {
  margin-bottom: 0;
}

.guide-body a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-body a:hover {
  color: var(--color-accent);
}

.guide-callout {
  margin: 1.2em 0 1.4em;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.65;
}

.guide-callout strong {
  display: block;
  margin-bottom: 0.35em;
}
