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

:root {
  --octy-medium-size: 108px;
}

html {
  min-width: 320px;
  background: #fff;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #0b0b0b;
  background: #fff;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.page {
  min-height: 100vh;
  padding: clamp(72px, 7vw, 96px) 20px clamp(64px, 7vw, 96px);
}

.guide {
  width: min(74vw, 1050px);
  margin: 0 auto;
  text-align: center;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: clamp(20px, 2.4vw, 44px);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.instruction {
  width: min(80%, 770px);
  margin: 0 auto clamp(38px, 5.7vw, 58px);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.45;
}

.screenshot {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto clamp(48px, 5vw, 96px);
  border-radius: 12px;
}

.final-screenshot {
  margin-bottom: 6px;
}

a {
  color: #0a67c7;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #084f99;
}

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid #e8a11a;
  outline-offset: 4px;
}

.site-footer {
  width: min(74vw, 1050px);
  margin: 38px auto 0;
  text-align: center;
}

.site-footer a {
  font-size: 15px;
  font-weight: 600;
}

.privacy-page {
  min-height: 100vh;
  padding: clamp(48px, 7vw, 88px) 20px;
  background:
    radial-gradient(circle at 15% 0%, rgb(60 190 255 / 14%), transparent 34rem),
    #fff;
}

.privacy-policy {
  width: min(100%, 760px);
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 48px;
  font-weight: 650;
}

.privacy-header {
  padding-bottom: 32px;
  border-bottom: 1px solid #dce5ef;
}

.eyebrow {
  margin-bottom: 10px;
  color: #0a67c7;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-header h1 {
  margin-bottom: 14px;
}

.privacy-meta {
  margin-bottom: 0;
  color: #5b6878;
  font-size: 15px;
}

.privacy-intro {
  margin: 32px 0 40px;
  color: #25364a;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.6;
}

.privacy-policy section {
  margin-top: 40px;
}

.privacy-policy h2 {
  margin: 0 0 14px;
  color: #111d2c;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.privacy-policy section p,
.privacy-policy li {
  color: #354559;
  font-size: 17px;
  line-height: 1.7;
}

.privacy-policy section p {
  margin-bottom: 16px;
}

.privacy-policy ul {
  margin: 16px 0 0;
  padding-left: 25px;
}

.privacy-policy li + li {
  margin-top: 9px;
}

.privacy-policy code {
  padding: 2px 5px;
  border-radius: 5px;
  color: #24344a;
  background: #edf3f8;
  font-size: 0.92em;
}

.feedback-page {
  min-height: 100vh;
  padding: clamp(40px, 6vw, 80px) 20px 64px;
  background:
    radial-gradient(circle at 50% 0%, rgb(166 105 255 / 13%), transparent 34rem),
    #fff;
}

.feedback-content {
  width: min(100%, 760px);
  margin: 0 auto;
}

.feedback-header {
  margin-bottom: 28px;
  text-align: center;
}

.feedback-icon {
  display: block;
  margin: 0 auto 16px;
}

.feedback-header .eyebrow {
  color: #7048b8;
}

.feedback-header h1 {
  margin-bottom: 14px;
  color: #111d2c;
}

.feedback-header > p:last-child {
  color: #354559;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
}

.feedback-form {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.feedback-fallback,
.feedback-privacy {
  color: #5b6878;
  line-height: 1.6;
  text-align: center;
}

.feedback-fallback {
  margin: 20px 0 0;
}

.feedback-privacy {
  margin: 28px 0 0;
  font-size: 14px;
}

.octy-welcome {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgb(8 12 20 / 72%);
  animation: octy-welcome-reveal 180ms ease-out both;
}

.octy-welcome[hidden] {
  display: none;
}

.octy-welcome__dialog {
  position: absolute;
  left: 50%;
  bottom: calc(50% + (var(--octy-medium-size) / 2) + 74px);
  width: min(420px, calc(100vw - 32px));
  padding: 30px 54px 29px 30px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 24px;
  color: #2d210f;
  background:
    linear-gradient(145deg, #fff 0%, #fff9e7 100%);
  box-shadow:
    0 28px 80px rgb(0 0 0 / 32%),
    0 6px 18px rgb(0 0 0 / 16%);
  text-align: left;
  transform: translateX(-50%);
}

.octy-welcome__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #4c3d27;
  background: rgb(105 78 36 / 9%);
  cursor: pointer;
  place-items: center;
}

.octy-welcome__close:hover {
  background: rgb(105 78 36 / 16%);
}

.octy-welcome__close:focus-visible {
  outline: 3px solid #e8a11a;
  outline-offset: 3px;
}

.octy-welcome__close span {
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.octy-welcome__title {
  margin: 0 0 10px;
  font-size: clamp(25px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.octy-welcome__description {
  margin: 0;
  color: #675a45;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.octy-welcome__arrow {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 48px;
  height: 64px;
  overflow: visible;
  color: #ffc247;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 22%));
  animation: octy-arrow-nudge 1.3s ease-in-out infinite alternate;
  transform: translateX(-50%);
}

.octy-welcome__arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes octy-welcome-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes octy-arrow-nudge {
  from {
    transform: translate3d(-50%, -3px, 0);
  }

  to {
    transform: translate3d(-50%, 3px, 0);
  }
}

@media (max-width: 600px) {
  .feedback-page {
    padding: 36px 12px 48px;
  }

  .feedback-header h1 {
    font-size: 38px;
  }

  .feedback-form {
    min-height: 1050px;
  }

  .page {
    padding: 72px 16px 64px;
  }

  .guide {
    width: 100%;
  }

  h1 {
    margin-bottom: 28px;
    font-size: 38px;
    letter-spacing: -0.035em;
  }

  .instruction {
    width: 100%;
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.5;
  }

  .screenshot {
    margin-bottom: 62px;
    border-radius: 7px;
  }

  .final-screenshot {
    margin-bottom: 62px;
  }

  .site-footer {
    width: 100%;
    margin-top: 0;
  }

  .privacy-page {
    padding: 36px 20px 64px;
  }

  .back-link {
    margin-bottom: 36px;
  }

  .privacy-policy h1 {
    font-size: 42px;
  }

  .privacy-policy section p,
  .privacy-policy li {
    font-size: 16px;
  }

  .octy-welcome__dialog {
    width: min(360px, calc(100vw - 24px));
    padding: 25px 48px 24px 24px;
    border-radius: 20px;
  }

  .octy-welcome__title {
    font-size: 24px;
  }

  .octy-welcome__description {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .octy-welcome,
  .octy-welcome__arrow {
    animation: none;
  }
}
